diff options
Diffstat (limited to 'data/en_us/dms-enterprise')
| -rw-r--r-- | data/en_us/dms-enterprise/2018-11-01/api-docs.php | 71683 |
1 files changed, 29919 insertions, 41764 deletions
diff --git a/data/en_us/dms-enterprise/2018-11-01/api-docs.php b/data/en_us/dms-enterprise/2018-11-01/api-docs.php index 85cc291..a603ee3 100644 --- a/data/en_us/dms-enterprise/2018-11-01/api-docs.php +++ b/data/en_us/dms-enterprise/2018-11-01/api-docs.php @@ -1,838 +1,301 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'dms-enterprise', - 'version' => '2018-11-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'dms-enterprise', 'version' => '2018-11-01'], 'directories' => [ [ - 'id' => 155801, - 'title' => 'User management', + 'children' => ['AddInstance', 'ModifyInstance', 'RegisterInstance', 'SimplyAddInstance'], 'type' => 'directory', - 'children' => [ - 'DeleteUser', - 'UpdateUser', - 'DisableUser', - 'EnableUser', - 'ListUsers', - 'GetUser', - 'GetUserActiveTenant', - 'ListUserTenants', - 'RegisterUser', - ], - ], - [ - 'id' => 155811, 'title' => 'Instance management', - 'type' => 'directory', - 'children' => [ - 'AddInstance', - 'ModifyInstance', - 'ListInstances', - 'GetInstance', - 'DeleteInstance', - 'RegisterInstance', - 'UpdateInstance', - 'SimplyAddInstance', - ], ], [ - 'id' => 155817, - 'title' => 'Operation audit', + 'children' => ['GetOpLog', 'ListSQLExecAuditLog'], 'type' => 'directory', - 'children' => [ - 'GetOpLog', - 'ListInstanceLoginAuditLog', - 'ListProxySQLExecAuditLog', - 'ListSQLExecAuditLog', - ], + 'title' => 'Operation audit', ], [ - 'id' => 155822, - 'title' => 'Approval processes management', + 'children' => ['SetWorkflowExtraInfo'], 'type' => 'directory', - 'children' => [ - 'ListWorkFlowTemplates', - 'ListWorkFlowNodes', - 'SetWorkflowExtraInfo', - ], + 'title' => 'Approval process', ], [ - 'id' => 155825, - 'title' => 'Metadata management of databases and tables', - 'type' => 'directory', 'children' => [ [ - 'id' => 155839, - 'title' => 'Logic databases and tables', - 'type' => 'directory', - 'children' => [ - 'CreateLogicDatabase', - 'AddLogicTableRouteConfig', - 'DeleteLogicDatabase', - 'DeleteLogicTableRouteConfig', - 'ListLogicDatabases', - 'GetLogicDatabase', - 'ListLogicTables', - 'GetDBTopology', - 'GetTableDBTopology', - 'ListLogicTableRouteConfig', - 'EditLogicDatabase', - ], - ], - [ - 'id' => 199585, - 'title' => 'Data Lake tables', + 'children' => ['CreateLogicDatabase', 'EditLogicDatabase'], 'type' => 'directory', + 'title' => 'Logical databases and tables', + ], + [ 'children' => [ - 'ListDataLakeDatabase', - 'GetDataLakeDatabase', - 'ListDataLakeCatalog', - 'GetDataLakeCatalog', - 'ListDataLakeTablebaseInfo', - 'GetDataLakeTable', - 'BatchCreateDataLakePartitions', - 'UpdateDataLakeTable', - 'UpdateDataLakePartition', - 'UpdateDataLakeDatabase', - 'ListDataLakeTableName', - 'ListDataLakeTable', - 'ListDataLakePartitionName', - 'ListDataLakePartitionByFilter', - 'ListDataLakePartition', - 'GetDataLakePartition', - 'DeleteDataLakeTable', - 'DeleteDataLakePartition', - 'DeleteDataLakeDatabase', - 'CreateDataLakeTable', - 'CreateDataLakePartition', - 'CreateDataLakeDatabase', - 'BatchUpdateDataLakePartitions', - 'BatchDeleteDataLakePartitions', - 'CreateDataLakeFunction', - 'GetDataLakeFunction', - 'UpdateDataLakeFunction', - 'DeleteDataLakeFunction', - 'ListDataLakeFunction', - 'ListDataLakeFunctionName', + 'ListDataLakeDatabase', 'GetDataLakeDatabase', 'ListDataLakeCatalog', 'GetDataLakeCatalog', 'ListDataLakeTablebaseInfo', 'GetDataLakeTable', 'BatchCreateDataLakePartitions', 'UpdateDataLakeTable', 'UpdateDataLakePartition', 'UpdateDataLakeDatabase', 'ListDataLakeTableName', 'ListDataLakeTable', 'ListDataLakePartitionName', 'ListDataLakePartitionByFilter', 'ListDataLakePartition', 'GetDataLakePartition', 'DeleteDataLakeTable', 'DeleteDataLakePartition', 'DeleteDataLakeDatabase', 'CreateDataLakeTable', + 'CreateDataLakePartition', 'CreateDataLakeDatabase', 'BatchUpdateDataLakePartitions', 'BatchDeleteDataLakePartitions', 'CreateDataLakeFunction', 'GetDataLakeFunction', 'UpdateDataLakeFunction', 'DeleteDataLakeFunction', 'ListDataLakeFunction', 'ListDataLakeFunctionName', ], + 'type' => 'directory', + 'title' => 'Data lake databases and tables', ], 'SearchDatabase', - 'SearchTable', - 'ListDatabases', - 'ListTables', 'ListTableColumns', - 'ListColumns', - 'ListIndexes', - 'GetDatabase', - 'GetPhysicalDatabase', - 'GetTableTopology', 'GetMetaTableDetailInfo', 'GetMetaTableColumn', - 'SyncInstanceMeta', - 'SyncDatabaseMeta', 'GetTableKnowledgeInfo', 'EditMetaKnowledgeAsset', ], + 'type' => 'directory', + 'title' => 'Database and table metadata', ], [ - 'id' => 155851, - 'title' => 'Ticket management', - 'type' => 'directory', 'children' => [ [ - 'id' => 155852, - 'title' => 'General operations', + 'children' => ['GetApprovalDetail', 'PreviewWorkflow'], 'type' => 'directory', - 'children' => [ - 'CreateOrder', - 'GetApprovalDetail', - 'ListOrders', - 'GetOrderBaseInfo', - 'SubmitOrderApproval', - 'ApproveOrder', - 'CloseOrder', - 'GetOrderAttachmentFile', - 'PreviewWorkflow', - ], + 'title' => 'General', ], [ - 'id' => 155860, - 'title' => 'Permission application', + 'children' => ['GetPermApplyOrderDetail'], 'type' => 'directory', - 'children' => [ - 'GetOwnerApplyOrderDetail', - 'GetPermApplyOrderDetail', - ], + 'title' => 'Permission application', ], [ - 'id' => 155863, - 'title' => 'Database and table synchronization', + 'children' => ['CreateDataCronClearOrder', 'CreateDataImportOrder', 'CreateFreeLockCorrectOrder', 'ModifyDataCorrectExecSQL', 'GetDataCorrectBackupFiles', 'ExecuteDataCorrect', 'RetryDataCorrectPreCheck', 'RestartDataCorrectSQLJob', 'SkipDataCorrectRowCheck', 'CreateProcCorrectOrder'], 'type' => 'directory', - 'children' => [ - 'CreateStructSyncOrder', - 'GetStructSyncOrderDetail', - 'GetStructSyncJobDetail', - 'GetStructSyncJobAnalyzeResult', - 'GetStructSyncExecSqlDetail', - 'SubmitStructSyncOrderApproval', - 'ExecuteStructSync', - ], + 'title' => 'Data change', ], [ - 'id' => 155871, - 'title' => 'Data change', + 'children' => ['ListDDLPublishRecords', 'GetTableDesignProjectFlow', 'GetTableDesignProjectInfo'], 'type' => 'directory', - 'children' => [ - 'CreateDataCorrectOrder', - 'CreateDataCronClearOrder', - 'CreateDataImportOrder', - 'CreateFreeLockCorrectOrder', - 'ModifyDataCorrectExecSQL', - 'PauseDataCorrectSQLJob', - 'GetDataCorrectTaskDetail', - 'GetDataCronClearTaskDetailList', - 'GetDataCorrectRollbackFile', - 'GetDataCorrectBackupFiles', - 'GetDataCorrectOrderDetail', - 'GetDataCronClearConfig', - 'GetDataCorrectSQLFile', - 'ListDataCorrectPreCheckSQL', - 'ListDataCorrectPreCheckDB', - 'ExecuteDataCorrect', - 'RetryDataCorrectPreCheck', - 'RestartDataCorrectSQLJob', - 'ListDataImportSQLPreCheckDetail', - 'ListDataImportSQLType', - 'GetDataImportSQL', - 'SkipDataCorrectRowCheck', - 'CreateProcCorrectOrder', - ], - ], - [ - 'id' => 155888, 'title' => 'Schema design', - 'type' => 'directory', - 'children' => [ - 'CreatePublishGroupTask', - 'ListDDLPublishRecords', - 'GetTableDesignProjectFlow', - 'GetTableDesignProjectInfo', - ], ], [ - 'id' => 155891, - 'title' => 'Data export', + 'children' => ['CreateDatabaseExportOrder', 'CreateDataExportOrder', 'GetDatabaseExportOrderDetail', 'GetDbExportDownloadURL', 'SuspendDataExportJob', 'PauseDataExportJob', 'RemoveDataExportJob', 'RestartDataExportJob'], 'type' => 'directory', - 'children' => [ - 'CreateDatabaseExportOrder', - 'CreateDataExportOrder', - 'ExecuteDataExport', - 'GetDataExportPreCheckDetail', - 'GetDataExportDownloadURL', - 'GetDatabaseExportOrderDetail', - 'GetDataExportOrderDetail', - 'GetDbExportDownloadURL', - 'SuspendDataExportJob', - 'PauseDataExportJob', - 'RemoveDataExportJob', - 'RestartDataExportJob', - ], - ], - [ - 'id' => 155895, - 'title' => 'SQL review', - 'type' => 'directory', - 'children' => [ - 'CreateSQLReviewOrder', - 'GetSQLReviewCheckResultStatus', - 'ListSQLReviewOriginSQL', - 'GetSQLReviewOptimizeDetail', - ], + 'title' => 'Data export', ], [ - 'id' => 182112, - 'title' => 'Data tracking', + 'children' => ['CreateSQLReviewOrder', 'GetSQLReviewOptimizeDetail'], 'type' => 'directory', - 'children' => [ - 'CreateDataTrackOrder', - 'GetDataTrackJobDegree', - 'GetDataTrackJobTableMeta', - 'GetDataTrackOrderDetail', - 'SearchDataTrackResult', - 'DownloadDataTrackResult', - 'QueryDataTrackResultDownloadStatus', - ], + 'title' => 'SQL review', ], [ - 'id' => 155900, - 'title' => 'File upload', + 'children' => ['CreateDataTrackOrder'], 'type' => 'directory', - 'children' => [ - 'CreateUploadFileJob', - 'CreateUploadOSSFileJob', - 'GetUserUploadFileJob', - ], + 'title' => 'Data tracking', ], [ - 'id' => 182765, - 'title' => 'Data archiving', + 'children' => ['CreateDataArchiveOrder', 'GetDataArchiveOrderDetail', 'GetPagedInstance'], 'type' => 'directory', - 'children' => [ - 'CreateDataArchiveOrder', - 'GetDataArchiveOrderDetail', - 'GetDataArchiveCount', - 'GetPagedInstance', - ], + 'title' => 'Data archiving', ], ], + 'type' => 'directory', + 'title' => 'Ticket operations', ], [ - 'id' => 155904, - 'title' => 'SQL task management', + 'children' => ['ListDBTaskSQLJobDetail', 'GenerateSqlFromNL'], 'type' => 'directory', - 'children' => [ - 'ListDBTaskSQLJob', - 'ListDBTaskSQLJobDetail', - 'GetDBTaskSQLJobLog', - 'GetOnlineDDLProgress', - 'GenerateSqlFromNL', - ], + 'title' => 'SQL tasks', ], [ - 'id' => 155908, - 'title' => 'Permission management', + 'children' => ['ListInstanceUserPermissions', 'ListUserPermissions', 'ListAuthorizedInstancesForUser', 'ListAuthorizedUsersForInstance', 'ListAuthorizedDatabasesForUser', 'ListAuthorizedUsersForDatabase'], 'type' => 'directory', - 'children' => [ - 'SetOwners', - 'ListInstanceUserPermissions', - 'ListDatabaseUserPermssions', - 'ListUserPermissions', - 'GrantUserPermission', - 'RevokeUserPermission', - 'ListAuthorizedInstancesForUser', - 'ListAuthorizedUsersForInstance', - 'ListAuthorizedDatabasesForUser', - 'ListAuthorizedUsersForDatabase', - ], + 'title' => 'Permission management', ], [ - 'id' => 155915, - 'title' => 'Security management', - 'type' => 'directory', 'children' => [ [ - 'id' => 175207, - 'title' => 'Security rule set management', + 'children' => ['CreateStandardGroup', 'ListStandardGroups', 'UpdateStandardGroup', 'DeleteStandardGroup', 'GetStandardGroup'], 'type' => 'directory', - 'children' => [ - 'CreateStandardGroup', - 'ListStandardGroups', - 'UpdateStandardGroup', - 'DeleteStandardGroup', - 'GetStandardGroup', - ], + 'title' => 'Security rules', ], [ - 'id' => 175341, - 'title' => 'Sensitive field management', + 'children' => ['AddDesensitizationRule', 'ListDesensitizationRule', 'ListSensitiveDataAuditLog', 'ChangeColumnSecurityLevel', 'GetClassificationTemplate', 'ListSensitiveColumnInfo'], 'type' => 'directory', - 'children' => [ - 'AddDesensitizationRule', - 'ListDesensitizationRule', - 'ModifyDesensitizationStrategy', - 'ListClassificationTemplates', - 'ListSensitiveDataAuditLog', - 'ListSensitiveColumns', - 'ListSensitiveColumnsDetail', - 'ChangeColumnSecLevel', - 'ChangeColumnSecurityLevel', - 'GetClassificationTemplate', - 'ListSensitivityLevel', - 'ListSensitiveColumnInfo', - ], - ], - [ - 'id' => 155916, - 'title' => 'Secure access proxy', + 'title' => 'Sensitive data management', + ], + [ + 'children' => ['CreateProxy', 'ListProxyAccesses', 'GetProxyAccess'], 'type' => 'directory', - 'children' => [ - 'CreateProxy', - 'DeleteProxy', - 'ListProxies', - 'GetProxy', - 'CreateProxyAccess', - 'DeleteProxyAccess', - 'ListProxyAccesses', - 'InspectProxyAccessSecret', - 'GetProxyAccess', - ], + 'title' => 'Secure access proxy', ], [ - 'id' => 179228, - 'title' => 'Authority template', + 'children' => ['GrantTemplateAuthority', 'CreateAuthorityTemplate', 'UpdateAuthorityTemplate', 'AddAuthorityTemplateItems', 'GetAuthorityTemplate', 'ListAuthorityTemplate', 'DeleteAuthorityTemplate'], 'type' => 'directory', - 'children' => [ - 'GrantTemplateAuthority', - 'RevokeTemplateAuthority', - 'CreateAuthorityTemplate', - 'UpdateAuthorityTemplate', - 'AddAuthorityTemplateItems', - 'GetAuthorityTemplateItem', - 'GetAuthorityTemplate', - 'ListAuthorityTemplate', - 'DeleteAuthorityTemplate', - ], + 'title' => 'Permission templates', ], [ - 'id' => 199547, - 'title' => 'Permission policies', + 'children' => ['CreateAbacPolicy', 'ListAbacPolicies', 'UpdateAbacPolicy', 'DeleteAbacPolicy', 'GetAbacPolicy', 'CreateAbacAuthorization', 'ListAbacAuthorizations', 'DeleteAbacAuthorization'], 'type' => 'directory', - 'children' => [ - 'CreateAbacPolicy', - 'ListAbacPolicies', - 'UpdateAbacPolicy', - 'DeleteAbacPolicy', - 'GetAbacPolicy', - 'CreateAbacAuthorization', - 'CreateAbacAuthorization', - 'ListAbacAuthorizations', - 'DeleteAbacAuthorization', - ], + 'title' => 'Access policies', ], ], + 'type' => 'directory', + 'title' => 'Security management', ], [ - 'id' => 155928, - 'title' => 'Data query', + 'children' => ['ExecuteScript'], 'type' => 'directory', - 'children' => [ - 'ExecuteScript', - ], + 'title' => 'Data query', ], [ - 'id' => 168142, - 'title' => 'Data development', - 'type' => 'directory', 'children' => [ [ - 'id' => 168143, + 'children' => ['UpdateScenario', 'ListTaskFlowsByPage', 'ListTaskFlowTimeVariables', 'CreateScenario', 'UpdateTaskOutput', 'ListTasksInTaskFlow', 'CreateTaskFlow', 'UpdateTaskContentV2', 'TryRunTaskFlow'], + 'type' => 'directory', 'title' => 'Task orchestration', + ], + [ + 'children' => ['CreateLakeHouseSpace', 'AddLhMembers', 'DeleteLhMembers'], 'type' => 'directory', - 'children' => [ - 'UpdateTaskFlowConstants', - 'DeleteTaskFlow', - 'OfflineTaskFlow', - 'ListTaskFlow', - 'GetTaskInstanceRelation', - 'ListTaskFlowInstance', - 'ListDAGVersions', - 'ReDeployLhDagVersion', - 'UpdateScenario', - 'ResumeTaskFlowInstance', - 'UpdateTaskContent', - 'ListTaskFlowsByPage', - 'ListScenarios', - 'UpdateTaskConfig', - 'ListTaskFlowConstants', - 'BackFill', - 'UpdateTaskTimeVariables', - 'ListTaskFlowTimeVariables', - 'UpdateTaskFlowTimeVariables', - 'UpdateTaskFlowCooperators', - 'CreateScenario', - 'DeleteScenario', - 'UpdateSLARules', - 'GetRuleNumLimitOfSLA', - 'GetIntervalLimitOfSLA', - 'ListDefaultSLARules', - 'ListTaskFlowCooperators', - 'ListSLARules', - 'GetTask', - 'MoveTaskFlowToScenario', - 'GetTaskFlowNotification', - 'UpdateTaskName', - 'UpdateTaskOutput', - 'DeleteTaskFlowEdgesByCondition', - 'ListTaskFlowEdgesByCondition', - 'AddTaskFlowEdges', - 'UpdateTaskFlowNameAndDesc', - 'GetTaskFlowGraph', - 'UpdateTaskFlowEdges', - 'UpdateTaskFlowOwner', - 'UpdateTaskFlowSchedule', - 'UpdateTaskFlowRelations', - 'UpdateTaskFlowNotification', - 'ListTasksInTaskFlow', - 'CreateTaskFlow', - 'SuspendTaskFlowInstance', - 'ReRunTaskFlowInstance', - 'MakeTaskFlowInstanceSuccess', - 'DeleteTask', - 'PublishAndDeployTaskFlow', - 'StopTaskFlowInstance', - 'CreateTask', - 'UpdateTaskContentV2', - 'TryRunTaskFlow', - ], - ], - [ - 'id' => 168144, 'title' => 'Data warehouse development', - 'type' => 'directory', - 'children' => [ - 'CreateLakeHouseSpace', - 'GetLhSpaceByName', - 'DeleteLakeHouseSpace', - 'ListLhTaskFlowAndScenario', - 'AddLhMembers', - 'DeleteLhMembers', - 'ChangeLhDagOwner', - ], ], ], - ], - [ - 'id' => 175344, - 'title' => 'Orders', 'type' => 'directory', - 'children' => [ - 'ListEffectiveOrders', - 'RefundPayAsYouGoOrder', - 'BuyPayAsYouGoOrder', - ], + 'title' => 'Data development', ], [ - 'id' => 231570, - 'title' => 'Asset category', + 'children' => ['ListEffectiveOrders'], 'type' => 'directory', - 'children' => [ - 'CreateMetaCategory', - 'ListMetaCategory', - 'UpdateMetaCategory', - 'DeleteMetaCategory', - 'ListTablesInCategory', - 'AddTableToCategory', - 'RemoveTableFromCategory', - ], + 'title' => 'Sales orders', ], [ - 'id' => 182884, - 'title' => 'SQL lineage', + 'children' => ['CreateMetaCategory', 'ListMetaCategory', 'UpdateMetaCategory', 'DeleteMetaCategory', 'ListTablesInCategory', 'AddTableToCategory', 'RemoveTableFromCategory'], 'type' => 'directory', - 'children' => [ - 'AnalyzeSQLLineage', - ], + 'title' => 'Asset categories', ], [ - 'id' => 245352, - 'title' => 'Workspace', - 'type' => 'directory', 'children' => [ - 'CreateWorkspace', - 'DeleteWorkspace', - 'GetWorkspace', - 'ListWorkspaces', - 'UpdateWorkspace', + 'OptimizeSqlByMetaAgent', 'FixSqlByMetaAgent', 'AnswerSqlSyntaxByMetaAgent', 'ListUserOwnedResources', 'CheckBatchTableAccessPermission', 'AddLogicTableRouteConfig', 'AddTaskFlowEdges', 'AddWorkspaceUser', 'AnalyzeSQLLineage', 'ApproveOrder', 'AsyncExportInventoryAsset', 'AsyncExportInventoryKnowledge', 'BackFill', 'BuyPayAsYouGoOrder', 'ChangeColumnSecLevel', 'ChangeLhDagOwner', 'CheckInventoryJob', 'CloseOrder', 'ConfirmInventoryKnowledge', 'CreateDataCorrectOrder', + 'CreateForecastAgent', 'CreateInventoryJob', 'CreateOrder', 'CreateProxyAccess', 'CreatePublishGroupTask', 'CreateStructSyncOrder', 'CreateTask', 'CreateUploadFileJob', 'CreateUploadOSSFileJob', 'CreateWorkspace', 'DeleteInstance', 'DeleteLakeHouseSpace', 'DeleteLogicDatabase', 'DeleteLogicTableRouteConfig', 'DeleteProxy', 'DeleteProxyAccess', 'DeleteScenario', 'DeleteTask', 'DeleteTaskFlow', 'DeleteTaskFlowEdgesByCondition', + 'DeleteUser', 'DeleteWorkspace', 'DescribeForecastAgent', 'DescribeInventoryFileUploadSignature', 'DisableUser', 'DownloadDataTrackResult', 'EnableUser', 'ExecuteDataExport', 'ExecuteStructSync', 'ExportInventoryAsset', 'ExportInventoryKnowledge', 'GetAIOrderApprovalCommentSSE', 'GetAuthorityTemplateItem', 'GetDBTaskSQLJobLog', 'GetDBTopology', 'GetDataArchiveCount', 'GetDataCorrectOrderDetail', 'GetDataCorrectRollbackFile', 'GetDataCorrectSQLFile', 'GetDataCorrectTaskDetail', + 'GetDataCronClearConfig', 'GetDataCronClearTaskDetailList', 'GetDataExportDownloadURL', 'GetDataExportOrderDetail', 'GetDataExportPreCheckDetail', 'GetDataImportSQL', 'GetDataTrackJobDegree', 'GetDataTrackJobTableMeta', 'GetDataTrackOrderDetail', 'GetDatabase', 'GetForecastAgentInstance', 'GetInstance', 'GetIntervalLimitOfSLA', 'GetInventoryExportTaskStatus', 'GetLhSpaceByName', 'GetLogicDatabase', 'GetOnlineDDLProgress', 'GetOrderAttachmentFile', 'GetOrderBaseInfo', 'GetOwnerApplyOrderDetail', + 'GetPhysicalDatabase', 'GetProxy', 'GetRuleNumLimitOfSLA', 'GetSQLReviewCheckResultStatus', 'GetStructSyncExecSqlDetail', 'GetStructSyncJobAnalyzeResult', 'GetStructSyncJobDetail', 'GetStructSyncOrderDetail', 'GetTableColumnList', 'GetTableDBTopology', 'GetTableInstructions', 'GetTableKnowledgeDetails', 'GetTableTopology', 'GetTask', 'GetTaskFlowGraph', 'GetTaskFlowNotification', 'GetTaskInstanceRelation', 'GetUser', 'GetUserActiveTenant', 'GetUserUploadFileJob', + 'GetWorkspace', 'GrantUserPermission', 'InspectProxyAccessSecret', 'ListClassificationTemplates', 'ListColumns', 'ListDAGVersions', 'ListDBTaskSQLJob', 'ListDataCorrectPreCheckDB', 'ListDataCorrectPreCheckSQL', 'ListDataImportSQLPreCheckDetail', 'ListDataImportSQLType', 'ListDatabaseUserPermssions', 'ListDatabases', 'ListDefaultSLARules', 'ListIndexes', 'ListInstanceLoginAuditLog', 'ListInstances', 'ListInventoryJobs', 'ListLhTaskFlowAndScenario', 'ListLogicDatabases', + 'ListLogicTableRouteConfig', 'ListLogicTables', 'ListOrders', 'ListProxies', 'ListProxySQLExecAuditLog', 'ListSLARules', 'ListSQLReviewOriginSQL', 'ListScenarios', 'ListSensitiveColumns', 'ListSensitiveColumnsDetail', 'ListSensitivityLevel', 'ListTables', 'ListTagMetaAsset', 'ListTaskFlow', 'ListTaskFlowConstants', 'ListTaskFlowCooperators', 'ListTaskFlowEdgesByCondition', 'ListTaskFlowInstance', 'ListUserTenants', 'ListUsers', + 'ListWorkFlowNodes', 'ListWorkFlowTemplates', 'ListWorkspaceUsers', 'ListWorkspaces', 'MakeTaskFlowInstanceSuccess', 'ModifyDesensitizationStrategy', 'MoveTaskFlowToScenario', 'OfflineTaskFlow', 'PauseDataCorrectSQLJob', 'PublishAndDeployTaskFlow', 'QueryDataTrackResultDownloadStatus', 'ReDeployLhDagVersion', 'ReRunTaskFlowInstance', 'RefundPayAsYouGoOrder', 'RegisterUser', 'RemoveWorkspaceUser', 'ResumeTaskFlowInstance', 'RevokeTemplateAuthority', 'RevokeUserPermission', 'SearchDataTrackResult', + 'SearchInventoryAsset', 'SearchInventoryKnowledge', 'SearchTable', 'SearchTableAssetKnowledge', 'SearchTableKnowledge', 'SearchWorkspaceRoles', 'SetForecastAgentInstance', 'SetOwners', 'StopTaskFlowInstance', 'SubmitOrderApproval', 'SubmitStructSyncOrderApproval', 'SuspendTaskFlowInstance', 'SyncDatabaseMeta', 'SyncInstanceMeta', 'UpdateInstance', 'UpdateSLARules', 'UpdateTaskConfig', 'UpdateTaskContent', 'UpdateTaskFlowConstants', 'UpdateTaskFlowCooperators', + 'UpdateTaskFlowEdges', 'UpdateTaskFlowNameAndDesc', 'UpdateTaskFlowNotification', 'UpdateTaskFlowOwner', 'UpdateTaskFlowRelations', 'UpdateTaskFlowSchedule', 'UpdateTaskFlowTimeVariables', 'UpdateTaskName', 'UpdateTaskTimeVariables', 'UpdateUser', 'UpdateWorkspace', 'UpdateWorkspaceUser', ], - ], - [ - 'id' => 313015, - 'title' => 'Others', 'type' => 'directory', - 'children' => [ - 'OptimizeSqlByMetaAgent', - 'FixSqlByMetaAgent', - 'AnswerSqlSyntaxByMetaAgent', - 'ListUserOwnedResources', - 'CheckBatchTableAccessPermission', - 'ChatWithDesensitize', - 'ChatWithDesensitizeSSE', - ], + 'title' => 'Others', ], ], 'components' => [ 'schemas' => [ 'ColumnKnowledgeInfo' => [ - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'ColumnName' => [ - 'description' => 'The name of the field.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'columnName', - ], - 'Description' => [ - 'description' => 'Field description in the CREATE TABLE statement.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'description', - ], - 'ColumnType' => [ - 'description' => 'The data type of the field.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'columnType', - ], - 'Position' => [ - 'description' => 'The field order in the CREATE TABLE statement.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'backendName' => 'position', - ], - 'AssetDescription' => [ - 'description' => 'User-edited business knowledge content, which can be modified via the EditMetaKnowledgeAsset API.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'assetDescription', - ], - 'AssetModifiedGmt' => [ - 'description' => 'The last modified time of the field.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'assetModifiedGmt', - ], + 'Description' => ['description' => 'The column description in the table creation statement.', 'type' => 'string', 'title' => '', 'example' => ''], + 'ColumnType' => ['description' => 'The data type of the column.', 'type' => 'string', 'title' => '', 'example' => ''], + 'AssetDescription' => ['description' => 'The user-provided business knowledge for the column. To modify this content, call the EditMetaKnowledgeAsset operation.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Position' => ['description' => 'The position of the column in the table creation statement.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'AssetModifiedGmt' => ['description' => 'The last modified time of the business knowledge.', 'type' => 'string', 'title' => '', 'example' => ''], + 'ColumnName' => ['description' => 'The column name.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Level' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int32'], ], 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ColumnKnowledgeVO' => [ + 'type' => 'object', + 'properties' => [ + 'TableId' => ['description' => 'The unique identifier for the table that contains the column.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'], + 'ColumnId' => ['description' => 'The unique identifier for the column.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'], + 'ColumnName' => ['description' => 'The name of the column.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Position' => ['description' => 'The ordinal position of the column within the table.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'], + 'ColumnType' => ['description' => 'The data type of the column, such as `VARCHAR` or `INT`.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Description' => ['description' => 'A user-provided description for the column.', 'type' => 'string', 'title' => '', 'example' => ''], + 'AssetDescription' => ['description' => 'The column\'s description as a data asset.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Title' => ['description' => 'The display title for the column.', 'type' => 'string', 'title' => '', 'example' => ''], + 'AssetModifiedGmt' => ['description' => 'The last modification time of the asset metadata, in GMT.', 'type' => 'string', 'title' => '', 'example' => ''], + 'LevelType' => ['description' => 'The type of level classification, such as `Security` or `Business`.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Level' => ['description' => 'The assigned level value for the column based on the `LevelType`.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'], + 'HotLevel' => ['description' => 'Indicates the access frequency or "heat" of the column\'s data.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'], + 'Nullable' => ['description' => 'Indicates whether the column allows `NULL` values.', 'type' => 'boolean', 'title' => '', 'example' => ''], + 'AutoIncrement' => ['description' => 'Indicates whether the column\'s value auto-increments.', 'type' => 'boolean', 'title' => '', 'example' => ''], + 'ColumnKeyType' => ['description' => 'The key constraint on the column. For example, `PRIMARY` for a primary key.', 'type' => 'string', 'title' => '', 'example' => ''], + 'UserSensitivityLevel' => ['description' => 'The user-defined sensitivity level for the column\'s data.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Plain' => ['description' => 'Indicates whether the column\'s data is stored in plaintext. A value of `true` means the data is unencrypted.', 'type' => 'boolean', 'title' => '', 'example' => ''], + 'SecurityLevel' => ['description' => 'The security classification of the column.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'description' => 'Represents the detailed metadata and knowledge graph attributes of a database column.', + 'title' => '', + 'example' => '', ], 'DLCatalog' => [ 'title' => 'Catalog', - 'description' => '', - 'visibility' => 'Public', + 'description' => 'Data catalog details.', 'type' => 'object', 'properties' => [ - 'Description' => [ - 'title' => 'Description', - 'description' => '', - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'init default catalog', - 'backendName' => 'description', - ], - 'Name' => [ - 'title' => 'Name', - 'description' => '', - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'hive', - 'backendName' => 'name', - ], - 'Location' => [ - 'title' => 'Location', - 'description' => '', - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'oss://xxxx', - 'backendName' => 'location', - ], + 'Description' => ['title' => 'Description', 'description' => 'Data catalog description.', 'type' => 'string', 'example' => 'init default catalog'], + 'Name' => ['title' => 'Name', 'description' => 'Data catalog name.', 'type' => 'string', 'example' => 'hive'], + 'Location' => ['title' => 'Location', 'description' => 'Data catalog storage path.', 'type' => 'string', 'example' => 'oss://xxxx'], ], + 'example' => '', ], 'DLColumn' => [ 'title' => 'Column', 'description' => 'Column properties.', - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'Comment' => [ - 'title' => 'comment', - 'description' => 'The comment of the column.', - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'from deserializer', - 'backendName' => 'comment', - ], - 'Type' => [ - 'title' => 'type', - 'description' => 'The data type of the column, including array, bigint, binary, boolean, char, date, decimal, double, float, int, interval, map, set, smallint, string, struct, timestamp, tinyint, union, varchar.', - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'string', - 'backendName' => 'type', - ], - 'Name' => [ - 'title' => 'name', - 'description' => 'The name of the column.', - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'col', - 'backendName' => 'name', - ], + 'Comment' => ['title' => 'comment', 'description' => 'The comment of the column.', 'type' => 'string', 'example' => 'from deserializer', 'visibility' => 'Public', 'backendName' => 'comment'], + 'Type' => ['title' => 'type', 'description' => 'The data type of the column, including array, bigint, binary, boolean, char, date, decimal, double, float, int, interval, map, set, smallint, string, struct, timestamp, tinyint, union, varchar.', 'type' => 'string', 'example' => 'string', 'visibility' => 'Public', 'backendName' => 'type'], + 'Name' => ['title' => 'name', 'description' => 'The name of the column.', 'type' => 'string', 'example' => 'col', 'visibility' => 'Public', 'backendName' => 'name'], ], + 'visibility' => 'Public', + 'example' => '', ], 'DLDatabase' => [ 'title' => 'Database', 'description' => 'The information about the database.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'Description' => [ - 'title' => 'description', - 'description' => 'The description of the database.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'Default database for catalog hive', - 'backendName' => 'description', - ], - 'Parameters' => [ - 'description' => 'The parameters related to the database.'."\n", - 'visibility' => 'Public', - 'type' => 'object', - 'example' => 'key/value', - 'backendName' => 'parameters', - ], - 'DbId' => [ - 'title' => 'dbId', - 'description' => 'The database ID.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '19', - 'backendName' => 'dbId', - ], - 'CatalogName' => [ - 'title' => 'catalogName', - 'description' => 'The name of the catalog.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'hive', - 'backendName' => 'catalogName', - ], - 'Name' => [ - 'title' => 'name', - 'description' => 'The name of the database.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'default', - 'backendName' => 'name', - ], - 'Location' => [ - 'title' => 'location', - 'description' => 'The storage path of the database.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'oss://xxx', - 'backendName' => 'location', - ], + 'Description' => ['title' => 'description', 'description' => 'The description of the database.'."\n", 'type' => 'string', 'example' => 'Default database for catalog hive', 'visibility' => 'Public', 'backendName' => 'description'], + 'Parameters' => ['description' => 'The parameters related to the database.'."\n", 'type' => 'object', 'example' => 'key/value', 'visibility' => 'Public', 'backendName' => 'parameters', 'title' => ''], + 'DbId' => ['title' => 'dbId', 'description' => 'The database ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '19', 'visibility' => 'Public', 'backendName' => 'dbId'], + 'CatalogName' => ['title' => 'catalogName', 'description' => 'The name of the catalog.'."\n", 'type' => 'string', 'example' => 'hive', 'visibility' => 'Public', 'backendName' => 'catalogName'], + 'Name' => ['title' => 'name', 'description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'default', 'visibility' => 'Public', 'backendName' => 'name'], + 'Location' => ['title' => 'location', 'description' => 'The storage path of the database.'."\n", 'type' => 'string', 'example' => 'oss://xxx', 'visibility' => 'Public', 'backendName' => 'location'], ], + 'visibility' => 'Public', + 'example' => '', ], 'DLFunction' => [ 'description' => 'The information about functions.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'FunctionName' => [ - 'description' => 'The name of the function.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'my_funciton', - 'backendName' => 'functionName', - ], - 'OwnerName' => [ - 'description' => 'The owner of the function.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'zhangsan', - 'backendName' => 'ownerName', - ], - 'OwnerType' => [ - 'description' => 'The type of the owner. Valid values:'."\n" - ."\n" - .'* ROLE'."\n" - .'* GROUP'."\n" - .'* USER'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'USER', - 'backendName' => 'ownerType', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who created the function.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - 'backendName' => 'creatorId', - ], - 'FunctionType' => [ - 'description' => 'The type of the function.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'JAVA', - 'backendName' => 'functionType', - ], - 'CreateTime' => [ - 'description' => 'The time when the function was created.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1731586286', - 'backendName' => 'createTime', - ], + 'FunctionName' => ['description' => 'The name of the function.'."\n", 'type' => 'string', 'example' => 'my_funciton'], + 'OwnerName' => ['description' => 'The owner of the function.'."\n", 'type' => 'string', 'example' => 'zhangsan'], + 'OwnerType' => ['description' => 'The type of the owner. Valid values:'."\n" + ."\n" + .'* ROLE'."\n" + .'* GROUP'."\n" + .'* USER'."\n", 'type' => 'string', 'example' => 'USER'], + 'CreatorId' => ['description' => 'The ID of the user who created the function.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****'], + 'FunctionType' => ['description' => 'The type of the function.'."\n", 'type' => 'string', 'example' => 'JAVA'], + 'CreateTime' => ['description' => 'The time when the function was created.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1731586286'], 'ResourceUris' => [ 'description' => 'The resource URIs of the function. You cannot modify the resource URIs after the function is created.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'The URI used to access the resource.'."\n", - 'visibility' => 'Public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/DLResourceUri', - ], - 'backendName' => 'resourceUris', - ], - 'ClassName' => [ - 'description' => 'The JAVA class that contains the function code.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'com.example.hive.MyCustomUDF', - 'backendName' => 'className', - ], - 'CatalogName' => [ - 'description' => 'The name of the data catalog.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'hive', - 'backendName' => 'catalogName', - ], - 'DbName' => [ - 'description' => 'The name of the queried database.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'default', - 'backendName' => 'dbName', - ], - 'ModifierId' => [ - 'description' => 'The ID of the user who modified the function.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '26****', - 'backendName' => 'modifierId', + 'items' => ['description' => 'The URI used to access the resource.'."\n", '$ref' => '#/components/schemas/DLResourceUri'], ], + 'ClassName' => ['description' => 'The JAVA class that contains the function code.'."\n", 'type' => 'string', 'example' => 'com.example.hive.MyCustomUDF'], + 'CatalogName' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'example' => 'hive'], + 'DbName' => ['description' => 'The name of the queried database.'."\n", 'type' => 'string', 'example' => 'default'], + 'ModifierId' => ['description' => 'The ID of the user who modified the function.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '26****'], ], ], 'DLFunctionInput' => [ 'description' => 'The information about the function.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'FunctionName' => [ - 'description' => 'The name of the function.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'my_funciton', - 'backendName' => 'functionName', - ], + 'FunctionName' => ['description' => 'The name of the function.'."\n", 'type' => 'string', 'example' => 'my_funciton', 'visibility' => 'Public', 'backendName' => 'functionName', 'title' => ''], 'OwnerName' => [ 'description' => 'The owner of the function.'."\n", - 'visibility' => 'Public', 'type' => 'string', 'enumValueTitles' => [], 'example' => 'zhangsan', + 'visibility' => 'Public', 'backendName' => 'ownerName', + 'title' => '', ], 'OwnerType' => [ 'description' => 'The type of the owner.'."\n" @@ -842,225 +305,103 @@ .'* ROLE'."\n" .'* GROUP'."\n" .'* USER'."\n", - 'visibility' => 'Public', 'type' => 'string', - 'enumValueTitles' => [ - 'ROLE' => 'ROLE', - 'GROUP' => 'GROUP', - 'USER' => 'USER', - ], + 'enumValueTitles' => ['ROLE' => 'ROLE', 'GROUP' => 'GROUP', 'USER' => 'USER'], 'example' => 'USER', - 'backendName' => 'ownerType', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who created the function.'."\n", 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - 'backendName' => 'creatorId', - ], - 'FunctionType' => [ - 'description' => 'The type of the function.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'JAVA', - 'backendName' => 'functionType', - ], - 'CreateTime' => [ - 'description' => 'The time when the function was created.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1731586286', - 'backendName' => 'createTime', + 'backendName' => 'ownerType', + 'title' => '', ], + 'CreatorId' => ['description' => 'The ID of the user who created the function.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'visibility' => 'Public', 'backendName' => 'creatorId', 'title' => ''], + 'FunctionType' => ['description' => 'The type of the function.'."\n", 'type' => 'string', 'example' => 'JAVA', 'visibility' => 'Public', 'backendName' => 'functionType', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the function was created.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1731586286', 'visibility' => 'Public', 'backendName' => 'createTime', 'title' => ''], 'ResourceUris' => [ 'description' => 'The resource URIs of the function. You cannot modify the resource URIs after the function is created.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'The URI used to access the resource.'."\n", - 'visibility' => 'Public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/DLResourceUri', - ], - 'backendName' => 'resourceUris', - ], - 'ClassName' => [ - 'description' => 'The JAVA class that contains the function code.'."\n", + 'items' => ['description' => 'The URI used to access the resource.'."\n", '$ref' => '#/components/schemas/DLResourceUri', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''], 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'com.example.hive.MyCustomUDF', - 'backendName' => 'className', - ], - 'ModifierId' => [ - 'description' => 'The ID of the user who modified the function.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '26****', - 'backendName' => 'modifierId', + 'backendName' => 'resourceUris', + 'title' => '', + 'example' => '', ], + 'ClassName' => ['description' => 'The JAVA class that contains the function code.'."\n", 'type' => 'string', 'example' => 'com.example.hive.MyCustomUDF', 'visibility' => 'Public', 'backendName' => 'className', 'title' => ''], + 'ModifierId' => ['description' => 'The ID of the user who modified the function.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '26****', 'visibility' => 'Public', 'backendName' => 'modifierId', 'title' => ''], ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', ], 'DLOrder' => [ 'title' => 'Order', 'description' => 'Column sorting information.', - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'Order' => [ - 'title' => 'order', - 'description' => 'The position of the column in the sort.', - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'backendName' => 'order', - ], - 'Col' => [ - 'title' => 'col', - 'description' => 'The name of the column.', - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'col1', - 'backendName' => 'col', - ], + 'Order' => ['title' => 'order', 'description' => 'The position of the column in the sort.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'visibility' => 'Public', 'backendName' => 'order'], + 'Col' => ['title' => 'col', 'description' => 'The name of the column.', 'type' => 'string', 'example' => 'col1', 'visibility' => 'Public', 'backendName' => 'col'], ], + 'visibility' => 'Public', + 'example' => '', ], 'DLPartition' => [ 'description' => 'The partition information.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'TableName' => [ - 'description' => 'The table name.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'table_name', - 'backendName' => 'tableName', - ], - 'Sd' => [ - 'description' => 'The description of the data storage.'."\n", - 'visibility' => 'Public', - 'backendName' => 'sd', - '$ref' => '#/components/schemas/DLStorageDescriptor', - ], + 'TableName' => ['description' => 'The table name.'."\n", 'type' => 'string', 'example' => 'table_name', 'title' => ''], + 'Sd' => ['description' => 'The description of the data storage.'."\n", '$ref' => '#/components/schemas/DLStorageDescriptor', 'title' => '', 'example' => ''], 'Parameters' => [ 'description' => 'The key-value pair of the partition.'."\n", - 'visibility' => 'Public', 'type' => 'object', - 'additionalProperties' => [ - 'description' => 'The key and value of the key-value pair.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '{"key":"value"}', - ], - 'backendName' => 'parameters', - ], - 'CreateTime' => [ - 'description' => 'The time when the partition was created. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1735109884', - 'backendName' => 'createTime', + 'additionalProperties' => ['description' => 'The key and value of the key-value pair.'."\n", 'type' => 'string', 'example' => '{"key":"value"}', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'CreateTime' => ['description' => 'The time when the partition was created. The value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1735109884', 'title' => ''], 'Values' => [ 'description' => 'The values in a partition key column.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'The value of the partition key column.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'part_val1', - 'extendType' => 'true', - ], - 'backendName' => 'values', - ], - 'CatalogName' => [ - 'description' => 'The name of the catalog.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'hive', - 'backendName' => 'catalogName', - ], - 'DbName' => [ - 'description' => 'The name of the database.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'default', - 'backendName' => 'dbName', - ], - 'LastAccessTime' => [ - 'description' => 'The time when the table was last accessed.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1608707407', - 'backendName' => 'lastAccessTime', + 'items' => ['description' => 'The value of the partition key column.'."\n", 'type' => 'string', 'example' => 'part_val1', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'CatalogName' => ['description' => 'The name of the catalog.'."\n", 'type' => 'string', 'example' => 'hive', 'title' => ''], + 'DbName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'default', 'title' => ''], + 'LastAccessTime' => ['description' => 'The time when the table was last accessed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1608707407', 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'DLPartitionInput' => [ 'description' => 'The partition information.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'Parameters' => [ 'description' => 'The key-value pair of the partition.'."\n", - 'visibility' => 'Public', 'type' => 'object', - 'additionalProperties' => [ - 'description' => 'The key and value of the key-value pair.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '{"key":"value"}', - ], - 'backendName' => 'parameters', - ], - 'CreateTime' => [ - 'description' => 'The time when the partition was created. The value is a UNIX timestamp. Unit: seconds.'."\n", + 'additionalProperties' => ['description' => 'The key and value of the key-value pair.'."\n", 'type' => 'string', 'example' => '{"key":"value"}', 'visibility' => 'Public', 'title' => ''], 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1735109884', - 'backendName' => 'createTime', + 'backendName' => 'parameters', + 'title' => '', + 'example' => '', ], + 'CreateTime' => ['description' => 'The time when the partition was created. The value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1735109884', 'visibility' => 'Public', 'backendName' => 'createTime', 'title' => ''], 'Values' => [ 'description' => 'The values of the partition key columns.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'The value of the partition key column.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'part_val1', - 'extendType' => 'true', - ], - 'backendName' => 'values', - ], - 'StorageDescriptor' => [ - 'description' => 'The description of the data storage.'."\n", - 'visibility' => 'Public', - 'backendName' => 'sd', - '$ref' => '#/components/schemas/DLStorageDescriptor', - ], - 'LastAccessTime' => [ - 'description' => 'The time when the partition was last accessed. The value is a UNIX timestamp. Unit: seconds.'."\n", + 'items' => ['description' => 'The value of the partition key column.'."\n", 'type' => 'string', 'example' => 'part_val1', 'visibility' => 'Public', 'extendType' => 'true', 'title' => ''], 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1731586286', - 'backendName' => 'lastAccessTime', + 'backendName' => 'values', + 'title' => '', + 'example' => '', ], + 'StorageDescriptor' => ['description' => 'The description of the data storage.'."\n", '$ref' => '#/components/schemas/DLStorageDescriptor', 'visibility' => 'Public', 'backendName' => 'sd', 'title' => '', 'example' => ''], + 'LastAccessTime' => ['description' => 'The time when the partition was last accessed. The value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1731586286', 'visibility' => 'Public', 'backendName' => 'lastAccessTime', 'title' => ''], ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', ], 'DLResourceUri' => [ 'description' => 'The resource information.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'ResourceType' => [ @@ -1071,973 +412,499 @@ .'* ARCHIVE'."\n" .'* JAR'."\n" .'* FILE'."\n", - 'visibility' => 'Public', 'type' => 'string', - 'enumValueTitles' => [ - 'ARCHIVE' => 'ARCHIVE', - 'JAR' => 'JAR', - 'FILE' => 'FILE', - ], + 'enumValueTitles' => ['ARCHIVE' => 'ARCHIVE', 'JAR' => 'JAR', 'FILE' => 'FILE'], 'example' => 'JAR', - 'backendName' => 'resourceType', - ], - 'Uri' => [ - 'description' => 'The URL used to access the resource.'."\n", 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'hdfs://name****.example.com:8020/user/hive/udfs/my_***.jar', - 'backendName' => 'uri', + 'backendName' => 'resourceType', + 'title' => '', ], + 'Uri' => ['description' => 'The URL used to access the resource.'."\n", 'type' => 'string', 'example' => 'hdfs://name****.example.com:8020/user/hive/udfs/my_***.jar', 'visibility' => 'Public', 'backendName' => 'uri', 'title' => ''], ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', ], 'DLSerdeInfo' => [ 'title' => 'SerdeInfo', 'description' => 'The serialization and deserialization information.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'SerializationLib' => [ - 'title' => 'serializationLib', - 'description' => 'The class name of the serialization library.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe', - 'backendName' => 'serializationLib', - ], - 'DeserializerClass' => [ - 'title' => 'deserializerClass', - 'description' => 'The name of the class used for deserialization.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'org.apache.hadoop.hive.serde2.OpenCSVSerde', - 'backendName' => 'deserializerClass', - ], - 'Parameters' => [ - 'title' => 'parameters', - 'description' => 'Serialization-related parameters in key-value pairs.'."\n", - 'visibility' => 'Public', - 'type' => 'object', - 'example' => '{ "serialization.format": "1"'."\n" - .' }', - 'backendName' => 'parameters', - ], - 'Description' => [ - 'title' => 'description', - 'description' => 'The description of serialization.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '"serialize"', - 'backendName' => 'description', - ], - 'SerdeType' => [ - 'description' => 'The type of serialization.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'format' => 'int32', - 'example' => '0', - 'backendName' => 'serdeType', - 'title' => 'serdeType', - ], - 'SerializerClass' => [ - 'title' => 'serializerClass', - 'description' => 'The name of class used for serialization.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe', - 'backendName' => 'serializerClass', - ], - 'Name' => [ - 'title' => 'name', - 'description' => 'The name of serialization.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'name', - 'backendName' => 'name', - ], + 'SerializationLib' => ['title' => 'serializationLib', 'description' => 'The class name of the serialization library.'."\n", 'type' => 'string', 'example' => 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe', 'visibility' => 'Public', 'backendName' => 'serializationLib'], + 'DeserializerClass' => ['title' => 'deserializerClass', 'description' => 'The name of the class used for deserialization.'."\n", 'type' => 'string', 'example' => 'org.apache.hadoop.hive.serde2.OpenCSVSerde', 'visibility' => 'Public', 'backendName' => 'deserializerClass'], + 'Parameters' => ['title' => 'parameters', 'description' => 'Serialization-related parameters in key-value pairs.'."\n", 'type' => 'object', 'example' => '{ "serialization.format": "1"'."\n" + .' }', 'visibility' => 'Public', 'backendName' => 'parameters'], + 'Description' => ['title' => 'description', 'description' => 'The description of serialization.'."\n", 'type' => 'string', 'example' => '"serialize"', 'visibility' => 'Public', 'backendName' => 'description'], + 'SerdeType' => ['description' => 'The type of serialization.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => 'serdeType', 'visibility' => 'Public', 'backendName' => 'serdeType'], + 'SerializerClass' => ['title' => 'serializerClass', 'description' => 'The name of class used for serialization.'."\n", 'type' => 'string', 'example' => 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe', 'visibility' => 'Public', 'backendName' => 'serializerClass'], + 'Name' => ['title' => 'name', 'description' => 'The name of serialization.'."\n", 'type' => 'string', 'example' => 'name', 'visibility' => 'Public', 'backendName' => 'name'], ], + 'visibility' => 'Public', + 'example' => '', ], 'DLSkewedInfo' => [ 'title' => 'SkewedInfo', 'description' => 'The data structure that stores the information about skewed columns.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'SkewedColValues' => [ 'title' => 'skewedColValues', 'description' => 'The lists of skewed column values. Each list provides a set of associated values.'."\n", - 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => 'The list of skewed column values.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'The values of the skewed columns.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '"123"', - 'extendType' => 'true', - ], + 'items' => ['description' => 'The values of the skewed columns.'."\n", 'type' => 'string', 'example' => '"123"', 'visibility' => 'Public', 'extendType' => 'true', 'title' => ''], + 'visibility' => 'Public', 'itemName' => 'SkewedColValue', 'extendType' => 'true', + 'title' => '', + 'example' => '', ], + 'visibility' => 'Public', 'backendName' => 'skewedColValues', 'itemName' => 'SkewedColValue', + 'example' => '', ], - 'SkewedColValueLocationMaps' => [ - 'title' => 'skewedColValueLocationMaps', - 'description' => 'The mappings between skewed values and columns.'."\n", - 'visibility' => 'Public', - 'type' => 'object', - 'example' => '{“col1”:"val1"}', - 'backendName' => 'skewedColValueLocationMaps', - ], + 'SkewedColValueLocationMaps' => ['title' => 'skewedColValueLocationMaps', 'description' => 'The mappings between skewed values and columns.'."\n", 'type' => 'object', 'example' => '{“col1”:"val1"}', 'visibility' => 'Public', 'backendName' => 'skewedColValueLocationMaps'], 'SkewedColNames' => [ 'title' => 'skewedColNames', 'description' => 'The list of skewed column names.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'The names of the skewed fields.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'col1', - 'extendType' => 'true', - ], + 'items' => ['description' => 'The names of the skewed fields.'."\n", 'type' => 'string', 'example' => 'col1', 'visibility' => 'Public', 'extendType' => 'true', 'title' => ''], + 'visibility' => 'Public', 'backendName' => 'skewedColNames', 'itemName' => 'SkewedColName', + 'example' => '', ], ], + 'visibility' => 'Public', + 'example' => '', ], 'DLStorageDescriptor' => [ 'title' => 'StorageDescriptor', 'description' => 'The description of the data storage.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'OriginalColumns' => [ 'title' => 'originalColumns', 'description' => 'The description of the original column.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'The information about the column.'."\n", - 'visibility' => 'Public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/DLColumn', - ], + 'items' => ['description' => 'The information about the column.'."\n", '$ref' => '#/components/schemas/DLColumn', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''], + 'visibility' => 'Public', 'backendName' => 'originalColumns', 'itemName' => 'OriginalColumn', + 'example' => '', ], 'SortCols' => [ 'title' => 'sortCols', 'description' => 'The description of the column based on which you want to sort query results.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'The column based on which you want to sort query results.'."\n", - 'visibility' => 'Public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/DLOrder', - ], + 'items' => ['description' => 'The column based on which you want to sort query results.'."\n", '$ref' => '#/components/schemas/DLOrder', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''], + 'visibility' => 'Public', 'backendName' => 'sortCols', 'itemName' => 'SortCol', + 'example' => '', ], - 'Parameters' => [ - 'title' => 'parameters', - 'description' => 'Other parameter mappings of data storage.'."\n", - 'visibility' => 'Public', - 'type' => 'object', - 'example' => 'key/value', - 'backendName' => 'parameters', - ], - 'SkewedInfo' => [ - 'title' => 'skewedInfo', - 'description' => 'The information about the skewed column.'."\n", - 'visibility' => 'Public', - 'backendName' => 'skewedInfo', - '$ref' => '#/components/schemas/DLSkewedInfo', - ], - 'InputFormat' => [ - 'title' => 'inputFormat', - 'description' => 'The name of the input format class that is used to read data.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'org.apache.hadoop.mapred.SequenceFileInputFormat', - 'backendName' => 'inputFormat', - ], - 'OutputFormat' => [ - 'title' => 'outputFormat', - 'description' => 'The name of the output format class that is used to write data.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat', - 'backendName' => 'outputFormat', - ], + 'Parameters' => ['title' => 'parameters', 'description' => 'Other parameter mappings of data storage.'."\n", 'type' => 'object', 'example' => 'key/value', 'visibility' => 'Public', 'backendName' => 'parameters'], + 'SkewedInfo' => ['title' => 'skewedInfo', 'description' => 'The information about the skewed column.'."\n", '$ref' => '#/components/schemas/DLSkewedInfo', 'visibility' => 'Public', 'backendName' => 'skewedInfo', 'example' => ''], + 'InputFormat' => ['title' => 'inputFormat', 'description' => 'The name of the input format class that is used to read data.'."\n", 'type' => 'string', 'example' => 'org.apache.hadoop.mapred.SequenceFileInputFormat', 'visibility' => 'Public', 'backendName' => 'inputFormat'], + 'OutputFormat' => ['title' => 'outputFormat', 'description' => 'The name of the output format class that is used to write data.'."\n", 'type' => 'string', 'example' => 'org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat', 'visibility' => 'Public', 'backendName' => 'outputFormat'], 'Columns' => [ 'title' => 'columns', 'description' => 'The description of the data columns.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'The information about the columns.'."\n", - 'visibility' => 'Public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/DLColumn', - ], + 'items' => ['description' => 'The information about the columns.'."\n", '$ref' => '#/components/schemas/DLColumn', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''], + 'visibility' => 'Public', 'backendName' => 'columns', 'itemName' => 'Column', + 'example' => '', ], - 'IsCompressed' => [ - 'title' => 'isCompressed', - 'description' => 'Specifies whether the stored data is compressed.'."\n", - 'visibility' => 'Public', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'isCompressed', - ], - 'SerdeInfo' => [ - 'title' => 'serdeInfo', - 'description' => 'The information about how to perform data serialization and deserialization.'."\n", - 'visibility' => 'Public', - 'backendName' => 'serdeInfo', - '$ref' => '#/components/schemas/DLSerdeInfo', - ], + 'IsCompressed' => ['title' => 'isCompressed', 'description' => 'Specifies whether the stored data is compressed.'."\n", 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'compressed'], + 'SerdeInfo' => ['title' => 'serdeInfo', 'description' => 'The information about how to perform data serialization and deserialization.'."\n", '$ref' => '#/components/schemas/DLSerdeInfo', 'visibility' => 'Public', 'backendName' => 'serdeInfo', 'example' => ''], 'BucketCols' => [ 'title' => 'bucketCols', 'description' => 'The list of bucket column names, which determines the distribution of stored data based on hashes.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'The bucket column.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '2010', - 'extendType' => 'true', - ], + 'items' => ['description' => 'The bucket column.'."\n", 'type' => 'string', 'example' => '2010', 'visibility' => 'Public', 'extendType' => 'true', 'title' => ''], + 'visibility' => 'Public', 'backendName' => 'bucketCols', 'itemName' => 'BucketCol', + 'example' => '', ], - 'NumBuckets' => [ - 'title' => 'numBuckets', - 'description' => 'The number of buckets.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '-1', - 'backendName' => 'numBuckets', - ], - 'Location' => [ - 'title' => 'location', - 'description' => 'The location where the data is stored.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'oss://xxx', - 'backendName' => 'location', - ], + 'NumBuckets' => ['title' => 'numBuckets', 'description' => 'The number of buckets.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '-1', 'visibility' => 'Public', 'backendName' => 'numBuckets'], + 'Location' => ['title' => 'location', 'description' => 'The location where the data is stored.'."\n", 'type' => 'string', 'example' => 'oss://xxx', 'visibility' => 'Public', 'backendName' => 'location'], ], + 'visibility' => 'Public', + 'example' => '', ], 'DLTable' => [ 'title' => 'Table', 'description' => 'The information about the table.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'ViewOriginalText' => [ - 'title' => 'viewOriginalText', - 'description' => 'The original text of the view if the table type is view.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '""', - 'backendName' => 'viewOriginalText', - ], - 'Owner' => [ - 'title' => 'owner', - 'description' => 'The name of the table owner.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'zhangsan', - 'backendName' => 'owner', - ], - 'TableType' => [ - 'title' => 'tableType', - 'description' => 'The type of the table. Valid values: MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEW, INDEX_TABLE, and MATERIALIZED_VIEW.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'EXTERNAL_TABLE', - 'backendName' => 'tableType', - ], - 'Parameters' => [ - 'title' => 'parameters', - 'description' => 'The key-value pair.'."\n", - 'visibility' => 'Public', - 'type' => 'object', - 'example' => '{'."\n" - .' "EXTERNAL": "TRUE",'."\n" - .' "delta.minReaderVersion": "1"}', - 'backendName' => 'parameters', - ], - 'Description' => [ - 'title' => 'description', - 'description' => 'The description of the application table.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '1410769', - 'backendName' => 'description', - ], - 'CreatorId' => [ - 'title' => 'creatorId', - 'description' => 'The ID of the user who created the table.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '88653', - 'backendName' => 'creatorId', - ], - 'CreateTime' => [ - 'title' => 'createTime', - 'description' => 'The time when the data table was created.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1731586286', - 'backendName' => 'createTime', - ], - 'StorageDescriptor' => [ - 'title' => 'StorageDescriptor', - 'description' => 'The description of data storage, including the storage characteristics and format of the table.'."\n", - 'visibility' => 'Public', - 'backendName' => 'storageDescriptor', - '$ref' => '#/components/schemas/DLStorageDescriptor', - ], - 'LastAccessTime' => [ - 'title' => 'lastAccessTime', - 'description' => 'The time when the table was last accessed.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1608707407', - 'backendName' => 'lastAccessTime', - ], - 'Retention' => [ - 'title' => 'retention', - 'description' => 'The retention period of the table.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '300', - 'backendName' => 'retention', - ], - 'Name' => [ - 'title' => 'name', - 'description' => 'The name of the table.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '100g_customer', - 'backendName' => 'name', - ], - 'OwnerType' => [ - 'title' => 'ownerType', - 'description' => 'The type of the table owner. Valid values: USER, ROLE, and GROUP.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'USER', - 'backendName' => 'ownerType', - ], - 'ViewExpandedText' => [ - 'title' => 'viewExpandedText', - 'description' => 'The expanded text of the view if the table type is view.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '""', - 'backendName' => 'viewExpandedText', - ], - 'DbId' => [ - 'title' => 'dbId', - 'description' => 'The ID of the database in which the table is stored.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '19', - 'backendName' => 'dbId', - ], - 'DbName' => [ - 'title' => 'dbName', - 'description' => 'The name of the database in which the table is stored.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'default', - 'backendName' => 'dbName', - ], - 'CatalogName' => [ - 'title' => 'catalogName', - 'description' => 'The name of the catalog to which the table belongs.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'hive', - 'backendName' => 'catalogName', - ], + 'ViewOriginalText' => ['title' => 'viewOriginalText', 'description' => 'The original text of the view if the table type is view.'."\n", 'type' => 'string', 'example' => '""', 'visibility' => 'Public', 'backendName' => 'viewOriginalText'], + 'Owner' => ['title' => 'owner', 'description' => 'The name of the table owner.'."\n", 'type' => 'string', 'example' => 'zhangsan', 'visibility' => 'Public', 'backendName' => 'owner'], + 'TableType' => ['title' => 'tableType', 'description' => 'The type of the table. Valid values: MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEW, INDEX_TABLE, and MATERIALIZED_VIEW.'."\n", 'type' => 'string', 'example' => 'EXTERNAL_TABLE', 'visibility' => 'Public', 'backendName' => 'tableType'], + 'Parameters' => ['title' => 'parameters', 'description' => 'The key-value pair.'."\n", 'type' => 'object', 'example' => '{'."\n" + .' "EXTERNAL": "TRUE",'."\n" + .' "delta.minReaderVersion": "1"}', 'visibility' => 'Public', 'backendName' => 'parameters'], + 'Description' => ['title' => 'description', 'description' => 'The description of the application table.'."\n", 'type' => 'string', 'example' => 'test', 'visibility' => 'Public', 'backendName' => 'description'], + 'CreatorId' => ['title' => 'creatorId', 'description' => 'The ID of the user who created the table.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '8***', 'visibility' => 'Public', 'backendName' => 'creatorId'], + 'CreateTime' => ['title' => 'createTime', 'description' => 'The time when the data table was created.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1731586286', 'visibility' => 'Public', 'backendName' => 'createTime'], + 'StorageDescriptor' => ['title' => 'StorageDescriptor', 'description' => 'The description of data storage, including the storage characteristics and format of the table.'."\n", '$ref' => '#/components/schemas/DLStorageDescriptor', 'visibility' => 'Public', 'backendName' => 'storageDescriptor', 'example' => ''], + 'LastAccessTime' => ['title' => 'lastAccessTime', 'description' => 'The time when the table was last accessed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1608707407', 'visibility' => 'Public', 'backendName' => 'lastAccessTime'], + 'Retention' => ['title' => 'retention', 'description' => 'The retention period of the table.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '300', 'visibility' => 'Public', 'backendName' => 'retention'], + 'Name' => ['title' => 'name', 'description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => '100g_customer', 'visibility' => 'Public', 'backendName' => 'name'], + 'OwnerType' => ['title' => 'ownerType', 'description' => 'The type of the table owner. Valid values: USER, ROLE, and GROUP.'."\n", 'type' => 'string', 'example' => 'USER', 'visibility' => 'Public', 'backendName' => 'ownerType'], + 'ViewExpandedText' => ['title' => 'viewExpandedText', 'description' => 'The expanded text of the view if the table type is view.'."\n", 'type' => 'string', 'example' => '""', 'visibility' => 'Public', 'backendName' => 'viewExpandedText'], + 'DbId' => ['title' => 'dbId', 'description' => 'The ID of the database in which the table is stored.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '19', 'visibility' => 'Public', 'backendName' => 'dbId'], + 'DbName' => ['title' => 'dbName', 'description' => 'The name of the database in which the table is stored.'."\n", 'type' => 'string', 'example' => 'default', 'visibility' => 'Public', 'backendName' => 'dbName'], + 'CatalogName' => ['title' => 'catalogName', 'description' => 'The name of the catalog to which the table belongs.'."\n", 'type' => 'string', 'example' => 'hive', 'visibility' => 'Public', 'backendName' => 'catalogName'], 'PartitionKeys' => [ 'title' => 'partitionKeys', 'description' => 'The column attributes of the table.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'Column'."\n", - 'visibility' => 'Public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/DLColumn', - ], + 'items' => ['description' => 'Column'."\n", '$ref' => '#/components/schemas/DLColumn', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''], + 'visibility' => 'Public', 'backendName' => 'partitionKeys', 'itemName' => 'PartitionKey', + 'example' => '', ], - 'ModifierId' => [ - 'title' => 'modifierId', - 'description' => 'The ID of the user who last modified the table.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1410769', - 'backendName' => 'modifierId', - ], - 'Location' => [ - 'title' => 'location', - 'description' => 'The storage path of the table.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'oss://xxx', - 'backendName' => 'location', - ], + 'ModifierId' => ['title' => 'modifierId', 'description' => 'The ID of the user who last modified the table.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1410769', 'visibility' => 'Public', 'backendName' => 'modifierId'], + 'Location' => ['title' => 'location', 'description' => 'The storage path of the table.'."\n", 'type' => 'string', 'example' => 'oss://xxx', 'visibility' => 'Public', 'backendName' => 'location'], ], + 'visibility' => 'Public', + 'example' => '', ], 'DLTablebaseInfo' => [ 'title' => 'TablebaseInfo', 'description' => 'The basic information about the table.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'Owner' => [ - 'title' => 'owner', - 'description' => 'The owner of the table.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'test', - 'backendName' => 'owner', - ], - 'ViewOriginalText' => [ - 'title' => 'viewOriginalText', - 'description' => 'The original text of the view if the table type is view.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '""', - 'backendName' => 'viewOriginalText', - ], - 'TableType' => [ - 'title' => 'tableType', - 'description' => 'The type of the table. Valid values: MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEW, INDEX_TABLE, and MATERIALIZED_VIEW.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'EXTERNAL_TABLE', - 'backendName' => 'tableType', - ], - 'Parameters' => [ - 'title' => 'parameters', - 'description' => 'Additional parameters for the table.'."\n", - 'visibility' => 'Public', - 'type' => 'object', - 'example' => ' "EXTERNAL": "TRUE"', - 'backendName' => 'parameters', - ], - 'Description' => [ - 'title' => 'description', - 'description' => 'The comment of the table.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '"table"', - 'backendName' => 'description', - ], - 'CreatorId' => [ - 'title' => 'creatorId', - 'description' => 'The ID of the user who created the table.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '141****', - 'backendName' => 'creatorId', - ], - 'CreateTime' => [ - 'title' => 'createTime', - 'description' => 'The time when the table was created.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1731586286', - 'backendName' => 'createTime', - ], - 'LastAccessTime' => [ - 'title' => 'lastAccessTime', - 'description' => 'The time when the table was last accessed.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1608707407', - 'backendName' => 'lastAccessTime', - ], - 'Retention' => [ - 'title' => 'retention', - 'description' => 'The retention period of the table. Unit: days.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30000', - 'backendName' => 'retention', - ], - 'Name' => [ - 'title' => 'name', - 'description' => 'The name of the table.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '100g_customer', - 'backendName' => 'name', - ], - 'OwnerType' => [ - 'title' => 'ownerType', - 'description' => 'The type of the table owner. Valid values: USER, ROLE, and GROUP.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'ROLE ', - 'backendName' => 'ownerType', - ], - 'ViewExpandedText' => [ - 'title' => 'viewExpandedText', - 'description' => 'The expanded text of the view if the table type is view.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '""', - 'backendName' => 'viewExpandedText', - ], - 'DbId' => [ - 'title' => 'dbId', - 'description' => 'The ID of the database in which the table is stored.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '19', - 'backendName' => 'dbId', - ], - 'DbName' => [ - 'title' => 'dbName', - 'description' => 'The name of the database in which the table is stored.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '100g_customer', - 'backendName' => 'dbName', - ], - 'CatalogName' => [ - 'title' => 'catalogName', - 'description' => 'The catalog to which the table belongs.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'hive', - 'backendName' => 'catalogName', - ], + 'Owner' => ['title' => 'owner', 'description' => 'The owner of the table.'."\n", 'type' => 'string', 'example' => 'test', 'visibility' => 'Public', 'backendName' => 'owner'], + 'ViewOriginalText' => ['title' => 'viewOriginalText', 'description' => 'The original text of the view if the table type is view.'."\n", 'type' => 'string', 'example' => '""', 'visibility' => 'Public', 'backendName' => 'viewOriginalText'], + 'TableType' => ['title' => 'tableType', 'description' => 'The type of the table. Valid values: MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEW, INDEX_TABLE, and MATERIALIZED_VIEW.'."\n", 'type' => 'string', 'example' => 'EXTERNAL_TABLE', 'visibility' => 'Public', 'backendName' => 'tableType'], + 'Parameters' => ['title' => 'parameters', 'description' => 'Additional parameters for the table.'."\n", 'type' => 'object', 'example' => ' "EXTERNAL": "TRUE"', 'visibility' => 'Public', 'backendName' => 'parameters'], + 'Description' => ['title' => 'description', 'description' => 'The comment of the table.'."\n", 'type' => 'string', 'example' => '"table"', 'visibility' => 'Public', 'backendName' => 'description'], + 'CreatorId' => ['title' => 'creatorId', 'description' => 'The ID of the user who created the table.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '141****', 'visibility' => 'Public', 'backendName' => 'creatorId'], + 'CreateTime' => ['title' => 'createTime', 'description' => 'The time when the table was created.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1731586286', 'visibility' => 'Public', 'backendName' => 'createTime'], + 'LastAccessTime' => ['title' => 'lastAccessTime', 'description' => 'The time when the table was last accessed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1608707407', 'visibility' => 'Public', 'backendName' => 'lastAccessTime'], + 'Retention' => ['title' => 'retention', 'description' => 'The retention period of the table. Unit: days.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30000', 'visibility' => 'Public', 'backendName' => 'retention'], + 'Name' => ['title' => 'name', 'description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => '100g_customer', 'visibility' => 'Public', 'backendName' => 'name'], + 'OwnerType' => ['title' => 'ownerType', 'description' => 'The type of the table owner. Valid values: USER, ROLE, and GROUP.'."\n", 'type' => 'string', 'example' => 'ROLE ', 'visibility' => 'Public', 'backendName' => 'ownerType'], + 'ViewExpandedText' => ['title' => 'viewExpandedText', 'description' => 'The expanded text of the view if the table type is view.'."\n", 'type' => 'string', 'example' => '""', 'visibility' => 'Public', 'backendName' => 'viewExpandedText'], + 'DbId' => ['title' => 'dbId', 'description' => 'The ID of the database in which the table is stored.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '19', 'visibility' => 'Public', 'backendName' => 'dbId'], + 'DbName' => ['title' => 'dbName', 'description' => 'The name of the database in which the table is stored.'."\n", 'type' => 'string', 'example' => '100g_customer', 'visibility' => 'Public', 'backendName' => 'dbName'], + 'CatalogName' => ['title' => 'catalogName', 'description' => 'The catalog to which the table belongs.'."\n", 'type' => 'string', 'example' => 'hive', 'visibility' => 'Public', 'backendName' => 'catalogName'], 'PartitionKeys' => [ 'title' => 'partitionKeys', 'description' => 'The column attributes of the table.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'The attributes of the column.'."\n", - 'visibility' => 'Public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/DLColumn', - ], + 'items' => ['description' => 'The attributes of the column.'."\n", '$ref' => '#/components/schemas/DLColumn', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''], + 'visibility' => 'Public', 'backendName' => 'partitionKeys', 'itemName' => 'Column', + 'example' => '', ], - 'ModifierId' => [ - 'title' => 'modifierId', - 'description' => 'The time when the table was modified.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1410769', - 'backendName' => 'modifierId', - ], - 'Location' => [ - 'title' => 'location', - 'description' => 'The storage path of the table.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'oss://xxx', - 'backendName' => 'location', - ], + 'ModifierId' => ['title' => 'modifierId', 'description' => 'The time when the table was modified.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1410769', 'visibility' => 'Public', 'backendName' => 'modifierId'], + 'Location' => ['title' => 'location', 'description' => 'The storage path of the table.'."\n", 'type' => 'string', 'example' => 'oss://xxx', 'visibility' => 'Public', 'backendName' => 'location'], + ], + 'visibility' => 'Public', + 'example' => '', + ], + 'KnowledgeBaseVO' => [ + 'type' => 'object', + 'properties' => [ + 'KnowledgeId' => ['description' => 'The unique ID of the knowledge base entry.', 'type' => 'string', 'title' => '', 'example' => ''], + 'EntityId' => ['description' => 'The ID of the related entity.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'], + 'KnowledgeType' => ['description' => 'The type of the knowledge base entry.', 'type' => 'string', 'title' => '', 'example' => ''], + 'ShowType' => ['description' => 'Specifies how the knowledge base entry is displayed.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Category' => ['description' => 'The category of the knowledge base entry.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Name' => ['description' => 'The name of the knowledge base entry.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Summary' => ['description' => 'The summary of the knowledge base entry.', 'type' => 'string', 'title' => '', 'example' => ''], + 'OldSummary' => ['description' => 'The previous summary, used for comparison or history tracking.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Description' => ['description' => 'The description of the knowledge base entry.', 'type' => 'string', 'title' => '', 'example' => ''], + 'OldDescription' => ['description' => 'The previous description, used for comparison or history tracking.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Expr' => ['description' => 'The rule or expression associated with the knowledge base entry.', 'type' => 'string', 'title' => '', 'example' => ''], + 'InstanceName' => ['description' => 'The name of the database instance.', 'type' => 'string', 'title' => '', 'example' => ''], + 'DbName' => ['description' => 'The name of the database.', 'type' => 'string', 'title' => '', 'example' => ''], + 'TableName' => ['description' => 'The name of the table.', 'type' => 'string', 'title' => '', 'example' => ''], + 'DbId' => ['description' => 'The ID of the database.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'], + 'Env' => ['description' => 'The environment where the resource resides.', 'type' => 'string', 'title' => '', 'example' => ''], + 'GmtCreate' => ['description' => 'The time the entry was created, in yyyy-MM-ddTHH:mm:ssZ format.', 'type' => 'string', 'title' => '', 'example' => ''], + 'LevelType' => ['description' => 'The severity level of the knowledge base entry.', 'type' => 'string', 'title' => '', 'example' => ''], + 'ParseDesc' => ['description' => 'A structured version of the description, often in JSON format.', 'type' => 'string', 'title' => '', 'example' => ''], + 'RelationType' => ['description' => 'The relationship type between this entry and other entities.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Confidence' => ['description' => 'A score from 0 to 1 that indicates the confidence level of the associated rule or finding.', 'type' => 'number', 'title' => '', 'example' => '', 'format' => 'double'], + 'ReasoningLogic' => ['description' => 'The reasoning for the knowledge base entry\'s conclusion.', 'type' => 'string', 'title' => '', 'example' => ''], + 'IsDelete' => ['description' => 'Specifies whether the entry is marked for deletion. Valid values: `true` and `false`.', 'type' => 'boolean', 'title' => '', 'example' => ''], + ], + 'description' => 'The details of a knowledge base entry.', + 'title' => '', + 'example' => '', + ], + 'KnowledgeJobInfoVO' => [ + 'type' => 'object', + 'properties' => [ + 'JobId' => ['description' => 'The job ID.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'ShowJobId' => ['description' => 'The display ID of the job.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Status' => ['description' => 'The status of the job.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Progress' => ['description' => 'The progress of the job, which ranges from 0 to 100.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'TableCnt' => ['description' => 'The number of tables associated with the job.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'KnowledgeCnt' => ['description' => 'The number of knowledge items generated by the job.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'Creator' => ['description' => 'The creator of the job.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Description' => ['description' => 'The description of the job.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Supplement' => ['description' => 'Additional information about the job.', 'type' => 'string', 'title' => '', 'example' => ''], + 'CreateTime' => ['description' => 'The time the job was created.', 'type' => 'string', 'title' => '', 'example' => ''], + 'EndTime' => ['description' => 'The time the job finished. This parameter is returned only after the job completes or fails.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'description' => 'Contains information about a knowledge job.', + 'title' => '', + 'example' => '', + ], + 'KnowledgeSubJobInfoVO' => [ + 'type' => 'object', + 'properties' => [ + 'SubJobId' => ['description' => 'The unique ID of the sub-job.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'Name' => ['description' => 'The name of the sub-job.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Status' => ['description' => 'The status of the sub-job. Possible values are `PENDING`, `RUNNING`, `SUCCEEDED`, and `FAILED`.', 'type' => 'string', 'title' => '', 'example' => ''], + 'JobType' => ['description' => 'The type of the sub-job.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Progress' => ['description' => 'The progress of the sub-job, as a percentage (0–100).', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'ErrMessage' => ['description' => 'The error message if the sub-job fails. This value is `null` if the sub-job succeeds.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'description' => 'Details of a knowledge sub-job.', + 'title' => '', + 'example' => '', + ], + 'MetaAgentPreCheckParam' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceIds' => ['description' => 'The IDs of the instances. Separate multiple IDs with commas (,).', 'type' => 'string', 'title' => '', 'example' => ''], + 'DbIds' => ['description' => 'The IDs of the databases. Separate multiple IDs with commas (,).', 'type' => 'string', 'title' => '', 'example' => ''], + 'TableNames' => ['description' => 'The names of the tables. Separate multiple table names with commas (,).', 'type' => 'string', 'title' => '', 'example' => ''], + 'Description' => ['description' => 'The description of the pre-check task.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Supplement' => ['description' => 'Supplemental information for the pre-check. The value can be a JSON string that contains extended parameters.', 'type' => 'string', 'title' => '', 'example' => ''], ], + 'description' => 'The parameters for the metadata agent pre-check.', + 'title' => '', + 'example' => '', ], 'MetaCategory' => [ 'description' => 'The information about the category.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'CategoryId' => [ - 'description' => 'The category ID.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30000181325', - 'backendName' => 'id', - ], - 'CreateTime' => [ - 'description' => 'The creation time.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '2024-08-13 10:02:02', - 'backendName' => 'gmtCreate', - ], - 'Depth' => [ - 'description' => 'The level of the category. This parameter is set to 1 for a root category.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'backendName' => 'depth', - ], - 'ParentCategoryId' => [ - 'description' => 'The ID of the parent category. This parameter is left empty for a root category.'."\n", + 'CategoryId' => ['description' => 'The category ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '30000181325', 'visibility' => 'Public', 'backendName' => 'id', 'title' => ''], + 'Name' => ['description' => 'The name of the category.'."\n", 'type' => 'string', 'example' => 'default', 'visibility' => 'Public', 'backendName' => 'categoryName', 'title' => ''], + 'Depth' => ['description' => 'The level of the category. This parameter is set to 1 for a root category.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'visibility' => 'Public', 'backendName' => 'depth', 'title' => ''], + 'ParentCategoryId' => ['description' => 'The ID of the parent category. This parameter is left empty for a root category.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '30000322682', 'visibility' => 'Public', 'backendName' => 'parentCategoryId', 'title' => ''], + 'CreateTime' => ['description' => 'The creation time.'."\n", 'type' => 'string', 'example' => '2024-08-13 10:02:02', 'visibility' => 'Public', 'backendName' => 'gmtCreate', 'title' => ''], + 'Description' => ['description' => '描述信息。', 'type' => 'string', 'example' => 'test', 'visibility' => 'Public', 'backendName' => 'description', 'title' => ''], + 'Remark' => ['description' => '备注信息。', 'type' => 'string', 'example' => 'asdasdasda', 'visibility' => 'Public', 'backendName' => 'remark', 'title' => ''], + 'OwnerIds' => [ + 'description' => 'Owner的用户ID,多个用户ID用逗号分开。可通过调用接口[GetUser](~~147098~~)或[ListUsers](~~141938~~)获取UserId的值。'."\n" + .'>用户ID的参数名为UserId。', + 'type' => 'array', + 'items' => ['description' => 'Owner的用户ID,多个用户ID用逗号分开。可通过调用接口[GetUser](~~147098~~)或[ListUsers](~~141938~~)获取UserId的值。'."\n" + .'>用户ID的参数名为UserId。', 'type' => 'integer', 'format' => 'int64', 'example' => '51****', 'visibility' => 'Public', 'extendType' => 'true', 'title' => ''], 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30000322682', - 'backendName' => 'parentCategoryId', + 'backendName' => 'ownerIds', + 'title' => '', + 'example' => '', ], - 'Name' => [ - 'description' => 'The name of the category.'."\n", + 'OwnerNickNames' => [ + 'description' => 'Owner昵称。', + 'type' => 'array', + 'items' => ['description' => 'Owner昵称。', 'type' => 'string', 'example' => 'test', 'visibility' => 'Public', 'extendType' => 'true', 'title' => ''], 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'default', - 'backendName' => 'categoryName', + 'backendName' => 'ownerNickNames', + 'title' => '', + 'example' => '', ], ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', ], 'MetaCategoryTableEntity' => [ 'description' => 'The data table information item under the category of the attributable asset.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'CategoryId' => [ - 'description' => 'The category ID.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => 'FC-1D123DF554A45AAB', - 'backendName' => 'categoryId', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'test_table', - 'backendName' => 'tableName', - ], - 'Description' => [ - 'description' => 'The description.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'ga_platform_alb', - 'backendName' => 'description', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the instance ID.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '174****', - 'backendName' => 'instanceId', - ], - 'TableSchemaName' => [ - 'description' => 'The schema name of the table, which is required only for SQL Server instances.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'dbo', - 'backendName' => 'tableSchemaName', - ], - 'DbId' => [ - 'description' => 'The database ID. You can call the [ListDatabases](~~141873~~) operation to query the ID of a physical database and the [ListLogicDatabases](~~141874~~) operation to query the ID of a logical database.'."\n" - ."\n" - .'> The value of DatabaseId is that of DbId.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '123***', - 'backendName' => 'dbId', - ], - 'CatalogName' => [ - 'description' => 'For PostgreSQL-compatible databases, specify the database name.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'hive', - 'backendName' => 'catalogName', - ], - 'DatabaseSearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'xxx@yyy.zzz', - 'backendName' => 'databaseSearchName', - ], - 'SchemaName' => [ - 'description' => 'Database name (for PostgreSQL-compatible databases, specify the schema name). You can call the [SearchDatabase](~~141876~~) operation to query the name of the database.'."\n" - ."\n" - .'> You can also call the [ListDatabases](~~141873~~) operation to query the SchemaName of a physical database or call the [ListLogicDatabases](~~141874~~) operation to query the SchemaName of a logical database.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'test_schema', - 'backendName' => 'schemaName', - ], - 'DbType' => [ - 'description' => 'The type of the database. Valid values include but are not limited to:'."\n" - ."\n" - .'* **MySQL**'."\n" - .'* **SQLServer**'."\n" - .'* **PostgreSQL**'."\n" - .'* **Oracle**'."\n" - .'* **DRDS**'."\n" - .'* **OceanBase**'."\n" - .'* **Mongo**'."\n" - .'* **Redis**'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'MySQL', - 'backendName' => 'dbType', - ], + 'CategoryId' => ['description' => 'The category ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => 'FC-1D123DF554A45AAB'], + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'test_table'], + 'Description' => ['description' => 'The description.'."\n", 'type' => 'string', 'example' => 'ga_platform_alb'], + 'InstanceId' => ['description' => 'The ID of the instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the instance ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '174****'], + 'TableSchemaName' => ['description' => 'The schema name of the table, which is required only for SQL Server instances.'."\n", 'type' => 'string', 'example' => 'dbo'], + 'DbId' => ['description' => 'The database ID. You can call the [ListDatabases](~~141873~~) operation to query the ID of a physical database and the [ListLogicDatabases](~~141874~~) operation to query the ID of a logical database.'."\n" + ."\n" + .'> The value of DatabaseId is that of DbId.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '123***'], + 'CatalogName' => ['description' => 'For PostgreSQL-compatible databases, specify the database name.'."\n", 'type' => 'string', 'example' => 'hive'], + 'DatabaseSearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'example' => 'xxx@yyy.zzz'], + 'SchemaName' => ['description' => 'Database name (for PostgreSQL-compatible databases, specify the schema name). You can call the [SearchDatabase](~~141876~~) operation to query the name of the database.'."\n" + ."\n" + .'> You can also call the [ListDatabases](~~141873~~) operation to query the SchemaName of a physical database or call the [ListLogicDatabases](~~141874~~) operation to query the SchemaName of a logical database.'."\n", 'type' => 'string', 'example' => 'test_schema'], + 'DbType' => ['description' => 'The type of the database. Valid values include but are not limited to:'."\n" + ."\n" + .'* **MySQL**'."\n" + .'* **SQLServer**'."\n" + .'* **PostgreSQL**'."\n" + .'* **Oracle**'."\n" + .'* **DRDS**'."\n" + .'* **OceanBase**'."\n" + .'* **Mongo**'."\n" + .'* **Redis**'."\n", 'type' => 'string', 'example' => 'MySQL'], ], ], 'open_struct_DLTableInput' => [ 'description' => 'The information about the table.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'Owner' => [ - 'description' => 'The owner of the table.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'zhangsan', - 'backendName' => 'owner', - ], - 'ViewOriginalText' => [ - 'description' => 'The original text of the view if the table type is view.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '""', - 'backendName' => 'viewOriginalText', - ], - 'TableType' => [ - 'description' => 'The type of the metadata table. Valid values: MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEW, INDEX_TABLE, and MATERIALIZED_VIEW.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'EXTERNAL_TABLE', - 'backendName' => 'tableType', - ], + 'Owner' => ['description' => 'The owner of the table.'."\n", 'type' => 'string', 'example' => 'zhangsan', 'visibility' => 'Public', 'backendName' => 'owner', 'title' => ''], + 'ViewOriginalText' => ['description' => 'The original text of the view if the table type is view.'."\n", 'type' => 'string', 'example' => '""', 'visibility' => 'Public', 'backendName' => 'viewOriginalText', 'title' => ''], + 'TableType' => ['description' => 'The type of the metadata table. Valid values: MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEW, INDEX_TABLE, and MATERIALIZED_VIEW.'."\n", 'type' => 'string', 'example' => 'EXTERNAL_TABLE', 'visibility' => 'Public', 'backendName' => 'tableType', 'title' => ''], 'Parameters' => [ 'description' => 'The key-value pairs.'."\n", - 'visibility' => 'Public', 'type' => 'object', - 'additionalProperties' => [ - 'description' => 'The key-value pair.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '{'."\n" - .' "EXTERNAL": "TRUE",'."\n" - .' "delta.minReaderVersion": "1"}', - ], - 'backendName' => 'parameters', - ], - 'Description' => [ - 'description' => 'The description of the table.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'test', - 'backendName' => 'description', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who created the table.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8***', - 'backendName' => 'creatorId', - ], - 'CreateTime' => [ - 'description' => 'The time when the table was created.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1731586286', - 'backendName' => 'createTime', - ], - 'StorageDescriptor' => [ - 'title' => 'storageDescriptor', - 'description' => 'The description of data storage, including the storage characteristics and format of the table.'."\n", - 'visibility' => 'Public', - 'backendName' => 'storageDescriptor', - '$ref' => '#/components/schemas/DLStorageDescriptor', - ], - 'LastAccessTime' => [ - 'description' => 'The time when the table was last accessed.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1608707407', - 'backendName' => 'lastAccessTime', - ], - 'Retention' => [ - 'description' => 'The retention period of the table.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '300', - 'backendName' => 'retention', - ], - 'Name' => [ - 'title' => 'name', - 'description' => 'The table name.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => '100g_customer', - 'backendName' => 'name', - ], - 'OwnerType' => [ - 'description' => 'The type of the owner. Valid values: USER, ROLE, and GROUP.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'USER', - 'backendName' => 'ownerType', - ], - 'ViewExpandedText' => [ - 'description' => 'The expanded text of the view if the table type is view.'."\n", + 'additionalProperties' => ['description' => 'The key-value pair.'."\n", 'type' => 'string', 'example' => '{'."\n" + .' "EXTERNAL": "TRUE",'."\n" + .' "delta.minReaderVersion": "1"}', 'visibility' => 'Public', 'title' => ''], 'visibility' => 'Public', - 'type' => 'string', - 'example' => '""', - 'backendName' => 'viewExpandedText', + 'backendName' => 'parameters', + 'title' => '', + 'example' => '', ], + 'Description' => ['description' => 'The description of the table.'."\n", 'type' => 'string', 'example' => 'test', 'visibility' => 'Public', 'backendName' => 'description', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who created the table.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '8***', 'visibility' => 'Public', 'backendName' => 'creatorId', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the table was created.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1731586286', 'visibility' => 'Public', 'backendName' => 'createTime', 'title' => ''], + 'StorageDescriptor' => ['title' => 'storageDescriptor', 'description' => 'The description of data storage, including the storage characteristics and format of the table.'."\n", '$ref' => '#/components/schemas/DLStorageDescriptor', 'visibility' => 'Public', 'backendName' => 'storageDescriptor', 'example' => ''], + 'LastAccessTime' => ['description' => 'The time when the table was last accessed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1608707407', 'visibility' => 'Public', 'backendName' => 'lastAccessTime', 'title' => ''], + 'Retention' => ['description' => 'The retention period of the table.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '300', 'visibility' => 'Public', 'backendName' => 'retention', 'title' => ''], + 'Name' => ['title' => 'name', 'description' => 'The table name.'."\n", 'type' => 'string', 'example' => '100g_customer', 'visibility' => 'Public', 'backendName' => 'name'], + 'OwnerType' => ['description' => 'The type of the owner. Valid values: USER, ROLE, and GROUP.'."\n", 'type' => 'string', 'example' => 'USER', 'visibility' => 'Public', 'backendName' => 'ownerType', 'title' => ''], + 'ViewExpandedText' => ['description' => 'The expanded text of the view if the table type is view.'."\n", 'type' => 'string', 'example' => '""', 'visibility' => 'Public', 'backendName' => 'viewExpandedText', 'title' => ''], 'PartitionKeys' => [ 'description' => 'The column attributes of the table.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'The information about the columns.'."\n", - 'visibility' => 'Public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/DLColumn', - ], - 'backendName' => 'partitionKeys', - ], - 'ModifierId' => [ - 'description' => 'The ID of the user who last modified the table.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1410769', - 'backendName' => 'modifierId', - ], - 'Location' => [ - 'description' => 'The storage path of the table.'."\n", + 'items' => ['description' => 'The information about the columns.'."\n", '$ref' => '#/components/schemas/DLColumn', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''], 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'oss://xxx', - 'backendName' => 'location', + 'backendName' => 'partitionKeys', + 'title' => '', + 'example' => '', ], + 'ModifierId' => ['description' => 'The ID of the user who last modified the table.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1410769', 'visibility' => 'Public', 'backendName' => 'modifierId', 'title' => ''], + 'Location' => ['description' => 'The storage path of the table.'."\n", 'type' => 'string', 'example' => 'oss://xxx', 'visibility' => 'Public', 'backendName' => 'location', 'title' => ''], ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', ], 'PartitionError' => [ - 'description' => '', - 'visibility' => 'Public', + 'description' => 'The specific error message.', 'type' => 'object', 'properties' => [ - 'ErrorDetail' => [ - 'description' => '', - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'auth failed', - 'backendName' => 'errorDetail', - ], + 'ErrorDetail' => ['description' => 'Error Details.', 'type' => 'string', 'example' => 'auth failed', 'title' => ''], 'Values' => [ - 'description' => '', - 'visibility' => 'Public', + 'description' => 'Partition values.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'part_val1'."\n", - 'extendType' => 'true', - ], - 'backendName' => 'values', + 'items' => ['description' => 'The value of the partition key column.', 'type' => 'string', 'example' => 'part_val1'."\n", 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', + ], + 'SkillInfoDO' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Version' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Source' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Category' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Tags' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'InstallCount' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Compatibility' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'UpdatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'DisplayName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'TableInstructionsVO' => [ + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The database ID.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'], + 'DbType' => ['description' => 'The database type.', 'type' => 'string', 'title' => '', 'example' => ''], + 'TableName' => ['description' => 'The table name.', 'type' => 'string', 'title' => '', 'example' => ''], + 'AssetDescription' => ['description' => 'The asset description.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Summary' => ['description' => 'The summary of the table asset.', 'type' => 'string', 'title' => '', 'example' => ''], + 'AssetCreatedGmt' => ['description' => 'The asset creation time.', 'type' => 'string', 'title' => '', 'example' => ''], + 'AssetModifiedGmt' => ['description' => 'The asset modification time.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'description' => 'The details of a table asset.', + 'title' => '', + 'example' => '', ], 'TableKnowledgeInfo' => [ - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ - 'TableName' => [ - 'description' => 'The table name.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'tableName', - ], - 'Description' => [ - 'description' => 'Table description in the CREAT TABLE statement.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'description', - ], - 'AssetDescription' => [ - 'description' => 'Table usage instructions, which are not editable in OpenAPI.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'assetDescription', - ], - 'Summary' => [ - 'description' => 'Table business description, which can be edited via EditMetaKnowledgeAsset.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'summary', - ], + 'TableName' => ['description' => 'The table name.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Description' => ['description' => 'The table description in the CREATE TABLE statement.', 'type' => 'string', 'title' => '', 'example' => ''], + 'AssetDescription' => ['description' => 'The usage instructions for the table. This value cannot be edited in OpenAPI.', 'type' => 'string', 'title' => '', 'example' => ''], + 'AssetModifiedGmt' => ['description' => 'The time when the asset was last modified.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Summary' => ['description' => 'The business description of the table. You can edit this value by calling the `EditMetaKnowledgeAsset` operation.', 'type' => 'string', 'title' => '', 'example' => ''], 'ColumnList' => [ - 'description' => 'The columns of the table.'."\n", - 'visibility' => 'Public', + 'description' => 'The column list.', 'type' => 'array', - 'items' => [ - 'description' => 'The columns of the table.'."\n", - 'visibility' => 'Public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/ColumnKnowledgeInfo', - ], - 'backendName' => 'columnList', - ], - 'AssetModifiedGmt' => [ - 'description' => 'Last modified time.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'assetModifiedGmt', + 'items' => ['description' => 'The details of a column.', '$ref' => '#/components/schemas/ColumnKnowledgeInfo', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], + 'Level' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int32'], ], 'description' => '', + 'title' => '', + 'example' => '', + ], + 'TableKnowledgeVO' => [ + 'type' => 'object', + 'properties' => [ + 'TableId' => ['description' => 'The table ID.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'], + 'TableName' => ['description' => 'The table name.', 'type' => 'string', 'title' => '', 'example' => ''], + 'DbId' => ['description' => 'The database ID.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'], + 'DbName' => ['description' => 'The database name.', 'type' => 'string', 'title' => '', 'example' => ''], + 'DbType' => ['description' => 'The database type. For example, `mysql`.', 'type' => 'string', 'title' => '', 'example' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'], + 'InstanceName' => ['description' => 'The instance name.', 'type' => 'string', 'title' => '', 'example' => ''], + 'SchemaName' => ['description' => 'The schema name.', 'type' => 'string', 'title' => '', 'example' => ''], + 'EnvType' => ['description' => 'The environment type. For example, `production` or `development`.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Description' => ['description' => 'The table description.', 'type' => 'string', 'title' => '', 'example' => ''], + 'AssetDescription' => ['description' => 'The asset description.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Summary' => ['description' => 'The table summary.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Title' => ['description' => 'The table title.', 'type' => 'string', 'title' => '', 'example' => ''], + 'AssetCreatedGmt' => ['description' => 'The asset creation time.', 'type' => 'string', 'title' => '', 'example' => ''], + 'AssetModifiedGmt' => ['description' => 'The asset modification time.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Size' => ['description' => 'The size of the table, in bytes.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'], + 'NumRows' => ['description' => 'The number of rows in the table.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'], + 'Level' => ['description' => 'The sensitivity level of the table.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'], + 'HotLevel' => ['description' => 'The access frequency level of the table.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'], + 'LevelType' => ['description' => 'The level type.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Logic' => ['description' => 'Whether the table is a logical table. Valid values: `true` and `false`.', 'type' => 'boolean', 'title' => '', 'example' => ''], + ], + 'description' => 'Details of the table.', + 'title' => '', + 'example' => '', ], ], ], 'apis' => [ - 'DeleteUser' => [ - 'summary' => 'Deletes an Alibaba Cloud account that is no longer used.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddAuthorityTemplateItems' => [ + 'summary' => 'Adds instances, databases, and tables to the specified permission template.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2046,86 +913,121 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdms6MV762'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. '."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](https://www.alibabacloud.com/help/en/data-management-service/latest/manage-dms-tenants) topic.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], + 'schema' => ['description' => 'The ID of the permission template. You can call the [CreateAuthorityTemplate](~~600705~~) operation to obtain the value of this parameter.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '15***', 'title' => ''], ], [ - 'name' => 'Uid', + 'name' => 'Items', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The unique ID (UID) of Alibaba Cloud account to delete.', - 'type' => 'string', + 'description' => 'The resources that you want to add to the permission template.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the resource.'."\n", + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the instance ID.'."\n" + ."\n" + .'> This parameter is required if the ResourceType parameter is set to INSTANCE.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '237****', 'title' => ''], + 'DbId' => ['description' => 'The database ID. Databases are divided into physical databases and logical databases.'."\n" + ."\n" + .'* To query the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" + .'* To query the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n" + ."\n" + .'> This parameter is required if the ResourceType parameter is set to META_DB, LOGIC_DB, META_TABLE, or LOGIC_TABLE.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2478****', 'title' => ''], + 'TableName' => ['description' => 'The table name. You can call the [ListTables](~~141878~~) operation to query the name of the table.'."\n" + ."\n" + .'> This parameter is required if the ResourceType parameter is set to META_TABLE or LOGIC_TABLE.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_table', 'title' => ''], + 'ResourceType' => ['description' => 'The type of the resource from which you want to remove tags. Valid values:'."\n" + ."\n" + .'* **INSTANCE**: instance'."\n" + .'* **LOGIC_DB**: logical database'."\n" + .'* **META_DB**: physical database'."\n" + .'* **LOGIC_TABLE**: logical table'."\n" + .'* **LOGIC_TABLE**: physical table'."\n", 'type' => 'string', 'required' => true, 'example' => 'INSTANCE', 'title' => ''], + 'PermissionTypes' => [ + 'description' => 'The permission types.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The permissions type.'."\n" + ."\n" + .'* **QUERY**: the query permission'."\n" + .'* **EXPORT**: the data export permission'."\n" + .'* **CORRECT**: the data change permission'."\n" + .'* **LOGIN**: the logon permission'."\n" + .'* **PERF**: the performance query permission'."\n", 'type' => 'string', 'required' => false, 'example' => 'QUERY,CORRECT', 'title' => ''], + 'required' => false, + 'enumValueTitles' => [], + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => true, - 'docRequired' => true, - 'example' => '12345', + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'The specified user not exists.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '3D3FB827-E667-50DB-AD59-C83F8237FECB', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed. The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the resource is added to the permission template.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EF402235-C6CB-52B7-953A-33C100078D15\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"The specified user not exists.\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'DeleteUser', - 'description' => 'The effect of deleting a user by calling this operation is the same as that of deleting a user by choosing System Management > User Management in the DMS Enterprise console. The administrator of DMS Enterprise can call this operation to delete a user that is no longer used from DMS Enterprise. After the user is deleted, the data source permission, data owner configuration, and database administrator (DBA) configuration of the corresponding Alibaba Cloud account or Resource Access Management (RAM) user are revoked and become invalid.'."\n" - ."\n" - .'> This operation only removes the association of the Alibaba Cloud account or RAM user with DMS Enterprise of the enterprise, rather than actually deleting the Alibaba Cloud account or RAM user. After the user is deleted, the Alibaba Cloud account or RAM user cannot log on to DMS Enterprise, unless the user is added to DMS Enterprise again.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'UpdateUser' => [ - 'summary' => 'Updates user information.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3D3FB827-E667-50DB-AD59-C83F8237FECB\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Data\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'AddAuthorityTemplateItems', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:AddAuthorityTemplateItems', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'AddDesensitizationRule' => [ + 'summary' => 'Adds a masking rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2133,663 +1035,509 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - ], - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], - ], - [ - 'name' => 'Uid', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The Alibaba Cloud unique ID (UID) of the user to update.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '123456789', - ], + 'schema' => ['description' => 'The name of the rule.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Data masking algorithm test', 'title' => ''], ], [ - 'name' => 'UserNick', + 'name' => 'RuleType', 'in' => 'query', 'schema' => [ - 'description' => 'The nickname of the user.'."\n", + 'description' => 'The masking algorithm.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* PLAINTEXT'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* TRANSFORM'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* ENCRYPT'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* REPLACE'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* HASH'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* MASK'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'test', + 'required' => true, + 'enumValueTitles' => ['PLAINTEXT' => '', 'TRANSFORM' => '', 'ENCRYPT' => '', 'REPLACE' => '', 'HASH' => '', 'MASK' => ''], + 'example' => 'HASH', + 'title' => '', ], ], [ - 'name' => 'RoleNames', + 'name' => 'RuleDescription', 'in' => 'query', - 'schema' => [ - 'description' => 'The roles that the user assumes. For more information about the valid values, see the Request parameters section in the [UpdateUser](~~465812~~) topic.', - 'type' => 'string', - 'required' => false, - 'example' => 'ADMIN,DBA', - ], + 'schema' => ['description' => 'The description of the rule.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Hash algorithm', 'title' => ''], ], [ - 'name' => 'Mobile', + 'name' => 'FunctionType', 'in' => 'query', 'schema' => [ - 'description' => 'The DingTalk ID or mobile number of the user.'."\n", + 'description' => 'The type of the masking algorithm.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* FIX_POS : masks characters in the specified position.'."\n" + .'* DATE_ROUNDING: rounds the date.'."\n" + .'* PLAINTEXT: does not mask data.'."\n" + .'* SHA1: masks characters by using the secure hash algorithm 1 (SHA-1)'."\n" + .'* HMAC: masks characters by using the hash-based message authentication code (HMAC).'."\n" + .'* STRING_TRANSFORM: shift characters.'."\n" + .'* NUMBER_ROUNDING: rounds numbers.'."\n" + .'* AES: masks characters by using the advanced encryption standard (AES) algorithm.'."\n" + .'* SHA256: masks characters by using SHA-256 algorithm.'."\n" + .'* DES: masks characters by using the data encryption standard (DES) algorithm.'."\n" + .'* MAP_REPLACE: masks the mapped data.'."\n" + .'* FIX_CHAR: masks fixed characters.'."\n" + .'* DEFAULT: masks all characters.'."\n" + .'* RANDOM_REPLACE: randomly replaces characters.'."\n" + .'* MD5: masks characters by using the MD5 algorithm.', 'type' => 'string', - 'required' => false, - 'example' => '188xxxxxxxx', - ], - ], - [ - 'name' => 'MaxExecuteCount', - 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of queries that can be performed each day.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1000', + 'required' => true, + 'enumValueTitles' => [ + 'FIX_POS' => '', 'DATE_ROUNDING' => '', 'PLAINTEXT' => '', 'SHA1' => 'SHA1', 'HMAC' => 'HMAC', 'STRING_TRANSFORM' => '', 'NUMBER_ROUNDING' => '', 'AES' => 'AES', 'SHA256' => 'SHA256', 'DES' => 'DES', + 'MAP_REPLACE' => '', 'FIX_CHAR' => '', 'DEFAULT' => '', 'RANDOM_REPLACE' => '', 'MD5' => 'MD5', + ], + 'example' => 'MD5', + 'title' => '', ], ], [ - 'name' => 'MaxResultCount', - 'in' => 'query', + 'name' => 'FunctionParams', + 'in' => 'formData', + 'style' => 'flat', 'schema' => [ - 'description' => 'The maximum number of rows that can be queried each day.'."\n", - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'The parameters of the algorithm.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The name of the parameter.'."\n", + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string', 'description' => 'The value of the parameter.'."\n", 'example' => '{paramName: salt, paramValue: 1}', 'title' => ''], + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => '1000', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'UidString', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the String type. If you specify this parameter, the UID of the Long type is replaced.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '322824****:dmstest.wu@A201***', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E9BEBF41-4F69-4605-A5D5-A67955173941', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request succeeded.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['description' => 'The error code that is returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RuleId' => ['description' => 'The ID generated for the data masking rule.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '35***', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E9BEBF41-4F69-4605-A5D5-A67955173941\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"<RequestId>E9BEBF41-4F69-4605-A5D5-A67955173941</RequestId>\\n<Success>true</Success>","errorExample":""}]', - 'title' => 'UpdateUser', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DisableUser' => [ - 'summary' => 'Disables a user that is temporarily not used in Data Management (DMS).', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"RuleId\\": 0\\n}","errorExample":""},{"type":"xml","example":"<AddDesensitizationRuleResponse>\\n <RequestId>0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</AddDesensitizationRuleResponse>","errorExample":""}]', + 'title' => 'AddDesensitizationRule', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDesensitizationRule'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:AddDesensitizationRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'AddInstance' => [ + 'summary' => 'This operation adds a database instance to Data Management (DMS) and lets you enable security hosting for the instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '201773', + 'abilityTreeNodes' => ['FEATUREdms19SL1H'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => true, - 'example' => '-1', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To obtain the tenant ID, move the pointer over your profile picture in the upper-right corner of the DMS console.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '23****', 'title' => ''], ], [ - 'name' => 'Uid', + 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the Alibaba Cloud account.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12345', - ], + 'schema' => ['description' => 'The database type. For more information, see [DbType parameter](~~198106~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MySQL', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'The specified user not exists.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'- true: The request is successful.'."\n" - .'- false: The request fails.', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], + [ + 'name' => 'InstanceSource', + 'in' => 'query', + 'schema' => ['description' => 'The source of the instance. Valid values:'."\n" + ."\n" + .'- **PUBLIC\\_OWN**: a self-managed instance that is connected over the Internet.'."\n" + ."\n" + .'- **RDS**: an ApsaraDB RDS instance.'."\n" + ."\n" + .'- **ECS\\_OWN**: a self-managed database that is hosted on an Elastic Compute Service (ECS) instance.'."\n" + ."\n" + .'- **VPC\\_IDC**: a self-managed database in a data center that is connected to Alibaba Cloud through a Virtual Private Cloud (VPC).'."\n" + ."\n" + .'- **GATEWAY**: a database instance that is connected through a database gateway.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'RDS', 'title' => ''], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"The specified user not exists.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DisableUserResponse>\\n <RequestId>ADE24A7C-DB8B-4D32-94AD-E50E3B921197</RequestId>\\n <Success>true</Success>\\n</DisableUserResponse>","errorExample":""}]', - 'title' => 'DisableUser', - 'description' => 'The effect of disabling a user by calling this operation is the same as that of disabling a user by choosing System Management > User Management in the DMS Enterprise console. The administrator of DMS Enterprise can call this operation to disable a user that is temporarily not used in DMS Enterprise. After the user is disabled, the data source permission, data owner configuration, and database administrator (DBA) configuration of the corresponding Alibaba Cloud account or Resource Access Management (RAM) user are revoked and become invalid.'."\n" - ."\n" - .'> This operation only stops the Alibaba Cloud account or RAM user from logging on to DMS Enterprise of the enterprise, rather than actually disabling the Alibaba Cloud account or RAM user. After the user is disabled, the Alibaba Cloud account or RAM user cannot log on to DMS Enterprise, unless the user is enabled again. The disabled user, however, still exists in DMS Enterprise.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'EnableUser' => [ - 'summary' => 'Enables a user that is disabled.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'NetworkType', + 'in' => 'query', + 'schema' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- **CLASSIC**: classic network'."\n" + ."\n" + .'- **VPC**: VPC', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'VPC', 'title' => ''], ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], - 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'EnvType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To obtain the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Tenant information](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => true, - 'example' => '-1', - ], + 'schema' => ['description' => 'The environment type. Valid values:'."\n" + ."\n" + .'- **product**: production environment'."\n" + ."\n" + .'- **dev**: development environment'."\n" + ."\n" + .'- **pre**: staging environment'."\n" + ."\n" + .'- **test**: test environment'."\n" + ."\n" + .'- **sit**: SIT environment'."\n" + ."\n" + .'- **uat**: UAT environment'."\n" + ."\n" + .'- **pet**: stress testing environment'."\n" + ."\n" + .'- **stag**: STAG environment', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'product', 'title' => ''], ], [ - 'name' => 'Uid', + 'name' => 'EcsInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the Alibaba Cloud account.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12345', - ], + 'schema' => ['description' => 'The instance ID. For example, if your instance is a database gateway instance, enter the gateway ID.'."\n" + ."\n" + .'> This parameter is required if you set InstanceSource to ECS\\_OWN or GATEWAY.', 'type' => 'string', 'required' => false, 'example' => 'i-2zei9gs1t7h8l7ac****', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails. ', - 'type' => 'string', - 'example' => '403', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'The specified user not exists.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the VPC.'."\n" + ."\n" + .'> This parameter is required if you set InstanceSource to VPC\\_IDC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2zef4o1hu7ljd****', 'title' => ''], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"The specified user not exists.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<EnableUserResponse>\\n <RequestId>ADE24A7C-DB8B-4D32-94AD-E50E3B921197</RequestId>\\n <Success>true</Success>\\n</EnableUserResponse>","errorExample":""}]', - 'title' => 'EnableUser', - 'description' => 'The effect of enabling a user by calling this operation is the same as that of enabling a user by choosing System Management > User Management in the DMS Enterprise console. The administrator of DMS Enterprise can call this operation to enable a user that has been disabled in DMS Enterprise. After the user is enabled, the corresponding Alibaba Cloud account or Resource Access Management (RAM) user can continue to log on to DMS Enterprise and perform relevant operations.'."\n" - ."\n" - .'> This operation only enables the Alibaba Cloud account or RAM user to log on to DMS Enterprise of the enterprise and perform relevant operations, rather than granting other permissions to the Alibaba Cloud account or RAM user.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListUsers' => [ - 'summary' => 'Queries the details of users.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'EcsRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region where the instance resides.'."\n" + ."\n" + .'> This parameter is required if you set InstanceSource to RDS, ECS\\_OWN, GATEWAY, or VPC\\_IDC.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '12582', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', + [ + 'name' => 'Host', + 'in' => 'query', + 'schema' => ['description' => 'The database endpoint.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rm-bp1g3tf90******.sqlserver.rds.aliyuncs.com', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The port used to connect to the database.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '3306', 'title' => ''], ], [ - 'name' => 'Role', + 'name' => 'Sid', 'in' => 'query', - 'schema' => [ - 'description' => 'The role that is assigned to the user. Valid values:'."\n" - ."\n" - .'* **USER**: a regular user.'."\n" - .'* **DBA** : a database administrator (DBA).'."\n" - .'* **ADMIN**: a Data Management (DMS) administrator.'."\n" - .'* **SECURITY_ADMIN**: a security administrator.'."\n" - .'* **STRUCT_READ_ONLY**: a schema read-only user.'."\n" - ."\n" - .'> To check your role, move the pointer over the profile picture in the upper-right corner of the DMS console.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'DBA', - 'enum' => [ - 'DBA', - 'ADMIN', - 'USER', - 'SECURITY_ADMIN', - 'STRUCT_READ_ONLY', - ], - ], + 'schema' => ['description' => 'The system ID (SID) of the instance.'."\n" + ."\n" + .'> This parameter is required if you set InstanceType to ORACLE.', 'type' => 'string', 'required' => false, 'example' => 'testSid', 'title' => ''], ], [ - 'name' => 'UserState', + 'name' => 'DatabaseUser', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the user. Valid values:'."\n" - ."\n" - .'* **NORMAL**: The user is normal.'."\n" - .'* **DISABLE**: The user is disabled.'."\n" - .'* **DELETE**: The user is deleted.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'NORMAL', - ], + 'schema' => ['description' => 'The database account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'testsdb', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'DatabasePassword', 'in' => 'query', - 'schema' => [ - 'description' => 'The search keyword. Fuzzy match is supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The password for the database account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test***', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'InstanceAlias', + 'in' => 'query', + 'schema' => ['description' => 'The alias of the instance. The alias helps you identify the instance.', 'type' => 'string', 'example' => 'Test instance', 'required' => true, 'docRequired' => true, 'title' => ''], + ], + [ + 'name' => 'DbaId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the user who has the DBA role for the instance. To obtain the user ID, call the [ListUsers](~~141938~~) or [GetInstance](~~141567~~) operation.', 'type' => 'integer', 'format' => 'int64', 'docRequired' => true, 'required' => true, 'example' => '27****', 'title' => ''], + ], + [ + 'name' => 'QueryTimeout', + 'in' => 'query', + 'schema' => ['description' => 'The timeout period for queries. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '7200', 'title' => ''], + ], + [ + 'name' => 'ExportTimeout', + 'in' => 'query', + 'schema' => ['description' => 'The timeout period for exports. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '86400', 'title' => ''], + ], + [ + 'name' => 'EnableSellTrust', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable security hosting for the instance.'."\n" + ."\n" + .'- Y: Enable security hosting.'."\n" + ."\n" + .'- N: Do not enable security hosting.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'Y'], + ], + [ + 'name' => 'EnableSellStable', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable the Stable Change feature for the instance.'."\n" + ."\n" + .'- Y: Enable the feature.'."\n" + ."\n" + .'- N: Do not enable the feature.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'N'], + ], + [ + 'name' => 'EnableSellCommon', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable the Security Collaboration feature for the instance.'."\n" + ."\n" + .'- Y: Enable the feature.'."\n" + ."\n" + .'- N: Do not enable the feature.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'Y'], + ], + [ + 'name' => 'SafeRule', + 'in' => 'query', + 'schema' => ['description' => 'The security rule set (GroupName) for the instance. This parameter is required if you enable the Security Collaboration feature. To obtain the value of this parameter, call the [ListStandardGroups](~~465940~~) or [GetInstance](~~465826~~) operation.', 'type' => 'string', 'example' => 'Finance-production', 'required' => false, 'docRequired' => true, 'title' => ''], + ], + [ + 'name' => 'EnableSellSitd', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable the sensitive data protection feature for the instance.'."\n" + ."\n" + .'- Y: Enable the feature.'."\n" + ."\n" + .'- N: Do not enable the feature.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'Y'], + ], + [ + 'name' => 'DataLinkName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the cross-database query DBLink.'."\n" + ."\n" + .'> - This parameter is required if you set UseDsql to 1.'."\n" + .'>'."\n" + .'> - The DBLink name can contain only lowercase letters and underscores (\\_).'."\n" + .'>'."\n" + .'> - The DBLink name must be unique within the tenant.', 'type' => 'string', 'required' => false, 'example' => 'dblink_test', 'title' => ''], + ], + [ + 'name' => 'DdlOnline', 'in' => 'query', 'schema' => [ - 'description' => 'The number of the page to return.'."\n", + 'description' => 'Specifies whether to prioritize DMS for schema evolution. Valid values:'."\n" + ."\n" + .'- **0**: Do not prioritize DMS.'."\n" + ."\n" + .'- **1**: Prioritize native online DDL.'."\n" + ."\n" + .'- **2**: Prioritize DMS lock-free schema evolution.'."\n" + ."\n" + .'> Supported database types: ApsaraDB RDS for MySQL, PolarDB for MySQL, MyBase for MySQL, and other MySQL databases.', 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'example' => '1', + 'enum' => ['0', '1', '2'], + 'example' => '2', + 'title' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'UseDsql', 'in' => 'query', 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n" + 'description' => 'Specifies whether to enable cross-instance query. Valid values:'."\n" + ."\n" + .'- **0**: Do not enable.'."\n" ."\n" - .'**'."\n" + .'- **1**: Enable.'."\n" ."\n" - .'Valid values: 10, 20, 50, and 100.**** Default value: 10.'."\n", + .'> Supported database types: MySQL, SQL Server, PostgreSQL, PolarDB for Oracle, and Redis.', 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'example' => '10', + 'enum' => ['0', '1'], + 'example' => '1', + 'title' => '', ], ], + [ + 'name' => 'SkipTest', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to skip the connectivity test. Valid values:'."\n" + ."\n" + .'- **true**: Skip the test.'."\n" + ."\n" + .'- **false**: Do not skip the test.', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the data classification template. To obtain the template ID, call the [ListClassificationTemplates](~~465947~~) operation.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '31***'], + ], + [ + 'name' => 'TemplateType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the data classification template. To obtain the template type, call the [ListClassificationTemplates](~~465947~~) operation.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'INNER'], + ], + [ + 'name' => 'UseSsl', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable SSL encryption. If you enable this feature, DMS connects to the database over an SSL-encrypted connection. This parameter is valid only if the database supports SSL encryption. Valid values:'."\n" + ."\n" + .'- **0**: Default value. DMS automatically negotiates with the database to determine whether to use an SSL connection. If the database supports SSL, DMS connects to the database over an SSL-encrypted connection. If the database does not support SSL, DMS connects to the database over a regular connection.'."\n" + ."\n" + .'- **1**: Enable SSL encryption. This value is invalid if the database does not support SSL.'."\n" + ."\n" + .'- **-1**: Disable SSL encryption.'."\n" + ."\n" + .'> * This parameter is available only for MySQL and Redis databases.'."\n" + .'>'."\n" + .'> * Secure Sockets Layer (SSL) encrypts network connections at the transport layer to improve the security and integrity of data in transit. However, it may increase the response time of network connections.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '1', 'minimum' => '-1', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'RoleArn', + 'in' => 'query', + 'schema' => ['description' => 'ARN of the authorization role for the destination account, used for cross-tenant registration.', 'title' => 'Cross-tenant ARN', 'type' => 'string', 'required' => false, 'example' => 'acs:ram::1760865*********:role/dms-role-arn'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '69161997-6030-53BA-A333-DBEC83B732FF', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'InvalidTid', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'Specified parameter Tid is not valid.', - ], - 'UserList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'User' => [ - 'description' => 'The details of users.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the user.'."\n", - 'type' => 'object', - 'properties' => [ - 'State' => [ - 'description' => 'The status of the user. Valid values:'."\n" - ."\n" - .'* **NORMAL**: The user is normal.'."\n" - .'* **DISABLE**: The user is disabled.'."\n" - .'* **DELETE**: The user is deleted.'."\n", - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'CurResultCount' => [ - 'description' => 'The number of rows that were queried on the current day.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'UserId' => [ - 'description' => 'The ID of the user.'."\n", - 'type' => 'string', - 'example' => '8****', - ], - 'LastLoginTime' => [ - 'description' => 'The time when the user last logged on to the console.'."\n", - 'type' => 'string', - 'example' => '2021-11-08 13:43:43', - ], - 'MaxResultCount' => [ - 'description' => 'The maximum number of rows that can be queried on the current day.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50000', - ], - 'ParentUid' => [ - 'description' => 'The ID of the Alibaba Cloud account of the user.'."\n", - 'type' => 'string', - 'example' => '140692647406****', - ], - 'RoleIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'RoleIds' => [ - 'description' => 'The IDs of the roles.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the role that is assigned to the user. Valid values:'."\n" - ."\n" - .'* **1**: a regular user role.'."\n" - .'* **2**: a DBA role.'."\n" - .'* **3**: a DMS administrator role.'."\n" - .'* **4**: a security administrator role.'."\n" - .'* **6**: a schema read-only user role.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - ], - ], - ], - 'RoleNameList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'RoleNames' => [ - 'description' => 'The names of roles.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the role that is assigned to the user. Valid values:'."\n" - ."\n" - .'* **USER**: a regular user.'."\n" - .'* **DBA** : a DBA.'."\n" - .'* **ADMIN**: a DMS administrator.'."\n" - .'* **SECURITY_ADMIN**: a security administrator.'."\n" - .'* **STRUCT_READ_ONLY**: a schema read-only user.'."\n", - 'type' => 'string', - 'example' => 'ADMIN', - ], - ], - ], - ], - 'NickName' => [ - 'description' => 'The nickname of the user.'."\n", - 'type' => 'string', - 'example' => 'test_NickName', - ], - 'MaxExecuteCount' => [ - 'description' => 'The maximum number of queries that can be performed on the current day.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2000', - ], - 'CurExecuteCount' => [ - 'description' => 'The number of queries that were performed on the current day.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Mobile' => [ - 'description' => 'The mobile phone number of the user.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* The system returns this parameter if you have set a mobile phone number in the console. To set a mobile phone number in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to **Notice**.'."\n" - ."\n" - .'* The system does not return this parameter if you have not set a mobile phone number.'."\n", - 'type' => 'string', - 'example' => '1389999****', - ], - 'Uid' => [ - 'description' => 'The ID of the Alibaba Cloud account.'."\n", - 'type' => 'string', - 'example' => '167382665015****', - ], - 'Email' => [ - 'description' => 'The email address that is used to receive notifications.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* The system returns this parameter if you have set an email address in the console. To set an email address in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to **Notice**.'."\n" - ."\n" - .'* The system does not return this parameter if you have not set an email address.'."\n", - 'type' => 'string', - 'example' => 'username@example.com', - ], - 'DingRobot' => [ - 'description' => 'The DingTalk chatbot URL that is used to receive notifications.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* The system returns this parameter if you have set a DingTalk chatbot URL in the console. To set a DingTalk chatbot URL in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to **Notice**.'."\n" - ."\n" - .'* The system does not return this parameter if you have not set a DingTalk chatbot URL.'."\n", - 'type' => 'string', - 'example' => 'https://XXX.dingtalk.com/robot/send?access_token=9b7a4a562cbe7fcdea9962afac7b9d7b4504d564948083419750f9cafa78e4ef', - ], - 'Webhook' => [ - 'description' => 'The webhook URL that is used to receive notifications.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* If you have set a webhook URL, DMS sends notifications to the specified URL.'."\n" - ."\n" - .'* The system does not return this parameter if you have not set a webhook URL.'."\n", - 'type' => 'string', - 'example' => 'http://dms-XXX.aliyun.com:8***', - ], - 'SignatureMethod' => [ - 'description' => 'The signature method that is used to secure connections when a webhook URL is used. Valid values:'."\n" - ."\n" - .'* **NONE**: no signature.'."\n" - .'* **HMAC_SHA1**: HMAC_SHA1.'."\n", - 'type' => 'string', - 'example' => 'HMAC_SHA1', - ], - 'NotificationMode' => [ - 'description' => 'The notification method. The system returns one or more values. Valid values:'."\n" - ."\n" - .'* **SMS**: text message'."\n" - .'* **EMAIL**: email.'."\n" - .'* **DINGDING**: DingTalk.'."\n" - .'* **DINGROBOT**: DingTalk chatbot.'."\n" - .'* **WEBHOOK**: webhook.'."\n", - 'type' => 'string', - 'example' => 'DINGROBOT', - ], - ], - ], - ], - ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 3,\\n \\"RequestId\\": \\"69161997-6030-53BA-A333-DBEC83B732FF\\",\\n \\"ErrorCode\\": \\"InvalidTid\\",\\n \\"ErrorMessage\\": \\"Specified parameter Tid is not valid.\\",\\n \\"UserList\\": {\\n \\"User\\": [\\n {\\n \\"State\\": \\"NORMAL\\",\\n \\"CurResultCount\\": 0,\\n \\"UserId\\": \\"8****\\",\\n \\"LastLoginTime\\": \\"2021-11-08 13:43:43\\",\\n \\"MaxResultCount\\": 50000,\\n \\"ParentUid\\": \\"140692647406****\\",\\n \\"RoleIdList\\": {\\n \\"RoleIds\\": [\\n 3\\n ]\\n },\\n \\"RoleNameList\\": {\\n \\"RoleNames\\": [\\n \\"ADMIN\\"\\n ]\\n },\\n \\"NickName\\": \\"test_NickName\\",\\n \\"MaxExecuteCount\\": 2000,\\n \\"CurExecuteCount\\": 0,\\n \\"Mobile\\": \\"1389999****\\",\\n \\"Uid\\": \\"167382665015****\\",\\n \\"Email\\": \\"username@example.com\\",\\n \\"DingRobot\\": \\"https://XXX.dingtalk.com/robot/send?access_token=9b7a4a562cbe7fcdea9962afac7b9d7b4504d564948083419750f9cafa78e4ef\\",\\n \\"Webhook\\": \\"http://dms-XXX.aliyun.com:8***\\",\\n \\"SignatureMethod\\": \\"HMAC_SHA1\\",\\n \\"NotificationMode\\": \\"DINGROBOT\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListUsersResponse>\\n <TotalCount>3</TotalCount>\\n <RequestId>69161997-6030-53BA-A333-DBEC83B732FF</RequestId>\\n <UserList>\\n <User>\\n <NotificationMode/>\\n <Email>test1_email</Email>\\n <RoleNameList>\\n <RoleNames>USER</RoleNames>\\n <RoleNames>ADMIN</RoleNames>\\n </RoleNameList>\\n <NickName>王女士</NickName>\\n <MaxExecuteCount>2000</MaxExecuteCount>\\n <CurResultCount>0</CurResultCount>\\n <LastLoginTime>2022-11-23 16:03:10</LastLoginTime>\\n <Uid>23236106758310****</Uid>\\n <RoleIdList>\\n <RoleIds>1</RoleIds>\\n <RoleIds>3</RoleIds>\\n </RoleIdList>\\n <MaxResultCount>50000</MaxResultCount>\\n <State>NORMAL</State>\\n <UserId>13***</UserId>\\n <CurExecuteCount>0</CurExecuteCount>\\n <ParentUid>140692647406****</ParentUid>\\n </User>\\n <User>\\n <NotificationMode/>\\n <Email>test2_email</Email>\\n <RoleNameList>\\n <RoleNames>ADMIN</RoleNames>\\n <RoleNames>USER</RoleNames>\\n </RoleNameList>\\n <NickName>王先生</NickName>\\n <MaxExecuteCount>2000</MaxExecuteCount>\\n <CurResultCount>0</CurResultCount>\\n <LastLoginTime>2022-11-17 14:50:22</LastLoginTime>\\n <Uid>26984203785603****</Uid>\\n <RoleIdList>\\n <RoleIds>3</RoleIds>\\n <RoleIds>1</RoleIds>\\n </RoleIdList>\\n <MaxResultCount>10000</MaxResultCount>\\n <State>NORMAL</State>\\n <UserId>12****</UserId>\\n <CurExecuteCount>0</CurExecuteCount>\\n <ParentUid>140692647406****</ParentUid>\\n </User>\\n <User>\\n <NotificationMode/>\\n <Email>username@example.com</Email>\\n <RoleNameList>\\n <RoleNames>USER</RoleNames>\\n <RoleNames>ADMIN</RoleNames>\\n </RoleNameList>\\n <NickName>test_NickName</NickName>\\n <MaxExecuteCount>2000</MaxExecuteCount>\\n <CurResultCount>0</CurResultCount>\\n <LastLoginTime>2021-07-09 18:48:57</LastLoginTime>\\n <Uid>167382665015****</Uid>\\n <RoleIdList>\\n <RoleIds>1</RoleIds>\\n <RoleIds>3</RoleIds>\\n </RoleIdList>\\n <MaxResultCount>10000</MaxResultCount>\\n <State>NORMAL</State>\\n <UserId>8****</UserId>\\n <CurExecuteCount>0</CurExecuteCount>\\n <Webhook>http://****.aliyun.com:8080</Webhook>\\n <SignatureMethod>HMAC_SHA1</SignatureMethod>\\n <DingRobot>https://****.dingtalk.com/robot/send?access_token=9b7a4a562cbe7fcdea9962afac7b9d7b4504d564948083419750f9cafa78****</DingRobot>\\n <ParentUid>140692647406****</ParentUid>\\n </User>\\n </UserList>\\n <Success>true</Success>\\n</ListUsersResponse>","errorExample":""}]', - 'title' => 'ListUsers', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetUser' => [ - 'summary' => 'Queries the information about a user.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'AddInstance', + 'description' => 'You must have the Database Administrator (DBA) or administrator role. For more information about how to view your system role, see [View my system role](~~324212~~).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddInstance'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:AddInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'AddLhMembers' => [ + 'summary' => 'Invoke the AddLhMembers API to add administrators, members, or task stream developers to a DMS data warehouse development project space. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2798,263 +1546,119 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', + 'abilityTreeCode' => '131032', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'ObjectType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The type of the object. Valid values:'."\n" + ."\n" + .'* **0**: workspace'."\n" + .'* **1**: task flow'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '0', 'title' => ''], ], [ - 'name' => 'Uid', + 'name' => 'ObjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the Alibaba Cloud account. You can view your UID by moving the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '22973492647626****', - ], + 'schema' => ['description' => 'The ID of the object.'."\n" + ."\n" + .'* If the object is a workspace, you can call the [GetLhSpaceByName](~~424379~~) operation to obtain the workspace ID.'."\n" + .'* If the object is a task flow, you can call the [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'UserId', + 'name' => 'Members', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The ID of the user. You can call the [ListUsers](~~141938~~) operation to query the ID of the user.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '51****', + 'description' => 'The information about the users to be added.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The list of target user information. ', + 'type' => 'object', + 'properties' => [ + 'UserId' => ['description' => 'The ID of the user to be added. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to obtain the user ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15****', 'title' => ''], + 'Roles' => [ + 'description' => 'The role. Valid values:'."\n" + ."\n" + .'* **ADMIN**: workspace administrator. You can add a workspace administrator only as a DMS administrator or a DBA.'."\n" + .'* **MEMBER**: workspace member.'."\n" + .'* **DEVELOPER**: task flow developer. Only a workspace member can be added as a task flow developer.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The permission role. Valid values: '."\n" + .'- **ADMIN**: Space administrator. Only DMS administrators and DBAs can add space administrators. '."\n" + .'- **MEMBER**: Space member. '."\n" + .'- **DEVELOPER**: Task stream developer. Only space members can be added as task stream developers. '."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ADMIN', 'title' => ''], + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '', + ], + ], + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3000', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'User' => [ - 'description' => 'The information about the user.'."\n", - 'type' => 'object', - 'properties' => [ - 'State' => [ - 'description' => 'The status of the user. Valid values:'."\n" - ."\n" - .'* **NORMAL**: The user is normal.'."\n" - .'* **DISABLE**: The user is disabled.'."\n" - .'* **DELETE**: The user is deleted.'."\n", - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'CurResultCount' => [ - 'description' => 'The number of rows that are queried on the current day.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '28', - ], - 'UserId' => [ - 'description' => 'The ID of the user.'."\n", - 'type' => 'string', - 'example' => '51****', - ], - 'LastLoginTime' => [ - 'description' => 'The last point in time when the user logged on to the console.'."\n", - 'type' => 'string', - 'example' => '2021-11-08 11:26:21', - ], - 'MaxResultCount' => [ - 'description' => 'The maximum number of rows that can be queried on the current day.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'ParentUid' => [ - 'description' => 'The UID of the Alibaba Cloud account of the user.'."\n" - ."\n" - .'> An Alibaba Cloud account can contain one or more RAM users.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '140692647406****', - ], - 'RoleIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'RoleIds' => [ - 'description' => 'The list of role IDs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the role that is assigned to the user. Valid values:'."\n" - ."\n" - .'* **1**: a regular user role.'."\n" - .'* **2**: a database administrator (DBA) role.'."\n" - .'* **3**: a DMS administrator role.'."\n" - .'* **4**: a security administrator role.'."\n" - .'* **6**: a schema read-only user role.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - ], - 'RoleNameList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'RoleNames' => [ - 'description' => 'The list of role names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the role that is assigned to the user. Valid values:'."\n" - ."\n" - .'* **USER**: a regular user.'."\n" - .'* **DBA** : a DBA.'."\n" - .'* **ADMIN**: a DMS administrator.'."\n" - .'* **SECURITY_ADMIN**: a security administrator.'."\n" - .'* **STRUCT_READ_ONLY**: a schema read-only user.'."\n", - 'type' => 'string', - 'example' => 'USER', - ], - ], - ], - ], - 'NickName' => [ - 'description' => 'The nickname of the user.'."\n", - 'type' => 'string', - 'example' => 'User_NickName', - ], - 'MaxExecuteCount' => [ - 'description' => 'The maximum number of queries that can be performed on the current day.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2000', - ], - 'CurExecuteCount' => [ - 'description' => 'The number of queries that are performed on the current day.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'Mobile' => [ - 'description' => 'The mobile number of the user.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* The system returns this parameter if the user has set a mobile phone number in the console. To set a mobile phone number in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to **Notice**.'."\n" - ."\n" - .'* The system does not return this parameter if the user has not set a mobile phone number.'."\n", - 'type' => 'string', - 'example' => '1389223****', - ], - 'Uid' => [ - 'description' => 'The UID of the user.'."\n", - 'type' => 'string', - 'example' => '22275482072787****', - ], - 'Email' => [ - 'description' => 'The email address that is used to receive notifications.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* The system returns this parameter if the user has set an email address in the console. To set an email address in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to **Notice**.'."\n" - ."\n" - .'* The system does not return this parameter if the user has not set an email address.'."\n", - 'type' => 'string', - 'example' => 'Uesr_email', - ], - 'DingRobot' => [ - 'description' => 'The DingTalk chatbot URL that is used to receive notifications.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* The system returns this parameter if the user has set a DingTalk chatbot URL in the console. To set a DingTalk chatbot URL in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to **Notice**.'."\n" - ."\n" - .'* The system does not return this parameter if the user has not set a DingTalk chatbot URL.'."\n", - 'type' => 'string', - 'example' => 'https://XXX.dingtalk.com/robot/send?access_token=***', - ], - 'Webhook' => [ - 'description' => 'The webhook URL that is used to receive notifications.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* If the user has set a webhook URL, DMS sends notifications to the specified URL.'."\n" - ."\n" - .'* The system does not return this parameter if the user has not set a webhook URL.'."\n", - 'type' => 'string', - 'example' => 'http://dms-XXX.aliyun.com:8***', - ], - 'SignatureMethod' => [ - 'description' => 'The signature method that is used to secure connections when a webhook URL is used. Valid values:'."\n" - ."\n" - .'* **NONE**: no signature.'."\n" - .'* **HMAC_SHA1**: HMAC_SHA1.'."\n", - 'type' => 'string', - 'example' => 'NONE', - ], - 'NotificationMode' => [ - 'description' => 'The notification method. The system returns one or more values. Valid values:'."\n" - ."\n" - .'* **SMS**: text message'."\n" - .'* **EMAIL**: email.'."\n" - .'* **DINGDING**: DingTalk.'."\n" - .'* **DINGROBOT**: DingTalk chatbot.'."\n" - .'* **WEBHOOK**: webhook.'."\n", - 'type' => 'string', - 'example' => 'EMAIL', - ], - ], - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '804BB128-CAFA-5DD0-BA1E-43DDE488****', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'Unknown server error', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '31853A2B-DC9D-5B39-8492-D2AC8BCF550E', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"User\\": {\\n \\"State\\": \\"NORMAL\\",\\n \\"CurResultCount\\": 28,\\n \\"UserId\\": \\"51****\\",\\n \\"LastLoginTime\\": \\"2021-11-08 11:26:21\\",\\n \\"MaxResultCount\\": 10000,\\n \\"ParentUid\\": 0,\\n \\"RoleIdList\\": {\\n \\"RoleIds\\": [\\n 1\\n ]\\n },\\n \\"RoleNameList\\": {\\n \\"RoleNames\\": [\\n \\"USER\\"\\n ]\\n },\\n \\"NickName\\": \\"User_NickName\\",\\n \\"MaxExecuteCount\\": 2000,\\n \\"CurExecuteCount\\": 3,\\n \\"Mobile\\": \\"1389223****\\",\\n \\"Uid\\": \\"22275482072787****\\",\\n \\"Email\\": \\"Uesr_email\\",\\n \\"DingRobot\\": \\"https://XXX.dingtalk.com/robot/send?access_token=***\\",\\n \\"Webhook\\": \\"http://dms-XXX.aliyun.com:8***\\",\\n \\"SignatureMethod\\": \\"NONE\\",\\n \\"NotificationMode\\": \\"EMAIL\\"\\n },\\n \\"RequestId\\": \\"804BB128-CAFA-5DD0-BA1E-43DDE488****\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"Unknown server error\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetUserResponse>\\n <User>\\n <NotificationMode/>\\n <Email>Uesr_email</Email>\\n <RoleNameList>\\n <RoleNames>USER</RoleNames>\\n <RoleNames>ADMIN</RoleNames>\\n </RoleNameList>\\n <NickName>User_NickName</NickName>\\n <MaxExecuteCount>2000</MaxExecuteCount>\\n <CurResultCount>28</CurResultCount>\\n <LastLoginTime>2021-11-09 13:39:21</LastLoginTime>\\n <Uid>22275482072787****</Uid>\\n <RoleIdList>\\n <RoleIds>1</RoleIds>\\n <RoleIds>3</RoleIds>\\n </RoleIdList>\\n <MaxResultCount>10000</MaxResultCount>\\n <State>NORMAL</State>\\n <UserId>51****</UserId>\\n <CurExecuteCount>3</CurExecuteCount>\\n <ParentUid>140692647406****</ParentUid>\\n </User>\\n <RequestId>804BB128-CAFA-5DD0-BA1E-43DDE488****</RequestId>\\n <Success>true</Success>\\n</GetUserResponse>","errorExample":""}]', - 'title' => 'GetUser', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetUserActiveTenant' => [ - 'summary' => 'Queries details of the active tenant.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31853A2B-DC9D-5B39-8492-D2AC8BCF550E\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Add project space administrators, space members, or task stream developers ', + 'description' => 'Prerequisites: Your user role must be administrator, DBA, or space administrator. '."\n" + ."\n" + .'Additional notes:'."\n" + ."\n" + .'- Before adding a task stream developer, you must first add the user as a space member. '."\n" + .'- This API does not support transferring ownership of a task stream. To transfer ownership of a task stream in a project space, invoke the [ChangLhDagOwner](~~424761~~) API. '."\n" + .'- For details about role definitions in a data warehouse development project space, see [Project Space Permission Model](~~410893~~). ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:AddLhMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'AddLogicTableRouteConfig' => [ + 'summary' => 'Adds a routing algorithm to a logical table.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3062,22 +1666,30 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ + 'name' => 'TableId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the logical table. You can call the [ListLogicTables](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogictables) operation to query the ID of the logical table.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '4****', 'title' => ''], + ], + [ + 'name' => 'RouteKey', + 'in' => 'query', + 'schema' => ['description' => 'The unique key of the routing algorithm. '."\n" + ."\n" + .'> - You can create a custom unique key for the routing algorithm. No requirements are imposed on custom unique keys.'."\n" + .'> - The unique key of the routing algorithm in the same logical table must be unique.', 'type' => 'string', 'required' => true, 'example' => 'id-hash-mod16', 'title' => ''], + ], + [ + 'name' => 'RouteExpr', + 'in' => 'query', + 'schema' => ['description' => 'The routing algorithm expression. For more information about how to configure a routing algorithm expression, see [Configure a routing algorithm](https://www.alibabacloud.com/help/en/data-management-service/latest/configure-a-routing-algorithm).', 'type' => 'string', 'required' => true, 'example' => '#id#%16', 'title' => ''], + ], + [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) operation to query the tenant ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '4***', 'title' => ''], ], ], 'responses' => [ @@ -3085,96 +1697,81 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Tenant' => [ - 'description' => 'The details of the tenant.'."\n", - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The status of the tenant. Valid values:'."\n" - ."\n" - .'* **ACTIVE**: The tenant is used to access DMS.'."\n" - .'* **IN_ACTIVE**: The tenant is not used.'."\n", - 'type' => 'string', - 'example' => 'ACTIVE', - ], - 'Tid' => [ - 'description' => 'The ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3***', - ], - 'TenantName' => [ - 'description' => 'The name of the tenant.'."\n", - 'type' => 'string', - 'example' => 'test_name', - ], - ], - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4B63CAC5-BD7F-5C7C-82C9-59DFFBC3C5C2', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'TenantNotExist', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'The specified tenant does not exist.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'B43AD641-49C2-5299-9E06-1B37EC1B****', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.', 'type' => 'string', 'example' => 'can not find table, tableId : 11133', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Tenant\\": {\\n \\"Status\\": \\"ACTIVE\\",\\n \\"Tid\\": 0,\\n \\"TenantName\\": \\"test_name\\"\\n },\\n \\"RequestId\\": \\"4B63CAC5-BD7F-5C7C-82C9-59DFFBC3C5C2\\",\\n \\"ErrorCode\\": \\"TenantNotExist\\",\\n \\"ErrorMessage\\": \\"The specified tenant does not exist.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetUserActiveTenantResponse>\\n <Tenant>\\n <Status>ACTIVE</Status>\\n <TenantName>test_name</TenantName>\\n <Tid>3***</Tid>\\n </Tenant>\\n <RequestId>4B63CAC5-BD7F-5C7C-82C9-59DFFBC3****</RequestId>\\n <Success>true</Success>\\n</GetUserActiveTenantResponse>","errorExample":""}]', - 'title' => 'GetUserActiveTenant', - ], - 'ListUserTenants' => [ - 'summary' => 'Queries tenants.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'AddLogicTableRouteConfig', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:AddLogicTableRouteConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B43AD641-49C2-5299-9E06-1B37EC1B****\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"can not find table, tableId : 11133\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AddLogicTableRouteConfigResponse>\\n <RequestId>B43AD641-49C2-5299-9E06-1B37EC1B****</RequestId>\\n <Success>true</Success>\\n</AddLogicTableRouteConfigResponse>","errorExample":""}]', + ], + 'AddTableToCategory' => [ + 'summary' => 'Add a table to an asset category.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'CategoryId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the associated category.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30000254257', 'title' => ''], + ], + [ + 'name' => 'DbId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of a physical database: You can call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the physical database ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1930****', 'title' => ''], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the table. You can call the [ListTables](~~141878~~) operation to query the table name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'table_name', 'title' => ''], + ], + [ + 'name' => 'TableSchemaName', + 'in' => 'query', + 'schema' => ['description' => 'The schema name of the table, which is required only for SQL Server instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'dbo', 'title' => ''], ], ], 'responses' => [ @@ -3182,2353 +1779,1599 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C478D9DA-3615-50F6-A2BC-7855AD65****', - ], - 'TenantList' => [ - 'description' => 'The details of the tenants that were returned.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The status of the tenant. Valid values:'."\n" - ."\n" - .'* **ACTIVE**: The tenant is used to access DMS.'."\n" - .'* **IN_ACTIVE**: The tenant is not used.'."\n", - 'type' => 'string', - 'example' => 'ACTIVE', - ], - 'Tid' => [ - 'description' => 'The ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3***', - ], - 'TenantName' => [ - 'description' => 'The name of the tenant.'."\n", - 'type' => 'string', - 'example' => 'test_name', - ], - ], - ], - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'TenantNotExist', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'The specified tenant does not exist.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C478D9DA-3615-50F6-A2BC-7855AD65****\\",\\n \\"TenantList\\": [\\n {\\n \\"Status\\": \\"ACTIVE\\",\\n \\"Tid\\": 0,\\n \\"TenantName\\": \\"test_name\\"\\n }\\n ],\\n \\"ErrorCode\\": \\"TenantNotExist\\",\\n \\"ErrorMessage\\": \\"The specified tenant does not exist.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListUserTenantsResponse>\\n <RequestId>C478D9DA-3615-50F6-A2BC-7855AD65****</RequestId>\\n <TenantList>\\n <Status>ACTIVE</Status>\\n <TenantName>test_name</TenantName>\\n <Tid>3***</Tid>\\n </TenantList>\\n <Success>true</Success>\\n</ListUserTenantsResponse>","errorExample":""}]', - 'title' => 'ListUserTenants', - ], - 'RegisterUser' => [ - 'summary' => 'Adds a user of your enterprise.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'AddTableToCategory', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:AddTableToCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'AddTaskFlowEdges' => [ + 'summary' => 'Creates directed edges for the existing task nodes of a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', + 'abilityTreeCode' => '146064', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To query ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], - ], - [ - 'name' => 'Uid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the Alibaba Cloud account of the user that you want to register.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12345678', - ], - ], - [ - 'name' => 'UserNick', - 'in' => 'query', - 'schema' => [ - 'description' => 'The nickname of the user.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'dmstest', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'RoleNames', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The role that you want to assign to the user. Valid values:'."\n" - ."\n" - .'* **USER**: a regular user role'."\n" - .'* **DBA**: a database administrator (DBA) role'."\n" - .'* **ADMIN**: a DMS administrator role'."\n" - .'* **SECURITY_ADMIN**: a security administrator role'."\n" - ."\n" - .'> If you do not specify this parameter, the regular user role is assigned to the user by default. You can assign one or more roles to the user. Separate multiple roles with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'USER,DBA', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15***', 'title' => ''], ], [ - 'name' => 'Mobile', + 'name' => 'Edges', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The mobile number of the user.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '130000000xx', + 'description' => 'The list of edges of the task flow.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NodeEnd' => ['description' => 'The ID of the node where the end node of the edge is located.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '44***', 'title' => ''], + 'NodeFrom' => ['description' => 'The ID of the node where the start node of the edge is located.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '44***', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'The specified user already exists.', - ], - 'Success' => [ - 'description' => '* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'E5EE2B9E-2F95-57FA-B284-CB441CEE49D6', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'EdgeIds' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'EdgeId' => [ + 'description' => 'The list of task flow edge IDs.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the task flow edge.', 'type' => 'integer', 'format' => 'int64', 'example' => '24***', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"The specified user already exists.\\",\\n \\"Success\\": true\\n}","errorExample":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"HostId\\": \\"dms-enterprise.aliyuncs.com\\",\\n \\"Code\\": \\"UserExisted\\",\\n \\"Message\\": \\"The specified user already exists.\\"\\n}"},{"type":"xml","example":"<RegisterUserResponse>\\n <RequestId>ADE24A7C-DB8B-4D32-94AD-E50E3B921197</RequestId>\\n <Success>true</Success>\\n</RegisterUserResponse>\\n","errorExample":"<Error>\\n <RequestId>ADE24A7C-DB8B-4D32-94AD-E50E3B921197</RequestId>\\n <HostId>dms-enterprise.aliyuncs.com</HostId>\\n <Code>UserExisted</Code>\\n <Message>The specified user already exists.</Message>\\n</Error>"}]', - 'title' => 'RegisterUser', - 'description' => 'If you are an **administrator** in Data Management (DMS), you can call this operation to register a user for your enterprise. To view users that are assigned the administrator role, perform the following steps: Log on to the DMS console. In the top navigation bar, click O&M. In the left-side navigation pane, click User.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'AddInstance' => [ - 'summary' => 'Adds a database instance to Data Management (DMS) and enable security hosting for the instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'AddTaskFlowEdges', + 'description' => 'When you add directed edges for a task node, take note of the following limits:'."\n" + ."\n" + .'1. The endpoints of the specified edge exist in the Directed Acyclic Graph (DAG) of the task flow specified by DagId.'."\n" + .'2. After a backward edge is added, the DAG does not contain loops.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:AddTaskFlowEdges', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5EE2B9E-2F95-57FA-B284-CB441CEE49D6\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"EdgeIds\\": {\\n \\"EdgeId\\": [\\n 0\\n ]\\n }\\n}","type":"json"}]', + ], + 'AddWorkspaceUser' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '201773', - 'abilityTreeNodes' => [ - 'FEATUREdms19SL1H', - ], + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> You can move the pointer over the profile picture in the upper-right corner of the DMS console to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '23****', - ], + 'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => '12****'], ], [ - 'name' => 'InstanceType', + 'name' => 'DmsUserIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the database instance. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MySQL', - ], + 'schema' => ['description' => 'The IDs of the DMS users.', 'type' => 'string', 'required' => true, 'example' => '123***', 'title' => ''], ], [ - 'name' => 'InstanceSource', + 'name' => 'RoleSource', 'in' => 'query', - 'schema' => [ - 'description' => 'The source of the database instance. Valid values:'."\n" - ."\n" - .'* **PUBLIC_OWN**: a self-managed database instance that is deployed on the Internet.'."\n" - .'* **RDS**: an ApsaraDB RDS instance.'."\n" - .'* **ECS_OWN**: a self-managed database instance that is deployed on an Elastic Compute Service (ECS) instance.'."\n" - .'* **VPC_IDC**: a self-managed database instance that is deployed in a data center connected over a virtual private cloud (VPC).'."\n" - .'* **GATEWAY**: a database instance connected by using a database gateway.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'RDS', - ], + 'schema' => ['description' => 'The source of the role. To obtain this information, call the `SearchWorkspaceRoles` operation.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'INNER'], ], [ - 'name' => 'NetworkType', + 'name' => 'RoleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The network type. Valid values:'."\n" - ."\n" - .'* **CLASSIC:** the classic network.'."\n" - .'* **VPC**'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'VPC', - ], + 'schema' => ['description' => 'The ID of the role. To obtain this information, call the `SearchWorkspaceRoles` operation.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '31****'], ], - [ - 'name' => 'EnvType', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The type of the environment to which the database instance belongs. Valid values:'."\n" - ."\n" - .'* **product:** the production environment.'."\n" - .'* **dev**: development environment.'."\n" - .'* **pre**: pre-release environment.'."\n" - .'* **test**: test environment.'."\n" - .'* **sit**: system integration testing (SIT) environment.'."\n" - .'* **uat**: user acceptance testing (UAT) environment.'."\n" - .'* **pet**: stress testing environment.'."\n" - .'* **stag**: staging environment.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'product', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B4B07137-F6AE-4756-8474-7F92BB6C4E04', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => ['description' => 'The data returned for the request.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'AddWorkspaceUser', + 'summary' => 'Adds a user to a workspace.', + 'description' => '## Prerequisites'."\n" + ."\n" + .'- You have created a VPC.'."\n" + ."\n" + .'- You must be logged on to the DMS console with an Alibaba Cloud account (root account) or a RAM user that has high-level permissions. You must also grant DMS the `AliyunDMSProcessingDataRolePolicy` permission to access cloud resources.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4B07137-F6AE-4756-8474-7F92BB6C4E04\\",\\n \\"Success\\": true,\\n \\"Data\\": true\\n}","type":"json"}]', + ], + 'AnalyzeSQLLineage' => [ + 'summary' => 'Analyzes the lineage (dependencies and influence) between tables and between fields in SQL statements.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EcsInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. If your instance is a database instance connected by using a database gateway, specify the gateway ID for this parameter.'."\n" - ."\n" - .'> This parameter is required if InstanceSource is set to ECS_OWN or GATEWAY.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-2zei9gs1t7h8l7ac****', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'VpcId', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance connected over a VPC.'."\n" - ."\n" - .'> This parameter is required if InstanceSource is set to VPC_IDC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2zef4o1hu7ljd****', - ], + 'schema' => ['description' => 'The database ID.'."\n" + ."\n" + .'> You can call one of the [SearchDatabase](~~141876~~), [ListDatabases](~~141873~~), and [GetDatabase](~~141869~~) operations to obtain the database ID provided in the DatabaseId response parameter.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '123***', 'title' => ''], ], [ - 'name' => 'EcsRegion', + 'name' => 'SqlContent', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which the ECS instance resides.'."\n" - ."\n" - .'> This parameter is required if InstanceSource is set to RDS, ECS_OWN, GATEWAY, or VPC_IDC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The SQL statement.'."\n", 'type' => 'string', 'required' => true, 'example' => 'insert into a (id) select id from b;', 'title' => ''], ], [ - 'name' => 'Host', + 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The endpoint that is used to connect to the database.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '172.XX.XXX.254', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4B07137-F6AE-4756-8474-7F92BB6C4E04'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'LineageResult' => [ + 'description' => 'Returned data set of SQL lineage.'."\n", + 'type' => 'object', + 'properties' => [ + 'Lineages' => [ + 'description' => 'The details about the lineage.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'LineageType' => ['description' => 'The type of the lineage. Valid values:'."\n" + ."\n" + .'* **FIELD_DEPEND_FIELD**: Fields depend on fields.'."\n" + .'* **TABLE_DEPEND_TABLE**: Tables depend on tables.'."\n" + .'* **FIELD_INFLU_TABLE**: Fields influence tables.'."\n" + .'* **FIELD_INFLU_FIELD**: Fields influence fields.'."\n" + .'* **FIELD_INFLU_TABLE**: Tables influence fields.'."\n" + .'* **FIELD_JOIN_FIELD**: Fields are associated with fields.'."\n", 'type' => 'string', 'example' => 'FIELD_DEPEND_FIELD', 'title' => ''], + 'Src' => ['description' => 'The source.'."\n", 'type' => 'string', 'example' => 'dmstest.b.id', 'title' => ''], + 'Dst' => ['description' => 'The target.'."\n", 'type' => 'string', 'example' => 'dmstest.a.id', 'title' => ''], + 'OperType' => ['description' => 'The operation type of the SQL statement in which the data lineage is generated. For example, if the operation type is SELECT, the data lineage is generated from a SELECT statement.'."\n" + ."\n" + .'> This field is an extended field which has no practical use.'."\n", 'type' => 'string', 'example' => 'SELECT', 'title' => ''], + 'ProcessDetail' => [ + 'description' => 'The handling details. This parameter is returned only when LineageType is FIELD_DEPEND_FIELD.'."\n", + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The SQL code snippet for field processing.'."\n", 'type' => 'string', 'example' => 'dmstest.b.id', 'title' => ''], + 'CalWay' => ['description' => 'The calculating method. Valid values:'."\n" + ."\n" + .'* **DIRECT**: No function or expression is used.'."\n" + .'* **EXPR**: A function or expression is used.'."\n", 'type' => 'string', 'example' => 'DIRECT', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'ObjectMetadata' => [ + 'description' => 'The table and field metadata information.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The object name.'."\n", 'type' => 'string', 'example' => 'a', 'title' => ''], + 'Type' => ['description' => 'The object type. Valid values:'."\n" + ."\n" + .'* **TABLE**'."\n" + .'* **VIEW**'."\n" + .'* **TMP_TABLE**'."\n", 'type' => 'string', 'example' => 'TABLE', 'title' => ''], + 'Source' => ['description' => 'The source of metadata. Valid values:'."\n" + ."\n" + .'* **DDL**: The metadata comes from parsed SQL statements or definition of databases and tables collected by DMS.'."\n" + .'* **LINEAGE**: The metadata comes from lineage analysis results.'."\n", 'type' => 'string', 'example' => 'DDL', 'title' => ''], + 'Fields' => [ + 'description' => 'The fields in the metatable.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the field.'."\n", 'type' => 'string', 'example' => 'dmstest.a.id', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], + ], + 'title' => 'AnalyzeSQLLineage', + 'description' => 'The following conditions must be met before you call this API operation.'."\n" + ."\n" + .'* The database instance is of one of the following types: ApsaraDB RDS for MySQL, PolarDB for MySQL, AnalyticDB for MySQL, ApsaraDB RDS for PostgreSQL, PolarDB for PostgreSQL, AnalyticDB for PostgreSQL, Oracle, and openGauss.'."\n" + .'* A database instance is managed in Security Collaboration mode. For more information about control modes, see [Control modes](~~151629~~).'."\n", + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'description' => 'The port that is used to connect to the database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '3306', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:AnalyzeSQLLineage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4B07137-F6AE-4756-8474-7F92BB6C4E04\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"LineageResult\\": {\\n \\"Lineages\\": [\\n {\\n \\"LineageType\\": \\"FIELD_DEPEND_FIELD\\",\\n \\"Src\\": \\"dmstest.b.id\\",\\n \\"Dst\\": \\"dmstest.a.id\\",\\n \\"OperType\\": \\"SELECT\\",\\n \\"ProcessDetail\\": {\\n \\"Code\\": \\"dmstest.b.id\\",\\n \\"CalWay\\": \\"DIRECT\\"\\n }\\n }\\n ],\\n \\"ObjectMetadata\\": [\\n {\\n \\"Name\\": \\"a\\",\\n \\"Type\\": \\"TABLE\\",\\n \\"Source\\": \\"DDL\\",\\n \\"Fields\\": [\\n {\\n \\"Name\\": \\"dmstest.a.id\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'AnswerSqlSyntaxByMetaAgent' => [ + 'summary' => 'Answers the syntax questions of the corresponding engine according to the specified database ID.', + 'description' => 'You can call this operation to answer the syntax questions of the corresponding engine according to the specified database ID.'."\n", + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Sid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The system ID (SID) of the database instance.'."\n" - ."\n" - .'> This parameter is required if InstanceType is set to ORACLE.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testSid', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ [ - 'name' => 'DatabaseUser', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database account.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'testsdb', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the database. You can call the [ListDatabases](~~141873~~) operation to obtain the ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '1***'], ], [ - 'name' => 'DatabasePassword', + 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => 'The password of the database account.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test***', - ], + 'schema' => ['title' => '', 'description' => 'The syntax question.'."\n", 'type' => 'string', 'required' => false, 'example' => '怎么获取当前时间的字符串'], ], [ - 'name' => 'InstanceAlias', + 'name' => 'Model', 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The name of the selected model. You can use only Qwen series models.'."\n", 'type' => 'string', 'required' => false, 'example' => 'qwen-plus'], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功返回', 'schema' => [ - 'description' => 'The alias of the database instance. Specify an alias that can help you identify the database instance in DMS.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, + 'title' => '', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['title' => '', 'description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError'], + 'ErrorMessage' => ['title' => '', 'description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true'], + 'Data' => [ + 'title' => '', + 'description' => 'The data returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'Content' => ['title' => '', 'description' => 'The answer to the question.'."\n", 'type' => 'string', 'example' => 'mysql数据库类型下...'], + 'SessionId' => ['title' => '', 'description' => 'The session ID.'."\n", 'type' => 'string', 'example' => 'f63a6eed-0e3c-4564-8533-b1295db8d6ff'], + ], + 'example' => '', + ], + ], 'example' => '', ], ], + ], + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'AnswerSqlSyntaxByMetaAgent', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'DbaId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the user who assumes the database administrator (DBA) role. You can call the [ListUsers](~~141938~~) or [GetInstance](~~141567~~) operation to obtain the value of this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '27****', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:AnswerSqlSyntaxByMetaAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Content\\": \\"mysql数据库类型下...\\",\\n \\"SessionId\\": \\"f63a6eed-0e3c-4564-8533-b1295db8d6ff\\"\\n }\\n}","type":"json"}]', + ], + 'ApproveOrder' => [ + 'summary' => 'Reviews a ticket.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '12542', + 'abilityTreeNodes' => ['FEATUREdms25Q07S'], + ], + 'parameters' => [ [ - 'name' => 'QueryTimeout', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The timeout period for querying data from the database instance. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '7200', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'ExportTimeout', + 'name' => 'WorkflowInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The timeout period for exporting data from the database instance. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '86400', - ], + 'schema' => ['description' => 'The ID of the approval process. You can call the [GetOrderBaseInfo](~~144642~~) operation to obtain the ID of the approval process.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'minimum' => '1', 'example' => '1234', 'title' => ''], ], [ - 'name' => 'EnableSellTrust', + 'name' => 'ApprovalType', 'in' => 'query', 'schema' => [ - 'title' => '- Y:开启安全托管模式'."\n" - .'- NULL或其它:不开启安全托管模式', - 'description' => 'Specifies whether to enable the security hosting feature for the database instance. Valid values:'."\n" + 'description' => 'The action that you want to perform on the ticket. Valid values:'."\n" ."\n" - .'* Y: enables the security hosting feature for the database instance.'."\n" - .'* N: disables the security hosting feature for the database instance.'."\n", + .'* **AGREE**'."\n" + .'* **CANCEL**'."\n" + .'* **REJECT**'."\n" + .'* **TRANSFER**'."\n" + .'* **ADD_APPROVAL_NODE**'."\n", 'type' => 'string', 'required' => true, - 'example' => 'Y', + 'docRequired' => true, + 'enumValueTitles' => ['REJECT' => 'REJECT', 'ADD_APPROVAL_NODE' => 'ADD_APPROVAL_NODE', 'TRANSFER' => 'TRANSFER', 'CANCEL' => 'CANCEL', 'AGREE' => 'AGREE'], + 'example' => 'AGREE', + 'enum' => ['AGREE', 'CANCEL', 'REJECT', 'TRANSFER', 'ADD_APPROVAL_NODE'], + 'title' => '', ], ], [ - 'name' => 'EnableSellStable', + 'name' => 'Comment', 'in' => 'query', - 'schema' => [ - 'title' => '- Y:开启稳定变更'."\n" - .'- NULL或其它:不开启稳定变更', - 'description' => 'Specifies whether to enable Stable Change for the database instance. Valid values:'."\n" - ."\n" - .'* Y: Enables Stable Change.'."\n" - .'* N: Disables Stable Change.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'NULL', - ], + 'schema' => ['description' => 'The description of the ticket.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'EnableSellCommon', + 'name' => 'NewApprover', 'in' => 'query', - 'schema' => [ - 'title' => '- Y:开启安全协同'."\n" - .'- NULL或其它:不开启安全协同', - 'description' => 'Specifies whether to enable Security Collaboration for the database instance. Valid values:'."\n" - ."\n" - .'* Y: enables Security Collaboration.'."\n" - .'* N: disables Security Collaboration.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Y', - ], + 'schema' => ['description' => 'The ID of the user to which the ticket is transferred. If ApprovalType is set to TRANSFER, you need to specify this parameter.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12***', 'title' => ''], ], [ - 'name' => 'SafeRule', + 'name' => 'OldApprover', 'in' => 'query', - 'schema' => [ - 'title' => '仅在开启安全协同后有效,实例的安全规则集(GroupName),可通过调用接口ListStandardGroups或GetInstance获取该参数的值。', - 'description' => 'The name of the security rule set for the database instance. This parameter is required if Security Collaboration is enabled. You can call the[ListStandardGroups](~~465940~~) or [GetInstance](~~465826~~) operation to obtain the name of the security rule set from GroupName.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '', - ], + 'schema' => ['description' => 'The ID of the user that transfers the ticket to another user. The default value is the ID of the current user. If the current user is an administrator or a database administrator (DBA), the user can change the value of this parameter to the ID of another user.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '23***', 'title' => ''], ], [ - 'name' => 'EnableSellSitd', + 'name' => 'ApprovalNodeId', 'in' => 'query', - 'schema' => [ - 'title' => '- Y:开启敏感数据保护'."\n" - .'- NULL或其它:不开启敏感数据保护', - 'description' => 'Specifies whether to enable sensitive data protection. Valid values:'."\n" - ."\n" - .'* Y: enables the sensitive data protection feature for the database instance.'."\n" - .'* N: disables the sensitive data protection feature for the database instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Y', - ], + 'schema' => ['description' => 'If ApprovalType is set to ADD_APPROVAL_NODE, you need to specify this parameter. The ID of the user that is added as the new approval node. This node must be a user-defined approval node. You can call the ListUserDefineWorkFlowNodes operation to obtain the value of this parameter.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'DataLinkName', + 'name' => 'ApprovalNodePos', 'in' => 'query', 'schema' => [ - 'description' => 'The name of the database link for cross-database queries.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This property must be specified when UseDsql is set to 1.'."\n" - ."\n" - .'* The name can contain only lowercase letters and underscores (\\_).'."\n" + 'description' => 'The position of the new approval node. You must specify this parameter if ApprovalType is set to ADD_APPROVAL_NODE. Valid values:'."\n" ."\n" - .'* The name must be unique within a tenant.'."\n", + .'* **PRE_ADD_APPROVAL_NODE**: before the current approval node.'."\n" + .'* **POST_ADD_APPROVAL_NODE**: after the current approval node.'."\n", 'type' => 'string', 'required' => false, - 'example' => 'dblink_test', + 'example' => 'POST_ADD_APPROVAL_NODE', + 'enum' => ['POST_ADD_APPROVAL_NODE', 'PRE_ADD_APPROVAL_NODE'], + 'title' => '', ], ], [ - 'name' => 'DdlOnline', + 'name' => 'NewApproverList', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable Lock-free Schema Change. Valid values:'."\n" - ."\n" - .'* **0**: does not enable lock-free schema change.'."\n" - .'* **1**: uses the native online DDL operations of MySQL first.'."\n" - .'* **2:** uses lock-free schema change first.'."\n" - ."\n" - .'> Supported databases include ApsaraDB RDS for MySQL, PolarDB for MySQL, ApsaraDB MyBase for MySQL, and third-party MySQL databases.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - 'enum' => [ - '0', - '1', - '2', - ], - ], + 'schema' => ['description' => '> You can specify this parameter if ApprovalType is set to TRANSFER. You need to only specify one of NewApproverList and NewApprover.'."\n" + ."\n" + .'The IDs of the users to whom the ticket is transferred. Separate multiple IDs with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => '154***,155***,156***', 'title' => ''], ], [ - 'name' => 'UseDsql', + 'name' => 'RealLoginUserUid', 'in' => 'query', + 'schema' => ['description' => 'The UID of the Alibaba Cloud account that actually calls the API.', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to enable cross-database query for the database instance. Valid values:'."\n" - ."\n" - .'* **0: does not enable cross-database query.**'."\n" - .'* **1**: enables cross-database query.'."\n" - ."\n" - .'> Supported databases include MySQL, SQL Server, PostgreSQL, PolarDB for Oracle, and Redis.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'enum' => [ - '0', - '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'ApproveOrder', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'SkipTest', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to skip the connectivity test. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'false', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ApproveOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RequestId>427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D</RequestId>\\n<Success>true</Success>","errorExample":""}]', + ], + 'AsyncExportInventoryAsset' => [ + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'TemplateId', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'title' => '分类分级模板ID,可从ListClassificationTemplates获取', - 'description' => 'The ID of the classification and grading template. You can call the [ListClassificationTemplates](~~465947~~) operation to query the template ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '31***', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001'], ], [ - 'name' => 'TemplateType', + 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'title' => '分类分级模板类型,可从ListClassificationTemplates获取', - 'description' => 'The type of the classification and grading template. You can call the [ListClassificationTemplates](~~465947~~) operation to query the template type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'INNER', - ], + 'schema' => ['title' => '', 'description' => 'The search keyword used for fuzzy matching of asset information such as table names.', 'type' => 'string', 'required' => false, 'example' => 'order'], ], [ - 'name' => 'UseSsl', + 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to allow Data Management Service (DMS) to connect to the database instance by using SSL connections. Before you use SSL connections, make sure that the SSL encryption feature is enabled for the database instance. Valid values:'."\n" - ."\n" - .'* **0** (default): DMS automatically checks whether self-negotiation is enabled for the database instance. DMS automatically checks whether the SSL encryption feature is enabled for the database instance. If the SSL encryption feature is enabled, DMS connects to the database instance by using SSL connections. Otherwise, DMS connects to the database instance without encryption.'."\n" - .'* **1**: DMS connects to the database instance by using SSL connections. This value is invalid if the SSL encryption feature is disabled for the database instance.'."\n" - .'* **-1**: DMS does not connect to the database instance by using SSL connections.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This parameter is available only for a MySQL or Redis database instance.'."\n" - ."\n" - .'* SSL encrypts network connections at the transport layer to improve the security and integrity of data in transmission. However, SSL increases the response time of network connections.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1', - 'minimum' => '-1', - 'example' => '0', - ], + 'schema' => ['title' => '', 'description' => 'The field by which to sort the results. Valid values:'."\n" + ."\n" + .'- confidence'."\n" + .'- entityId'."\n" + ."\n" + .'Default value: confidence.', 'type' => 'string', 'required' => false, 'example' => 'confidence'], ], [ - 'name' => 'RoleArn', + 'name' => 'SortOrder', 'in' => 'query', - 'schema' => [ - 'title' => '跨租户 arn', - 'type' => 'string', - ], + 'schema' => ['title' => '', 'description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- asc: ascending order.'."\n" + .'- desc: descending order.'."\n" + ."\n" + .'Default value: desc.', 'type' => 'string', 'required' => false, 'example' => 'desc'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['title' => '', 'description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError'], + 'ErrorMessage' => ['title' => '', 'description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + .'- **true**: The request was successful.'."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true'], + 'Data' => [ + 'description' => 'The returned data.', + 'type' => 'object', + 'properties' => [ + 'ExportTaskId' => ['title' => '', 'description' => 'The ID of the asynchronous export task, which is used to poll the task status by calling GetInventoryExportTaskStatus.', 'type' => 'integer', 'format' => 'int64', 'example' => '3b5ab724e92f4a0ba890c95fc459636f'], + 'Status' => ['title' => '', 'description' => 'The task status. The value is RUNNING when the task is submitted successfully.', 'type' => 'string', 'example' => 'RUNNING'], + 'FileName' => ['title' => '', 'description' => 'The suggested file name for saving the exported file.', 'type' => 'string', 'example' => '/crm-order-biz%3Bsrc%3Bmain%3Bresources%3Bmybatis%3Bmappers%3Brrscrm%3BOrderOutCountMapper.xml'], + ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'AddInstance', - 'description' => 'You must be a database administrator (DBA) or a DMS administrator. For more information, see [View system roles](~~324212~~).'."\n", - ], - 'ModifyInstance' => [ - 'summary' => 'Modifies the basic and advanced information about a database instance in Data Management (DMS). The basic information includes the hosting mode of the instance, the instance account username and password, and features that are enabled for the instance. The advanced information includes the environment type, the instance name in DMS, and the timeout period for querying and exporting data.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Asynchronously export inventory results', + 'summary' => 'Asynchronously submits a full asset export task for an inventory table.', + 'description' => 'Submits an asynchronous export task using the same filter conditions as SearchInventoryAsset or ExportInventoryAsset. The operation immediately returns an exportTaskId (status=RUNNING). After the backend generates an XLSX file and uploads it to OSS, poll the task status by calling GetInventoryExportTaskStatus. When status=SUCCESS, a pre-signed downloadUrl is returned. Size and Offset are not required. A maximum of 50,000 records can be exported in a single request.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"ExportTaskId\\": 0,\\n \\"Status\\": \\"RUNNING\\",\\n \\"FileName\\": \\"/crm-order-biz%3Bsrc%3Bmain%3Bresources%3Bmybatis%3Bmappers%3Brrscrm%3BOrderOutCountMapper.xml\\"\\n }\\n}","type":"json"}]', + ], + 'AsyncExportInventoryKnowledge' => [ + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '201929', - 'abilityTreeNodes' => [ - 'FEATUREdms19SL1H', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '183****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001'], ], [ - 'name' => 'Tid', + 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> You can move the pointer over the profile picture in the upper-right corner of the DMS console to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '23****'."\n", - ], + 'schema' => ['title' => '', 'description' => 'The search keyword used for fuzzy matching against knowledge content.', 'type' => 'string', 'required' => false, 'example' => '订单'], ], [ - 'name' => 'InstanceType', + 'name' => 'ShowType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the database instance. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'MySQL', - ], + 'schema' => ['title' => '', 'description' => 'The knowledge display type used to filter results, such as TABLE, COLUMN, SQL, SEG, LINEAGE, or TERM.', 'type' => 'string', 'required' => false, 'example' => 'TABLE'], ], [ - 'name' => 'InstanceSource', + 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'description' => 'The source of the database instance. Valid values:'."\n" - ."\n" - .'* **PUBLIC_OWN**: a self-managed database instance that is deployed on the Internet.'."\n" - .'* **RDS**: an ApsaraDB RDS instance.'."\n" - .'* **ECS_OWN**: a self-managed database instance that is deployed on an Elastic Compute Service (ECS) instance.'."\n" - .'* **VPC_IDC**: a self-managed database instance that is deployed in a data center connected over a virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'RDS', - ], + 'schema' => ['title' => '', 'description' => 'The field by which to sort the results. Valid values: confidence and entityId. Default value: confidence.', 'type' => 'string', 'required' => false, 'example' => 'confidence'], ], [ - 'name' => 'NetworkType', + 'name' => 'SortOrder', 'in' => 'query', - 'schema' => [ - 'description' => 'The network type of the database instance. Valid values:'."\n" - ."\n" - .'* **CLASSIC**: the classic network.'."\n" - .'* **VPC**: VPC.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'VPC', - ], + 'schema' => ['title' => '', 'description' => 'The sort order. Valid values:'."\n" + .'- asc: ascending order.'."\n" + .'- desc: descending order.'."\n" + ."\n" + .'Default value: desc.', 'type' => 'string', 'required' => false, 'example' => 'desc'], ], - [ - 'name' => 'EnvType', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" - ."\n" - .'* **product**: production environment.'."\n" - .'* **dev**: development environment.'."\n" - .'* **pre**: pre-release environment.'."\n" - .'* **test**: test environment.'."\n" - .'* **sit**: system integration testing (SIT) environment.'."\n" - .'* **uat**: user acceptance testing (UAT) environment.'."\n" - .'* **pet**: stress testing environment.'."\n" - .'* **stag**: staging environment.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'dev', + 'title' => '', + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['title' => '', 'description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError'], + 'ErrorMessage' => ['title' => '', 'description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + .'- **true**: The request was successful.'."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true'], + 'Data' => [ + 'description' => 'The ID of the inventory task.', + 'type' => 'object', + 'properties' => [ + 'ExportTaskId' => ['title' => '', 'description' => 'The ID of the asynchronous export task. Use this ID to poll the task status by calling GetInventoryExportTaskStatus.', 'type' => 'integer', 'format' => 'int64', 'example' => '4b3a9729-bf4f-4a5f-ad34-579f06e45cc9'], + 'Status' => ['title' => '', 'description' => 'The status of the task. The value is RUNNING when the task is submitted.', 'type' => 'string', 'example' => 'RUNNING'], + 'FileName' => ['title' => '', 'description' => 'The suggested file name for saving the exported file.', 'type' => 'string', 'example' => 'insert.sql'], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], + ], + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Submit an asynchronous export task for inventory assets', + 'summary' => 'Submits an asynchronous commit for a full export node of inventory knowledge.', + 'description' => 'Submits an asynchronous export task by using the same filter conditions as SearchInventoryKnowledge or ExportInventoryKnowledge. The operation immediately returns an exportTaskId with status=RUNNING. After the XLSX file is generated and uploaded to OSS in the background, poll the task status by calling GetInventoryExportTaskStatus. When status=SUCCESS, a pre-signed downloadUrl is returned. Size and Offset are not required. A maximum of 50,000 records can be exported in a single request.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"ExportTaskId\\": 0,\\n \\"Status\\": \\"RUNNING\\",\\n \\"FileName\\": \\"insert.sql\\"\\n }\\n}","type":"json"}]', + ], + 'BackFill' => [ + 'summary' => 'Backfills data for a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EcsInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ECS instance.'."\n" - ."\n" - .'> This parameter is required if InstanceSource is set to ECS_OWN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-2zei9gs1t7h8l7ac****', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '149001', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], + ], + 'parameters' => [ [ - 'name' => 'VpcId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The VPC ID.'."\n" - ."\n" - .'> This parameter is required if InstanceSource is set to VPC_IDC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-bp10wnlcmor****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'EcsRegion', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which the ECS instance resides.'."\n" - ."\n" - .'> This parameter is required if InstanceSource is set to RDS, ECS_OWN, or VPC_IDC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15***', 'title' => ''], ], [ - 'name' => 'Host', + 'name' => 'StartNodeIds', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The endpoint that is used to connect to the database instance.'."\n", - 'type' => 'string', + 'description' => 'The number of nodes for which you want to backfill data.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The number of task nodes to be replenished.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], 'required' => false, - 'docRequired' => false, - 'example' => '192.XXX.0.56', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Port', + 'name' => 'FilterNodeIds', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The port that is used to connect to the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'Filter condition, which specifies the list of node IDs in the task flow that do not need to supplement data.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the node that does not need to supplement data in the task flow.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12***', 'title' => ''], 'required' => false, - 'docRequired' => false, - 'example' => '3306', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Sid', + 'name' => 'IsTriggerSubTree', 'in' => 'query', - 'schema' => [ - 'description' => 'The system ID (SID) of the database instance.'."\n" - ."\n" - .'> This parameter is required if InstanceType is set to ORACLE.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testSid', - ], + 'schema' => ['description' => 'Specifies whether to run descendant nodes. Default value: true.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'DatabaseUser', + 'name' => 'BackFillDate', 'in' => 'query', - 'schema' => [ - 'description' => 'The account that is used to log on to the database instance.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'testsdb'."\n", - ], + 'schema' => ['description' => 'The date for the data to be backfilled. This parameter is required if you specify a date for data backfill.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-01-14', 'title' => ''], ], [ - 'name' => 'DatabasePassword', + 'name' => 'BackFillDateBegin', 'in' => 'query', - 'schema' => [ - 'description' => 'The password of the account that is used to log on to the database instance.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'test***'."\n", - ], + 'schema' => ['description' => 'The start date of the date range for the data to be backfilled. This parameter is required if you specify a date range for data backfill.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-01-14', 'title' => ''], ], [ - 'name' => 'InstanceAlias', + 'name' => 'BackFillDateEnd', 'in' => 'query', - 'schema' => [ - 'description' => 'The alias of the database instance. Specify an alias that can help you quickly identify the database instance in Data Management (DMS).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'instance_test', - ], + 'schema' => ['description' => 'The end date of the date range for the data to be backfilled. This parameter is required if you specify a date range for data backfill.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-09-29', 'title' => ''], ], [ - 'name' => 'DbaId', + 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the user who assumes the database administrator (DBA) role. You can call the [ListUsers](~~141938~~) or [GetInstance](~~141567~~) operation to obtain the value of this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '27****', - ], + 'schema' => ['description' => 'The interval at which data backfill is performed. Unit: hours. Minimum value: 1. Default value: 24.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '24', 'title' => ''], ], [ - 'name' => 'QueryTimeout', + 'name' => 'Asc', 'in' => 'query', - 'schema' => [ - 'description' => 'The timeout period for querying data from the database instance. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '7200', - ], + 'schema' => ['description' => 'The running sequence of task flows for data backfill. Valid values:'."\n" + ."\n" + .'* **0**: reverse chronological order.'."\n" + .'* **1**: chronological order. This is the default value.'."\n", 'type' => 'boolean', 'required' => false, 'example' => '0', 'title' => ''], ], [ - 'name' => 'ExportTimeout', + 'name' => 'HistoryDagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The timeout period for exporting data from the database instance. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '86400', - ], + 'schema' => ['description' => 'The ID of the historical task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '16***', 'title' => ''], ], - [ - 'name' => 'EnableSellTrust', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '- Y:开启安全托管模式'."\n" - .'- NULL或其它:不开启安全托管模式', - 'description' => 'Specifies whether to enable the security hosting feature for the database instance. Valid values:'."\n" - ."\n" - .'* Y: Enable.'."\n" - .'* N: Disable.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Y', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DagInstanceId' => ['description' => 'The ID of the execution record of the task flow.', 'type' => 'integer', 'format' => 'int64', 'example' => '47****', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the node.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '47****'."\n", 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'BackFill', + 'description' => 'During a data backfill, task flows are run in sequence based on their dates. You can specify whether task flows are run in chronological or reverse chronological order. After the data backfill is complete, you can specify a date or date range, and a node range to run task flows.', + 'requestParamsDescription' => 'The BackFillDate parameter is required if you specify a date for data backfill.'."\n" + ."\n" + .'The BackFillDateBegin and BackFillDateEnd parameters are required if you specify a date range for data backfill.'."\n", + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'EnableSellStable', - 'in' => 'query', - 'schema' => [ - 'title' => '- Y:开启稳定变更'."\n" - .'- NULL或其它:不开启稳定变更', - 'description' => 'Specifies whether to enable Stable Change for the database instance. Valid values:'."\n" - ."\n" - .'* Y: Enable.'."\n" - .'* N: Disable.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'NULL', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:BackFill', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"DagInstanceId\\": 0,\\n \\"NodeId\\": 0\\n}","errorExample":""},{"type":"xml","example":"<BackFillResponse>\\n <RequestId>7FAD400F-7A5C-4193-8F9A-39D86C4F0231</RequestId>\\n <Success>true</Success>\\n</BackFillResponse>","errorExample":""}]', + ], + 'BatchCreateDataLakePartitions' => [ + 'summary' => 'Creates data lake table partitions in batches.', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'EnableSellCommon', - 'in' => 'query', - 'schema' => [ - 'title' => '- Y:开启安全协同'."\n" - .'- NULL或其它:不开启安全协同', - 'description' => 'Specifies whether to enable Security Collaboration for the database instance. Valid values:'."\n" - ."\n" - .'* Y: Enable.'."\n" - .'* N: Disable.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Y', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ [ - 'name' => 'SafeRule', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'title' => '仅在开启安全协同后有效,实例的安全规则集(GroupName),可通过调用接口ListStandardGroups或GetInstance获取该参数的值。', - 'description' => 'The name of the security rule set for the database instance. This parameter is required if Security Collaboration is enabled. You can call the[ListStandardGroups](~~465940~~) or [GetInstance](~~465826~~) operation to obtain the name of the security rule set from GroupName.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '', - ], + 'schema' => ['description' => 'Data catalog name.', 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'EnableSellSitd', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'title' => '- Y:开启敏感数据保护'."\n" - .'- NULL或其它:不开启敏感数据保护', - 'description' => 'Specifies whether to enable sensitive data protection. Valid values:'."\n" - ."\n" - .'* Y: Enable.'."\n" - .'* N: Disable.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Y', - ], + 'schema' => ['description' => 'Database name.', 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'DataLinkName', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database link for cross-database queries.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This property must be specified when UseDsql is set to 1.'."\n" - ."\n" - .'* The name can contain only lowercase letters and underscores (\\_).'."\n" - ."\n" - .'* The name must be unique within a tenant.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dblink_test', - ], + 'schema' => ['description' => 'Table name.', 'type' => 'string', 'required' => true, 'example' => 'test_table', 'title' => ''], ], [ - 'name' => 'DdlOnline', - 'in' => 'query', + 'name' => 'PartitionInputs', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'Specifies whether to enable lock-free schema change. Valid values:'."\n" - ."\n" - .'* **0**: Disable Lock-free Schema Change.'."\n" - .'* **1**: MySQL native online DDL first.'."\n" - .'* **2**: DMS native online DDL first.'."\n" - ."\n" - .'> Supported databases include ApsaraDB RDS for MySQL, PolarDB for MySQL, ApsaraDB MyBase for MySQL, and third-party MySQL databases.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - 'enum' => [ - '0', - '1', - '2', - ], + 'description' => 'Information about new partitions.', + 'type' => 'array', + 'items' => ['description' => 'Data lake partition information.', '$ref' => '#/components/schemas/DLPartitionInput', 'required' => false, 'title' => '', 'example' => ''], + 'required' => true, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'UseDsql', + 'name' => 'IfNotExists', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable cross-instance query for the database instance. Valid values:'."\n" - ."\n" - .'* **0**: Disables cross-database query.'."\n" - .'* **1**: Enables cross-database query.'."\n" - ."\n" - .'> Supported databases include MySQL, SQL Server, PostgreSQL, PolarDB for Oracle, and Redis.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'enum' => [ - '0', - '1', - ], - ], + 'schema' => ['description' => 'If the new partition name duplicates an existing partition name, ignore the exception. Values:'."\n" + ."\n" + .'- true: Ignore.'."\n" + ."\n" + .'- false: Do not ignore.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'SkipTest', + 'name' => 'NeedResult', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to skip the connectivity test. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Return partition information. If set to true, the Partitions field is returned.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'TemplateId', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'title' => '分类分级模板ID,可从ListClassificationTemplates获取', - 'description' => 'The ID of the classification and grading template. You can call the [ListClassificationTemplates](~~465947~~) operation to query the template ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '31***', - ], + 'schema' => ['description' => 'The region in which the data lake resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'TemplateType', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'title' => '分类分级模板类型,可从ListClassificationTemplates获取', - 'description' => 'The type of the classification and grading template. You can call the [ListClassificationTemplates](~~465947~~) operation to query the template type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'INNER', - ], + 'schema' => ['description' => 'Tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, hover over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [View tenant information](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'UseSsl', + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'Specifies whether to allow Data Management Service (DMS) to connect to the database instance by using SSL connections. Before you use SSL connections, make sure that the SSL encryption feature is enabled for the database instance. Valid values:'."\n" - ."\n" - .'* **0** (default): DMS automatically checks whether self-negotiation is enabled for the database instance. DMS automatically checks whether the SSL encryption feature is enabled for the database instance. If the SSL encryption feature is enabled, DMS connects to the database instance by using SSL connections. Otherwise, DMS connects to the database instance without encryption.'."\n" - .'* **1**: DMS connects to the database instance by using SSL connections. This value is invalid if the SSL encryption feature is disabled for the database instance.'."\n" - .'* **-1**: DMS does not connect to the database instance by using SSL connections.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This parameter is available only for a MySQL or Redis database instance.'."\n" - ."\n" - .'* SSL encrypts network connections at the transport layer to improve the security and integrity of data in transmission. However, SSL increases the response time of network connections.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1', - 'minimum' => '-1', - 'example' => '0', - ], + 'schema' => ['description' => 'Workspace ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. Use it to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'Partitions' => [ + 'description' => 'The list of newly created partition results. This parameter is returned when the NeedResult parameter is set to true.', + 'type' => 'array', + 'items' => ['description' => 'Partition list details.', '$ref' => '#/components/schemas/DLPartition', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'ModifyInstance', - ], - 'ListInstances' => [ - 'summary' => 'Queries the information about database instances.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'BatchCreateDataLakePartitions', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:BatchCreateDataLakePartitions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": \\"true\\",\\n \\"Partitions\\": [\\n {\\n \\"TableName\\": \\"table_name\\",\\n \\"Sd\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 1,\\n \\"Col\\": \\"col1\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\\\\\"123\\\\\\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"col1\\"\\n ]\\n },\\n \\"InputFormat\\": \\"org.apache.hadoop.mapred.SequenceFileInputFormat\\",\\n \\"OutputFormat\\": \\"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"IsCompressed\\": false,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"DeserializerClass\\": \\"org.apache.hadoop.hive.serde2.OpenCSVSerde\\",\\n \\"Parameters\\": {\\n \\"serialization.format\\": \\"1\\"\\n },\\n \\"Description\\": \\"\\\\\\"serialize\\\\\\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"Name\\": \\"name\\"\\n },\\n \\"BucketCols\\": [\\n \\"2010\\"\\n ],\\n \\"NumBuckets\\": -1,\\n \\"Location\\": \\"oss://xxx\\"\\n },\\n \\"Parameters\\": {\\n \\"key\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\"\\n },\\n \\"CreateTime\\": 1735109884,\\n \\"Values\\": [\\n \\"part_val1\\"\\n ],\\n \\"CatalogName\\": \\"hive\\",\\n \\"DbName\\": \\"default\\",\\n \\"LastAccessTime\\": 1608707407\\n }\\n ]\\n}","type":"json"}]', + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + ], + 'BatchDeleteDataLakePartitions' => [ + 'summary' => 'Deletes multiple partitions of a table in a data lakehouse at a time.', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsVESC4E', - ], + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], - ], - [ - 'name' => 'SearchKey', - 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword that is used to search for database instances.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'DbType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'MySQL', - ], - ], - [ - 'name' => 'EnvType', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the environment to which the database instance belongs. Valid values:'."\n" - ."\n" - .'* **product:** production environment'."\n" - .'* **dev**: development environment'."\n" - .'* **pre**: pre-release environment'."\n" - .'* **test**: test environment'."\n" - .'* **sit**: system integration testing (SIT) environment'."\n" - .'* **uat**: user acceptance testing (UAT) environment'."\n" - .'* **pet**: stress testing environment'."\n" - .'* **stag:** staging environment'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'product', - ], + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'InstanceSource', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The source of the database instance. Valid values:'."\n" - ."\n" - .'* **PUBLIC_OWN**: a self-managed database instance that is deployed on the Internet'."\n" - .'* **RDS**: an ApsaraDB RDS instance'."\n" - .'* **ECS_OWN**: a self-managed database that is deployed on an Elastic Compute Service (ECS) instance'."\n" - .'* **VPC_IDC**: a self-managed database instance that is deployed in a data center connected over a virtual private cloud (VPC)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'RDS', - ], + 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'NetType', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The network type of the database instance. Valid values:'."\n" - ."\n" - .'* **CLASSIC:** classic network'."\n" - .'* **VPC:** VPC'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], + 'schema' => ['description' => 'The table name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'table_name', 'title' => ''], ], [ - 'name' => 'InstanceState', + 'name' => 'PartitionValuesList', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => 'The status of the database instance. Valid values:'."\n" - ."\n" - .'* **NORMAL**'."\n" - .'* **DISABLE**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'NORMAL', + 'description' => 'The values in a partition key column.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The values in a partition key column.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The value of the partition key column.'."\n", 'type' => 'string', 'required' => false, 'example' => 'part_val1', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'PageNumber', + 'name' => 'IfExists', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'Specifies whether to ignore the exception if the partition that you want to delete does not exist.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. The number cannot exceed 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Region', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3****', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of database instances that are returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B4B07137-F6AE-4756-8474-7F92BB6C4E04', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'InstanceList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Instance' => [ - 'description' => 'The information about the database instances that are returned.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the VPC to which the database instance belongs.'."\n", - 'type' => 'string', - 'example' => 'vpc-o6wrloqsdqc9io3mg****', - ], - 'DatabaseUser' => [ - 'description' => 'The account that is used to log on to the database.'."\n", - 'type' => 'string', - 'example' => 'dbUser', - ], - 'DbaId' => [ - 'description' => 'The ID of the database administrator (DBA) of the database instance.'."\n", - 'type' => 'string', - 'example' => '31****', - ], - 'UseDsql' => [ - 'description' => 'Indicates whether the cross-database query feature is enabled for the database instance. Valid values:'."\n" - ."\n" - .'* **0**: disabled'."\n" - .'* **1:**: enabled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Port' => [ - 'description' => 'The port number that is used to connect to the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3306', - ], - 'EcsInstanceId' => [ - 'description' => 'The ID of the ECS instance on which the database instance is deployed.'."\n", - 'type' => 'string', - 'example' => '150****', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database instance belongs. Valid values:'."\n" - ."\n" - .'* **product:** production environment'."\n" - .'* **dev**: development environment'."\n" - .'* **pre**: pre-release environment'."\n" - .'* **test**: test environment'."\n" - .'* **sit**: SIT environment'."\n" - .'* **uat**: UAT environment'."\n" - .'* **pet**: stress testing environment'."\n" - .'* **stag:** staging environment'."\n", - 'type' => 'string', - 'example' => 'product', - ], - 'Sid' => [ - 'description' => 'The system ID (SID) of the database instance.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'OwnerIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerIds' => [ - 'description' => 'The IDs of the owners of the database instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the owner of the database instance.'."\n", - 'type' => 'string', - 'example' => '123453', - ], - ], - ], - ], - 'SafeRuleId' => [ - 'description' => 'The ID of the security rule set of the database instance.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'OwnerNameList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerNames' => [ - 'description' => 'The nicknames of the owners of the database instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The nickname of the owner of the database instance.'."\n", - 'type' => 'string', - 'example' => 'yuyang_test', - ], - ], - ], - ], - 'DbaNickName' => [ - 'description' => 'The nickname of the DBA of the instance.'."\n", - 'type' => 'string', - 'example' => 'dbaName', - ], - 'QueryTimeout' => [ - 'description' => 'The timeout period for querying data in the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'InstanceSource' => [ - 'description' => 'The source of the database instance.'."\n", - 'type' => 'string', - 'example' => 'RDS', - ], - 'Host' => [ - 'description' => 'The host address that is used to connect to the database instance.'."\n", - 'type' => 'string', - 'example' => '****.mysql.rds.aliyuncs.com', - ], - 'State' => [ - 'description' => 'The status of the database instance.'."\n", - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'DataLinkName' => [ - 'description' => 'The name of the database link for the database instance.'."\n", - 'type' => 'string', - 'example' => 'dblink_test', - ], - 'ExportTimeout' => [ - 'description' => 'The timeout period for exporting data from the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '86400', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => '150***', - ], - 'InstanceType' => [ - 'description' => 'The type of the database instance.'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'DatabasePassword' => [ - 'description' => 'The password that is used to log on to the database instance.'."\n", - 'type' => 'string', - 'example' => '******', - ], - 'InstanceAlias' => [ - 'description' => 'The alias of the database instance.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'DdlOnline' => [ - 'description' => 'Indicates whether the lock-free schema change feature is enabled for the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EcsRegion' => [ - 'description' => 'The ID of the region in which the database instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'StandardGroup' => [ - 'description' => 'The control mode of the database instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'GroupName' => [ - 'description' => 'The name of the security rule corresponding to the control mode.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'GroupMode' => [ - 'description' => 'The type of the control mode. Valid values:'."\n" - ."\n" - .'* **COMMON**: Security Collaboration'."\n" - .'* **NONE_CONTROL**: Flexible Management'."\n" - .'* **STABLE**: Stable Change'."\n", - 'type' => 'string', - 'example' => 'COMMON', - ], - ], - ], - 'SellSitd' => [ - 'title' => '为true,敏感数据保护开启,否则未开启', - 'description' => 'Indicates whether the sensitive data protection feature is enabled. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SellTrust' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '5B96E35F-A58E-5399-9041-09CF9A1E46EA'], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], + 'PartitionErrors' => [ + 'description' => 'The error messages.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The error message.'."\n", '$ref' => '#/components/schemas/PartitionError', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"B4B07137-F6AE-4756-8474-7F92BB6C4E04\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"InstanceList\\": {\\n \\"Instance\\": [\\n {\\n \\"VpcId\\": \\"vpc-o6wrloqsdqc9io3mg****\\",\\n \\"DatabaseUser\\": \\"dbUser\\",\\n \\"DbaId\\": \\"31****\\",\\n \\"UseDsql\\": 1,\\n \\"Port\\": 3306,\\n \\"EcsInstanceId\\": \\"150****\\",\\n \\"EnvType\\": \\"product\\",\\n \\"Sid\\": \\"test\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"12****\\"\\n ]\\n },\\n \\"SafeRuleId\\": \\"1\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"yuyang_test\\"\\n ]\\n },\\n \\"DbaNickName\\": \\"dbaName\\",\\n \\"QueryTimeout\\": 60,\\n \\"InstanceSource\\": \\"RDS\\",\\n \\"Host\\": \\"****.mysql.rds.aliyuncs.com\\",\\n \\"State\\": \\"NORMAL\\",\\n \\"DataLinkName\\": \\"dblink_test\\",\\n \\"ExportTimeout\\": 86400,\\n \\"InstanceId\\": \\"150***\\",\\n \\"InstanceType\\": \\"mysql\\",\\n \\"DatabasePassword\\": \\"******\\",\\n \\"InstanceAlias\\": \\"test\\",\\n \\"DdlOnline\\": 1,\\n \\"EcsRegion\\": \\"cn-hangzhou\\",\\n \\"StandardGroup\\": {\\n \\"GroupName\\": \\"test\\",\\n \\"GroupMode\\": \\"COMMON\\"\\n },\\n \\"SellSitd\\": true,\\n \\"SellTrust\\": \\"\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListInstancesResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>B4B07137-F6AE-4756-8474-7F92BB6C4E04</RequestId>\\n <InstanceList>\\n <VpcId>vpc-o6wrloqsdqc9io3mg****</VpcId>\\n <DatabaseUser>dbUser</DatabaseUser>\\n <DbaId>31****</DbaId>\\n <UseDsql>1</UseDsql>\\n <Port>3306</Port>\\n <EcsInstanceId>150****</EcsInstanceId>\\n <EnvType>product</EnvType>\\n <Sid>test</Sid>\\n <OwnerIdList>123453</OwnerIdList>\\n <SafeRuleId>1</SafeRuleId>\\n <OwnerNameList>yuyang_test</OwnerNameList>\\n <DbaNickName>dbaName</DbaNickName>\\n <QueryTimeout>60</QueryTimeout>\\n <InstanceSource>RDS</InstanceSource>\\n <Host>****.mysql.rds.aliyuncs.com</Host>\\n <State>NORMAL</State>\\n <DataLinkName>dblink_test</DataLinkName>\\n <ExportTimeout>86400</ExportTimeout>\\n <InstanceId>150***</InstanceId>\\n <InstanceType>mysql</InstanceType>\\n <DatabasePassword>******</DatabasePassword>\\n <InstanceAlias>test</InstanceAlias>\\n <DdlOnline>1</DdlOnline>\\n <EcsRegion>cn-hangzhou</EcsRegion>\\n <StandardGroup>\\n <GroupName>test</GroupName>\\n <GroupMode>COMMON</GroupMode>\\n </StandardGroup>\\n <SellSitd>true</SellSitd>\\n </InstanceList>\\n <Success>true</Success>\\n</ListInstancesResponse>","errorExample":""}]', - 'title' => 'ListInstances', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetInstance' => [ - 'summary' => 'Queries the details of a database instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5B96E35F-A58E-5399-9041-09CF9A1E46EA\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": \\"true\\",\\n \\"PartitionErrors\\": [\\n {\\n \\"ErrorDetail\\": \\"auth failed\\",\\n \\"Values\\": [\\n \\"part_val1\\\\n\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'BatchDeleteDataLakePartitions', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:BatchDeleteDataLakePartitions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'BatchUpdateDataLakePartitions' => [ + 'summary' => 'Updates multiple partitions of a table in a data lakehouse at a time.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdms19SL1H', - ], + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '2***', - ], + 'schema' => ['description' => 'The name of the data directory.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'Host', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The endpoint of the database instance. You can call the [ListInstances](~~141936~~) operation to obtain the endpoint.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '172.17.XXX.XXX', - ], + 'schema' => ['description' => 'The name of the database that you want to query.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'Port', + 'name' => 'TableName', 'in' => 'query', + 'schema' => ['description' => 'The name of the table'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_table', 'title' => ''], + ], + [ + 'name' => 'PartitionInputs', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The port number that is used to connect to the database instance. You can call the [ListInstances](~~141936~~) operation to obtain the port number.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The information about the created partition.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The partition information of the data lake.'."\n", 'required' => false, '$ref' => '#/components/schemas/DLPartitionInput', 'title' => '', 'example' => ''], 'required' => true, - 'docRequired' => true, - 'example' => '5432', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Sid', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The system ID (SID) of the database instance. You can call the [ListInstances](~~141936~~) operation to obtain the SID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F6C80B69-3203-56AC-8021-18BA72A6F4E1', - ], - 'Instance' => [ - 'description' => 'The details of the database instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC) to which the database instance belongs.'."\n", - 'type' => 'string', - 'example' => 'vpc-o6wrloqsdqc9io3mg****', - ], - 'DatabaseUser' => [ - 'description' => 'The account that is used to log on to the database instance.'."\n", - 'type' => 'string', - 'example' => 'dbuser', - ], - 'DbaId' => [ - 'description' => 'The ID of the database administrator (DBA) for the database instance.'."\n", - 'type' => 'string', - 'example' => '29****', - ], - 'UseDsql' => [ - 'description' => 'Indicates whether the cross-database query feature is enabled for the database instance. Valid values:'."\n" - ."\n" - .'* **0**: disabled'."\n" - .'* **1**: enabled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Port' => [ - 'description' => 'The port number that is used to connect to the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5432', - ], - 'EcsInstanceId' => [ - 'description' => 'The ID of the Elastic Compute Service (ECS) instance on which the database instance is deployed.'."\n", - 'type' => 'string', - 'example' => 'i-bp124ldpklqz59y3****', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database instance belongs. Valid values:'."\n" - ."\n" - .'* **product**: production environment'."\n" - .'* **dev**: development environment'."\n" - .'* **pre**: staging environment'."\n" - .'* **test**: test environment'."\n" - .'* **sit**: system integration testing (SIT) environment'."\n" - .'* **uat**: user acceptance testing (UAT) environment'."\n" - .'* **pet**: stress testing environment'."\n" - .'* **stag**: STAG environment'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Sid' => [ - 'description' => 'The SID of the database instance.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'OwnerIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerIds' => [ - 'description' => 'The IDs of the owners for the database instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance Owner.', - 'type' => 'string', - 'example' => '10****', - ], - ], - ], - ], - 'SafeRuleId' => [ - 'description' => 'The ID of the security rule set for the database instance.'."\n", - 'type' => 'string', - 'example' => '3****', - ], - 'OwnerNameList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerNames' => [ - 'description' => 'The nicknames of the owners for the database instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The nickname of the instance Owner.', - 'type' => 'string', - 'example' => 'yang_test', - ], - ], - ], - ], - 'DbaNickName' => [ - 'description' => 'The nickname of the DBA for the database instance.'."\n", - 'type' => 'string', - 'example' => 'dbaname', - ], - 'QueryTimeout' => [ - 'description' => 'The timeout period for querying data in the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7200', - ], - 'InstanceSource' => [ - 'description' => 'The source of the database instance.'."\n", - 'type' => 'string', - 'example' => 'ECS_OWN', - ], - 'Host' => [ - 'description' => 'The host address that is used to connect to the database instance.'."\n", - 'type' => 'string', - 'example' => '192.168.XXX.XXX', - ], - 'State' => [ - 'description' => 'The status of the database instance. Valid values:'."\n" - ."\n" - .'* **NORMAL**: normal'."\n" - .'* **DISABLE**: disabled'."\n", - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'DataLinkName' => [ - 'description' => 'The name of the database link for the database instance.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'ExportTimeout' => [ - 'description' => 'The timeout period for exporting data from the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '86400', - ], - 'InstanceId' => [ - 'description' => 'The ID of the database instance.'."\n", - 'type' => 'string', - 'example' => '188****', - ], - 'InstanceType' => [ - 'description' => 'The type of the database instance.'."\n", - 'type' => 'string', - 'example' => 'postgresql', - ], - 'DatabasePassword' => [ - 'description' => 'The password that is used to log on to the database.'."\n", - 'type' => 'string', - 'example' => '******', - ], - 'InstanceAlias' => [ - 'description' => 'The alias of the database instance.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'DdlOnline' => [ - 'description' => 'Indicates whether the lock-free schema change feature is enabled for the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'EcsRegion' => [ - 'description' => 'The ID of the region in which the database instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'StandardGroup' => [ - 'description' => 'The control mode of the database instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'GroupName' => [ - 'description' => 'The name of the security rule set corresponding to the control mode.'."\n", - 'type' => 'string', - 'example' => 'test group name', - ], - 'GroupMode' => [ - 'description' => 'The type of the control mode. Valid values:'."\n" - ."\n" - .'* **COMMON**: Security Collaboration'."\n" - .'* **NONE_CONTROL**: Flexible Management'."\n" - .'* **STABLE**: Stable Change'."\n", - 'type' => 'string', - 'example' => 'NONE_CONTROL', - ], - ], - ], - 'SellSitd' => [ - 'title' => '为true,敏感数据保护开启,否则未开启', - 'description' => 'Whether sensitive data protection is enabled. Valid values:'."\n" - ."\n" - .'- **true**: Enable.'."\n" - ."\n" - .'- **false**: Close.', - 'type' => 'string', - 'example' => 'false', - ], - 'SellTrust' => [ - 'type' => 'string', - ], - ], - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'C5B8E84B-42B6-4374-AD5A-6264E1753378'], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'PartitionErrors' => [ + 'description' => 'The error messages.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The error message.'."\n", '$ref' => '#/components/schemas/PartitionError', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F6C80B69-3203-56AC-8021-18BA72A6F4E1\\",\\n \\"Instance\\": {\\n \\"VpcId\\": \\"vpc-o6wrloqsdqc9io3mg****\\",\\n \\"DatabaseUser\\": \\"dbuser\\",\\n \\"DbaId\\": \\"29****\\",\\n \\"UseDsql\\": 0,\\n \\"Port\\": 5432,\\n \\"EcsInstanceId\\": \\"i-bp124ldpklqz59y3****\\",\\n \\"EnvType\\": \\"test\\",\\n \\"Sid\\": \\"test\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"10****\\"\\n ]\\n },\\n \\"SafeRuleId\\": \\"3****\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"yang_test\\"\\n ]\\n },\\n \\"DbaNickName\\": \\"dbaname\\",\\n \\"QueryTimeout\\": 7200,\\n \\"InstanceSource\\": \\"ECS_OWN\\",\\n \\"Host\\": \\"192.168.XXX.XXX\\",\\n \\"State\\": \\"NORMAL\\",\\n \\"DataLinkName\\": \\"test\\",\\n \\"ExportTimeout\\": 86400,\\n \\"InstanceId\\": \\"188****\\",\\n \\"InstanceType\\": \\"postgresql\\",\\n \\"DatabasePassword\\": \\"******\\",\\n \\"InstanceAlias\\": \\"测试\\",\\n \\"DdlOnline\\": 0,\\n \\"EcsRegion\\": \\"cn-beijing\\",\\n \\"StandardGroup\\": {\\n \\"GroupName\\": \\"自由操作\\",\\n \\"GroupMode\\": \\"NONE_CONTROL\\"\\n },\\n \\"SellSitd\\": \\"false\\",\\n \\"SellTrust\\": \\"\\"\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetInstanceResponse>\\n <RequestId>F6C80B69-3203-56AC-8021-18BA72A6F4E1</RequestId>\\n <Instance>\\n <Port>5432</Port>\\n <DatabasePassword>******</DatabasePassword>\\n <ExportTimeout>86400</ExportTimeout>\\n <EnvType>test</EnvType>\\n <DbaId>12****</DbaId>\\n <InstanceAlias>测试</InstanceAlias>\\n <EcsRegion>cn-beijing</EcsRegion>\\n <InstanceType>postgresql</InstanceType>\\n <QueryTimeout>7200</QueryTimeout>\\n <DataLinkName>dbl_postgresql_2</DataLinkName>\\n <SafeRuleId>3****</SafeRuleId>\\n <SellSitd>false</SellSitd>\\n <InstanceSource>ECS_OWN</InstanceSource>\\n <StandardGroup>\\n <GroupName>自由操作</GroupName>\\n <GroupMode>NONE_CONTROL</GroupMode>\\n </StandardGroup>\\n <InstanceId>188****</InstanceId>\\n <Host>172.17.XXX.XXX</Host>\\n <DdlOnline>0</DdlOnline>\\n <UseDsql>0</UseDsql>\\n <EcsInstanceId>i-bp124ldpklqz59y3****</EcsInstanceId>\\n <State>NORMAL</State>\\n <DatabaseUser>postgres</DatabaseUser>\\n <OwnerNameList>\\n <OwnerNames>yang_test</OwnerNames>\\n </OwnerNameList>\\n <DbaNickName>dbaname</DbaNickName>\\n <OwnerIdList>\\n <OwnerIds>10****</OwnerIds>\\n </OwnerIdList>\\n </Instance>\\n <Success>true</Success>\\n</GetInstanceResponse>","errorExample":""}]', - 'title' => 'GetInstance', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteInstance' => [ - 'summary' => 'Removes a database instance from Data Management (DMS).', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C5B8E84B-42B6-4374-AD5A-6264E1753378\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"PartitionErrors\\": [\\n {\\n \\"ErrorDetail\\": \\"auth failed\\",\\n \\"Values\\": [\\n \\"part_val1\\\\n\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'BatchUpdateDataLakePartitions', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:BatchUpdateDataLakePartitions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'BuyPayAsYouGoOrder' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Host', + 'name' => 'CommodityType', 'in' => 'query', - 'schema' => [ - 'description' => 'The endpoint of the database instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to obtain the endpoint.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'xxx.mysql.rds.aliyuncs.com', - ], + 'schema' => ['title' => '', 'description' => 'The type of the resource that you want to purchase.'."\n" + ."\n" + .'* **VersionType**: DMS that supports control modes'."\n" + .'* **SensitiveDataProtection**: DMS that supports sensitive data protection'."\n", 'type' => 'string', 'required' => true, 'example' => 'SensitiveDataProtection'], ], [ - 'name' => 'Port', + 'name' => 'InsNum', 'in' => 'query', - 'schema' => [ - 'description' => 'The port number that is used to connect to the database instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to obtain the port number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '3306', - ], + 'schema' => ['title' => '', 'description' => 'The number of database instances that you want to use DMS to manage.'."\n" + ."\n" + .'> A quota can be used for only one database instance.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '7'], ], [ - 'name' => 'Sid', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => 'The system ID (SID) of the database instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to obtain the SID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testSid', - ], + 'schema' => ['title' => '', 'description' => 'The control mode of DMS. Valid values:'."\n" + ."\n" + .'* **stand**: Stable Change'."\n" + .'* **safety**: Security Collaboration'."\n", 'type' => 'string', 'required' => false, 'example' => 'stand'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B4B07137-F6AE-4756-8474-7F92BB6C4E04', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'InstanceId' => ['title' => '', 'description' => 'If the purchase is successful, the ID of the purchased instance is returned.'."\n", 'type' => 'string', 'example' => 'dms_pre_public_cn-nif23l****'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B4B07137-F6AE-4756-8474-7F92BB6C4E04\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteInstanceResponse>\\n <RequestId>B4B07137-F6AE-4756-8474-7F92BB6C4E04</RequestId>\\n <Success>true</Success>\\n</DeleteInstanceResponse>","errorExample":""}]', - 'title' => 'DeleteInstance', - 'description' => 'Note: You can call this operation only to remove a database instance from the instance list of DMS. The instance is not deleted or shut down.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'RegisterInstance' => [ - 'summary' => 'Registers a database instance in Data Management (DMS).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'BuyPayAsYouGoOrder', + 'summary' => 'Purchases a pay-as-you-go Data Management (DMS) resource.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:BuyPayAsYouGoOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"InstanceId\\": \\"dms_pre_public_cn-nif23l****\\"\\n}","errorExample":""},{"type":"xml","example":"<BuyPayAsYouGoOrderResponse>\\n <RequestId>C51420E3-144A-4A94-B473-8662FCF4AD10</RequestId>\\n <Success>true</Success>\\n <InstanceId>dms_pre_public_cn-nif23l****</InstanceId>\\n</BuyPayAsYouGoOrderResponse>","errorExample":""}]', + ], + 'ChangeColumnSecLevel' => [ + 'summary' => 'Adjusts the sensitivity level of fields.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREdms19SL1H', - ], - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], - ], - [ - 'name' => 'InstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MySQL', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '43253', 'title' => ''], ], [ - 'name' => 'InstanceSource', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The source of the database instance. Valid values:'."\n" - ."\n" - .'* **PUBLIC_OWN:** a self-managed database instance that is deployed on the Internet'."\n" - .'* **RDS:** an ApsaraDB RDS instance'."\n" - .'* **ECS_OWN:** a self-managed database that is deployed on an Elastic Compute Service (ECS) instance'."\n" - .'* **VPC_IDC:** a self-managed database instance that is deployed in a data center connected over a virtual private cloud (VPC)'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'RDS', - ], + 'schema' => ['description' => 'The ID of the database. You can call the [SearchDatabase](~~141876~~) operation to obtain the ID of the database.'."\n" + ."\n" + .'> You can also call the [ListDatabases](~~141873~~) operation to obtain the ID of a physical database and the [ListLogicDatabases](~~141874~~) operation to obtain the ID of a logical database.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '325', 'title' => ''], ], [ - 'name' => 'NetworkType', + 'name' => 'IsLogic', 'in' => 'query', - 'schema' => [ - 'description' => 'The network type of the database instance. Valid values:'."\n" - ."\n" - .'* **CLASSIC:** classic network'."\n" - .'* **VPC:** VPC'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'VPC', - ], + 'schema' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* true: The database is a physical database.'."\n" + .'* false: The database is a logical database.'."\n", 'type' => 'boolean', 'required' => true, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'EnvType', + 'name' => 'SchemaName', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" - ."\n" - .'* product: production environment'."\n" - .'* dev: development environment'."\n" - .'* pre: pre-release environment'."\n" - .'* test: test environment'."\n" - .'* sit: system integration testing (SIT) environment'."\n" - .'* uat: user acceptance testing (UAT) environment'."\n" - .'* pet: stress testing environment'."\n" - .'* stag: staging environment'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'product', - ], + 'schema' => ['description' => 'The name of the database. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the name of the database.'."\n" + ."\n" + .'* You can also call the [SearchDatabase](~~141876~~) operation to obtain the name of the database.'."\n" + .'* You can also call the [ListDatabases](~~141873~~) operation to obtain the name of a physical database and the [ListLogicDatabases](~~141874~~) operation to obtain the name of a logical database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_schema', 'title' => ''], ], [ - 'name' => 'EcsInstanceId', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ECS instance on which the database instance is deployed.'."\n" - ."\n" - .'> This parameter is required if the InstanceSource parameter is set to ECS_OWN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-2zei9gs1t7h8l7ac****', - ], + 'schema' => ['description' => 'The name of the table. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the name of the table.'."\n" + ."\n" + .'> You can also call the [ListTables](~~141878~~) operation to obtain the name of the table.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_table', 'title' => ''], ], [ - 'name' => 'VpcId', + 'name' => 'ColumnName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the VPC to which the database instance belongs.'."\n" - ."\n" - .'> This parameter is required if the InstanceSource parameter is set to VPC_IDC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-xxxxxxxxxxxxxxxxxxxxx', - ], + 'schema' => ['description' => 'The name of the field. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the name of the field.'."\n" + ."\n" + .'> You can also call the [ListColumns](~~141870~~) operation to obtain the name of the field.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_column', 'title' => ''], ], [ - 'name' => 'EcsRegion', + 'name' => 'NewLevel', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region in which the database instance resides.'."\n" - ."\n" - .'> This parameter is required if the InstanceSource parameter is set to RDS, ECS_OWN, or VPC_IDC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The new sensitivity level of the field that you want to specify. Valid values:'."\n" + ."\n" + .'* INNER: low sensitivity level'."\n" + .'* SENSITIVE: medium sensitivity level'."\n" + .'* CONFIDENTIAL: high sensitivity level'."\n", 'type' => 'string', 'required' => true, 'example' => 'SENSITIVE'], ], - [ - 'name' => 'Host', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The host address that is used to connect to the database instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '172.XX.XXX.254', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'ChangeColumnSecLevel', + 'description' => 'ChangeColumnSecLevel即将废弃,建议您调用[ChangeColumnSecurityLevel](~~2536099~~)接口调整字段的敏感等级。', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'description' => 'The port that is used to connect to the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '3306', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ChangeColumnSecLevel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"<ChangeColumnSecLevelResponse>\\n <RequestId>C51420E3-144A-4A94-B473-8662FCF4AD10</RequestId>\\n <Success>false</Success>\\n</ChangeColumnSecLevelResponse>","errorExample":""}]', + ], + 'ChangeColumnSecurityLevel' => [ + 'summary' => 'Changes the security level of a column.', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Sid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The system ID (SID) of the database.'."\n" - ."\n" - .'> This parameter is required if the InstanceType parameter is set to ORACLE.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'XXX', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ [ - 'name' => 'DatabaseUser', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The account that is used to log on to the database.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dmstest', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10****', 'title' => ''], ], [ - 'name' => 'DatabasePassword', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The password that is used to log on to the database.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '******', - ], + 'schema' => ['description' => 'The database ID. The database can be a physical database or a logical database.'."\n" + ."\n" + .'* The ID of a physical database: You can call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the physical database ID.'."\n" + .'* To obtain the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '325**', 'title' => ''], ], [ - 'name' => 'InstanceAlias', - 'in' => 'query', - 'schema' => [ - 'description' => 'The alias of the database instance. Specify an alias that can help you identify the database instance in DMS.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Test instance'."\n", - ], - ], - [ - 'name' => 'DbaUid', + 'name' => 'IsLogic', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the user who assumes the DBA role of the database instance. You can call the [ListUsers](~~141938~~) or [GetInstance](~~141567~~) operation to query the user ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '22275482072787****', - ], + 'schema' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database'."\n" + .'* **false**: The database is a physical database.'."\n", 'type' => 'boolean', 'required' => true, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'SafeRule', + 'name' => 'SchemaName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the security rule set (GroupName) for the database instance. You can call the [ListStandardGroups](~~417891~~) or [GetInstance](~~141567~~) operation to query the name of the security rule set.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Test'."\n", - ], + 'schema' => ['description' => 'The database name. You can call the [ListSensitiveColumns](~~188103~~) or [SearchDatabase](~~141876~~) operation to query the database name.'."\n" + ."\n" + .'> You can call the [ListDatabases](~~141873~~) operation to query the name of a physical database and call the [ListLogicDatabases](~~141874~~) operation to query the name of a logical database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_schema', 'title' => ''], ], [ - 'name' => 'QueryTimeout', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The timeout period for querying data in the database instance. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '60', - ], + 'schema' => ['description' => 'The name of the table. You can call the [ListSensitiveColumns](~~188103~~) or [ListTables](~~141878~~) operation to query the table name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_table', 'title' => ''], ], [ - 'name' => 'ExportTimeout', + 'name' => 'ColumnName', 'in' => 'query', - 'schema' => [ - 'description' => 'The timeout period for exporting data from the database instance. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '600', - ], + 'schema' => ['description' => 'The name of the field. You can call the [ListSensitiveColumns](~~188103~~) or [ListColumns](~~141870~~) operation to query the column name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_column', 'title' => ''], ], [ - 'name' => 'DataLinkName', + 'name' => 'NewSensitivityLevel', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database link for cross-database queries.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This parameter is required if UseDsql is set to 1.'."\n" - ."\n" - .'* The name can contain only lowercase letters and underscores (\\_).'."\n" - ."\n" - .'* The name must be unique within a tenant.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dblink_test', - ], + 'schema' => ['description' => 'The new security level of the column. The valid values are the same as the sensitivity levels of the classification template that is associated with the instance. You can call the [ListSensitivityLevel](~~2539519~~) operation to obtain the sensitivity levels of the classification template.'."\n", 'type' => 'string', 'required' => true, 'example' => 'S2', 'title' => ''], ], - [ - 'name' => 'DdlOnline', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to enable the lock-free schema change feature for the database instance. Valid values:'."\n" - ."\n" - .'* **0**: disables the lock-free schema change feature.'."\n" - .'* **1**: uses the online DDL of MySQL first.'."\n" - .'* **2**: uses the lock-free schema change feature of DMS first.'."\n" - ."\n" - .'> Supported database types: ApsaraDB RDS for MySQL, PolarDB for MySQL, ApsaraDB MyBase for MySQL, and third-party MySQL databases.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - 'enum' => [ - '0', - '1', - '2', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'E103C5F9-DE47-53F2-BF34-D71DF38F****'], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E103C5F9-DE47-53F2-BF34-D71DF38F****\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ChangeColumnSecurityLevel', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'UseDsql', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the cross-database query feature for the database instance. Valid values:'."\n" - ."\n" - .'* **0**: disables the cross-database query feature.'."\n" - .'* **1**: enables the cross-database query feature.'."\n" - ."\n" - .'> Supported database types: MySQL, SQL Server, PostgreSQL, PolarDB for PostgreSQL (compatible with Oracle), and ApsaraDB for Redis.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'enum' => [ - '0', - '1', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ChangeColumnSecurityLevel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], + ], + ], + 'ChangeLhDagOwner' => [ + 'summary' => 'Transfers the ownership of a task flow in a workspace of Data Management (DMS).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SkipTest', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to skip the connectivity test. Valid values:'."\n" - ."\n" - .'* **true:** skips the connectivity test'."\n" - .'* **false:** does not skip the connectivity test'."\n", - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'EnableSellSitd', - 'in' => 'query', - 'schema' => [ - 'title' => '- Y:开启敏感数据保护'."\n" - .'- NULL或其它:不开启敏感数据保护', - 'description' => '* **Y:** enables the sensitive data protection feature'."\n" - .'* **NULL or other:** disables the sensitive data protection feature'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Y', - ], - ], - [ - 'name' => 'TemplateId', - 'in' => 'query', - 'schema' => [ - 'title' => '分类分级模板ID,可从ListClassificationTemplates获取', - 'description' => 'The ID of the classification template. You can call the [ListClassificationTemplates](~~460613~~) operation to query the template ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '31***', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '131459', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], + ], + 'parameters' => [ [ - 'name' => 'TemplateType', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'title' => '分类分级模板类型,可从ListClassificationTemplates获取', - 'description' => 'The type of the classification template. You can call the [ListClassificationTemplates](~~460613~~) operation to query the template type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'INNER', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '9***', 'title' => ''], ], [ - 'name' => 'DbaUidByString', + 'name' => 'OwnerUserId', 'in' => 'query', - 'schema' => [ - 'title' => '用于替换DbaUid字段,可输入角色账号等非数字DbaUid', - 'description' => 'The ID of the user who assumes the DBA role of the database instance. If the user ID is a non-numeric value such as a role or an account, you can use this parameter to replace DbaUid.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '22275482072787****', - ], + 'schema' => ['description' => 'The ID of the user to be specified as the new owner of the task flow. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to obtain the user ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '50****', 'title' => ''], ], [ - 'name' => 'ResourceGroup', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -5536,579 +3379,594 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F4E2A94B-604F-43FF-93E7-F4EE3DCF412E', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true:** The request was successful.'."\n" - .'* **false:** The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9997630E-1993-5E6D-9DF1-4EFEE755FE31', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F4E2A94B-604F-43FF-93E7-F4EE3DCF412E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RegisterInstanceResponse>\\n <RequestId>F4E2A94B-604F-43FF-93E7-F4EE3DCF412E</RequestId>\\n <Success>true</Success>\\n</RegisterInstanceResponse>","errorExample":""}]', - 'title' => 'RegisterInstance', - 'description' => 'Prerequisites: You are a DMS administrator or a database administrator (DBA). You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to query your user role from the RoleIdList parameter that is returned.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => '### Sample code for SDK for Python'."\n" - ."\n" - .'The following sample code provides an example on how to register a database instance that is deployed in a data center connected over a VPC.'."\n" + 'title' => 'ChangeLhDagOwner', + 'description' => 'Usage notes:'."\n" ."\n" - .' #coding=utf-8'."\n" - .' from aliyunsdkcore.client import AcsClient'."\n" - .' from aliyunsdkdms_enterprise.request.v20181101.RegisterInstanceRequest import RegisterInstanceRequest'."\n" - .' client = AcsClient('."\n" - .' "<your-access-key-id>",'."\n" - .' "<your-access-key-secret>",'."\n" - .' "<your-region-id>"'."\n" - .' )'."\n" - .' # Example'."\n" - .' request = RegisterInstanceRequest()'."\n" - .' # The ID of the tenant.'."\n" - .' request.set_Tid(1)'."\n" - .' # The host address that is used to connect to the database instance.'."\n" - .' request.set_Host("192.168.16.113")'."\n" - .' # The port that is used to connect to the database instance.'."\n" - .' request.set_Port(3314)'."\n" - .' # The type of the database. In this example, the parameter is set to MySQL.'."\n" - .' request.set_InstanceType("MySQL")'."\n" - .' # The source of the database instance. In this example, the parameter is set to VPC_IDC.'."\n" - .' request.set_InstanceSource("VPC_IDC")'."\n" - .' # The network type of the database instance. In this example, the parameter is set to VPC.'."\n" - .' request.set_NetworkType("VPC")'."\n" - .' request.set_EnvType("PRODUCT")'."\n" - .' # request.set_EcsInstanceId()'."\n" - .' # The ID of the VPC to which the database instance belongs.'."\n" - .' request.set_VpcId("VPC ID of the database instance")'."\n" - .' # The ID of the region in which the database instance resides. Example: cn-hangzhou.'."\n" - .' request.set_EcsRegion("Region ID of the database instance")'."\n" - .' # request.set_Sid();'."\n" - .' # The account that is used to log on to the database.'."\n" - .' request.set_DatabaseUser("Logon account of the database")'."\n" - .' # The password that is used to log on to the database.'."\n" - .' request.set_DatabasePassword("Logon password of the database")'."\n" - .' # The alias of the database instance. This alias helps you identify the database instance in DMS.'."\n" - .' request.set_InstanceAlias("Alias of the database instance")'."\n" - .' # The ID of the user who assumes the DBA role of the database instance. The user must be added to DMS Enterprise by using the console or the relevant API operation in advance.'."\n" - .' request.set_DbaUid(-1)'."\n" - .' request.set_SafeRule("Name of the security rule set that is configured in DMS Enterprise")'."\n" - .' request.set_QueryTimeout(60)'."\n" - .' request.set_ExportTimeout(600)'."\n" - .' response = client.do_action_with_exception(request)'."\n" - .' print response'."\n", - ], - 'UpdateInstance' => [ - 'summary' => 'Updates the information about a database instance and checks the connectivity of the database instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + .'* If you call this operation to transfer the ownership of a published task flow, the ownership transfer does not take effect.'."\n" + .'* You can call the [ReDeployLhDagVersion](~~424712~~) operation to redeploy a published version of a task flow.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ChangeLhDagOwner', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9997630E-1993-5E6D-9DF1-4EFEE755FE31\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ChangeLhDagOwnerResponse>\\n <RequestId>9997630E-1993-5E6D-9DF1-4EFEE755FE31</RequestId>\\n <Success>true</Success>\\n</ChangeLhDagOwnerResponse>","errorExample":""}]', + ], + 'CheckBatchTableAccessPermission' => [ + 'summary' => 'Batch verify table permissions.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsY7L2P4'], + 'autoTest' => true, ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'TableNameList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', + 'description' => 'The name of the table.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_name', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'InstanceType', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'mysql', - ], + 'schema' => ['description' => 'The database ID. You can call the [ListDatabases](~~141873~~) operation to query the ID of a physical database and the [ListLogicDatabases](~~141874~~) operation to query the ID of a logical database.'."\n" + ."\n" + .'> The value of DatabaseId is that of DbId.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '43XXX', 'title' => ''], ], [ - 'name' => 'InstanceSource', + 'name' => 'Logic', 'in' => 'query', - 'schema' => [ - 'description' => 'The source of the database instance. Valid values:'."\n" - ."\n" - .'* **PUBLIC_OWN:** a self-managed database instance that is deployed on the Internet'."\n" - .'* **RDS:** an ApsaraDB RDS instance'."\n" - .'* **ECS_OWN:** a self-managed database that is deployed on an Elastic Compute Service (ECS) instance'."\n" - .'* **VPC_IDC:** a self-managed database instance that is deployed in a data center connected over a virtual private cloud (VPC)'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ECS_OWN', - ], + 'schema' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* true: Logical database.'."\n" + .'* false: Physical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'EnvType', + 'name' => 'PermissionType', 'in' => 'query', + 'allowEmptyValue' => false, 'schema' => [ - 'description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" + 'description' => 'The type of the permission to be verified.'."\n" ."\n" - .'* **product:** production environment'."\n" - .'* **dev:** development environment'."\n" - .'* **pre:** pre-release environment'."\n" - .'* **test:** test environment'."\n" - .'* **sit:** system integration testing (SIT) environment'."\n" - .'* **uat:** user acceptance testing (UAT) environment'."\n" - .'* **pet:** stress testing environment'."\n" - .'* **stag:** staging environment'."\n", + .'Valid values:'."\n" + ."\n" + .'* QUERY'."\n" + .'* EXPORT'."\n" + .'* CORRECT'."\n" + .'* LOGIN'."\n" + .'* PERF'."\n", 'type' => 'string', 'required' => true, - 'docRequired' => true, - 'enumValueTitles' => [ - 'product' => 'product', - 'pre' => 'pre', - 'dev' => 'dev', - 'test' => 'test', - ], - 'example' => 'product', + 'enum' => ['QUERY', 'EXPORT', 'CORRECT', 'LOGIN', 'PERF'], + 'example' => 'QUERY', + 'title' => '', ], ], [ - 'name' => 'EcsInstanceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ECS instance on which the database instance is deployed.'."\n" - ."\n" - .'> This parameter is required if the InstanceSource parameter is set to ECS_OWN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-2zei9gs1t7h8l7ac****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> View Tenant ID by hovering over your profile icon in the DMS console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], - [ - 'name' => 'VpcId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the VPC to which the database instance belongs.'."\n" - ."\n" - .'> This parameter is required if the InstanceSource parameter is set to VPC_IDC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-xxx', + 'title' => 'Schema of Response', + 'description' => 'Schema of response.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'ID of the request.', 'type' => 'string', 'example' => 'B43AD641-49C2-5299-9E06-1B37EC1B****'], + 'Data' => [ + 'description' => 'The dataset.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The data returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'tab_add_teacher_record', 'title' => ''], + 'Success' => ['description' => '* **true**: Permission granted'."\n" + .'* **false**: Permissions denied'."\n", 'type' => 'string', 'example' => 'True', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'NoPermission', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'ErrorCode' => ['description' => 'Error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B43AD641-49C2-5299-9E06-1B37EC1B****\\",\\n \\"Data\\": [\\n {\\n \\"TableName\\": \\"tab_add_teacher_record\\",\\n \\"Success\\": \\"True\\",\\n \\"ErrorMessage\\": \\"NoPermission\\"\\n }\\n ],\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CheckBatchTableAccessPermission', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'EcsRegion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region in which the database instance resides.'."\n" - ."\n" - .'> This parameter is required if InstanceSource is set to RDS, ECS_OWN, and VPC_IDC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:CheckBatchTableAccessPermission', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'CheckInventoryJob' => [ + 'summary' => 'Queries the execution status and progress of an asset inventory task.', + 'description' => 'This operation returns the execution status and progress of an asset inventory task, as well as a list of sub-tasks, the progress percentage, and knowledge statistics.', + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Host', - 'in' => 'query', - 'schema' => [ - 'description' => 'The host address that is used to connect to the database instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '192.XXX.0.56', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ [ - 'name' => 'Port', + 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'description' => 'The port that is used to connect to the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '3306', - ], + 'schema' => ['description' => 'The ID of the asset inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001', 'title' => ''], ], - [ - 'name' => 'Sid', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ + 'description' => '成功返回', 'schema' => [ - 'description' => 'The system ID (SID) of the database instance.'."\n" - ."\n" - .'> This parameter is required if the InstanceType parameter is set to ORACLE.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'XXX', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" + ."\n" + .'- **true**: The request succeeded.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'required' => true, '$ref' => '#/components/schemas/KnowledgeJobInfoVO', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'description' => 'The response body.', + 'example' => '', ], ], + ], + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'CheckInventoryJob', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"JobId\\": 0,\\n \\"ShowJobId\\": \\"\\",\\n \\"Status\\": \\"\\",\\n \\"Progress\\": 0,\\n \\"TableCnt\\": 0,\\n \\"KnowledgeCnt\\": 0,\\n \\"Creator\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"Supplement\\": \\"\\",\\n \\"CreateTime\\": \\"\\",\\n \\"EndTime\\": \\"\\"\\n }\\n}","type":"json"}]', + ], + 'CloseOrder' => [ + 'summary' => 'Closes a ticket.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DatabaseUser', - 'in' => 'query', - 'schema' => [ - 'description' => 'The account that is used to log on to the database.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dbuser', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ [ - 'name' => 'DatabasePassword', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The password that is used to log on to the database.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '******', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '-1', 'title' => ''], ], [ - 'name' => 'InstanceAlias', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The alias of the database instance. Specify an alias that can help you identify the database instance in DMS.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'instance_test', - ], + 'schema' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1343', 'title' => ''], ], [ - 'name' => 'DbaId', + 'name' => 'CloseReason', 'in' => 'query', + 'schema' => ['description' => 'The reason why the ticket is closed.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'close reason', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the user who assumes the database administrator (DBA) role of the database instance. You can call the [ListUsers](~~141938~~) or [GetInstance](~~141567~~) operation to query the user ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '27****', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'CloseOrder', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'SafeRuleId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the security rule set (GroupName) for the instance. You can call the [ListStandardGroups](~~417891~~) or [GetInstance](~~141567~~) operation to query the name of the security rule set.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '3****', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:CloseOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RequestId>427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D</RequestId>\\n<Success>true</Success>","errorExample":""}]', + ], + 'ConfirmInventoryKnowledge' => [ + 'summary' => 'Marks a specific knowledge entity from an inventory task as certified.', + 'description' => 'This operation marks a specific knowledge entity from an inventory task with a certified status.', + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'QueryTimeout', - 'in' => 'query', - 'schema' => [ - 'description' => 'The timeout period for querying data in the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '60', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ [ - 'name' => 'ExportTimeout', + 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'description' => 'The timeout period for exporting data from the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '600', - ], + 'schema' => ['description' => 'The ID of the inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001', 'title' => ''], ], [ - 'name' => 'DataLinkName', + 'name' => 'EntityId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database link for cross-database queries.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This parameter is required if UseDsql is set to 1.'."\n" - ."\n" - .'* The name can contain only lowercase letters and underscores (\\_).'."\n" - ."\n" - .'* The name must be unique within a tenant.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'datalink_test', - ], + 'schema' => ['description' => 'The ID of the knowledge entity.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2001', 'title' => ''], ], [ - 'name' => 'DdlOnline', + 'name' => 'KnowledgeType', 'in' => 'query', + 'schema' => ['description' => 'The knowledge type. Valid values: `TABLE`, `COLUMN`, `DB`, `DMS_SQL`, `DMS_SEG`, `INCLUDE_SQL`, `ASSET_DOMAIN_TREE`, `META_LINEAGE`, `META_TERM`, and `DATA_STANDARD`.', 'type' => 'string', 'required' => true, 'example' => 'TABLE', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功返回', 'schema' => [ - 'description' => 'Specifies whether to enable the lock-free schema change feature for the database instance. Valid values:'."\n" - ."\n" - .'* **0:** disables the lock-free schema change feature.'."\n" - .'* **1**: uses the online DDL of MySQL first.'."\n" - .'* **2**: uses the lock-free schema change feature of DMS first.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - 'enum' => [ - '0', - '1', - '2', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" + ."\n" + .'- **true**: The request succeeded.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the confirmation was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'description' => 'The returned data.', + 'example' => '', ], ], + ], + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ConfirmInventoryKnowledge', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": true\\n}","type":"json"}]', + ], + 'CreateAbacAuthorization' => [ + 'summary' => 'Attaches a system policy or custom policy to a DMS user or custom role.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'UseDsql', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the cross-database query feature for the database instance. Valid values:'."\n" - ."\n" - .'* **0**: disables the cross-database query feature.'."\n" - .'* **1**: enables the cross-database query feature.'."\n" - ."\n" - .'> Supported database types: MySQL, SQL Server, PostgreSQL, PolarDB for PostgreSQL (compatible with Oracle), and ApsaraDB for Redis.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - 'enum' => [ - '0', - '1', - ], - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'abilityTreeCode' => '228501', + 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], + ], + 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'IdentityType', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the database instance. You can call the [GetInstance](~~141567~~) operation to query the instance ID.'."\n", + 'title' => '', + 'description' => 'Principal Type. Valid values:**user**or**custom role**.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* USER'."\n" + .'* ROLE'."\n", 'type' => 'string', 'required' => true, - 'docRequired' => true, - 'example' => '126****', + 'example' => 'USER', + 'enum' => ['USER', 'ROLE'], ], ], [ - 'name' => 'SkipTest', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to skip the connectivity test. Valid values:'."\n" - ."\n" - .'* **true:** skips the connectivity test'."\n" - .'* **false:** does not skip the connectivity test'."\n", - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'false', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the user. You can call the [GetUser](~~465816~~) operation to query the user ID.'."\n" + ."\n" + .'> If IdentityType is set to USER, this parameter is required.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51****'], ], [ - 'name' => 'EnableSellSitd', + 'name' => 'PolicyId', 'in' => 'query', - 'schema' => [ - 'title' => '- Y:开启敏感数据保护'."\n" - .'- N:关闭敏感数据保护'."\n" - .'- 为NULL或其它:不更新敏感数据保护的状态(保持原始的开启或关闭状态)', - 'description' => '* **Y:** enables the sensitive data protection feature'."\n" - .'* **N:** disables the sensitive data protection feature'."\n" - .'* **NULL or other:** does not update the status of the sensitive data protection feature'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Y', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12****'], ], [ - 'name' => 'TemplateId', + 'name' => 'RoleId', 'in' => 'query', - 'schema' => [ - 'title' => '更新分类分级模板ID,可从ListClassificationTemplates获取', - 'description' => 'The ID of the classification template. You can call the [ListClassificationTemplates](~~460613~~) operation to query the template ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the role.'."\n" + ."\n" + .'> If IdentityType is set to ROLE, this parameter is required.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '31****'], ], [ - 'name' => 'TemplateType', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'title' => '更新分类分级模板类型,可从ListClassificationTemplates获取', - 'description' => 'The type of the classification template. You can call the [ListClassificationTemplates](~~460613~~) operation to query the template type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'INNER', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E9BEBF41-4F69-4605-A5D5-A67955173941', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true:** The request was successful.'."\n" - .'* **false:** The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request succeeded.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Result' => ['description' => 'Indicates whether the policy is attached.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E9BEBF41-4F69-4605-A5D5-A67955173941\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"<RequestId>E9BEBF41-4F69-4605-A5D5-A67955173941</RequestId>\\n<Success>true</Success>","errorExample":""}]', - 'title' => 'UpdateInstance', - 'description' => 'Before you call the UpdateInstance operation, call the [GetInstance](~~141567~~) or [ListInstances](~~141936~~) operation to obtain the complete information about the instance.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'SimplyAddInstance' => [ - 'summary' => 'This operation is suitable for special scenarios and is not recommended. To register an instance with DMS, we recommend that you call the AddInstance operation first.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Result\\": \\"true\\"\\n}","type":"json"}]', + 'title' => 'CreateAbacAuthorization', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateAbacAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateAbacPolicy' => [ + 'summary' => 'Creates a policy to manage the permissions on DMS features and data resources managed in DMS in a fine-grained manner.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '201773', - 'abilityTreeNodes' => [ - 'FEATUREdms19SL1H', - ], + 'abilityTreeCode' => '228408', + 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'AbacPolicyName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rm****', - ], + 'schema' => ['title' => '', 'description' => 'The name of the policy. The name must be unique for the tenant.'."\n", 'type' => 'string', 'required' => true, 'example' => 'policy_test'], ], [ - 'name' => 'InstanceRegion', + 'name' => 'AbacPolicyDesc', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The description of the policy.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ - 'name' => 'Host', + 'name' => 'AbacPolicyContent', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '192.XXX.0.56', - ], + 'schema' => ['title' => '', 'description' => 'The content of the policy. Specifies whether the authorized user can access and use the resources and features defined in the policy.'."\n", 'type' => 'string', 'required' => true, 'example' => '{'."\n" + .' "Statement": ['."\n" + .' {'."\n" + .' "Action": "*",'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*",'."\n" + .' "Condition": {'."\n" + .' "StringEqualsIgnoreCase": {'."\n" + .' "dms:DbType": ['."\n" + .' "redis"'."\n" + .' ]'."\n" + .' }'."\n" + .' }'."\n" + .' }'."\n" + .' ],'."\n" + .' "Version": "1"'."\n" + .'}'], ], [ - 'name' => 'Port', + 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'CreatePolicyResult' => ['description' => 'The ID of the policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], + ], 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '5432', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"CreatePolicyResult\\": 0\\n}","type":"json"}]', + 'title' => 'CreateAbacPolicy', + 'description' => 'Currently, this feature is in the phased release phase. Only users who have phased out can use this feature and related APIs. For more information about the policy feature, see [Manage policies](~~2848565~~).'."\n", + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'DatabaseUser', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'abc', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateAbacPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'CreateAuthorityTemplate' => [ + 'summary' => 'Creates a permission template', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DatabasePassword', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test***', - ], + 'schema' => ['description' => 'The name of the permission template.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Test template.', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The description of the permission template.'."\n", 'type' => 'string', 'required' => false, 'example' => 'This template is used for business testing.', 'title' => ''], + ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -6116,953 +3974,753 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'ErrorCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => '403', - ], - 'ErrorMessage' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Instance' => [ - 'description' => '', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'AuthorityTemplateView' => [ + 'description' => 'The details of the permission template.'."\n", 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '188****', - ], - 'Host' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.XXX.XXX', - ], - 'Port' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5432', - ], + 'TemplateId' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1563', 'title' => ''], + 'Name' => ['description' => 'The name of the permission template.'."\n", 'type' => 'string', 'example' => 'Test template.', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who created the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12***', 'title' => ''], + 'Description' => ['description' => 'The description of the permission template.'."\n", 'type' => 'string', 'example' => 'This template is used for business testing.', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the permission template was created. The time is in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'example' => '2023-01-11 14:17:33', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Tid' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '3***', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Instance\\": {\\n \\"InstanceId\\": \\"188****\\",\\n \\"Host\\": \\"192.168.XXX.XXX\\",\\n \\"Port\\": \\"5432\\"\\n }\\n}","type":"json"}]', - 'title' => 'SimplyAddInstance', - ], - 'GetOpLog' => [ - 'summary' => 'Queries the details of operation logs that are generated in a specified period of time.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"AuthorityTemplateView\\": {\\n \\"TemplateId\\": 1563,\\n \\"Name\\": \\"Test template.\\",\\n \\"CreatorId\\": 0,\\n \\"Description\\": \\"This template is used for business testing.\\",\\n \\"CreateTime\\": \\"2023-01-11 14:17:33\\"\\n },\\n \\"Success\\": true,\\n \\"Tid\\": 0\\n}","type":"json"}]', + 'title' => 'CreateAuthorityTemplate', + 'description' => 'You are a database administrator (DBA) or a Data Management (DMS) administrator. For more information about how to view system roles, see [View system roles](~~324212~~).'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAuthorityTemplate'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateAuthorityTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateDataArchiveOrder' => [ + 'summary' => 'Creates a data archiving ticket to archive data to destinations such as dedicated storage space or ApsaraDB RDS for MySQL instances.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '185526', + 'abilityTreeNodes' => ['FEATUREdmsPWN318'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'Comment', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['title' => '', 'description' => 'The description of the task.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Business test'], ], [ - 'name' => 'Module', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The functional module for which you want to query operation logs. If you do not specify this parameter, operation logs for all functional modules are returned. Valid values:'."\n" - ."\n" - .'* **PERMISSION**: permissions'."\n" - .'* **OWNER**: data owner'."\n" - .'* **SQL_CONSOLE**: data query'."\n" - .'* **SQL_CONSOLE_EXPORT**: query result export'."\n" - .'* **DATA_CHANGE**: data change'."\n" - .'* **DATA_EXPORT**: data export'."\n" - .'* **SQL_REVIEW**: SQL review'."\n" - .'* **DT_SYNC**: database and table synchronization'."\n" - .'* **DT_DETAIL**: database and table details'."\n" - .'* **DB_TASK**: task management'."\n" - .'* **INSTANCE_MANAGE**: instance management'."\n" - .'* **USER_MANAGE**: user management'."\n" - .'* **SECURITY_RULE**: security rules'."\n" - .'* **CONFIG_MANAGE**: configuration management'."\n" - .'* **RESOURCE_AUTH**: resource authorization'."\n" - .'* **ACCESS_WHITE_IP**: access IP address whitelist'."\n" - .'* **NDDL**: schema design'."\n" - .'* **DSQL_CONSOLE**: cross-database data query'."\n" - .'* **DSQL_CONSOLE_EXPORT**: cross-database query result export'."\n" - .'* **DATA_TRACT**: data tracking'."\n" - .'* **DATA_QUALITY**: data quality'."\n" - .'* **DATALINK_MANAGE** :DBLink management'."\n" - .'* **DATASEC_MANAGE**: sensitive data management'."\n" - .'* **SELL**: sales'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SECURITY_RULE', - ], + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'PluginType', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. Specify the time in the yyyy-MM-DD HH:mm:ss format.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-03-23 10:00:00', - ], + 'schema' => ['title' => '', 'description' => 'The type of the plug-in. Default value: DATA_ARCHIVE.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DATA_ARCHIVE', 'default' => 'DATA_ARCHIVE'], ], [ - 'name' => 'EndTime', + 'name' => 'RelatedUserList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The end of the time range to query. Specify the time in the yyyy-MM-DD HH:mm:ss format.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-03-29 10:00:00', + 'title' => '', + 'description' => 'The list of the related users.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of an operator that is related to the ticket.'."\n", 'type' => 'string', 'required' => false, 'example' => '123***', 'title' => ''], + 'required' => false, + 'example' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'ParentId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Valid values:'."\n" - ."\n" - .'* 30'."\n" - .'* 50'."\n" - .'* 100'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '30', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the parent ticket. A parent ticket is generated only when a child ticket is created.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '896****'], ], [ - 'name' => 'PageNumber', + 'name' => 'Param', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The number of the page to return. Pages start from page 1.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'title' => '', + 'description' => 'The parameters for archiving data.'."\n", + 'type' => 'object', + 'properties' => [ + 'ArchiveMethod' => ['title' => '', 'description' => 'The archiving destination to which you want to archive data. Valid values:'."\n" + ."\n" + .'> If you set ArchiveMethod to a value other than inner_oss, you must register the corresponding destination database with Data Management (DMS) before you create the data archiving ticket. After the database is registered with DMS, the database is displayed in the Instances Connected section of the DMS console.'."\n" + ."\n" + .'* **inner_oss**: dedicated storage, which is a built-in Object Storage Service (OSS) bucket.'."\n" + .'* **oss_userself**: OSS bucket of the user.'."\n" + .'* **mysql**: ApsaraDB RDS for MySQL instance.'."\n" + .'* **polardb**: PolarDB for MySQL cluster.'."\n" + .'* **adb_mysql**: AnalyticDB for MySQL V3.0 cluster.'."\n" + .'* **lindorm**: Lindorm instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'adb_mysql'], + 'RunMethod' => ['title' => '', 'description' => 'The method that is used to run the data archiving task. Valid values:'."\n" + ."\n" + .'* **schedule**: The data archiving task is periodically scheduled.'."\n" + .'* **now**: The data archiving task is immediately run.'."\n", 'type' => 'string', 'required' => true, 'example' => 'now'], + 'Variables' => [ + 'title' => '', + 'description' => 'The configuration of archiving variables. You can use a time variable as a filter condition for archiving data. Each variable has two attributes: name and pattern.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The configuration of archiving variables.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '', 'description' => 'The name of the time variable. If the time variable is used as a filter condition for archiving data, the variable name must be the same as the one that is specified in **TableWhere**.'."\n", 'type' => 'string', 'required' => false, 'example' => 't'], + 'Pattern' => ['title' => '', 'description' => 'The format of the time variable. The format is used to define the value of the time variable. For more information, see [Configure variables](~~209323~~). The following examples show the formats of a time variable:'."\n" + ."\n" + .'* **yyyy-MM-dd|-3d**: three days before the point in time when the task is run.'."\n" + .'* **yyyy-MM-dd|-1w**: seven days before the point in time when the task is run.'."\n" + .'* **yyyy-MM-dd|-4M**: four months before the point in time when the task is run.'."\n" + .'* **yyyy-MM-dd|-2y**: two years before the point in time when the task is run.'."\n" + .'* **yyyy-MM-dd|-3h**: 3 hours before the point in time when the task is run.'."\n" + .'* **yyyy-MM-dd|+5m**: 5 minutes after the point in time when the task is run.'."\n" + ."\n" + .'> In these examples, yyyy-MM-dd| indicates a fixed value. For the remaining part, a hyphen (-) indicates that the time is before that when the task is run, and a plus sign (+) indicates that the time is after that when the task is run.'."\n", 'type' => 'string', 'required' => false, 'example' => 'yyyy-MM-dd|-3d'], + ], + 'required' => false, + 'example' => '{name: "time", pattern: "yyyy-MM-dd|+2d"}', + 'title' => '', + ], + 'required' => false, + 'example' => '', + ], + 'Logic' => ['title' => '', 'description' => 'Specifies whether the database is a logical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'TableIncludes' => [ + 'title' => '', + 'description' => 'The collection of tables to be archived.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TableName' => ['title' => '', 'description' => 'The table name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'table1'], + 'TableWhere' => ['title' => '', 'description' => 'The filter condition that is specified by the WHERE clause of the archiving configuration. If a time variable is used in the filter condition, the filter condition is specified in the following format: field name <=\'${variable name}\'. The variable name in the filter condition must be the same as the time variable name that is specified in the Variables parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gmt_modified<\'${t}\''], + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'example' => '', + ], + 'TableMapping' => [ + 'title' => '', + 'description' => 'The table names mapped to the destination database. This parameter is not required and the default value is used.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The table name mapped to the destination database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'table1', 'title' => ''], + 'required' => false, + 'example' => '', + ], + 'OrderAfter' => [ + 'title' => '', + 'description' => 'The post behaviors.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The post behavior. Valid values:'."\n" + ."\n" + .'* **delete**: deletes the archived data from the source database.'."\n" + .'* **check**: verifies the archived data. This operation is time-consuming.'."\n" + .'* **clear**: deletes the temporary table. This value takes effect only when you select the other two values for this parameter at the same time.'."\n", 'type' => 'string', 'required' => false, 'example' => 'delete', 'title' => ''], + 'required' => false, + 'example' => '', + ], + 'SourceCatalogName' => ['title' => '', 'description' => 'The catalog of the source database. Valid values:'."\n" + ."\n" + .'* **def**: Set this parameter to def if the source database is of the two-layer logical schema, such as a MySQL database, a PolarDB for MySQL cluster, or an AnalyticDB for MySQL instance.'."\n" + .'* **Empty string**: Set this parameter to an empty string if the source database is a Lindorm or ApsaraDB for MongoDB instance.'."\n" + .'* **Catalog name**: Set this parameter to the catalog name of the source database if the source database is of the three-layer logical schema, such as a PostgreSQL database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'def', 'default' => 'def'], + 'SourceSchemaName' => ['title' => '', 'description' => 'The schema name of the source database. The schema name of the source database is the same as that of the destination database. If the source database is a MySQL database, this parameter specifies the name of the source database. If the source database is a PostgreSQL database, this parameter specifies the schema name of the source database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'schema_test'], + 'SourceInstanceName' => ['title' => '', 'description' => 'The name of the source instance. If the database instance is a self-managed database or a third-party cloud database, you can call the [GetInstance](~~465826~~) operation to query the instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'rm-bp187l****380w'], + 'TargetInstanceHost' => ['title' => '', 'description' => 'The host of the destination instance. If the destination instance can be accessed over an internal network or the Internet, preferentially set the value to the internal endpoint of the destination instance.'."\n" + ."\n" + .'* If data is archived in an OSS bucket, set the value to the name of the bucket.'."\n" + .'* If data is archived in dedicated storage space, set the value to inner_oss.'."\n", 'type' => 'string', 'required' => true, 'example' => 'amv-bp1****00444.ads.aliyuncs.com'], + 'CronStr' => ['title' => '', 'description' => 'A crontab expression that specifies the scheduling cycle of the data archiving task. For more information, see the [Crontab expressions](~~206581~~) section of the "Create shadow tables for synchronization" topic. You must specify this parameter if you set RunMethod to schedule.'."\n", 'type' => 'string', 'required' => false, 'example' => '00 05 11 * * ?'], + 'DatabaseId' => ['description' => 'The database ID. If the database is a self-managed database or a third-party cloud database, you can call the [GetDatabase](~~465856~~) operation to query the database ID. If the database is an Alibaba Cloud database, ignore this parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => '1***', 'title' => ''], + ], 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'UserNick', - 'in' => 'query', - 'schema' => [ - 'description' => 'UserNick.', - 'type' => 'string', - 'required' => false, - 'example' => 'test_name', - ], - ], - [ - 'name' => 'DatabaseName', - 'in' => 'query', - 'schema' => [ - 'description' => 'DatabaseName.', - 'type' => 'string', - 'required' => false, - 'example' => 'dmstest@rm-bp1qb97d4b****.mysql.rds.aliyuncs.com:3306[poc_dev]', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of operation logs that are returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '47D56208-DB1D-4FD3-BE32-300E43185488', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'OpLogDetails' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OpLogDetail' => [ - 'description' => 'The details of the operation log.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the operation log.'."\n", - 'type' => 'object', - 'properties' => [ - 'Module' => [ - 'description' => 'The functional module for which the operation log is queried.'."\n", - 'type' => 'string', - 'example' => 'SECURITY_RULE'."\n", - ], - 'Database' => [ - 'description' => 'The endpoint of the database instance.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This parameter is valid only for database instances of the LocalInstance type.'."\n" - ."\n" - .'* This parameter is valid only for operations on the functional modules related to tasks.'."\n", - 'type' => 'string', - 'example' => 'dmstest_prod_database@dmstest.rds... \\[Test instance]'."\n", - ], - 'UserId' => [ - 'description' => 'The ID of the Alibaba Cloud account.'."\n", - 'type' => 'string', - 'example' => '22275482072787****', - ], - 'OpUserId' => [ - 'description' => 'The ID of the user who performed the operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51****', - ], - 'OpContent' => [ - 'description' => 'The details of the operation.'."\n", - 'type' => 'string', - 'example' => 'SELECT * FROM `orders` \\n LIMIT 20', - ], - 'UserNick' => [ - 'description' => 'The display name of the user.'."\n", - 'type' => 'string', - 'example' => 'test_name', - ], - 'OrderId' => [ - 'description' => 'The ID of the ticket or task.'."\n" - ."\n" - .'> This parameter is valid only for operations on the functional modules related to tasks and the task management module in system management.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '509****', - ], - 'OpTime' => [ - 'description' => 'The time when the operation was performed.'."\n", - 'type' => 'string', - 'example' => '2022-03-28 16:45:19', - ], - ], - ], - ], - ], - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request, which is used to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '283C461F-11D8-48AA-B695-DF092DA32AF3'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'CreateOrderResult' => [ + 'description' => 'The ID of the data archiving ticket.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The data archiving ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12*****', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"47D56208-DB1D-4FD3-BE32-300E43185488\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"OpLogDetails\\": {\\n \\"OpLogDetail\\": [\\n {\\n \\"Module\\": \\"安全规则\\",\\n \\"Database\\": \\"dmstest@rm-bp1qb97d4b****.mysql.rds.aliyuncs.com:3306【poc_dev】\\",\\n \\"UserId\\": \\"22275482072787****\\",\\n \\"OpUserId\\": 0,\\n \\"OpContent\\": \\"SELECT * FROM `orders` \\\\\\\\n LIMIT 20\\",\\n \\"UserNick\\": \\"test_name\\",\\n \\"OrderId\\": 0,\\n \\"OpTime\\": \\"2022-03-28 16:45:19\\"\\n }\\n ]\\n },\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetOpLogResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>47D56208-DB1D-4FD3-BE32-300E43185488</RequestId>\\n <OpLogDetails>\\n <OpUserId>51****</OpUserId>\\n <UserId>22275482072787****</UserId>\\n <Database>dmstest_prod_database@dmstest.rds...【测试实例】</Database>\\n <OpContent>SELECT * FROM `orders` \\\\n LIMIT 20</OpContent>\\n <UserNick>test_name</UserNick>\\n <Module>安全规则</Module>\\n <OpTime>2022-03-28 16:39:44</OpTime>\\n </OpLogDetails>\\n <Success>true</Success>\\n</GetOpLogResponse>","errorExample":""}]', - 'title' => 'GetOpLog', - 'description' => 'Prerequisites: You are an administrator of Data Management (DMS) or a security administrator. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to obtain your user role from the RoleIdList parameter that is returned.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => '## SDK sample code'."\n" - ."\n" - .'For more information about how to call this operation by using an SDK, see [Alibaba Cloud SDK for Python](~~315437~~).'."\n" - ."\n" - .'Sample code:'."\n" - ."\n" - .' from aliyunsdkcore.client import AcsClient'."\n" - .' from aliyunsdkdms_enterprise.request.v20181101.GetOpLogRequest import GetOpLogRequest'."\n" - .' client = AcsClient('."\n" - .' "<your-access-key-id>",'."\n" - .' "<your-access-key-secret>",'."\n" - .' "<your-region-id>"'."\n" - .' )'."\n" - .' request = GetOpLogRequest()'."\n" - .' request.set_Tid("The tenant ID of your enterprise")'."\n" - .' request.set_StartTime("2018-11-20 00:00:00")'."\n" - .' request.set_EndTime("2018-11-23 00:00:00")'."\n" - .' request.set_PageNumber(1)'."\n" - .' request.set_PageSize(50)'."\n" - .' response = client.do_action_with_exception(request)'."\n" - .' print response'."\n", - ], - 'ListInstanceLoginAuditLog' => [ - 'summary' => 'Queries the logon records of an instance.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"283C461F-11D8-48AA-B695-DF092DA32AF3\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","errorExample":""},{"type":"xml","example":"<CreateDataArchiveOrderResponse>\\n <RequestId>283C461F-11D8-48AA-B695-DF092DA32AF3</RequestId>\\n <Success>true</Success>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <ErrorCode>UnknownError</ErrorCode>\\n</CreateDataArchiveOrderResponse>","errorExample":""}]', + 'title' => 'CreateDataArchiveOrder', + 'description' => 'You can call this API operation only for database instances that are managed in Security Collaboration mode.'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 86400, 'regionId' => '*', 'api' => 'CreateDataArchiveOrder'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataArchiveOrder', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateDataCorrectOrder' => [ + 'summary' => 'Creates a ticket for changing data in Data Management (DMS).', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '16826', + 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], 'parameters' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query.'."\n" - ."\n" - .'> The start time supports fuzzy match. Specify the time in the YYYY-MM-DD hh:mm:ss format.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2021-11-18 11:00:00', - ], - ], - [ - 'name' => 'EndTime', + 'name' => 'Comment', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query.'."\n" - ."\n" - .'> The end time supports fuzzy match. Specify the time in the YYYY-MM-DD hh:mm:ss format. We recommend that you use the StartTime and EndTime parameters to specify a time range that does not exceed one day. This way, the returned entries can be displayed by page to increase query efficiency.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2021-11-18 18:00:00', - ], + 'schema' => ['description' => 'The purpose or objective of the data change. This parameter is used to help reduce unnecessary communication.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'SearchName', + 'name' => 'RelatedUserList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The name of the database or instance whose logon records you want to query.'."\n" - ."\n" - .'> If SQL statements are executed at the instance level, you can set this parameter to an instance name. If SQL statements are executed at the database level, you can set this parameter to a database name.'."\n", - 'type' => 'string', + 'description' => 'The stakeholders of the data change. All stakeholders can view the ticket details and assist in the approval process. Irrelevant users other than DMS administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The user ID of the stakeholder. All the specified stakeholders can view the ticket details and assist in the approval process. Irrelevant users other than Data Management (DMS) administrators and database administrators (DBA) are not allowed to view the ticket details.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51****', 'title' => ''], 'required' => false, - 'example' => 'test_SearchName', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'OpUserName', + 'name' => 'Param', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The alias of the user.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_OpUserName', + 'description' => 'The parameters of the ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'Classify' => ['description' => 'The reason for the data change.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'EstimateAffectRows' => ['description' => 'The estimated number of data rows that may be affected by the data change.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], + 'ExecSQL' => ['description' => 'The SQL statements for data change.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* This parameter is required if you set **SqlType** to **TEXT**.'."\n" + ."\n" + .'* The size of the SQL statement cannot exceed 15 MB.'."\n", 'type' => 'string', 'required' => false, 'example' => 'update base_user set id = 1 where id = 1;', 'title' => ''], + 'SqlType' => [ + 'description' => 'The format of the SQL statements used to change data. Valid values:'."\n" + ."\n" + .'* **TEXT**'."\n" + .'* **ATTACHMENT**'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'TEXT', + 'enum' => ['TEXT', 'ATTACHMENT'], + 'title' => '', + ], + 'AttachmentName' => ['description' => 'The key of the attachment that contains the SQL statements used to change data. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of AttachmentKey.'."\n" + ."\n" + .'> This parameter is required if you set **SqlType** to **ATTACHMENT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test.sql', 'title' => ''], + 'RollbackSQL' => ['description' => 'The SQL statements for rolling back the data change.'."\n" + ."\n" + .'> This parameter is required if you set **RollbackSqlType** to **TEXT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'update base_user set id = 1 where id = 1;', 'title' => ''], + 'RollbackAttachmentName' => ['description' => 'The key of the attachment that contains the SQL statements used to roll back the data change. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of AttachmentKey.'."\n" + ."\n" + .'> This parameter is required if you set **RollbackSqlType** to **ATTACHMENT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_rollback.sql', 'title' => ''], + 'RollbackSqlType' => [ + 'description' => 'The format of the SQL statements used to roll back the data change. Valid values:'."\n" + ."\n" + .'* **TEXT**'."\n" + .'* **ATTACHMENT**'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'TEXT', + 'enum' => ['TEXT', 'ATTACHMENT'], + 'title' => '', + ], + 'DbItemList' => [ + 'description' => 'The databases whose data you want to change.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the databases.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The database ID. The database can be a physical database or a logical database.'."\n" + ."\n" + .'* To query the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" + .'* To query the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1860****', 'title' => ''], + 'Logic' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is a physical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID. You can call the ListInstances or GetInstance operation to query the instance ID.'."\n" + ."\n" + .'> '."\n" + .'> The instance change feature is supported only by ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and AnalyticDB for MySQL clusters.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1860****', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'ExecMode' => [ + 'description' => 'The mode in which the data change ticket is executed after the ticket is approved. Valid values:'."\n" + ."\n" + .'* **COMMITOR**: The ticket is executed by the user who submits the ticket.'."\n" + .'* **AUTO**: The ticket is automatically executed after the ticket is approved.'."\n" + .'* **LAST_AUDITOR**: The ticket is executed by the last approver of the ticket.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'COMMITOR', + 'default' => 'COMMITOR', + 'enum' => ['COMMITOR', 'AUTO', 'LAST_AUDITOR'], + 'title' => '', + ], + ], + 'required' => true, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'AttachmentKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Maximum value: 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - 'default' => '20', - ], + 'schema' => ['description' => 'The key of the attachment that provides more instructions for the ticket. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of the AttachmentKey parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'order_attachment.txt', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'RealLoginUserUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account that is used to call the API operation.'."\n", 'type' => 'string', 'required' => false, 'example' => '21400447956867****'."\n", 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '074CE7C9-4F9C-5B62-89BC-7B4914A3****', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'InvalidPageSize', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'Specified parameter PageSize is not valid.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'InstanceLoginAuditLogList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'InstanceLoginAuditLog' => [ - 'description' => 'The logon records of the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'OpTime' => [ - 'description' => 'The time when the user performed an operation on the instance.'."\n", - 'type' => 'string', - 'example' => '2021-11-18 11:13:26', - ], - 'UserName' => [ - 'description' => 'The alias of the user.'."\n", - 'type' => 'string', - 'example' => 'test_UserName', - ], - 'UserId' => [ - 'description' => 'The ID of the user.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], - 'InstanceName' => [ - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'example' => 'rm-bp144d5ky4l4rli0417****.mysql.rds.aliyuncs.com:3306[rm-bp144d5ky4l4r****]', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '177****', - ], - 'DbUser' => [ - 'description' => 'The database account that is used to log on to the instance.'."\n", - 'type' => 'string', - 'example' => 'test_User', - ], - 'RequestIp' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'example' => '117.36.XX.XX,100.104.XX.XX', - ], - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'CreateOrderResult' => [ + 'description' => 'The IDs of the tickets.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '142****', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"074CE7C9-4F9C-5B62-89BC-7B4914A3****\\",\\n \\"ErrorCode\\": \\"InvalidPageSize\\",\\n \\"ErrorMessage\\": \\"Specified parameter PageSize is not valid.\\",\\n \\"Success\\": true,\\n \\"InstanceLoginAuditLogList\\": {\\n \\"InstanceLoginAuditLog\\": [\\n {\\n \\"OpTime\\": \\"2021-11-18 11:13:26\\",\\n \\"UserName\\": \\"test_UserName\\",\\n \\"UserId\\": 0,\\n \\"InstanceName\\": \\"rm-bp144d5ky4l4rli0417****.mysql.rds.aliyuncs.com:3306【rm-bp144d5ky4l4r****】\\",\\n \\"InstanceId\\": 0,\\n \\"DbUser\\": \\"test_User\\",\\n \\"RequestIp\\": \\"117.36.XX.XX,100.104.XX.XX\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListInstanceLoginAuditLogResponse>\\n <InstanceLoginAuditLogList>\\n <InstanceLoginAuditLog>\\n <InstanceName>rm-bp144d5ky4l4rli0417****.mysql.rds.aliyuncs.com:3306【rm-bp144d5ky4l4r****】</InstanceName>\\n <UserName>test_UserName</UserName>\\n <InstanceId>177****</InstanceId>\\n <UserId>12****</UserId>\\n <RequestIp>117.36.XX.XX, 100.104.XX.XX</RequestIp>\\n <OpTime>2021-11-18 11:13:26</OpTime>\\n <DbUser>test_User</DbUser>\\n </InstanceLoginAuditLog>\\n </InstanceLoginAuditLogList>\\n <TotalCount>1</TotalCount>\\n <RequestId>074CE7C9-4F9C-5B62-89BC-7B4914A3****</RequestId>\\n <Success>true</Success>\\n</ListInstanceLoginAuditLogResponse>","errorExample":""}]', - 'title' => 'ListInstanceLoginAuditLog', - ], - 'ListProxySQLExecAuditLog' => [ - 'summary' => 'Queries the audit logs generated by the secure access proxy feature.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'CreateDataCorrectOrder', + 'description' => 'For more information about the Normal Data Modify feature, see [Change regular data](~~58419~~).'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataCorrectOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","errorExample":""},{"type":"xml","example":"<CreateDataCorrectOrderResponse>\\n <RequestId>0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931</RequestId>\\n <Success>true</Success>\\n <CreateOrderResult>142****</CreateOrderResult>\\n</CreateDataCorrectOrderResponse>","errorExample":""}]', + ], + 'CreateDataCronClearOrder' => [ + 'summary' => 'Create a Historical Data Cleanup ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], 'parameters' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value of this parameter must be a timestamp that follows the UNIX time format.'."\n", - 'docRequired' => true, - 'example' => '1636876446000', - 'format' => 'int64', - 'required' => true, - 'type' => 'integer', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value of this parameter must be a timestamp that follows the UNIX time format.'."\n", - 'docRequired' => true, - 'example' => '1636962846000', - 'format' => 'int64', - 'required' => true, - 'type' => 'integer', - ], - ], - [ - 'name' => 'SearchName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database instance.'."\n", - 'example' => 'test', - 'required' => false, - 'type' => 'string', - ], - ], - [ - 'name' => 'OpUserName', + 'name' => 'Comment', 'in' => 'query', - 'schema' => [ - 'description' => 'The alias of the user.'."\n", - 'example' => 'testNickName', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The purpose or objective of the data change. This reduces unnecessary communication.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'SQLType', + 'name' => 'RelatedUserList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The type of SQL statement. Valid values:'."\n" - ."\n" - .'* **SELECT**'."\n" - .'* **INSERT**'."\n" - .'* **DELETE**'."\n" - .'* **CREATE_TABLE**'."\n" - ."\n" - .'> You can choose Operation Audit > Secure Access Proxy in the top navigation bar of the DMS console to view more types of SQL statements.'."\n", - 'example' => 'SELECT', + 'description' => 'The stakeholders of this operation. All stakeholders can view the ticket details and assist in the approval process. Irrelevant users other than Data Management (DMS) administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of a related user. Users specified here can view the ticket and collaborate on it. Users not included in this list cannot view the ticket, except for administrators and DBAs.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '243253', 'title' => ''], 'required' => false, - 'type' => 'string', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ExecState', + 'name' => 'Param', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The execution status of the SQL statement. Valid values:'."\n" - ."\n" - .'* **FAIL**: The execution of the SQL statement fails.'."\n" - .'* **CANCEL**: The execution of the SQL statement is canceled.'."\n" - .'* **SUCCESS**: The SQL statement is executed.'."\n", - 'example' => 'SUCCESS', - 'required' => false, - 'type' => 'string', - 'enum' => [ - 'FAIL', - 'SUCCESS', - 'CANCEL', + 'description' => 'The parameters of the ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'Classify' => ['description' => 'The reason for the data change.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'DbItemList' => [ + 'description' => 'The databases for which you want to clear historical data.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Database information. ', + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the database. You can call the [SearchDatabases](~~141876~~) operation to query the ID of the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10****', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is not a logical database.'."\n", 'type' => 'boolean', 'required' => true, 'example' => 'false', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'CronFormat' => ['description' => 'The crontab expression that you can use to run the task at a specified time. For more information, see [Crontab expression](~~206581~~).'."\n", 'type' => 'string', 'required' => true, 'example' => '0 0 2 * * ?', 'title' => ''], + 'CronClearItemList' => [ + 'description' => 'The tables for which you want to clear historical data.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Information about the data tables to be cleaned. ', + 'type' => 'object', + 'properties' => [ + 'TableName' => ['description' => 'The name of the table. You can call the [ListTables](~~141878~~) operation to query the name of the table.'."\n", 'type' => 'string', 'required' => true, 'example' => 't1', 'title' => ''], + 'ColumnName' => ['description' => 'The name of the field.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gmt_create', 'title' => ''], + 'RemainDays' => ['description' => 'The retention period of the historical data. Unit: days. For example, if you set the parameter to 7, DMS deletes the data that is retained for more than seven days.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '7', 'title' => ''], + 'TimeUnit' => [ + 'description' => 'The type of time granularity. If the ColumnName parameter specifies a field of a time type, this parameter is required. Valid values:'."\n" + ."\n" + .'* **MILLISECONDS**: milliseconds'."\n" + .'* **SECONDS**: seconds'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MILLISECONDS', + 'default' => 'MILLISECONDS', + 'enum' => ['MILLISECONDS', 'SECONDS'], + 'title' => '', + ], + 'FilterSQL' => ['description' => 'The filter conditions.'."\n", 'type' => 'string', 'required' => false, 'example' => 'where 1 = 1', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'specifyDuration' => ['description' => 'Specifies whether to specify an end time for the task. Valid values:'."\n" + ."\n" + .'* **true**: specifies an end time for the task. The task is automatically suspended after this end time.'."\n" + .'* **false**: does not specify an end time for the task. The task is stopped after the historical data is cleared.'."\n", 'type' => 'boolean', 'required' => true, 'example' => 'true', 'title' => ''], + 'DurationHour' => ['description' => 'The amount of time taken to run the task. Unit: hours.'."\n" + ."\n" + .'> If the **specifyDuration** parameter is set to **true**, this parameter is required.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4', 'title' => ''], ], + 'required' => true, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Maximum values: 100.'."\n", - 'docRequired' => true, - 'example' => '100', - 'format' => 'int32', - 'maximum' => '100', - 'minimum' => '1', - 'required' => false, - 'type' => 'integer', - 'default' => '20', - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'AttachmentKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'docRequired' => true, - 'example' => '1', - 'exclusiveMaximum' => false, - 'format' => 'int32', - 'minimum' => '1', - 'required' => false, - 'type' => 'integer', - ], + 'schema' => ['description' => 'The key of the attachment for the ticket. The attachment provides more instructions for this operation.'."\n" + ."\n" + .'You can call the [GetUserUploadFileJob](~~206069~~) operation to query the key of the attachment.'."\n", 'type' => 'string', 'required' => false, 'example' => 'order_attachement.txt', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'example' => '14****', - 'format' => 'int64', - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'required' => false, - 'type' => 'integer', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> The ID of the tenant is displayed when you move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the [View information about the current tenant](~~181330~~) section of the Manage DMS tenants topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '123454324', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The number of entries returned.'."\n", - 'example' => '1', - 'format' => 'int64', - 'type' => 'integer', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'example' => '50ECB006-2C35-5FCA-91B9-01987A0B****', - 'type' => 'string', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'example' => 'InvalidStartTime', - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'example' => 'Specified parameter StartTime is not valid.', - 'type' => 'string', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'example' => 'true', - 'type' => 'boolean', - ], - 'ProxySQLExecAuditLogList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'ProxySQLExecAuditLog' => [ - 'description' => 'The audit information about the database instance that is provided by the secure access proxy feature.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'properties' => [ - 'OpTime' => [ - 'description' => 'The time at which the user executes the SQL statement on the database instance. The value of this parameter must be a timestamp that follows the UNIX time format.'."\n", - 'example' => '1636876446000', - 'type' => 'string', - ], - 'UserName' => [ - 'description' => 'The nickname of the user.'."\n", - 'example' => 'testNickName', - 'type' => 'string', - ], - 'UserId' => [ - 'description' => 'The ID of the user.'."\n", - 'example' => '4****', - 'format' => 'int64', - 'type' => 'integer', - ], - 'InstanceName' => [ - 'description' => 'The name of the database instance.'."\n", - 'example' => 'pc-uf662nrg017c6****.mysql.polardb.rds.aliyuncs.com:3306【test】', - 'type' => 'string', - ], - 'InstanceId' => [ - 'description' => 'The ID of the database instance.'."\n", - 'example' => '4***', - 'format' => 'int64', - 'type' => 'integer', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'example' => 'test_db', - 'type' => 'string', - ], - 'SQLType' => [ - 'description' => 'The type of the SQL statement. Valid values:'."\n" - ."\n" - .'* **SELECT**'."\n" - .'* **INSERT**'."\n" - .'* **DELETE**'."\n" - .'* **CREATE_TABLE**'."\n" - ."\n" - .'> You can choose Operation Audit > Secure Access Proxy in the top navigation bar of the DMS console to view more types of SQL statements.'."\n", - 'example' => 'SELECT', - 'type' => 'string', - ], - 'SQL' => [ - 'description' => 'The SQL statement that was executed.'."\n", - 'example' => 'select 1;', - 'type' => 'string', - ], - 'ExecState' => [ - 'description' => 'The execution status of the SQL statement. Valid values:'."\n" - ."\n" - .'* **FAIL**: The execution of the SQL statement fails.'."\n" - .'* **CANCEL**: The execution of the SQL statement is canceled.'."\n" - .'* **SUCCESS**: The SQL statement is executed.'."\n", - 'example' => 'SUCCESS', - 'type' => 'string', - ], - 'AffectRows' => [ - 'description' => 'Indicates the total number of rows returned after the SQL statement was executed. If an SELECT SQL statement is executed, the return value of this parameter indicates the total number of the queried data rows.'."\n", - 'example' => '1', - 'format' => 'int64', - 'type' => 'integer', - ], - 'ElapsedTime' => [ - 'description' => 'The amount of time that is consumed to execute the SQL statement. Unit: milliseconds.'."\n", - 'example' => '1324', - 'format' => 'int64', - 'type' => 'integer', - ], - 'Remark' => [ - 'description' => 'The description.'."\n", - 'example' => 'success', - 'type' => 'string', - ], - ], - 'type' => 'object', - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'CreateOrderResult' => [ + 'description' => 'The ID of the ticket.'."\n", + 'type' => 'array', + 'items' => ['description' => 'Ticket ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1341532', 'title' => ''], + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"50ECB006-2C35-5FCA-91B9-01987A0B****\\",\\n \\"ErrorCode\\": \\"InvalidStartTime\\",\\n \\"ErrorMessage\\": \\"Specified parameter StartTime is not valid.\\",\\n \\"Success\\": true,\\n \\"ProxySQLExecAuditLogList\\": {\\n \\"ProxySQLExecAuditLog\\": [\\n {\\n \\"OpTime\\": \\"1636876446000\\",\\n \\"UserName\\": \\"testNickName\\",\\n \\"UserId\\": 0,\\n \\"InstanceName\\": \\"pc-uf662nrg017c6****.mysql.polardb.rds.aliyuncs.com:3306【test】\\",\\n \\"InstanceId\\": 0,\\n \\"SchemaName\\": \\"test_db\\",\\n \\"SQLType\\": \\"SELECT\\",\\n \\"SQL\\": \\"select 1;\\",\\n \\"ExecState\\": \\"SUCCESS\\",\\n \\"AffectRows\\": 1,\\n \\"ElapsedTime\\": 1324,\\n \\"Remark\\": \\"success\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListProxySQLExecAuditLogResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>50ECB006-2C35-5FCA-91B9-01987A0B****</RequestId>\\n <Success>true</Success>\\n <ProxySQLExecAuditLogList>\\n <OpTime>1636876446000</OpTime>\\n <UserName>testNickName</UserName>\\n <UserId>4****</UserId>\\n <InstanceName>rm-xxx:3306</InstanceName>\\n <InstanceId>4***</InstanceId>\\n <SchemaName>test_db</SchemaName>\\n <SQLType>SELECT</SQLType>\\n <SQL>select 1;</SQL>\\n <ExecState>SUCCESS</ExecState>\\n <AffectRows>1</AffectRows>\\n <ElapsedTime>1324</ElapsedTime>\\n <Remark>success</Remark>\\n </ProxySQLExecAuditLogList>\\n</ListProxySQLExecAuditLogResponse>","errorExample":""}]', - 'title' => 'ListProxySQLExecAuditLog', - ], - 'ListSQLExecAuditLog' => [ - 'summary' => 'Queries the audit logs of SQL statements that are executed in Data Management (DMS).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 1341532\\n ]\\n}","type":"json"}]', + 'title' => 'Create a Historical Data Cleanup ticket', + 'description' => 'This API currently supports only MySQL instances under Security Collaboration control mode.'."\n" + ."\n" + .'For more information about this feature, see [Historical Data Cleanup](~~162507~~).', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataCronClearOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateDataExportOrder' => [ + 'summary' => 'Creates a ticket to export an SQL result set.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '174313', + 'abilityTreeNodes' => ['FEATUREdmsPWN318'], ], 'parameters' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query.'."\n" - ."\n" - .'> The start time supports fuzzy match. Specify the time in the YYYY-MM-DD hh:mm:ss format.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2021-11-08 11:04:00', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query.'."\n" - ."\n" - .'> The end time supports fuzzy match. Specify the time in the YYYY-MM-DD hh:mm:ss format. We recommend that you use the StartTime and EndTime parameters to specify a time range that does not exceed one day. The returned entries can be displayed by page to improve query efficiency.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2021-11-08 11:00:00', - ], - ], - [ - 'name' => 'SearchName', + 'name' => 'ParentId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database or instance based on which you want to query SQL statements.'."\n" - ."\n" - .'> If the SQL statements to be queried are at the instance level, you can set this parameter to an instance name. If the SQL statements to be queried are at the database level, you can set this parameter to a database name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_SearchName', - ], + 'schema' => ['description' => 'The ID of the parent ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '877****', 'title' => ''], ], [ - 'name' => 'OpUserName', + 'name' => 'Comment', 'in' => 'query', - 'schema' => [ - 'description' => 'The nickname of the user who wrote the SQL statement.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_OpUserName', - ], + 'schema' => ['description' => 'The purpose or objective of the ticket. This parameter helps reduce unnecessary communication.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Business test.', 'title' => ''], ], [ - 'name' => 'SqlType', + 'name' => 'AttachmentKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the SQL statement. Valid values:'."\n" - ."\n" - .'* **SELECT**: the SQL statement that is used to query data.'."\n" - .'* **INSERT**: the SQL statement that is used to insert data.'."\n" - .'* **DELETE**: the SQL statement that is used to delete data.'."\n" - .'* **CREATE_TABLE**: the SQL statement that is used to create tables.'."\n" - ."\n" - .'> To view more types of SQL statements, log on to the DMS console and click Security and Specifications. In the left-side navigation pane, click **Operation Audit**. Then, you can view all supported types of SQL statements from the **SQL type** drop-down list.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SELECT', - ], + 'schema' => ['description' => 'The key of the attachment that provides more instructions for the ticket. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key.'."\n", 'type' => 'string', 'required' => false, 'example' => 'order_attachment.txt', 'title' => ''], ], [ - 'name' => 'ExecState', + 'name' => 'RelatedUserList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The execution status of the SQL statement. Valid values:'."\n" - ."\n" - .'* **FAIL**: The SQL statement fails to be executed.'."\n" - .'* **NOEXE**: The SQL statement has not been executed.'."\n" - .'* **RUNNING**: The SQL statement is being executed.'."\n" - .'* **CANCEL**: The execution of the SQL statement is canceled.'."\n" - .'* **SUCCESS**: The SQL statement is executed.'."\n", - 'type' => 'string', + 'description' => 'The stakeholders involved in this operation.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The user ID of the stakeholder. This ID is a user ID and is not the ID of an Alibaba Cloud account. The stakeholders involved in this export. All the specified stakeholders can view the ticket details and take part in the approval process. Irrelevant users other than Data Management (DMS) administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2452345113****', 'title' => ''], 'required' => false, - 'example' => 'SUCCESS', - 'enum' => [], + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'PluginParam', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The number of entries to return on each page. The value cannot exceed 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - 'default' => '20', + 'description' => 'The parameters of the ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'AffectRows' => ['description' => 'The estimated number of data rows to be affected.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], + 'Classify' => ['description' => 'The reason for the export ticket.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Test', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '132****', 'title' => ''], + 'DbId' => ['description' => 'The database ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '18****', 'title' => ''], + 'Logic' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n" + ."\n" + .'> If you set this parameter to **true**, the database that you specify must be a logical database.'."\n", 'type' => 'boolean', 'required' => true, 'example' => 'true', 'title' => ''], + 'IgnoreAffectRows' => ['description' => 'Specifies whether to skip verification. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'required' => true, 'example' => 'true', 'title' => ''], + 'IgnoreAffectRowsReason' => ['description' => 'The reason for skipping verification. This parameter is required if you set IgnoreAffectRows to true.'."\n", 'type' => 'string', 'required' => false, 'example' => 'For testing only. Does not affect business. No verification required.', 'title' => ''], + 'ExeSQL' => ['description' => 'The SQL statements that can be executed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'SELECT * FROM DMS_test'."\n" + .' LIMIT 20;', 'title' => ''], + 'Watermark' => [ + 'description' => 'The information about the watermarks.'."\n", + 'type' => 'object', + 'properties' => [ + 'WatermarkTypes' => [ + 'description' => 'The methods in which the watermark is embedded.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The method in which the watermark is embedded. Valid values:'."\n" + ."\n" + .'* **DATA**: embeds identification information into data.'."\n" + .'* **FILE**: embeds identification information into files.'."\n" + ."\n" + .'For more information about watermarks, see [Use data watermarks](~~444281~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'DATA', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Keys' => [ + 'description' => 'One or more primary keys or unique keys.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The primary keys or unique keys. Separate multiple keys with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => 'ID', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ColumnName' => ['description' => 'The field into which the watermark is to be embedded.'."\n", 'type' => 'string', 'required' => false, 'example' => 'user_number', 'title' => ''], + 'DataWatermark' => ['description' => 'The information to be embedded as a watermark into data.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Test', 'title' => ''], + 'FileWatermark' => ['description' => 'The information to be embedded as a watermark into files.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Test', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => true, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'PageNumber', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'RealLoginUserUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The UID of the Alibaba Cloud account that actually calls the API.', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ @@ -7070,516 +4728,292 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '39BC9C86-95AE-58F2-9862-A7C3D896****', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'MissingStartTime', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'StartTime is mandatory for this action.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SQLExecAuditLogList' => [ + 'RequestId' => ['description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'CreateOrderResult' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'SQLExecAuditLog' => [ - 'description' => 'The entries returned.'."\n", + 'CreateOrderResult' => [ + 'description' => 'The content of the ticket.'."\n", 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'OpTime' => [ - 'description' => 'The time when the operation specified by the SQL statement was performed on the instance or database.'."\n", - 'type' => 'string', - 'example' => '2021-11-08 11:04:27', - ], - 'UserName' => [ - 'description' => 'The nickname of the user who wrote the SQL statement.'."\n", - 'type' => 'string', - 'example' => 'test_UserName', - ], - 'UserId' => [ - 'description' => 'The ID of the user who wrote the SQL statement.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], - 'InstanceName' => [ - 'description' => 'The name of the database.'."\n" - ."\n" - .'> If the SQL statement takes effect on an instance, the name of the instance is returned.'."\n", - 'type' => 'string', - 'example' => 'polar123@pc-bp1h9tgq4st9g****.mysql.polardb.rds.aliyuncs.com:3306[polar_qw_test]', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '185***', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'polar123', - ], - 'DbId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2157****', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'SQLType' => [ - 'description' => 'The type of the SQL statement. Valid values:'."\n" - ."\n" - .'* **SELECT**: the SQL statement that is used to query data.'."\n" - .'* **INSERT**: the SQL statement that is used to insert data.'."\n" - .'* **DELETE**: the SQL statement that is used to delete data.'."\n" - .'* **CREATE_TABLE**: the SQL statement that is used to create tables.'."\n" - ."\n" - .'> To view more types of SQL statements, log on to the DMS console and click Security and Specifications. In the left-side navigation pane, click **Operation Audit**. Then, you can view all supported types of SQL statements from the **SQL type** drop-down list.'."\n", - 'type' => 'string', - 'example' => 'SELECT', - ], - 'SQL' => [ - 'description' => 'The SQL statement that was written.'."\n", - 'type' => 'string', - 'example' => 'SELECT * FROM `polar123`.`p_qw` ORDER BY `id` DESC', - ], - 'ExecState' => [ - 'description' => 'The execution status of the SQL statement. Valid values:'."\n" - ."\n" - .'* **FAIL**: The SQL statement fails to be executed.'."\n" - .'* **NOEXE**: The SQL statement has not been executed.'."\n" - .'* **RUNNING**: The SQL statement is being executed.'."\n" - .'* **CANCEL**: The execution of the SQL statement is canceled.'."\n" - .'* **SUCCESS**: The SQL statement is executed.'."\n", - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'AffectRows' => [ - 'description' => 'The number of rows affected by the SQL statement. For example, if you execute an SQL statement to query data, the number of retrieved rows is returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'ElapsedTime' => [ - 'description' => 'The amount of time consumed by the execution of the SQL statement. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18', - ], - 'Remark' => [ - 'description' => 'The comment on the SQL statement.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - ], - ], + 'items' => ['description' => 'The ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '819****', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"39BC9C86-95AE-58F2-9862-A7C3D896****\\",\\n \\"ErrorCode\\": \\"MissingStartTime\\",\\n \\"ErrorMessage\\": \\"StartTime is mandatory for this action.\\",\\n \\"Success\\": true,\\n \\"SQLExecAuditLogList\\": {\\n \\"SQLExecAuditLog\\": [\\n {\\n \\"OpTime\\": \\"2021-11-08 11:04:27\\",\\n \\"UserName\\": \\"test_UserName\\",\\n \\"UserId\\": 0,\\n \\"InstanceName\\": \\"polar123@pc-bp1h9tgq4st9g****.mysql.polardb.rds.aliyuncs.com:3306【polar_qw_测试】\\",\\n \\"InstanceId\\": 0,\\n \\"SchemaName\\": \\"polar123\\",\\n \\"DbId\\": 0,\\n \\"Logic\\": false,\\n \\"SQLType\\": \\"SELECT\\",\\n \\"SQL\\": \\"SELECT * FROM `polar123`.`p_qw` ORDER BY `id` DESC\\",\\n \\"ExecState\\": \\"SUCCESS\\",\\n \\"AffectRows\\": 2,\\n \\"ElapsedTime\\": 18,\\n \\"Remark\\": \\"success\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListSQLExecAuditLogResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>39BC****-95AE-58F2-9862-A7C3D896****</RequestId>\\n <Success>true</Success>\\n <SQLExecAuditLogList>\\n <SQLExecAuditLog>\\n <UserName>test_UserName</UserName>\\n <InstanceId>185****</InstanceId>\\n <ElapsedTime>18</ElapsedTime>\\n <ExecState>SUCCESS</ExecState>\\n <OpTime>2021-11-08 11:04:27</OpTime>\\n <SQL>SELECT * FROM `polar123`.`p_qw` ORDER BY `id` DESC</SQL>\\n <Remark/>\\n <InstanceName>polar123@pc-bp1h9tgq4st9g****.mysql.polardb.rds.aliyuncs.com:3306【polar_qw_测试】</InstanceName>\\n <UserId>12****</UserId>\\n <DbId>2157****</DbId>\\n <Logic>false</Logic>\\n <SQLType>SELECT</SQLType>\\n <SchemaName>polar123</SchemaName>\\n <AffectRows>2</AffectRows>\\n </SQLExecAuditLog>\\n </SQLExecAuditLogList>\\n</ListSQLExecAuditLogResponse>","errorExample":""}]', - 'title' => 'ListSQLExecAuditLog', - ], - 'ListWorkFlowTemplates' => [ - 'summary' => 'Queries approval templates.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": {\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CreateDataExportOrder', + 'description' => '仅管控模式为安全协同的数据库实例可调用此API。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDataExportOrder'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataExportOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateDataImportOrder' => [ + 'summary' => 'Create a Data Import ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsUOM2CE'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'Comment', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], + 'schema' => ['description' => 'The purpose or objective of the data import. This parameter is used to help reduce unnecessary communication.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'SearchName', + 'name' => 'RelatedUserList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The name that is used to query approval templates.'."\n", - 'type' => 'string', + 'description' => 'The stakeholders of the data import. All stakeholders can view the ticket details and assist in the approval process. Irrelevant users other than DMS administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The User ID of the related user for the change. The specified related users can view the ticket and collaborate on it, while unrelated users cannot view the ticket (except administrators and DBAs).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51****', 'title' => ''], 'required' => false, - 'docRequired' => false, - 'example' => 'Admin', + 'title' => '', + 'example' => '', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'Param', + 'in' => 'query', + 'style' => 'json', 'schema' => [ + 'description' => 'The parameters of the ticket.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", + 'Classify' => ['description' => 'The reason for the data import.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'AttachmentName' => ['description' => 'The key of the attachment that contains the SQL statements used to import data. You can call the [GetUserUploadFileJob](~~206069~~) operation to the attachment key from the value of the AttachmentKey parameter.'."\n", 'type' => 'string', 'required' => true, 'example' => 'upload_big_file_test_orders', 'title' => ''], + 'DbItemList' => [ + 'description' => 'The database to which you want to import data. You can specify only one database.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Database information.', + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the database. The database can be a physical database or a logical database.'."\n" + ."\n" + .'* To obtain the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" + .'* To obtain the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1860****', 'title' => ''], + 'Logic' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is a physical database.'."\n" + ."\n" + .'> If you set this parameter to **true**, the database that you specify must be a logical database.'."\n", 'type' => 'boolean', 'required' => true, 'example' => 'false', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'FileType' => [ + 'description' => 'The format of the file for the data import. Valid values:'."\n" + ."\n" + .'* **SQL**: an SQL file'."\n" + .'* **CSV**: a CSV file'."\n", 'type' => 'string', - 'example' => '41067071-0243-4AAB-B3CF-4DE6D54F53B4', + 'required' => true, + 'example' => 'CSV', + 'enum' => ['SQL', 'CSV', 'JSON', 'EXCEL'], + 'enumValueTitles' => ['EXCEL' => 'EXCEL', 'CSV' => 'CSV', 'JSON' => 'JSON', 'SQL' => 'SQL'], + 'title' => '', ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", + 'FileEncoding' => ['description' => 'The encoding algorithm to be used by the destination database. Valid values:'."\n" + ."\n" + .'* **AUTO**: automatic identification'."\n" + .'* **UTF-8**: UTF-8 encoding'."\n" + .'* **GBK**: GBK encoding'."\n" + .'* **ISO-8859-1**: ISO-8859-1 encoding'."\n", 'type' => 'string', 'required' => false, 'example' => 'AUTO', 'title' => ''], + 'TableName' => ['description' => 'The destination table to which you want to import the data in the CSV format.'."\n" + ."\n" + .'> This parameter is required if you set the **FileType** parameter to **CSV**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Table_text', 'title' => ''], + 'InsertType' => [ + 'description' => 'The mode in which the data in the CSV format is to be written to the destination table. Valid values:'."\n" + ."\n" + .'* **INSERT**: The database checks the primary key when data is written. If a duplicate primary key value exists, an error message is returned.'."\n" + .'* **INSERT_IGNORE**: If the imported data contains data records that are the same as those in the destination table, the new data records are ignored.'."\n" + .'* **REPLACE_INTO**: If the imported data contains a row that has the same value for the primary key or unique index as one row in the destination table, the database deletes the existing row and inserts the new row into the destination table.'."\n" + ."\n" + .'> This parameter is required if you set the **FileType** parameter to **CSV**.'."\n", 'type' => 'string', - 'example' => 'UnknownError', + 'required' => false, + 'example' => 'INSERT', + 'default' => 'INSERT', + 'enum' => ['INSERT', 'INSERT_IGNORE', 'REPLACE_INTO'], + 'title' => '', ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", + 'CsvFirstRowIsColumnDef' => ['description' => 'The type of the CSV file. Valid values:'."\n" + ."\n" + .'* **true**: The first row in the CSV file contains field names.'."\n" + .'* **false**: The first row in the CSV file contains data.'."\n" + ."\n" + .'> This parameter is required if you set the **FileType** parameter to **CSV**.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'IgnoreError' => ['description' => 'Specifies whether to skip an error that occurs. Valid values:'."\n" + ."\n" + .'* **true**: skips the error and continues to execute SQL statements.'."\n" + .'* **false**: stops executing SQL statements.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'ImportMode' => [ + 'description' => 'The import mode. Valid values:'."\n" + ."\n" + .'* **FAST_MODE**: In the Execute step, the uploaded file is read and SQL statements are executed to import data to the specified destination database. Compared with the security mode, this mode can be used to import data in a less secure but more efficient manner.'."\n" + .'* **SAFE_MODE**: In the Precheck step, the uploaded file is parsed, and SQL statements or CSV file data is cached. In the Execute step, the cached SQL statements are read and executed to import data, or the cached CSV file data is read and imported to the specified destination database. This mode can be used to import data in a more secure but less efficient manner.'."\n", 'type' => 'string', - 'example' => 'UnknownError', + 'required' => false, + 'example' => 'FAST_MODE', + 'default' => 'SAFE_MODE', + 'enum' => ['SAFE_MODE', 'FAST_MODE'], + 'title' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RollbackSQL' => ['description' => 'The SQL statements used to roll back the data import.'."\n" + ."\n" + .'> This parameter is required if you set the **RollbackSqlType** parameter to **TEXT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'empty', 'title' => ''], + 'RollbackAttachmentName' => ['description' => 'The key of the attachment that contains the SQL statements used to roll back the data import. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of the AttachmentKey parameter.'."\n" + ."\n" + .'> This parameter is required if you set the **RollbackSqlType** parameter to **ATTACHMENT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rollback.sql', 'title' => ''], + 'RollbackSqlType' => [ + 'description' => 'The format of the SQL statements used to roll back the data import. Valid values:'."\n" + ."\n" + .'* **TEXT**: text'."\n" + .'* **ATTACHMENT**: attachment'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'TEXT', + 'enum' => ['TEXT', 'ATTACHMENT'], + 'title' => '', ], - 'WorkFlowTemplates' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'WorkFlowTemplate' => [ - 'description' => 'The approval templates.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'IsSystem' => [ - 'description' => 'Indicates whether the approval template is predefined by the system. Valid values:'."\n" - ."\n" - .'* 1: The approval template is predefined by the system.'."\n" - .'* 0: The approval template is not predefined by the system.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'WorkflowNodes' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'WorkflowNode' => [ - 'description' => 'The details of approval nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Comment' => [ - 'description' => 'The description of the approval node.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'NodeType' => [ - 'description' => 'The type of the approval node. Valid values:'."\n" - ."\n" - .'* SYS: The approval node is predefined by the system.'."\n" - .'* USER_LIST: The approval node is created by a user.'."\n", - 'type' => 'string', - 'example' => 'SYS', - ], - 'NodeName' => [ - 'description' => 'The name of the approval node.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Position' => [ - 'description' => 'The position of the approval node.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CreateUserId' => [ - 'description' => 'The ID of the creator.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1234', - ], - 'TemplateId' => [ - 'description' => 'The ID of the template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'NodeId' => [ - 'description' => 'The ID of the approval node.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - ], - ], - ], - ], - ], - 'Comment' => [ - 'description' => 'The description of the approval template.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Enabled' => [ - 'description' => 'Indicates whether the approval template is enabled. Valid values:'."\n" - ."\n" - .'* Y: The approval template is enabled.'."\n" - .'* N: The approval template is disabled.'."\n", - 'type' => 'string', - 'example' => 'Y', - ], - 'TemplateName' => [ - 'description' => 'The name of the approval template.'."\n", - 'type' => 'string', - 'example' => 'Admin', - ], - 'TemplateId' => [ - 'description' => 'The ID of the approval template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'CreateUserId' => [ - 'description' => 'The ID of the creator.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1234', - ], - ], - ], - ], - ], + 'ExecMode' => [ + 'description' => 'Ticket execution mode. Valid values: '."\n" + .'- **COMMITOR**: After approval, the submitter executes the ticket. '."\n" + .'- **AUTO**: After approval, the system automatically executes the ticket. '."\n" + .'- **LAST_AUDITOR**: After approval, the last approver executes the ticket. ', + 'type' => 'string', + 'default' => 'COMMITOR', + 'enum' => ['COMMITOR', 'AUTO', 'LAST_AUDITOR'], + 'required' => false, + 'example' => 'COMMITOR', + 'title' => '', ], ], + 'required' => true, + 'title' => '', + 'example' => '', ], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"41067071-0243-4AAB-B3CF-4DE6D54F53B4\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"WorkFlowTemplates\\": {\\n \\"WorkFlowTemplate\\": [\\n {\\n \\"IsSystem\\": 1,\\n \\"WorkflowNodes\\": {\\n \\"WorkflowNode\\": [\\n {\\n \\"Comment\\": \\"test\\",\\n \\"NodeType\\": \\"SYS\\",\\n \\"NodeName\\": \\"test\\",\\n \\"Position\\": 1,\\n \\"CreateUserId\\": 1234,\\n \\"TemplateId\\": 12345,\\n \\"NodeId\\": 123\\n }\\n ]\\n },\\n \\"Comment\\": \\"test\\",\\n \\"Enabled\\": \\"Y\\",\\n \\"TemplateName\\": \\"Admin\\",\\n \\"TemplateId\\": 12345,\\n \\"CreateUserId\\": 1234\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>41067071-0243-4AAB-B3CF-4DE6D54F53B4</RequestId>\\n<Success>true</Success>\\n<WorkFlowTemplates>\\n <WorkFlowTemplate>\\n <Comment>系统定义审批线,仅需管理员审批</Comment>\\n <WorkFlowNodes>\\n <WorkFlowNode>\\n <Comment>系统节点,动态计算,由管理员来完成审批</Comment>\\n <NodeName>Admin</NodeName>\\n <Position>0</Position>\\n <NodeType>SYS</NodeType>\\n <NodeId>3763</NodeId>\\n <TemplateId>6243</TemplateId>\\n </WorkFlowNode>\\n </WorkFlowNodes>\\n <TemplateName>Admin</TemplateName>\\n <Enabled>Y</Enabled>\\n <IsSystem>1</IsSystem>\\n <TemplateId>6243</TemplateId>\\n </WorkFlowTemplate>\\n <WorkFlowTemplate>\\n <Comment>系统定义审批线,先数据Owner审批,再DBA审批,最后Admin审批</Comment>\\n <WorkflowNodes>\\n <WorkFlowNode>\\n <Comment>系统节点,动态计算,由用户操作的资源对应的Owner来完成审批</Comment>\\n <NodeName>Owner</NodeName>\\n <Position>0</Position>\\n <NodeType>SYS</NodeType>\\n <NodeId>3762</NodeId>\\n <TemplateId>6244</TemplateId>\\n </WorkFlowNode>\\n <WorkFlowNode>\\n <Comment>系统节点,动态计算,由用户操作的资源对应的DBA来完成审批</Comment>\\n <NodeName>DBA</NodeName>\\n <Position>0</Position>\\n <NodeType>SYS</NodeType>\\n <NodeId>3761</NodeId>\\n <TemplateId>6244</TemplateId>\\n </WorkFlowNode>\\n <WorkFlowNode>\\n <Comment>系统节点,动态计算,由管理员来完成审批</Comment>\\n <NodeName>Admin</NodeName>\\n <Position>0</Position>\\n <NodeType>SYS</NodeType>\\n <NodeId>3763</NodeId>\\n <TemplateId>6244</TemplateId>\\n </WorkFlowNode>\\n </WorkflowNodes>\\n <TemplateName>Owner-->DBA-->Admin</TemplateName>\\n <Enabled>Y</Enabled>\\n <IsSystem>1</IsSystem>\\n <TemplateId>6244</TemplateId>\\n </WorkFlowTemplate>\\n</WorkFlowTemplates>","errorExample":""}]', - 'title' => 'ListWorkFlowTemplates', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListWorkFlowNodes' => [ - 'summary' => 'Queries approval nodes.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'AttachmentKey', + 'in' => 'query', + 'schema' => ['description' => 'The key of the attachment that provides more instructions for the ticket. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of the AttachmentKey parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'order_attachment.txt', 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - ], - 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'SearchName', + 'name' => 'RealLoginUserUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The name that is used to search for approval nodes.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'admin', - ], + 'schema' => ['description' => 'The UID of the Alibaba Cloud account of the user who actually invokes the API. ', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CFD8FE00-36D9-4C1B-940D-65A7B73D9066', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'WorkflowNodes' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'WorkflowNode' => [ - 'description' => 'The details of approval nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Comment' => [ - 'description' => 'The description of the approval template.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'CreateUserNickName' => [ - 'description' => 'The name of the user who creates the approval node.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'NodeType' => [ - 'description' => 'The type of the approval node. Valid values:'."\n" - ."\n" - .'* SYS: The approval node is predefined by the system.'."\n" - .'* USER_LIST: The approval node is created by a user.'."\n", - 'type' => 'string', - 'example' => 'SYS', - ], - 'NodeName' => [ - 'description' => 'The name of the approval node.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'AuditUsers' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'AuditUser' => [ - 'description' => 'The details about approvers.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RealName' => [ - 'description' => 'The real name of the approver.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'UserId' => [ - 'description' => 'The ID of the approver. The ID is different from the ID of the Alibaba Cloud account of the approver.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'NickName' => [ - 'description' => 'The nickname of the approver.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - ], - ], - 'CreateUserId' => [ - 'description' => 'The ID of the creator. This ID is different from the ID of the Alibaba Cloud account of the creator.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'NodeId' => [ - 'description' => 'The ID of the approval node.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - ], - ], - ], - ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'CreateOrderResult' => [ + 'description' => 'The ID of the ticket.'."\n", + 'type' => 'array', + 'items' => ['description' => 'Ticket ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1****', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CFD8FE00-36D9-4C1B-940D-65A7B73D9066\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"WorkflowNodes\\": {\\n \\"WorkflowNode\\": [\\n {\\n \\"Comment\\": \\"test\\",\\n \\"CreateUserNickName\\": \\"test\\",\\n \\"NodeType\\": \\"SYS\\",\\n \\"NodeName\\": \\"test\\",\\n \\"AuditUsers\\": {\\n \\"AuditUser\\": [\\n {\\n \\"RealName\\": \\"test\\",\\n \\"UserId\\": 123,\\n \\"NickName\\": \\"test\\"\\n }\\n ]\\n },\\n \\"CreateUserId\\": 123,\\n \\"NodeId\\": 123\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<WorkFlowNodes>\\n <WorkflowNode>\\n <Comment>系统节点,动态计算,由管理员来完成审批</Comment>\\n <NodeName>Admin</NodeName>\\n <NodeType>SYS</NodeType>\\n <NodeId>3763</NodeId>\\n <AuditUsers>\\n </AuditUsers>\\n </WorkflowNode>\\n</WorkFlowNodes>\\n<RequestId>CFD8FE00-36D9-4C1B-940D-65A7B73D9066</RequestId>\\n<Success>true</Success>","errorExample":""}]', - 'title' => 'ListWorkFlowNodes', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'SetWorkflowExtraInfo' => [ - 'summary' => 'Configures whether the operation buttons, such as Agree, Revoke, and Sign, are displayed in the ticket approval section of the DMS console.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","type":"json"}]', + 'title' => 'Create a Data Import ticket', + 'description' => 'You can invoke this API only for database instances whose control mode is Security Collaboration.'."\n" + ."\n" + .'For more information about this feature, see [Data Import](~~161439~~).', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataImportOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateDataLakeDatabase' => [ + 'summary' => 'Creates a database in a data lakehouse.', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7588,176 +5022,106 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '174313', - 'abilityTreeNodes' => [ - 'FEATUREdms25Q07S', - ], + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'ThirdpartyWorkflowUrl', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The link of approval workflow for third parties.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'https://xxx', - ], + 'schema' => ['description' => 'The name of the database that you want to query.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'ThirdpartyWorkflowComment', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The remarks of approval workflow for third parties.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The description of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'WorkflowInstanceId', + 'name' => 'Location', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the approval workflow. You can call the [GetOrderBaseInfo](~~144642~~) operation to query the ID of the approval workflow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '184****', - ], + 'schema' => ['description' => 'The storage path of the database. OSS, S3, and S3A are supported.'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss://path/to/database', 'title' => ''], ], [ - 'name' => 'RenderAgree', + 'name' => 'Parameters', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'Specifies whether the Agree button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:'."\n" - ."\n" - .'* **true** (default): The Agree button is displayed.'."\n" - .'* **false**: The Agree button is not displayed.'."\n", - 'type' => 'boolean', + 'description' => 'The key-value pairs of the database attributes.'."\n", + 'type' => 'object', 'required' => false, - 'example' => 'true', + 'additionalProperties' => ['type' => 'string', 'example' => '{"key":"value"}', 'description' => 'The key and value.'."\n", 'title' => ''], + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'RenderReject', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the Reject button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:'."\n" - ."\n" - .'* **true** (default): The Reject button is displayed.'."\n" - .'* **false**: The Reject button is not displayed.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'RenderAddApprovalNode', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the Sign button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:'."\n" - ."\n" - .'* **true** (default): The Sign button is displayed.'."\n" - .'* **false**: The Sign button is not displayed.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'RenderTransfer', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the Forward button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:'."\n" - ."\n" - .'* **true** (default): The Forward button is displayed.'."\n" - .'* **false**: The Forward button is not displayed.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'RenderCancel', + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the Revoke button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:'."\n" - ."\n" - .'* **true** (default): The Revoke button is displayed.'."\n" - .'* **false**: The Revoke button is not displayed.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '8401893F-4235-55D5-B563-7CF7A7D037DE', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Data' => [ - 'description' => 'Indicates whether the call was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'D911009F-3E95-5AFD-8CF1-73F7B4F15D6E'], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8401893F-4235-55D5-B563-7CF7A7D037DE\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Data\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'SetWorkflowExtraInfo', - ], - 'CreateLogicDatabase' => [ - 'summary' => 'Creates a logical database in Data Management (DMS).', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D911009F-3E95-5AFD-8CF1-73F7B4F15D6E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CreateDataLakeDatabase', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataLakeDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateDataLakeFunction' => [ + 'summary' => 'Call this API to create a new data lake user-defined function.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7767,49 +5131,45 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Alias', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The alias of the logical database.', - 'type' => 'string', - 'required' => true, - 'example' => 'test_logic_db', - ], + 'schema' => ['description' => 'The data catalog name.', 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'DatabaseIds', + 'name' => 'DbName', 'in' => 'query', + 'schema' => ['description' => 'The database name.', 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'FunctionInput', + 'in' => 'formData', 'style' => 'json', - 'schema' => [ - 'description' => 'The IDs of the physical databases that compose the logical database. You can specify one or more database IDs. You can call the [ListDatabases](https://www.alibabacloud.com/help/en/data-management-service/latest/listdatabases) or [SearchDatabase](https://www.alibabacloud.com/help/en/data-management-service/latest/searchdatabase) operation to query the IDs of the physical databases.', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1860****', - ], - 'required' => true, - ], + 'schema' => ['description' => 'The function details.', 'required' => true, '$ref' => '#/components/schemas/DLFunctionInput', 'title' => '', 'example' => ''], + ], + [ + 'name' => 'DataRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region where the data lake resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. '."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](https://www.alibabacloud.com/help/en/data-management-service/latest/manage-dms-tenants) topic.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> Obtain the tenant ID from the tooltip displayed when you hover over your profile picture in the upper-right corner of the system. For more information, see [View Tenant Information](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3****', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ @@ -7819,157 +5179,158 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'- true: The request is successful.'."\n" - .'- false: The request fails.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'LogicDbId' => [ - 'description' => 'The ID of the logical database.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1***', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. Use it to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => 'EE214ECD-4330-503A-82F0-FFB039757DC8'], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned when the call fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Return values are as follows:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Function' => ['description' => 'The function details.', '$ref' => '#/components/schemas/DLFunction', 'title' => '', 'example' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"LogicDbId\\": 0\\n}","errorExample":""},{"type":"xml","example":"<CreateLogicDatabaseResponse>\\n <LogicDbId>1***</LogicDbId>\\n <RequestId>EFF67767-7D49-5833-8B83-F87C9CBDE33A</RequestId>\\n <Success>true</Success>\\n</CreateLogicDatabaseResponse>","errorExample":""}]', - 'title' => 'CreateLogicDatabase', - ], - 'AddLogicTableRouteConfig' => [ - 'summary' => 'Adds a routing algorithm to a logical table.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'CreateDataLakeFunction', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataLakeFunction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EE214ECD-4330-503A-82F0-FFB039757DC8\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Function\\": {\\n \\"FunctionName\\": \\"my_funciton\\",\\n \\"OwnerName\\": \\"zhangsan\\",\\n \\"OwnerType\\": \\"USER\\",\\n \\"CreatorId\\": 0,\\n \\"FunctionType\\": \\"JAVA\\",\\n \\"CreateTime\\": 1731586286,\\n \\"ResourceUris\\": [\\n {\\n \\"ResourceType\\": \\"JAR\\",\\n \\"Uri\\": \\"hdfs://name****.example.com:8020/user/hive/udfs/my_***.jar\\"\\n }\\n ],\\n \\"ClassName\\": \\"com.example.hive.MyCustomUDF\\",\\n \\"CatalogName\\": \\"hive\\",\\n \\"DbName\\": \\"default\\",\\n \\"ModifierId\\": 0\\n }\\n}","type":"json"}]', + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + ], + 'CreateDataLakePartition' => [ + 'summary' => 'Creates a partition for a table in a data lakehouse.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'TableId', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the logical table. You can call the [ListLogicTables](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogictables) operation to query the ID of the logical table.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '4****', - ], + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'RouteKey', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The unique key of the routing algorithm. '."\n" - ."\n" - .'> - You can create a custom unique key for the routing algorithm. No requirements are imposed on custom unique keys.'."\n" - .'> - The unique key of the routing algorithm in the same logical table must be unique.', - 'type' => 'string', - 'required' => true, - 'example' => 'id-hash-mod16', - ], + 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'RouteExpr', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The routing algorithm expression. For more information about how to configure a routing algorithm expression, see [Configure a routing algorithm](https://www.alibabacloud.com/help/en/data-management-service/latest/configure-a-routing-algorithm).', - 'type' => 'string', - 'required' => true, - 'example' => '#id#%16', - ], + 'schema' => ['description' => 'The name of the table'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_table', 'title' => ''], + ], + [ + 'name' => 'PartitionInput', + 'in' => 'formData', + 'style' => 'json', + 'schema' => ['description' => 'The information about the created partition.'."\n", 'required' => true, '$ref' => '#/components/schemas/DLPartitionInput', 'title' => '', 'example' => ''], + ], + [ + 'name' => 'IfNotExists', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to ignore the exception if the name of the created partition is the same as the name of an existing partition.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'NeedResult', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to return information about the created partition. If the value is true, the Partition parameter is returned. Valid values:'."\n" + ."\n" + .'* true: returns information about the created partition.'."\n" + .'* false: does not return information about the created partition.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'DataRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) operation to query the tenant ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '4***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'B43AD641-49C2-5299-9E06-1B37EC1B****', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.', - 'type' => 'string', - 'example' => 'can not find table, tableId : 11133', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D'], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Partition' => ['description' => 'The information about the partition.'."\n", '$ref' => '#/components/schemas/DLPartition', 'title' => '', 'example' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'title' => '', 'example' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B43AD641-49C2-5299-9E06-1B37EC1B****\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"can not find table, tableId : 11133\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AddLogicTableRouteConfigResponse>\\n <RequestId>B43AD641-49C2-5299-9E06-1B37EC1B****</RequestId>\\n <Success>true</Success>\\n</AddLogicTableRouteConfigResponse>","errorExample":""}]', - 'title' => 'AddLogicTableRouteConfig', - ], - 'DeleteLogicDatabase' => [ - 'summary' => 'Deletes a logical database from Data Management (DMS). This operation only deletes the specified logical database but does not delete physical databases.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Partition\\": {\\n \\"TableName\\": \\"table_name\\",\\n \\"Sd\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 1,\\n \\"Col\\": \\"col1\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\\\\\"123\\\\\\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"col1\\"\\n ]\\n },\\n \\"InputFormat\\": \\"org.apache.hadoop.mapred.SequenceFileInputFormat\\",\\n \\"OutputFormat\\": \\"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"IsCompressed\\": false,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"DeserializerClass\\": \\"org.apache.hadoop.hive.serde2.OpenCSVSerde\\",\\n \\"Parameters\\": {\\n \\"serialization.format\\": \\"1\\"\\n },\\n \\"Description\\": \\"\\\\\\"serialize\\\\\\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"Name\\": \\"name\\"\\n },\\n \\"BucketCols\\": [\\n \\"2010\\"\\n ],\\n \\"NumBuckets\\": -1,\\n \\"Location\\": \\"oss://xxx\\"\\n },\\n \\"Parameters\\": {\\n \\"key\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\"\\n },\\n \\"CreateTime\\": 1735109884,\\n \\"Values\\": [\\n \\"part_val1\\"\\n ],\\n \\"CatalogName\\": \\"hive\\",\\n \\"DbName\\": \\"default\\",\\n \\"LastAccessTime\\": 1608707407\\n },\\n \\"Success\\": false\\n}","type":"json"}]', + 'title' => 'CreateDataLakePartition', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataLakePartition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateDataLakeTable' => [ + 'summary' => 'Creates a table in a data lakehouse.', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7978,84 +5339,90 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'LogicDbId', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the logical database. You can call the [ListLogicDatabases](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogicdatabases) or [SearchDatabase](https://www.alibabacloud.com/help/en/data-management-service/latest/searchdatabase) operation to query the ID of the logical database.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1***', - ], + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], + ], + [ + 'name' => 'DbName', + 'in' => 'query', + 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'TableInput', + 'in' => 'formData', + 'style' => 'json', + 'schema' => ['description' => 'The information about the table.'."\n", 'required' => true, '$ref' => '#/components/schemas/open_struct_DLTableInput', 'title' => '', 'example' => ''], + ], + [ + 'name' => 'DataRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. '."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](https://www.alibabacloud.com/help/en/data-management-service/latest/manage-dms-tenants) topic.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> You can move the pointer over the profile picture in the upper-right corner of the DMS console to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'- true: The request is successful.'."\n" - .'- false: The request fails.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'UnknownError', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231'], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Table' => ['description' => 'The information about the table.'."\n", '$ref' => '#/components/schemas/DLTable', 'title' => '', 'example' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteLogicDatabaseResponse>\\n <RequestId>C51420E3-144A-4A94-B473-8662FCF4AD10</RequestId>\\n <Success>true</Success>\\n</DeleteLogicDatabaseResponse>","errorExample":""}]', - 'title' => 'DeleteLogicDatabase', - ], - 'DeleteLogicTableRouteConfig' => [ - 'summary' => 'Deletes a routing algorithm from a logical table.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Table\\": {\\n \\"ViewOriginalText\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Owner\\": \\"zhangsan\\",\\n \\"TableType\\": \\"EXTERNAL_TABLE\\",\\n \\"Parameters\\": {\\n \\"EXTERNAL\\": \\"TRUE\\",\\n \\"delta.minReaderVersion\\": \\"1\\"\\n },\\n \\"Description\\": \\"test\\",\\n \\"CreatorId\\": 0,\\n \\"CreateTime\\": 1731586286,\\n \\"StorageDescriptor\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 1,\\n \\"Col\\": \\"col1\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\\\\\"123\\\\\\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"col1\\"\\n ]\\n },\\n \\"InputFormat\\": \\"org.apache.hadoop.mapred.SequenceFileInputFormat\\",\\n \\"OutputFormat\\": \\"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"IsCompressed\\": false,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"DeserializerClass\\": \\"org.apache.hadoop.hive.serde2.OpenCSVSerde\\",\\n \\"Parameters\\": {\\n \\"serialization.format\\": \\"1\\"\\n },\\n \\"Description\\": \\"\\\\\\"serialize\\\\\\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"Name\\": \\"name\\"\\n },\\n \\"BucketCols\\": [\\n \\"2010\\"\\n ],\\n \\"NumBuckets\\": -1,\\n \\"Location\\": \\"oss://xxx\\"\\n },\\n \\"LastAccessTime\\": 1608707407,\\n \\"Retention\\": 300,\\n \\"Name\\": \\"100g_customer\\",\\n \\"OwnerType\\": \\"USER\\",\\n \\"ViewExpandedText\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DbId\\": 19,\\n \\"DbName\\": \\"default\\",\\n \\"CatalogName\\": \\"hive\\",\\n \\"PartitionKeys\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"ModifierId\\": 1410769,\\n \\"Location\\": \\"oss://xxx\\"\\n }\\n}","type":"json"}]', + 'title' => 'CreateDataLakeTable', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataLakeTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateDataTrackOrder' => [ + 'summary' => 'Creates a data tracking ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8063,336 +5430,358 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'TableId', + 'name' => 'Comment', + 'in' => 'query', + 'schema' => ['description' => 'The purpose or objective of the data tracking ticket. This parameter is used to help reduce unnecessary communication.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Business test.', 'title' => ''], + ], + [ + 'name' => 'RelatedUserList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The ID of the logical table. You can call the [ListLogicTables](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogictables) operation to query the ID of the logical table.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1****', + 'description' => 'The IDs of the operators that are related to the ticket.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of an operator that is related to the ticket.'."\n", 'type' => 'string', 'required' => false, 'example' => '123***', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'RouteKey', + 'name' => 'Param', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The unique key of the routing algorithm. You can call the [ListLogicTableRouteConfig](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogictablerouteconfig) operation to query the unique key.', - 'type' => 'string', + 'description' => 'The parameters of the ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the database. You can call the [SearchDatabases](~~141876~~) operation to query the ID of the database.'."\n" + ."\n" + .'> You can call this operation to create a data tracking ticket for only physical databases. This operation is not applicable to logical databases.'."\n", 'type' => 'string', 'required' => true, 'example' => '123***', 'title' => ''], + 'JobStartTime' => ['description' => 'The start time of the time range in which you want to track data operations. The time must be in the yyyy-MM-dd HH:mm:ss format.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-04-23 00:00:00', 'title' => ''], + 'JobEndTime' => ['description' => 'The end time of the time range in which you want to track data operations. The time must be in the yyyy-MM-dd HH:mm:ss format.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-04-23 10:00:00', 'title' => ''], + 'TableNames' => [ + 'description' => 'The names of the tables for which you want to track data operations.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The name of a table for which you want to track data operations.'."\n", 'type' => 'string', 'required' => false, 'example' => 'table2', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'TrackTypes' => [ + 'description' => 'The types of data operations that you want to track.'."\n", + 'type' => 'array', + 'items' => ['description' => 'A type of data operation that you want to track. Valid values:'."\n" + ."\n" + .'* **INSERT**'."\n" + .'* **UPDATE**'."\n" + .'* **DELETE**'."\n", 'type' => 'string', 'required' => false, 'example' => 'INSERT', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + ], 'required' => true, - 'example' => 'id-hash-mod15', + 'title' => '', + 'example' => '', ], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) operation to query the tenant ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response schema.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'A916A004-A88C-5B39-ABDB-DE808E80****', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.', - 'type' => 'string', - 'example' => 'MissingRouteKey', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.', - 'type' => 'string', - 'example' => 'RouteKey is mandatory for this action.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '283C461F-11D8-48AA-B695-DF092DA32AF3'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'CreateOrderResult' => [ + 'description' => 'The IDs of the data tracking tickets.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the data tracking ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12***', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A916A004-A88C-5B39-ABDB-DE808E80****\\",\\n \\"ErrorCode\\": \\"MissingRouteKey\\",\\n \\"ErrorMessage\\": \\"RouteKey is mandatory for this action.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteLogicTableRouteConfigResponse>\\n <RequestId>A916A004-A88C-5B39-ABDB-DE808E80****</RequestId>\\n <Success>true</Success>\\n</DeleteLogicTableRouteConfigResponse>","errorExample":""}]', - 'title' => 'DeleteLogicTableRouteConfig', - ], - 'ListLogicDatabases' => [ - 'summary' => 'Queries the detailed information about logical databases.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"283C461F-11D8-48AA-B695-DF092DA32AF3\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","type":"json"}]', + 'title' => 'CreateDataTrackOrder', + 'description' => 'This operation is available only for instances that are managed in Security Collaboration mode.'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDataTrackOrder'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:CreateDataTrackOrder', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateDatabaseExportOrder' => [ + 'summary' => 'Creates a database export ticket.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsPWN318'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'ParentId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) operation to query the tenant ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3422', - ], + 'schema' => ['description' => 'The ID of the parent ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => ' 877****', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'Comment', + 'in' => 'query', + 'schema' => ['description' => 'The purpose or objective of the ticket. This parameter helps reduce unnecessary communication.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Document test', 'title' => ''], + ], + [ + 'name' => 'AttachmentKey', + 'in' => 'query', + 'schema' => ['description' => 'The key of the attachment that provides more instructions for the ticket. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key.'."\n", 'type' => 'string', 'required' => false, 'example' => 'order_attachment.txt', 'title' => ''], + ], + [ + 'name' => 'PluginParam', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The number of the page to return.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '1', + 'description' => 'The parameters of the ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'Classify' => ['description' => 'The reason for the database export.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Document test', 'title' => ''], + 'DbId' => ['description' => 'The database ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '17****', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '137****', 'title' => ''], + 'Logic' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'required' => true, 'example' => 'false', 'title' => ''], + 'Config' => [ + 'description' => 'The configurations for database export.'."\n", + 'type' => 'object', + 'properties' => [ + 'SQLExtOption' => [ + 'description' => 'The extension options of the SQL script. You can leave this parameter empty.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The extension option of the SQL script. Valid values:'."\n" + ."\n" + .'* **DROP**: A DROP TABLE statement is generated before the CREATE statement.'."\n" + .'* **TRUNCATE**: A TRUNCATE TABLE statement is generated before an INSERT statement.'."\n" + .'* **COMPRESS**: The values to be inserted by an INSERT statement is compressed to 5 MB.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DROP', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'DataOption' => [ + 'description' => 'The export options for big data. The options are used to filter the big data to be exported. You can leave this parameter empty.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The export option for big data. Valid values:'."\n" + ."\n" + .'* **BLOB**: exports big data of types such as BLOG and TINYBLOB.'."\n" + .'* **TEXT**: exports big data of types such as TEXT and TINYTEXT.'."\n" + .'* **BINARY**: exports big data of types such as BINARY and VARBINARY.'."\n", 'type' => 'string', 'required' => false, 'example' => 'BLOB', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'ExportContent' => ['description' => 'The type of data that you want to export. Valid values:'."\n" + ."\n" + .'* **DATA**: The data of the database is exported.'."\n" + .'* **STRUCT**: The schema of the database is exported.'."\n" + .'* **DATA_STRUCT**: The data and schema of the database are exported.'."\n", 'type' => 'string', 'required' => true, 'example' => 'DATA', 'title' => ''], + 'ExportTypes' => [ + 'description' => 'The types of schemas that you want to export.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The type of schema that you want to export. Valid values:'."\n" + ."\n" + .'* **PROCEDURE**'."\n" + .'* **FUNCTION**'."\n" + .'* **TRIGGER**'."\n" + .'* **VIEW**'."\n" + .'* **EVENT**'."\n", 'type' => 'string', 'required' => false, 'example' => 'PROCEDURE', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SelectedTables' => [ + 'description' => 'The tables that you want to export.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The table that you want to export.'."\n", 'type' => 'string', 'required' => false, 'example' => 'dmstest_table', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Tables' => [ + 'description' => 'The conditions used to filter the tables to be exported.'."\n", + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string', 'description' => 'The condition used to filter the tables to be exported.'."\n", 'example' => 'where 1=1', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'TargetOption' => ['description' => 'The format in which the database is exported. Valid values:'."\n" + ."\n" + .'* **SQL**'."\n" + .'* **CSV**'."\n" + .'* **XLSX**'."\n", 'type' => 'string', 'required' => true, 'example' => 'SQL', 'title' => ''], + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'SearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test@xxx.xxx.xxx.xxx:3306', 'title' => ''], + ], + 'required' => true, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'RelatedUserList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The number of entries to return on each page.', - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The stakeholders involved in this operation.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The user ID of the stakeholder. The stakeholders involved in this export. All the specified stakeholders can view the ticket details and take part in the approval process. Irrelevant users other than Data Management (DMS) administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2452345113****', 'title' => ''], 'required' => false, - 'example' => '50', + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of logical databases.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '7', - ], - 'LogicDatabaseList' => [ + 'RequestId' => ['description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'CreateOrderResult' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'LogicDatabase' => [ - 'description' => 'The details of logical databases.', + 'CreateOrderResult' => [ + 'description' => 'The information about the ticket.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The details of logical databases.', - 'type' => 'object', - 'properties' => [ - 'DatabaseId' => [ - 'description' => 'The ID of the logical database.', - 'type' => 'string', - 'example' => '1***', - ], - 'OwnerIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerIds' => [ - 'description' => 'The IDs of the owners of the logical database.', - 'type' => 'array', - 'items' => [ - 'description' => 'Logical database Owner ID.', - 'type' => 'string', - 'example' => '51****', - ], - ], - ], - ], - 'DbType' => [ - 'description' => 'The type of the logical database. For more information about the valid values of this parameter, see [DbType parameter](https://www.alibabacloud.com/help/en/data-management-service/latest/dbtype-parameter).', - 'type' => 'string', - 'example' => 'polardb', - ], - 'OwnerNameList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerNames' => [ - 'description' => 'The names of the owners of the logical database.', - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the owner of the logical database.', - 'type' => 'string', - 'example' => 'owner_name', - ], - ], - ], - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. The return value is true.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SchemaName' => [ - 'description' => 'The name of the logical database.', - 'type' => 'string', - 'example' => 'logic_db', - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the logical database.'."\n" - ."\n" - .'> We recommend that you do not use this parameter for business development. The format of the parameter value may be modified in later versions.', - 'type' => 'string', - 'example' => 'logic_db[logic_db_alias]', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the logical database belongs. Valid values:'."\n" - ."\n" - .'- **product**: production environment'."\n" - .'- **dev**: development environment'."\n" - .'- **pre**: staging environment'."\n" - .'- **test**: test environment'."\n" - .'- **sit**: system integration testing (SIT) environment'."\n" - .'- **uat**: user acceptance testing (UAT) environment'."\n" - .'- **pet**: stress testing environment'."\n" - .'- **stag**: STAG environment', - 'type' => 'string', - 'example' => 'test', - ], - 'Alias' => [ - 'description' => 'The alias of the logical database.', - 'type' => 'string', - 'example' => 'logic_db_alias', - ], - 'DatabaseIds' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'DatabaseIds' => [ - 'description' => 'Logical database sub-ID list.', - 'type' => 'array', - 'items' => [ - 'description' => 'Logical database sub-ID.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], - ], - ], - ], - ], - ], + 'items' => ['description' => 'The ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12***', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '8068AF82-8A1A-592C-AC2E-6B75338BAB87', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'- **true**: The request is successful.'."\n" - .'- **false**: The request fails.', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 7,\\n \\"LogicDatabaseList\\": {\\n \\"LogicDatabase\\": [\\n {\\n \\"DatabaseId\\": \\"1***\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"51****\\"\\n ]\\n },\\n \\"DbType\\": \\"POLARDB\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"owner_name\\"\\n ]\\n },\\n \\"Logic\\": true,\\n \\"SchemaName\\": \\"logic_db\\",\\n \\"SearchName\\": \\"logic_db[logic_db_alias]\\",\\n \\"EnvType\\": \\"test\\",\\n \\"Alias\\": \\"logic_db_alias\\",\\n \\"DatabaseIds\\": {\\n \\"DatabaseIds\\": [\\n 0\\n ]\\n }\\n }\\n ]\\n },\\n \\"RequestId\\": \\"8068AF82-8A1A-592C-AC2E-6B75338BAB87\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListLogicDatabasesResponse>\\n <TotalCount>7</TotalCount>\\n <LogicDatabaseList>\\n <DatabaseId>1***</DatabaseId>\\n <OwnerIdList>51****</OwnerIdList>\\n <DbType>polardb</DbType>\\n <OwnerNameList>owner_name</OwnerNameList>\\n <Logic>true</Logic>\\n <SchemaName>logic_db</SchemaName>\\n <SearchName>logic_db【logic_db_alias】</SearchName>\\n <EnvType>test</EnvType>\\n <Alias>logic_db_alias</Alias>\\n </LogicDatabaseList>\\n <RequestId>8068AF82-8A1A-592C-AC2E-6B75338BAB87</RequestId>\\n <Success>true</Success>\\n</ListLogicDatabasesResponse>","errorExample":""}]', - 'title' => 'ListLogicDatabases', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetLogicDatabase' => [ - 'summary' => 'Queries the details of a logical database.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": {\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CreateDatabaseExportOrder', + 'description' => '仅管控模式为安全协同的数据库实例可调用此API。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDatabaseExportOrder'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDatabaseExportOrder', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateForecastAgent' => [ + 'summary' => 'Creates a forecast agent.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREdmsFS2Q9U'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The region where the data lake is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'DbId', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the logical database. You can call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation to obtain the ID of the logical database.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1***', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Set this to `true` to test the API call without making any changes. This checks if you have the required permissions and if the request parameters are valid. The default is `false`. When `DryRun` is `true`, the service returns a failure response with a reason, such as `DryRunOperationError` (the request would have succeeded), `ValidationError` (invalid parameters), or `AccessDeniedError` (insufficient permissions on the KMS resource).', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'True', 'title' => ''], ], ], 'responses' => [ @@ -8400,402 +5789,183 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'LogicDatabase' => [ - 'description' => 'The details of the logical database.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6****'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request is successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Message' => ['description' => 'The error message returned when the operation fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Root' => [ 'type' => 'object', 'properties' => [ - 'DatabaseId' => [ - 'description' => 'The ID of the logical database.'."\n", - 'type' => 'string', - 'example' => '1***', - ], - 'OwnerIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerIds' => [ - 'description' => 'The IDs of the owners of the logical database.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the owner of the logical database.'."\n", - 'type' => 'string', - 'example' => '51****', - ], - ], - ], - ], - 'DbType' => [ - 'description' => 'The database engine. For more information about the valid values of the DbType parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'example' => 'POLARDB', - ], - 'OwnerNameList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerNames' => [ - 'description' => 'The names of the owners of the logical database.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The names of the owners of the logical database.'."\n", - 'type' => 'string', - 'example' => 'owner_name', - ], - ], - ], - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. The return value is true.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SchemaName' => [ - 'description' => 'The name of the logical database.'."\n", - 'type' => 'string', - 'example' => 'test_logic_db', - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the logical database.'."\n", - 'type' => 'string', - 'example' => 'test_logic_db[test_logic_alias]', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database belongs. Valid values:'."\n" - ."\n" - .'* product: production environment'."\n" - .'* dev: development environment'."\n" - .'* pre: pre-release environment'."\n" - .'* test: test environment'."\n" - .'* sit: system integration testing (SIT) environment'."\n" - .'* uat: user acceptance testing (UAT) environment'."\n" - .'* pet: stress testing environment'."\n" - .'* stag: staging environment'."\n", - 'type' => 'string', - 'example' => 'dev', - ], - 'Alias' => [ - 'description' => 'The alias of the logical database.'."\n", - 'type' => 'string', - 'example' => 'test_logic_alias', - ], - 'DatabaseIds' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'DatabaseIds' => [ - 'description' => 'The IDs of database shards of the logical database.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the database shard of the logical database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], - ], - ], - ], + 'InstanceUuid' => ['description' => 'The unique ID of the forecast agent instance.'."\n" + ."\n" + .'> [](~~DescribeUniBackupDatabase~~)', 'type' => 'string', 'example' => '***', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the DMS service region. For a list of valid values, see [region ID parameter description](~~198107~~).'."\n" + ."\n" + .'> Select a region that is geographically close to your application.', 'type' => 'string', 'example' => 'cn-chengdu', 'title' => ''], + 'Status' => ['description' => 'The status of the forecast agent instance. Valid values include `DEPLOYED` (running) and `Not configured`.', 'type' => 'string', 'example' => 'DEPLOYED', 'title' => ''], + 'CurrentStep' => ['description' => 'The current step of the task.', 'type' => 'string', 'example' => 'PRE_CHECK', 'title' => ''], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 't-0002kwya4y5ydqvuof6b', 'title' => ''], + 'ImageVersion' => ['description' => 'The image version.'."\n" + ."\n" + .'> When specifying an `InstanceId` for an instance that uses a marketplace image or a custom image based on a marketplace image, this parameter is optional. If provided, its value must match the `ImageVersion` of the instance\'s current image.', 'type' => 'string', 'example' => '3.5.3.925', 'title' => ''], + 'FailureMessage' => ['description' => 'The error message returned on failure.', 'type' => 'string', 'example' => 'missing parameter: aliyunParentUid', 'title' => ''], ], - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '90260530-565C-42B9-A6E8-893481FE6AB6', - ], - 'ErrorCode' => [ - 'description' => 'The status code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'description' => 'Details of the forecast agent.', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'description' => 'The response data.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"LogicDatabase\\": {\\n \\"DatabaseId\\": \\"1***\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"51****\\"\\n ]\\n },\\n \\"DbType\\": \\"POLARDB\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"owner_name\\"\\n ]\\n },\\n \\"Logic\\": true,\\n \\"SchemaName\\": \\"test_logic_db\\",\\n \\"SearchName\\": \\"test_logic_db[test_logic_alias]\\",\\n \\"EnvType\\": \\"dev\\",\\n \\"Alias\\": \\"test_logic_alias\\",\\n \\"DatabaseIds\\": {\\n \\"DatabaseIds\\": [\\n 0\\n ]\\n }\\n },\\n \\"RequestId\\": \\"90260530-565C-42B9-A6E8-893481FE6AB6\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetLogicDatabaseResponse>\\n <LogicDatabase>\\n <SearchName>test_logic_db【test_logic_alias】</SearchName>\\n <Alias>test_logic_alias</Alias>\\n <DatabaseId>1***</DatabaseId>\\n <OwnerNameList>\\n <OwnerNames>owner_name</OwnerNames>\\n </OwnerNameList>\\n <Logic>true</Logic>\\n <DbType>polardb</DbType>\\n <SchemaName>test_logic_db</SchemaName>\\n <EnvType>dev</EnvType>\\n <OwnerIdList>\\n <OwnerIds>51****</OwnerIds>\\n </OwnerIdList>\\n </LogicDatabase>\\n <RequestId>E057F5F6-298E-5A3D-B948-0E5328D56B54</RequestId>\\n <Success>true</Success>\\n</GetLogicDatabaseResponse>","errorExample":""}]', - 'title' => 'GetLogicDatabase', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListLogicTables' => [ - 'summary' => 'Queries the details of the logical tables in a logical database.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'CreateForecastAgent', + 'description' => 'Creates a forecast agent. You can create the agent for an instance, a database, or a table. The operation returns a task ID.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6****\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"Message\\": \\"UnknownError\\",\\n \\"Root\\": {\\n \\"InstanceUuid\\": \\"***\\",\\n \\"RegionId\\": \\"cn-chengdu\\",\\n \\"Status\\": \\"DEPLOYED\\",\\n \\"CurrentStep\\": \\"PRE_CHECK\\",\\n \\"TaskId\\": \\"t-0002kwya4y5ydqvuof6b\\",\\n \\"ImageVersion\\": \\"3.5.3.925\\",\\n \\"FailureMessage\\": \\"missing parameter: aliyunParentUid\\"\\n }\\n}","type":"json"}]', + ], + 'CreateFreeLockCorrectOrder' => [ + 'summary' => 'Create a lockless change ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdms1AAQ1Q'], ], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], - ], - [ - 'name' => 'DatabaseId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the logical database.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'Comment', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The purpose or objective of the data change. This parameter is used to help reduce unnecessary communication.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'SearchName', + 'name' => 'RelatedUserList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The keyword that is used to search for the logical tables. Prefix match is supported.'."\n", - 'type' => 'string', + 'description' => 'The stakeholders of the data change. All stakeholders can view the ticket details and assist in the approval process. Irrelevant users other than DMS administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", + 'type' => 'array', + 'items' => ['description' => 'User ID of a change-related user. Users specified as related can view the ticket and collaborate on it, while unrelated users cannot view the ticket (except administrators and DBAs).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51****', 'title' => ''], 'required' => false, - 'example' => 'test', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ReturnGuid', + 'name' => 'Param', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'Specifies whether to return the GUID of the table.'."\n", - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ + 'description' => 'The parameters of the ticket.'."\n", 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of logical tables that meet the query conditions.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'LogicTableList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'LogicTable' => [ - 'description' => 'The details of the logical tables.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DatabaseId' => [ - 'description' => 'The ID of the logical database.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'TableName' => [ - 'description' => 'The name of the logical table.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'TableCount' => [ - 'description' => 'The number of logical tables.'."\n", - 'type' => 'string', - 'example' => '4', - ], - 'OwnerIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerIds' => [ - 'description' => 'The IDs of the owners of the logical tables.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the owner of a logical table.'."\n", - 'type' => 'string', - 'example' => '1', - ], - ], - ], - ], - 'OwnerNameList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerNames' => [ - 'description' => 'The nicknames of the owners of the logical tables.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The nickname of the owner of a logical table.'."\n", - 'type' => 'string', - 'example' => 'owner_name', - ], - ], - ], - ], - 'SchemaName' => [ - 'description' => 'The logical database to which the logical table belongs.'."\n", - 'type' => 'string', - 'example' => 'yuyang_test', - ], - 'Logic' => [ - 'description' => 'Indicates whether the table is a logical table. The value is fixed to true.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TableExpr' => [ - 'description' => 'The expression of the logical table.'."\n", - 'type' => 'string', - 'example' => 'test[1-4]', - ], - 'TableGuid' => [ - 'description' => 'The GUID of the logical table.'."\n", - 'type' => 'string', - 'example' => 'IDB_L_308302.yuyang_test.test_ch', - ], - 'TableId' => [ - 'description' => 'The ID of the logical table.'."\n", - 'type' => 'string', - 'example' => '1', - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", + 'Classify' => ['description' => 'The reason for the data change.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'ExecSQL' => ['description' => 'The SQL statements that you want to execute to change data.'."\n", 'type' => 'string', 'required' => true, 'example' => 'delete from base_user where 1 = 1;', 'title' => ''], + 'SqlType' => [ + 'description' => 'The format of the SQL statements used to change data. Valid values:'."\n" + ."\n" + .'* **TEXT**: text'."\n" + .'* **ATTACHMENT**: attachment. This value is not supported.'."\n", 'type' => 'string', - 'example' => 'F1E6484F-9DF1-4406-9BDE-0861C4629B69', + 'required' => true, + 'example' => 'TEXT', + 'default' => 'TEXT', + 'enum' => ['TEXT'], + 'title' => '', ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", + 'AttachmentName' => ['description' => 'The key of the attachment that contains the SQL statements used to change data. This parameter is not supported.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test.sql', 'title' => ''], + 'RollbackSQL' => ['description' => 'The SQL statements used to roll back the data change.'."\n", 'type' => 'string', 'required' => false, 'example' => 'empty', 'title' => ''], + 'RollbackAttachmentName' => ['description' => 'The key of the attachment that contains the SQL statements used to roll back the data change.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_rollback.sql', 'title' => ''], + 'RollbackSqlType' => [ + 'description' => 'The format of the SQL statements used to roll back the data change. Valid values:'."\n" + ."\n" + .'* **TEXT**: text'."\n" + .'* **ATTACHMENT**: attachment. This value is not supported.'."\n", 'type' => 'string', - 'example' => 'UnknownError', + 'required' => false, + 'example' => 'TEXT', + 'enum' => ['TEXT', 'ATTACHMENT'], + 'title' => '', ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', + 'DbItemList' => [ + 'description' => 'The databases in which you want to change data.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Database information.', + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the database. The database can be a physical database or a logical database.'."\n" + ."\n" + .'* To obtain the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" + .'* To obtain the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1860****', 'title' => ''], + 'Logic' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is a physical database.'."\n", 'type' => 'boolean', 'required' => true, 'example' => 'false', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'title' => '', + 'example' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'ExecMode' => [ + 'description' => 'The execution mode of the ticket after the ticket is approved. Valid values:'."\n" + ."\n" + .'* **COMMITOR**: The data change is performed by the user who submits the ticket.'."\n" + .'* **AUTO**: The data change is automatically performed after the ticket is approved.'."\n" + .'* **LAST_AUDITOR**: The data change is performed by the last approver of the ticket.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'COMMITOR', + 'default' => 'COMMITOR', + 'enum' => ['COMMITOR', 'AUTO', 'LAST_AUDITOR'], + 'title' => '', ], ], + 'required' => true, + 'title' => '', + 'example' => '', ], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"LogicTableList\\": {\\n \\"LogicTable\\": [\\n {\\n \\"DatabaseId\\": \\"1\\",\\n \\"TableName\\": \\"test\\",\\n \\"TableCount\\": \\"4\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"1\\"\\n ]\\n },\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"owner_name\\"\\n ]\\n },\\n \\"SchemaName\\": \\"yuyang_test\\",\\n \\"Logic\\": true,\\n \\"TableExpr\\": \\"test[1-4]\\",\\n \\"TableGuid\\": \\"IDB_L_308302.yuyang_test.test_ch\\",\\n \\"TableId\\": \\"1\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"F1E6484F-9DF1-4406-9BDE-0861C4629B69\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<TotalCount>1</TotalCount>\\n<RequestId>F1E6484F-9DF1-4406-9BDE-0861C4629B69</RequestId>\\n<LogicTableList>\\n <LogicTable>\\n <Logic>true</Logic>\\n <OwnerNameList>\\n <OwnerNames>xxx</OwnerNames>\\n <OwnerNames>xxx</OwnerNames>\\n </OwnerNameList>\\n <TableExpr>t[1-4]</TableExpr>\\n <DatabaseId>267</DatabaseId>\\n <SchemaName>yuyang_test</SchemaName>\\n <TableName>t</TableName>\\n <TableGuid>IDB_L_3057.yuyang_test.t</TableGuid>\\n <TableCount>4</TableCount>\\n <OwnerIdList>\\n <OwnerIds>88653</OwnerIds>\\n <OwnerIds>104442</OwnerIds>\\n </OwnerIdList>\\n <TableId>3057</TableId>\\n </LogicTable>\\n</LogicTableList>\\n<Success>true</Success>","errorExample":""}]', - 'title' => 'ListLogicTables', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetDBTopology' => [ - 'summary' => 'Queries the topologies of a logical database and its physical database shards.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'AttachmentKey', + 'in' => 'query', + 'schema' => ['description' => 'The key of the attachment that provides more instructions for the ticket. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of the AttachmentKey parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'order_attachment.txt', 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'LogicDbId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the logical database. You can call the [ListLogicDatabases](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogicdatabases) or [SearchDatabase](https://www.alibabacloud.com/help/en/data-management-service/latest/searchdatabase) operation to query the ID of the logical database.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '134***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'RealLoginUserUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '43***', - ], + 'schema' => ['description' => 'The UID of the Alibaba Cloud account of the user who actually invokes the API.<props="china">For more information, see [Specify an API caller](~~2835451~~).</props>', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ @@ -8805,173 +5975,48 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'C5B8E84B-42B6-4374-AD5A-6264E1753378', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'DBTopology' => [ - 'description' => 'The topology of the data table.'."\n", - 'type' => 'object', - 'properties' => [ - 'LogicDbId' => [ - 'description' => 'The ID of the logical database.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1234', - ], - 'LogicDbName' => [ - 'description' => 'Logical database name.', - 'type' => 'string', - 'example' => 'logic_db_test', - ], - 'SearchName' => [ - 'description' => 'The name of the saved search.'."\n", - 'type' => 'string', - 'example' => 'logic_db_test', - ], - 'Alias' => [ - 'description' => 'The alias of the access point.'."\n", - 'type' => 'string', - 'example' => 'logic_db_test', - ], - 'DbType' => [ - 'description' => 'The type of the database engine.'."\n", - 'type' => 'string', - 'example' => 'polardb', - ], - 'EnvType' => [ - 'description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" - ."\n" - .'* product: production environment'."\n" - .'* dev: development environment'."\n" - .'* pre: pre-release environment'."\n" - .'* test: test environment'."\n" - .'* sit: system integration testing (SIT) environment'."\n" - .'* uat: user acceptance testing (UAT) environment'."\n" - .'* pet: stress testing environment'."\n" - .'* stag: staging environment'."\n", - 'type' => 'string', - 'example' => 'dev', - ], - 'DBTopologyInfoList' => [ - 'description' => 'The list of database splitting topology information.', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database for which the schema design is executed.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '423532', - ], - 'SchemaName' => [ - 'description' => 'The name of the logical database.'."\n" - ."\n" - .'> If the database is a PostgreSQL database, the value of this parameter is the name of the database schema.', - 'type' => 'string', - 'example' => 'db_test@rm-xxx:3306', - ], - 'CatalogName' => [ - 'description' => 'The name of the catalog to which the database belongs.'."\n" - ."\n" - .'> If the database is a PostgreSQL database, the value of this parameter is the name of the database.', - 'type' => 'string', - 'example' => 'def', - ], - 'SearchName' => [ - 'description' => 'The name of the saved search.'."\n", - 'type' => 'string', - 'example' => 'db_test', - ], - 'DbType' => [ - 'description' => 'The type of the database engine.'."\n", - 'type' => 'string', - 'example' => 'polardb', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database belongs. Valid values:'."\n" - ."\n" - .'* product: production environment'."\n" - .'* dev: development environment'."\n" - .'* pre: staging environment'."\n" - .'* test: test environment'."\n" - .'* sit: SIT environment'."\n" - .'* uat: user acceptance testing (UAT) environment'."\n" - .'* pet: stress testing environment'."\n" - .'* stag: STAG environment', - 'type' => 'string', - 'example' => 'dev', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance. The valid value is returned if you call the ListInstances operation. The instance ID is not the ID of the RDS instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4325325', - ], - 'RegionId' => [ - 'description' => 'The ID of the region in which the instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'InstanceResourceId' => [ - 'description' => 'Instance resource ID.', - 'type' => 'string', - 'example' => 'rm-xxx', - ], - 'InstanceSource' => [ - 'description' => 'The source of the database instance. Valid values:'."\n" - ."\n" - .'* **PUBLIC_OWN:** a self-managed database instance that is deployed on the Internet'."\n" - .'* **RDS:** an ApsaraDB RDS instance'."\n" - .'* **ECS_OWN:** a self-managed database that is deployed on an Elastic Compute Service (ECS) instance'."\n" - .'* **VPC_IDC:** a self-managed database instance that is deployed in a data center connected over a virtual private cloud (VPC)'."\n", - 'type' => 'string', - 'example' => 'RDS', - ], - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'CreateOrderResult' => [ + 'description' => 'The ID of the ticket.'."\n", + 'type' => 'array', + 'items' => ['description' => 'Ticket ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '134****', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C5B8E84B-42B6-4374-AD5A-6264E1753378\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DBTopology\\": {\\n \\"LogicDbId\\": 1234,\\n \\"LogicDbName\\": \\"logic_db_test\\",\\n \\"SearchName\\": \\"logic_db_test\\",\\n \\"Alias\\": \\"logic_db_test\\",\\n \\"DbType\\": \\"polardb\\",\\n \\"EnvType\\": \\"dev\\",\\n \\"DBTopologyInfoList\\": [\\n {\\n \\"DbId\\": 423532,\\n \\"SchemaName\\": \\"db_test@rm-xxx:3306\\",\\n \\"CatalogName\\": \\"def\\",\\n \\"SearchName\\": \\"db_test\\",\\n \\"DbType\\": \\"polardb\\",\\n \\"EnvType\\": \\"dev\\",\\n \\"InstanceId\\": 4325325,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceResourceId\\": \\"rm-xxx\\",\\n \\"InstanceSource\\": \\"RDS\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>C5B8E84B-42B6-4374-AD5A-6264E1753378</RequestId>\\n<Success>true</Success>\\n<ErrorMessage>UnknownError</ErrorMessage>\\n<ErrorCode>UnknownError</ErrorCode>\\n<DBTopology>\\n <LogicDbId>1234</LogicDbId>\\n <LogicDbName>logic_db_test</LogicDbName>\\n <SearchName>logic_db_test</SearchName>\\n <Alias>logic_db_test</Alias>\\n <DbType>polardb</DbType>\\n <EnvType>dev</EnvType>\\n <DBTopologyInfoList>\\n <DbId>423532</DbId>\\n <SchemaName>db_test@rm-xxx:3306</SchemaName>\\n <CatalogName>def</CatalogName>\\n <SearchName>db_test</SearchName>\\n <DbType>polardb</DbType>\\n <EnvType>dev</EnvType>\\n <InstanceId>4325325</InstanceId>\\n <RegionId>cn-hangzhou</RegionId>\\n <InstanceResourceId>rm-xxx</InstanceResourceId>\\n <InstanceSource>RDS</InstanceSource>\\n </DBTopologyInfoList>\\n</DBTopology>","errorExample":""}]', - 'title' => 'GetDBTopology', - ], - 'GetTableDBTopology' => [ - 'summary' => 'Queries the topology of a data table.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","type":"json"}]', + 'title' => 'Create a lockless change ticket', + 'description' => '- This API supports only instances whose control mode is Security Collaboration. For more information, see [Lockless Data Change](~~96145~~) and [Lockless Schema Evolution](~~98373~~).'."\n" + .'- After successfully invoking CreateFreeLockCorrectOrder, you must also invoke the [SubmitOrderApproval](~~465869~~) API to submit the ticket for approval, the [ApproveOrder](~~465870~~) API to approve the ticket, and the [ExecuteDataCorrect](~~466296~~) API to execute the data change.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateFreeLockCorrectOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateInventoryJob' => [ + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -8980,205 +6025,69 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], - ], - [ - 'name' => 'TableGuid', + 'name' => 'Param', 'in' => 'query', - 'schema' => [ - 'description' => 'The GUID of the table in DMS.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* If the database to which the table belongs is a logical database, you can call the [ListLogicTables](~~141875~~) operation to obtain the GUID. The value of the ReturnGuid parameter must be set to true.'."\n" - ."\n" - .'* If the database to which the table belongs is a physical database, you can call the [ListTables](~~141878~~) operation to obtain the GUID. The value of the ReturnGuid parameter must be set to true.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'IDB_L_9032.db-test.yuyang_test', - ], + 'schema' => ['description' => 'The JSON string of inventory parameters.'."\n" + ."\n" + .'| Parameter | Type | Required | Description |'."\n" + .'|--------|------|------|------|'."\n" + .'| `instanceIds` | `List<Integer>` | No | The list of instance IDs selected for inventory. |'."\n" + .'| `dbIds` | `List<Integer>` | No | The list of database IDs selected for inventory. |'."\n" + .'| `tableIds` | `Map<Integer, List<String>>` | No | The list of tables selected for inventory. The key is the database ID, and the value is the list of table names in the database. |.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "instanceIds": [1],'."\n" + .' "dbIds": [2],'."\n" + .' "tableIds": {'."\n" + .' "3": ['."\n" + .' "table"'."\n" + .' ]'."\n" + .' }'."\n" + .'}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The schema of the response.'."\n", + 'title' => '', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '853F7FD4-D922-4EFB-931C-D253EF159E06', - ], - 'DBTopology' => [ - 'description' => 'The topology of the data table.'."\n", - 'type' => 'object', - 'properties' => [ - 'TableName' => [ - 'description' => 'The name of the table.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* If a logical table is queried, the name of the logical table is returned.'."\n" - ."\n" - .'* If a physical table is queried, the name of the physical table is returned.'."\n", - 'type' => 'string', - 'example' => 'yuyang_test', - ], - 'DataSourceList' => [ - 'description' => 'The data sources.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The schema of the response.'."\n", - 'type' => 'object', - 'properties' => [ - 'Sid' => [ - 'description' => 'The system ID (SID) of the data source.'."\n", - 'type' => 'string', - 'example' => 'def', - ], - 'Host' => [ - 'description' => 'The endpoint of the data source.'."\n", - 'type' => 'string', - 'example' => 'xxx.mysql.polardb.rds.aliyuncs.com', - ], - 'DbType' => [ - 'description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'example' => 'MySQL', - ], - 'DatabaseList' => [ - 'description' => 'The physical databases.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The schema of the response.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'string', - 'example' => '489347', - ], - 'DbName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'db-test', - ], - 'DbType' => [ - 'description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'example' => 'MySQL', - ], - 'TableList' => [ - 'description' => 'The physical tables.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The schema of the response.'."\n", - 'type' => 'object', - 'properties' => [ - 'TableName' => [ - 'description' => 'The name of the physical table.'."\n", - 'type' => 'string', - 'example' => '151977812', - ], - 'TableType' => [ - 'description' => 'The type of the table. This is a reserved parameter.'."\n", - 'type' => 'string', - 'example' => 'yuyang_test_0000', - ], - 'TableId' => [ - 'description' => 'The ID of the table.'."\n", - 'type' => 'string', - 'example' => 'NORMAL', - ], - ], - ], - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database belongs. Valid values:'."\n" - ."\n" - .'* **product**: production environment'."\n" - .'* **dev**: development environment'."\n" - .'* **pre**: pre-release environment'."\n" - .'* **test**: test environment'."\n" - .'* **sit**: system integration testing (SIT) environment'."\n" - .'* **uat**: user acceptance testing (UAT) environment'."\n" - .'* **pet**: stress testing environment'."\n" - .'* **stag**: staging environment'."\n" - ."\n" - .'> For more information, see [Change the environment type of an instance](~~163309~~).'."\n", - 'type' => 'string', - 'example' => 'pre', - ], - ], - ], - ], - 'Port' => [ - 'description' => 'The port that is used to connect to the data source.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3306', - ], - ], - ], - ], - 'TableGuid' => [ - 'description' => 'The GUID of the table in DMS.'."\n", - 'type' => 'string', - 'example' => 'IDB_L_9032.db-test.yuyang_test', - ], - ], - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['title' => '', 'description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError'], + 'ErrorMessage' => ['title' => '', 'description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the request is successful. Valid values:'."\n" + .'- **true**: The request is successful.'."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true'], + 'Data' => ['title' => '', 'description' => 'The inventory task ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1001'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"853F7FD4-D922-4EFB-931C-D253EF159E06\\",\\n \\"DBTopology\\": {\\n \\"TableName\\": \\"yuyang_test\\",\\n \\"DataSourceList\\": [\\n {\\n \\"Sid\\": \\"def\\",\\n \\"Host\\": \\"xxx.mysql.polardb.rds.aliyuncs.com\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"DatabaseList\\": [\\n {\\n \\"DbId\\": \\"489347\\",\\n \\"DbName\\": \\"db-test\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"TableList\\": [\\n {\\n \\"TableName\\": \\"151977812\\",\\n \\"TableType\\": \\"yuyang_test_0000\\",\\n \\"TableId\\": \\"NORMAL\\"\\n }\\n ],\\n \\"EnvType\\": \\"pre\\"\\n }\\n ],\\n \\"Port\\": 3306\\n }\\n ],\\n \\"TableGuid\\": \\"IDB_L_9032.db-test.yuyang_test\\"\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetTableDBTopologyResponse>\\n <RequestId>78F78156-2BBE-414A-8A9D-BE61CF6FA60F</RequestId>\\n <DBTopology>\\n <TableName>big_table</TableName>\\n <TableGuid>IDB_270000001.film.big_table</TableGuid>\\n <DataSourceList>\\n <DatabaseList>\\n <DbId>4000000</DbId>\\n <DbName>film</DbName>\\n <TableList>\\n <TableId>200000000</TableId>\\n <TableName>big_table</TableName>\\n <TableType>NORMAL</TableType>\\n </TableList>\\n <EnvType>product</EnvType>\\n <DbType>mysql</DbType>\\n </DatabaseList>\\n <Port>3306</Port>\\n <Host>rm-uf000000z0000002l.mysql.rds.aliyuncs.com</Host>\\n <DbType>mysql</DbType>\\n </DataSourceList>\\n </DBTopology>\\n <Success>true</Success> \\n</GetTableDBTopologyResponse>","errorExample":""}]', - 'title' => 'GetTableDBTopology', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create an inventory task', + 'summary' => 'Creates an asset inventory task to perform knowledge inventory on specified instances, databases, or tables.', + 'description' => 'Creates an asset inventory task. You can select instances, databases, or tables as the inventory dimension. The task ID is returned.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": 1001\\n}","type":"json"}]', ], - 'ListLogicTableRouteConfig' => [ - 'summary' => 'Queries the routing algorithms of a logical table.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateLakeHouseSpace' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9187,34 +6096,64 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeCode' => '130576', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'TableId', + 'name' => 'SpaceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the logical table. You can call the [ListLogicTables](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogictables) operation to query the ID of the logical table.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1****', - ], + 'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test_space', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the workspace.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'Mode', + 'in' => 'query', + 'schema' => ['description' => 'The mode in which the workspace runs. Valid values:'."\n" + ."\n" + .'- **0**: basic mode. This mode is unavailable.'."\n" + ."\n" + .'- **1**: standard mode.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'DwDbType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the database. Valid values:'."\n" + ."\n" + .'- **14**: AnalyticDB for MySQL'."\n" + ."\n" + .'- **18**: AnalyticDB for PostgreSQL', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '14', 'title' => ''], + ], + [ + 'name' => 'SpaceConfig', + 'in' => 'query', + 'schema' => ['description' => 'The configuration of the workspace. Valid values:'."\n" + ."\n" + .'- **skipManualRunCheck**: No security rule check is required in the trial run phase.'."\n" + ."\n" + .'- **skipPublishApprove**: No approval is required for publishing and O\\&M.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{\\"skipManualRunCheck\\":true,\\"skipPublishApprove\\":true}', 'title' => ''], + ], + [ + 'name' => 'DevDbId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the development database. You can call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2435****', 'title' => ''], + ], + [ + 'name' => 'ProdDbId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the production database. You can call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the ID.', 'type' => 'string', 'required' => false, 'example' => '2442****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) operation to query the tenant ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -9222,78 +6161,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '7C6A0D7D-B034-59F6-854C-32425AC6****', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.', - 'type' => 'string', - 'example' => 'MissingTableId', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.', - 'type' => 'string', - 'example' => 'TableId is mandatory for this action.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LogicTableRouteConfigList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'LogicTableRouteConfig' => [ - 'description' => 'The routing algorithms.', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RouteKey' => [ - 'description' => 'The unique key of the routing algorithm.', - 'type' => 'string', - 'example' => '1', - ], - 'RouteExpr' => [ - 'description' => 'The routing algorithm expression.', - 'type' => 'string', - 'example' => '#id#%16\\t', - ], - 'TableId' => [ - 'description' => 'The ID of the logical table.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4****', - ], - ], - ], - ], - ], - ], + 'SpaceId' => ['description' => 'The ID of the workspace.', 'type' => 'integer', 'format' => 'int64', 'example' => '24', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.', 'type' => 'string', 'example' => 'InvalidParameterValid', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'Invalid parameters: space name、mode、prod db id、db type、config.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- **true**: The request is successful.'."\n" + ."\n" + .'- **false**: The request fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7C6A0D7D-B034-59F6-854C-32425AC6****\\",\\n \\"ErrorCode\\": \\"MissingTableId\\",\\n \\"ErrorMessage\\": \\"TableId is mandatory for this action.\\",\\n \\"Success\\": true,\\n \\"LogicTableRouteConfigList\\": {\\n \\"LogicTableRouteConfig\\": [\\n {\\n \\"RouteKey\\": \\"1\\",\\n \\"RouteExpr\\": \\"#id#%16\\\\\\\\t\\",\\n \\"TableId\\": 0\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListLogicTableRouteConfigResponse>\\n <RequestId>7C6A0D7D-B034-59F6-854C-32425AC6****</RequestId>\\n <LogicTableRouteConfigList>\\n <LogicTableRouteConfig>\\n <TableId>1****</TableId>\\n <RouteExpr>#id#%16\\t</RouteExpr>\\n <RouteKey>1</RouteKey>\\n </LogicTableRouteConfig>\\n <LogicTableRouteConfig>\\n <TableId>1****</TableId>\\n <RouteExpr>#id#%16\\t</RouteExpr>\\n <RouteKey>id-hash-mod17\\t</RouteKey>\\n </LogicTableRouteConfig>\\n <LogicTableRouteConfig>\\n <TableId>1****</TableId>\\n <RouteExpr>#id#%16\\t</RouteExpr>\\n <RouteKey>id-test</RouteKey>\\n </LogicTableRouteConfig>\\n </LogicTableRouteConfigList>\\n <Success>true</Success>\\n</ListLogicTableRouteConfigResponse>","errorExample":""}]', - 'title' => 'ListLogicTableRouteConfig', - ], - 'EditLogicDatabase' => [ - 'summary' => 'Edits the information about a logical database.', - 'methods' => [ - 'get', - 'post', + 'title' => 'CreateLakeHouseSpace', + 'summary' => 'Creates a workspace for data warehouse development in Data Management (DMS).', + 'description' => '- The workspace name must be unique within a tenant. If a workspace with the same name already exists within the tenant, the call may fail.'."\n" + ."\n" + .'- You can call the [GetLhSpaceByName](~~424379~~) operation to query whether a workspace with a specific name already exists as a DMS administrator or database administrator (DBA).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLakeHouseSpace'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateLakeHouseSpace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SpaceId\\": 24,\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"InvalidParameterValid\\",\\n \\"ErrorMessage\\": \\"Invalid parameters: space name、mode、prod db id、db type、config.\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'CreateLogicDatabase' => [ + 'summary' => 'Create a DMS logical database.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9301,64 +6215,32 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'Alias', 'in' => 'query', - 'schema' => [ - 'description' => '- The alias of the logical database. If you want to change the alias, specify a new alias.'."\n" - .'- If you do not need to change the alias of the logical database, call the [GetLogicDatabase](https://www.alibabacloud.com/help/en/data-management-service/latest/getlogicdatabase) or [GetDBTopology](https://www.alibabacloud.com/help/en/data-management-service/latest/getdbtopology) operation to query the alias of the logical database.', - 'type' => 'string', - 'required' => true, - 'example' => 'test_logic_db', - ], - ], - [ - 'name' => 'LogicDbId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the logical database. You can call the [ListLogicDatabases](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogicdatabases) operation to query the ID of the logical database.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1***', - ], + 'schema' => ['description' => 'The alias of the logical database.', 'type' => 'string', 'required' => true, 'example' => 'test_logic_db', 'title' => ''], ], [ 'name' => 'DatabaseIds', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => '- The IDs of the physical databases that compose the logical database. If you want to change the physical databases, you can call the [ListDatabases](https://www.alibabacloud.com/help/en/data-management-service/latest/listdatabases) or [SearchDatabase](https://www.alibabacloud.com/help/en/data-management-service/latest/searchdatabase) operation to query the IDs of the new physical databases that you want to specify.'."\n" - .'- If you do not want to change the physical databases, you can call the [GetDBTopology](https://www.alibabacloud.com/help/en/data-management-service/latest/getdbtopology) operation to query the IDs of the physical databases that compose the logical database.', + 'description' => 'The IDs of the physical databases that compose the logical database. You can specify one or more database IDs. You can call the [ListDatabases](https://www.alibabacloud.com/help/en/data-management-service/latest/listdatabases) or [SearchDatabase](https://www.alibabacloud.com/help/en/data-management-service/latest/searchdatabase) operation to query the IDs of the physical databases.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1860****', - ], + 'items' => ['description' => 'The IDs (DatabaseId) of all physical databases that constitute the logical database. You can obtain this parameter by invoking the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) API.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1860****', 'title' => ''], 'required' => true, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. '."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](https://www.alibabacloud.com/help/en/data-management-service/latest/manage-dms-tenants) topic.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. '."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](https://www.alibabacloud.com/help/en/data-management-service/latest/manage-dms-tenants) topic.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -9368,46 +6250,40 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'- true: The request is successful.'."\n" - .'- false: The request fails.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'UnknownError', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10'], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + .'- false: The request fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'LogicDbId' => ['description' => 'The ID of the logical database.', 'type' => 'integer', 'format' => 'int64', 'example' => '1***', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","errorExample":""},{"type":"xml","example":"<EditLogicDatabaseResponse>\\n <RequestId>C51420E3-144A-4A94-B473-8662FCF4AD10</RequestId>\\n <Success>true</Success>\\n</EditLogicDatabaseResponse>","errorExample":""}]', - 'title' => 'EditLogicDatabase', - ], - 'ListDataLakeDatabase' => [ - 'summary' => 'Queries the list of databases in the data lake.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"LogicDbId\\": 0\\n}","type":"json"}]', + 'title' => 'Create a Logical Database', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateLogicDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateMetaCategory' => [ + 'summary' => 'Create an asset category.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -9416,366 +6292,362 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '249748', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - ], + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'DataRegion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'CatalogName', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog. You can view the name of the data catalog in the [DLF console](https://dlf.console.aliyun.com/cn-hangzhou/metadata/catalog?spm=a2c4g.11186623.0.0.5a225658pT4Dkr).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword that is used to search for databases.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The name of the category.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'ParentCategoryId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => 'The ID of the parent category. The new category is created under this parent category. If this value is left empty, the new category is of the first level.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30000322682', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n" - ."\n" - .'* If **NextToken** is empty, no next page exists.'."\n" - .'* If a value of **NextToken** is returned, the value indicates the token that is used for the next query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'f056501ada12c1cc', - ], + 'schema' => ['description' => 'Description.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'Remark', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '20', - ], + 'schema' => ['description' => 'Remarks.', 'type' => 'string', 'required' => false, 'example' => '21212', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'OwnerIds', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'User IDs of the owners. Separate multiple user IDs with commas. You can obtain the value of UserId by invoking the [GetUser](~~147098~~) or [ListUsers](~~141938~~) API.'."\n" + .'> The parameter name for User ID is UserId.', + 'type' => 'array', + 'items' => ['description' => 'User IDs of the owners. Separate multiple user IDs with commas. You can obtain the value of UserId by invoking the [GetUser](~~147098~~) or [ListUsers](~~141938~~) API.'."\n" + .'> The parameter name for User ID is UserId.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51****', 'title' => ''], 'required' => false, - 'example' => '12****', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the call failed.'."\n", - 'type' => 'string', - 'example' => '400', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'DatabaseList' => [ - 'description' => 'The list of databases.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the database.'."\n", - '$ref' => '#/components/schemas/DLDatabase', - ], - ], - 'NextToken' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists. Set this parameter to the value of NextToken obtained from the previous query.'."\n", - 'type' => 'string', - 'example' => 'NesLoKLEdIZrKhDT7I2gSw==', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries to be returned in a request. You can use this parameter and NextToken to implement paging.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '207176D7-A9B3-55CE-A9DA-14E223A31913', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Category' => ['description' => 'The information about the category.'."\n", '$ref' => '#/components/schemas/MetaCategory', 'title' => '', 'example' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"207176D7-A9B3-55CE-A9DA-14E223A31913\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Category\\": {\\n \\"CategoryId\\": 30000181325,\\n \\"Name\\": \\"default\\",\\n \\"Depth\\": 1,\\n \\"ParentCategoryId\\": 30000322682,\\n \\"CreateTime\\": \\"2024-08-13 10:02:02\\",\\n \\"Description\\": \\"test\\",\\n \\"Remark\\": \\"asdasdasda\\",\\n \\"OwnerIds\\": [\\n 0\\n ],\\n \\"OwnerNickNames\\": [\\n \\"test\\"\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Create an asset category', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateMetaCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"400\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"DatabaseList\\": [\\n {\\n \\"Description\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"DbId\\": 0,\\n \\"CatalogName\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Location\\": \\"\\"\\n }\\n ],\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gSw==\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', - 'title' => 'ListDataLakeDatabase', ], - 'GetDataLakeDatabase' => [ - 'summary' => 'Queries the information about the database in the data lake.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateOrder' => [ + 'summary' => 'Create a ticket.'."\n", + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '249583', - 'abilityTreeNodes' => [ - 'FEATUREdms25Q07S', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREdms25Q07S'], ], 'parameters' => [ [ - 'name' => 'DataRegion', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'CatalogName', + 'name' => 'Comment', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The description of the ticket to be created.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'Name', + 'name' => 'PluginParam', + 'in' => 'formData', + 'style' => 'json', + 'schema' => ['description' => 'The ticket creation parameter. The value is a JSON string. The value of this parameter differs based on the type of the ticket. For more information, see the **PluginParam parameter** section in this topic.'."\n", 'type' => 'object', 'required' => true, 'docRequired' => true, 'example' => '{PluginParam_test}', 'title' => ''], + ], + [ + 'name' => 'RelatedUserList', 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The IDs of the stakeholders that are involved in the ticket. Separate multiple IDs with commas (,).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'user1,user2', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'PluginType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3', - ], + 'schema' => ['description' => 'The type of the ticket. For more information, see [PluginType parameter](~~429109~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DATA_EXPORT', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'AttachmentKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The key of an attachment that is returned after the attachment is uploaded. You can call the [GetUserUploadFileJob](~~206069~~) operation to query the key of the attachment.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_AttachmentKey', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ + 'CreateOrderResult' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OrderIds' => [ + 'description' => 'The ID of the ticket.'."\n", + 'type' => 'array', + 'items' => ['description' => 'Ticket ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '12***', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', 'title' => '', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'E5EE2B9E-2F95-57FA-B284-CB441CEE49D6', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => '404', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'code: 404, can not find catalog, name : hive1 request id: FF737753-9641-1F51-AFDA-7DF541114B29', - ], - 'Database' => [ - 'description' => 'The database information.'."\n", - '$ref' => '#/components/schemas/DLDatabase', + 'example' => '', ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6****', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CreateOrderResult\\": {\\n \\"OrderIds\\": [\\n 0\\n ]\\n },\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6****\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Create Ticket', + 'description' => 'To simplify ticket creation, if you need to create tickets of the following types, invoke the dedicated API instead:'."\n" + .'- Standard Data Updated At ticket: invoke the [CreateDataCorrectOrder](~~208388~~) API.'."\n" + .'- Historical Data cleanup ticket: invoke the [CreateDataCronClearOrder](~~208385~~) API.'."\n" + .'- Data Import ticket: invoke the [CreateDataImportOrder](~~208387~~) API.'."\n" + .'- Lockless change ticket: invoke the [CreateFreeLockCorrectOrder](~~208386~~) API.'."\n", + 'requestParamsDescription' => '### Additional description of PluginParam parameters'."\n" + ."\n" + .'```'."\n" + .'# Schema design'."\n" + .' {'."\n" + .' "title": "test", // title'."\n" + .' "description": "test", // Description'."\n" + .' "dbId": 11****, // baseline database'."\n" + .' "logic": false, // is logical database'."\n" + .' "relatedIds": [], // User IDs of stakeholders involved in the change'."\n" + .' }'."\n" + ."\n" + .'# Data exporting'."\n" + .' {'."\n" + .' "classify": "Reason categorization", // Reason categorization'."\n" + .' "dbId": 17****, // Export database ID'."\n" + .' "exeSQL": "select 1", // Export SQL'."\n" + .' "logic": false, // is logical database'."\n" + .' "ignoreAffectRows": false, // Whether to ignore validation of affected rows'."\n" + .' "affectRows": 1, // User-estimated number of affected rows'."\n" + .' "ignoreAffectRowsReason": "" // Reason for ignoring affected row count validation'."\n" + .' }'."\n" + ."\n" + .'# Permission ticket'."\n" + .'{'."\n" + .' "seconds": xxx, // Permission duration, in seconds'."\n" + .' "permType": xx, // Permission Type: 1 - query, 2 - export, 4 - Change. If multiple permission types are requested, their values are summed; for example, query and export permissions correspond to a value of 3.'."\n" + .' "resources": [{'."\n" + .' "dbId": xxx, // Database ID'."\n" + .' "instanceId": xxx, // Instance ID'."\n" + .' "logic": xxx, // is logical database'."\n" + .' "tableName": xxx, // Table Name'."\n" + .' "tableId": xxx, // Table ID'."\n" + .' "columnName": xxx // Field Name'."\n" + .' }],'."\n" + .' "type": "xx" // INSTANT, DB, or TABLE'."\n" + .'}'."\n" + ."\n" + .'```'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5EE2B9E-2F95-57FA-B284-CB441CEE49D6\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"404\\",\\n \\"ErrorMessage\\": \\"code: 404, can not find catalog, name : hive1 request id: FF737753-9641-1F51-AFDA-7DF541114B29\\",\\n \\"Database\\": {\\n \\"Description\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"DbId\\": 0,\\n \\"CatalogName\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Location\\": \\"\\"\\n }\\n}","type":"json"}]', - 'title' => 'GetDataLakeDatabase', ], - 'ListDataLakeCatalog' => [ - 'summary' => 'Queries a list of data catalogs in a data lake.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateProcCorrectOrder' => [ + 'summary' => 'Creates a programmable object ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '249778', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], 'parameters' => [ [ - 'name' => 'DataRegion', + 'name' => 'Comment', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The remarks of the ticket.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'RelatedUserList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The keyword that is used to search for catalogs.'."\n", - 'type' => 'string', + 'description' => 'The operators that are related to the ticket.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the operator that is related to the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1342**', 'title' => ''], 'required' => false, - 'docRequired' => true, - 'example' => 'hive', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Tid', + 'name' => 'Param', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3', + 'description' => 'The parameters of the ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'Classify' => ['description' => 'The reason for the programmable object change.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'DbItemList' => [ + 'description' => 'The information about the database.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the database.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The database ID. Databases are divided into physical databases and logical databases.'."\n" + ."\n" + .'* To query the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" + .'* To query the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1972****', 'title' => ''], + 'Logic' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is a physical database.'."\n", 'type' => 'boolean', 'required' => true, 'example' => 'false', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'RollbackSQL' => ['description' => 'The SQL statements for rolling back the data change.'."\n" + ."\n" + .'> This parameter is required if you set the **RollbackSqlType** parameter to **TEXT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'empty', 'title' => ''], + 'RollbackAttachmentName' => ['description' => 'The key of the attachment that contains the SQL statements used to roll back the data change. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of AttachmentKey.'."\n" + ."\n" + .'> This parameter is required if you set **RollbackSqlType** to **ATTACHMENT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_rollback.sql', 'title' => ''], + 'RollbackSqlType' => [ + 'description' => 'The format of the SQL statements used to roll back the data change. Valid values:'."\n" + ."\n" + .'* **TEXT**'."\n" + .'* **ATTACHMENT**'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'TEXT', + 'enum' => ['TEXT', 'ATTACHMENT'], + 'title' => '', + ], + 'ExecSQL' => ['description' => 'The SQL statements for data change.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'DELIMITER ///'."\n" + .'CREATE PROCEDURE GetAllProducts()'."\n" + .'BEGIN'."\n" + .'SELECT * FROM base_user;'."\n" + .'END ///', 'title' => ''], + 'ExecMode' => [ + 'description' => 'The mode in which the data change ticket is executed after the ticket is approved. Valid values:'."\n" + ."\n" + .'* **COMMITOR**: The ticket is executed by the user who submits the ticket.'."\n" + .'* **AUTO**: The ticket is automatically executed after the ticket is approved.'."\n" + .'* **LAST_AUDITOR**: The ticket is executed by the last approver of the ticket.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'COMMITOR', + 'default' => 'COMMITOR', + 'enum' => ['COMMITOR', 'AUTO', 'LAST_AUDITOR'], + 'title' => '', + ], + ], + 'required' => true, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'WorkspaceId', + 'name' => 'AttachmentKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The key of the attachment for the ticket. The attachment provides more instructions for this operation.'."\n" + ."\n" + .'You can call the [GetUserUploadFileJob](~~206069~~) operation to query the key of the attachment.'."\n", 'type' => 'string', 'required' => false, 'example' => 'order_attachment.txt', 'title' => ''], + ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '4***', 'title' => ''], ], ], 'responses' => [ @@ -9785,492 +6657,308 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The ID of the request. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'E76DD2E7-EBAC-5724-B163-19AAC233F8F2', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => '400', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'CataLogList' => [ - 'description' => 'The list of catalogs.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'CreateOrderResult' => [ + 'description' => 'The ticket IDs.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The catalog.'."\n", - '$ref' => '#/components/schemas/DLCatalog', - ], + 'items' => ['description' => 'The ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12*****', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","type":"json"}]', + 'title' => 'CreateProcCorrectOrder', + 'description' => 'You can call this API operation only for database instances that are managed in Security Collaboration mode.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateProcCorrectOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E76DD2E7-EBAC-5724-B163-19AAC233F8F2\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"400\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"CataLogList\\": [\\n {\\n \\"Description\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Location\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListDataLakeCatalog', ], - 'GetDataLakeCatalog' => [ - 'summary' => 'Queries the data catalog of the data lake.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateProxy' => [ + 'summary' => 'Enables the secure access proxy feature for a database instance.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '249777', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'operationType' => 'create', + 'abilityTreeCode' => '43589', + 'abilityTreeNodes' => ['FEATUREdmsKBRCZC'], ], 'parameters' => [ [ - 'name' => 'DataRegion', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the database instance. You can call the [ListInstances](https://www.alibabacloud.com/help/en/data-management-service/latest/listinstances) or [GetInstance](https://www.alibabacloud.com/help/en/data-management-service/latest/getinstance) operation to query the database instance ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '183****', 'title' => ''], ], [ - 'name' => 'CatalogName', + 'name' => 'Username', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The username of the database account.', 'type' => 'string', 'required' => true, 'example' => 'username', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'Password', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3', - ], + 'schema' => ['description' => 'The password of the database account.', 'type' => 'string', 'required' => true, 'example' => '******', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) operation to query the tenant ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => '400', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'code: 404, can not find catalog, name : hiv request id: 6090E571-E5B1-1E6D-BF44-F9E10E8B7EB1', - ], - 'Catalog' => [ - 'description' => 'The information about the catalog.'."\n", - '$ref' => '#/components/schemas/DLCatalog', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '4FFD154E-F57F-5374-B568-D6276F15****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.', 'type' => 'string', 'example' => 'Instance proxy already exists.', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.', 'type' => 'string', 'example' => 'InvalidParameterValid', 'title' => ''], + 'ProxyId' => ['description' => 'The ID of the secure access proxy.', 'type' => 'integer', 'format' => 'int64', 'example' => '4**', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"400\\",\\n \\"ErrorMessage\\": \\"code: 404, can not find catalog, name : hiv request id: 6090E571-E5B1-1E6D-BF44-F9E10E8B7EB1\\",\\n \\"Catalog\\": {\\n \\"Description\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Location\\": \\"\\"\\n }\\n}","type":"json"}]', - 'title' => 'GetDataLakeCatalog', - ], - 'ListDataLakeTablebaseInfo' => [ - 'summary' => 'Queries basic information about tables in the data lake.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4FFD154E-F57F-5374-B568-D6276F15****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"Instance proxy already exists.\\",\\n \\"ErrorCode\\": \\"InvalidParameterValid\\",\\n \\"ProxyId\\": 0\\n}","errorExample":""},{"type":"xml","example":"<CreateProxyResponse>\\n <RequestId>4FFD154E-F57F-5374-B568-D6276F15****</RequestId>\\n <ProxyId>4**</ProxyId>\\n <Success>true</Success>\\n</CreateProxyResponse>","errorExample":""}]', + 'title' => 'CreateProxy', + 'description' => '- The database instance runs the MySQL or MariaDB database engine. For example, the database instance can be an ApsaraDB RDS for MySQL instance, a PolarDB for MySQL cluster, a Distributed Relational Database Service (DRDS) cluster, or an AnalyticDB for MySQL cluster. The database instance can also be a self-managed MySQL or MariaDB database, or a MySQL or MariaDB database in a third-party cloud.'."\n" + .'- The database instance resides in the China (Hangzhou) or China (Beijing) region.'."\n" + .'- You are a Data Management (DMS) administrator, a database administrator (DBA), or the owner of the database instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProxy'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateProxyAccess' => [ + 'summary' => 'Grants a user the permissions to access a database instance by using the secure access proxy feature.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '249769', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'operationType' => 'create', + 'abilityTreeCode' => '43700', + 'abilityTreeNodes' => ['FEATUREdmsKBRCZC'], ], 'parameters' => [ [ - 'name' => 'DataRegion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'Rows', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '200', - 'minimum' => '0', - 'example' => '10', - ], - ], - [ - 'name' => 'Page', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the user. You can call the [ListUsers](https://www.alibabacloud.com/help/en/data-management-service/latest/listusers) or [GetUser](https://www.alibabacloud.com/help/en/data-management-service/latest/getuser) operation to obtain this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'ProxyId', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword that is used to search for tables.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the security protection agent. You can call the [ListProxies](https://www.alibabacloud.com/help/en/data-management-service/latest/listproxies) or [GetProxy](https://www.alibabacloud.com/help/en/data-management-service/latest/getproxy) operation to obtain this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'IndepAccount', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database to which the table belongs.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The database account.', 'type' => 'string', 'required' => false, 'example' => 'xxx', 'title' => ''], ], [ - 'name' => 'CatalogName', + 'name' => 'IndepPassword', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The password that is used to log on to the database.', 'type' => 'string', 'required' => false, 'example' => 'xxx', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], - ], - [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) or [ListUserTenants](https://www.alibabacloud.com/help/en/data-management-service/latest/listusertenants) operation to obtain this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B43AD641-49C2-5299-9E06-1B37EC1B****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => '400', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'Specified parameter Rows is not valid.', - ], - 'TablebaseInfoList' => [ - 'description' => 'The list of tables in the data lake.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The basic information about the table.'."\n", - '$ref' => '#/components/schemas/DLTablebaseInfo', - ], - ], - 'TotalCount' => [ - 'description' => 'The number of tables that meet the conditions.'."\n", - 'type' => 'string', - 'example' => '100', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned to the query task.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'ProxyAccessId' => ['description' => 'The ID of the security protection authorization. After the security protection agent authorizes the target user, the system automatically generates a security protection authorization ID. The ID is globally unique.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'CreateProxyAccess', + 'description' => '- The data security protection feature is enabled for the instance.'."\n" + .'- Your user role is the administrator role, DBA role, or the owner of data security protection for the current instance.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateProxyAccess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B43AD641-49C2-5299-9E06-1B37EC1B****\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"400\\",\\n \\"ErrorMessage\\": \\"Specified parameter Rows is not valid.\\",\\n \\"TablebaseInfoList\\": [\\n {\\n \\"Owner\\": \\"\\",\\n \\"ViewOriginalText\\": \\"\\",\\n \\"TableType\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"CreatorId\\": 0,\\n \\"CreateTime\\": 0,\\n \\"LastAccessTime\\": 0,\\n \\"Retention\\": 0,\\n \\"Name\\": \\"\\",\\n \\"OwnerType\\": \\"\\",\\n \\"ViewExpandedText\\": \\"\\",\\n \\"DbId\\": 0,\\n \\"DbName\\": \\"\\",\\n \\"CatalogName\\": \\"\\",\\n \\"PartitionKeys\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"ModifierId\\": 0,\\n \\"Location\\": \\"\\"\\n }\\n ],\\n \\"TotalCount\\": \\"100\\"\\n}","type":"json"}]', - 'title' => 'ListDataLakeTablebaseInfo', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"200\\",\\n \\"ProxyAccessId\\": 1\\n}","errorExample":""},{"type":"xml","example":"<CreateProxyAccessResponse>\\n <RequestId>22A0495C-566D-5A90-A51A-7E737AD5980A</RequestId>\\n <ProxyAccessId>1</ProxyAccessId>\\n <Success>true</Success>\\n</CreateProxyAccessResponse>","errorExample":""}]', ], - 'GetDataLakeTable' => [ - 'summary' => 'Queries basic information about tables in the data lake.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreatePublishGroupTask' => [ + 'summary' => 'Executes a schema design ticket.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '249771', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'DataRegion', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '10****', 'title' => ''], ], [ - 'name' => 'CatalogName', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The ID of the ticket.'."\n" + ."\n" + .'> : You can create a schema design ticket in the DMS console. For more information, see [Design schemas](~~69711~~). You can also create a schema design ticket by calling the [CreateOrder](~~144649~~) operation and obtain the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '34****', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database to which the table belongs.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the database for which the schema design is executed.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1860****', 'title' => ''], ], [ - 'name' => 'Name', + 'name' => 'Logic', 'in' => 'query', - 'schema' => [ - 'description' => 'The table name.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '100g_customer', - ], + 'schema' => ['description' => 'Indicates whether the database is a logical database.'."\n", 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'PublishStrategy', 'in' => 'query', 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3', + 'description' => 'The policy to execute the schema design ticket. Valid values:'."\n" + ."\n" + .'* IMMEDIATELY: immediately executes the schema design ticket.'."\n" + .'* REGULARLY: executes the schema design ticket at a scheduled time.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'IMMEDIATELY', + 'enum' => ['IMMEDIATELY', 'REGULARLY'], + 'enumValueTitles' => ['IMMEDIATELY' => '立即执行', 'REGULARLY' => '定时执行'], + 'title' => '', ], ], [ - 'name' => 'WorkspaceId', + 'name' => 'PlanTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The time to execute the schema design ticket.'."\n", 'type' => 'string', 'required' => false, 'example' => '2023-10-09 15:24:11', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => '400', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'Unknown server error', - ], - 'Table' => [ - 'description' => 'The information of the table.'."\n", - '$ref' => '#/components/schemas/DLTable', - ], + 'TaskId' => ['description' => 'The ID of the job.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '522***', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '28A1B16E-8CC7-51C3-A298-B8FC79AEB0A0', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'CreatePublishGroupTask', + 'description' => '仅管控模式为安全协同的数据库实例可调用此API。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreatePublishGroupTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrorCode\\": \\"400\\",\\n \\"ErrorMessage\\": \\"Unknown server error\\",\\n \\"Table\\": {\\n \\"ViewOriginalText\\": \\"\\",\\n \\"Owner\\": \\"\\",\\n \\"TableType\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"CreatorId\\": 0,\\n \\"CreateTime\\": 0,\\n \\"StorageDescriptor\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 0,\\n \\"Col\\": \\"\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"InputFormat\\": \\"\\",\\n \\"OutputFormat\\": \\"\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"IsCompressed\\": true,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"\\",\\n \\"DeserializerClass\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"\\",\\n \\"Name\\": \\"\\"\\n },\\n \\"BucketCols\\": [\\n \\"\\"\\n ],\\n \\"NumBuckets\\": 0,\\n \\"Location\\": \\"\\"\\n },\\n \\"LastAccessTime\\": 0,\\n \\"Retention\\": 0,\\n \\"Name\\": \\"\\",\\n \\"OwnerType\\": \\"\\",\\n \\"ViewExpandedText\\": \\"\\",\\n \\"DbId\\": 0,\\n \\"DbName\\": \\"\\",\\n \\"CatalogName\\": \\"\\",\\n \\"PartitionKeys\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"ModifierId\\": 0,\\n \\"Location\\": \\"\\"\\n }\\n}","type":"json"}]', - 'title' => 'GetDataLakeTable', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TaskId\\": 0,\\n \\"RequestId\\": \\"28A1B16E-8CC7-51C3-A298-B8FC79AEB0A0\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RequestId>78C93646-D9B1-4E6E-B5FD-C69F94A7905A</RequestId>\\n<Success>true</Success>\\n<TaskId>13424</TaskId>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', ], - 'BatchCreateDataLakePartitions' => [ - 'summary' => 'Creates multiple partitions for a table in a data lakehouse at a time.', - 'path' => '', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateSQLReviewOrder' => [ + 'summary' => 'Creates a SQL review ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10278,470 +6966,289 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'CatalogName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The catalog name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], - ], - [ - 'name' => 'DbName', + 'name' => 'Comment', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database that you want to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The purpose or objective of the SQL review. This reduces unnecessary communication.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'TableName', + 'name' => 'RelatedUserList', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_table', - ], - ], - [ - 'name' => 'PartitionInputs', - 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'description' => 'The information about the new partitions.'."\n", + 'description' => 'The stakeholders involved in this operation. All the specified stakeholders can view the ticket details and take part in the approval process. Irrelevant users other than DMS administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The information about the partition in the data lake.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/DLPartitionInput', - ], - 'required' => true, - ], - ], - [ - 'name' => 'IfNotExists', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to ignore this exception if the name of the new partition is the same as that of an existing partition. Valid values:'."\n" - ."\n" - .'* true: Ignore the exception.'."\n" - .'* false: Do not ignore the exception.'."\n", - 'type' => 'boolean', + 'items' => ['description' => 'The IDs of the stakeholders.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '123443', 'title' => ''], 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'NeedResult', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to return partition information. If the value is true, Partitions is returned.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DataRegion', + 'name' => 'Param', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', + 'description' => 'The parameters of the ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'ProjectName' => ['description' => 'The name of the project.'."\n", 'type' => 'string', 'required' => true, 'example' => 'xxx business SQL review', 'title' => ''], + 'DbId' => ['description' => 'The ID of the database. You can call the [SearchDatabases](~~141876~~) operation to query the ID of the database.'."\n" + ."\n" + .'> You can call this operation to query only physical databases. This operation is unavailable to query logical databases.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123321', 'title' => ''], + 'AttachmentKeyList' => [ + 'description' => 'The files to be reviewed. Multiple files can be reviewed at a time.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The key of the file. You can add multiple keys. To obtain the key of a file, call the [GetUserUploadFileJob](~~206069~~) operation.'."\n" + ."\n" + .'> Only XML files based on the iBatis or MyBatis framework or TXT files are supported.'."\n", 'type' => 'string', 'required' => false, 'example' => 'upload_xxxx.sql', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + ], 'required' => true, - 'example' => 'cn-hangzhou', + 'title' => '', + 'example' => '', ], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], - ], - [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request succeeded.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'Partitions' => [ - 'description' => 'The details about the new partitions. This parameter is returned when the NeedResult parameter is set to true.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => '200', 'title' => ''], + 'CreateOrderResult' => [ + 'description' => 'The result of the ticket creation task.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The details of the partitions.'."\n", - '$ref' => '#/components/schemas/DLPartition', - ], + 'items' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1423532', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": \\"true\\",\\n \\"Partitions\\": [\\n {\\n \\"TableName\\": \\"\\",\\n \\"Sd\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 0,\\n \\"Col\\": \\"\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"InputFormat\\": \\"\\",\\n \\"OutputFormat\\": \\"\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"IsCompressed\\": true,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"\\",\\n \\"DeserializerClass\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"\\",\\n \\"Name\\": \\"\\"\\n },\\n \\"BucketCols\\": [\\n \\"\\"\\n ],\\n \\"NumBuckets\\": 0,\\n \\"Location\\": \\"\\"\\n },\\n \\"Parameters\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"CreateTime\\": 0,\\n \\"Values\\": [\\n \\"\\"\\n ],\\n \\"CatalogName\\": \\"\\",\\n \\"DbName\\": \\"\\",\\n \\"LastAccessTime\\": 0\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'BatchCreateDataLakePartitions', - ], - 'UpdateDataLakeTable' => [ - 'summary' => 'Updates the information about a table in a data lakehouse.', - 'path' => '', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"200\\",\\n \\"CreateOrderResult\\": [\\n 1423532\\n ]\\n}","errorExample":""},{"type":"xml","example":"<CreateSQLReviewOrderResponse>\\n <RequestId>0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931</RequestId>\\n <Success>true</Success>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <ErrorCode>UnknownError</ErrorCode>\\n <CreateOrderResult>1423532</CreateOrderResult>\\n</CreateSQLReviewOrderResponse>","errorExample":""}]', + 'title' => 'CreateSQLReviewOrder', + 'description' => 'You can call this operation only for database instances that are managed in Security Collaboration mode.'."\n" + ."\n" + .'For more information about the SQL review feature, see [SQL review](~~60374~~).'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSQLReviewOrder'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateSQLReviewOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateScenario' => [ + 'summary' => 'Creates a business scenario to group task flows by business scenario.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '149047', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'CatalogName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], - ], - [ - 'name' => 'DbName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], - ], - [ - 'name' => 'TableInput', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The information about the table.'."\n", - 'required' => true, - '$ref' => '#/components/schemas/open_struct_DLTableInput', - ], - ], - [ - 'name' => 'DataRegion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'TableName', + 'name' => 'ScenarioName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the updated table. If you do not need to update the table name, set the TableName and TableInput parameters to the same value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '100g_customer', - ], + 'schema' => ['description' => 'The name of the business scenario.', 'type' => 'string', 'example' => 'Business scenario-test', 'required' => true, 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The description of the business scenario.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C5B8E84B-42B6-4374-AD5A-6264E1753325', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Table' => [ - 'description' => 'The information about the table.'."\n", - '$ref' => '#/components/schemas/DLTable', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ScenarioId' => ['description' => 'The ID of the business scenario.', 'type' => 'integer', 'format' => 'int64', 'example' => '36***', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C5B8E84B-42B6-4374-AD5A-6264E1753325\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Table\\": {\\n \\"ViewOriginalText\\": \\"\\",\\n \\"Owner\\": \\"\\",\\n \\"TableType\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"CreatorId\\": 0,\\n \\"CreateTime\\": 0,\\n \\"StorageDescriptor\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 0,\\n \\"Col\\": \\"\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"InputFormat\\": \\"\\",\\n \\"OutputFormat\\": \\"\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"IsCompressed\\": true,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"\\",\\n \\"DeserializerClass\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"\\",\\n \\"Name\\": \\"\\"\\n },\\n \\"BucketCols\\": [\\n \\"\\"\\n ],\\n \\"NumBuckets\\": 0,\\n \\"Location\\": \\"\\"\\n },\\n \\"LastAccessTime\\": 0,\\n \\"Retention\\": 0,\\n \\"Name\\": \\"\\",\\n \\"OwnerType\\": \\"\\",\\n \\"ViewExpandedText\\": \\"\\",\\n \\"DbId\\": 0,\\n \\"DbName\\": \\"\\",\\n \\"CatalogName\\": \\"\\",\\n \\"PartitionKeys\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"ModifierId\\": 0,\\n \\"Location\\": \\"\\"\\n }\\n}","type":"json"}]', - 'title' => 'UpdateDataLakeTable', - ], - 'UpdateDataLakePartition' => [ - 'summary' => 'Updates the partition information of a table in a data lakehouse.', - 'path' => '', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"ScenarioId\\": 0\\n}","type":"json"}]', + 'title' => 'CreateScenario', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateScenario'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateScenario', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'CreateStandardGroup' => [ + 'summary' => 'Creates a security rule set.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'CatalogName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], - ], - [ - 'name' => 'DbName', + 'name' => 'GroupName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database that you want to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The name of the security rule set.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Finance-production', 'title' => ''], ], [ - 'name' => 'TableName', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'table_name', - ], - ], - [ - 'name' => 'PartitionInput', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The information about the created partition.'."\n", - 'required' => true, - '$ref' => '#/components/schemas/DLPartitionInput', - ], + 'schema' => ['description' => 'The description of the security rule set.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Finance production environment instance rule', 'title' => ''], ], [ - 'name' => 'DataRegion', + 'name' => 'DbType', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The type of the database engine. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'mysql', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], - ], - [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3000', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'xxx', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'StandardGroup' => [ + 'description' => 'The information about the created security rule set.'."\n", + 'type' => 'object', + 'properties' => [ + 'GroupName' => ['title' => '', 'description' => 'The name of the security rule set.'."\n", 'type' => 'string', 'example' => 'Finance-production'], + 'Description' => ['description' => 'The description of the security rule set.'."\n", 'type' => 'string', 'example' => 'Finance production environment instance rule', 'title' => ''], + 'DbType' => ['description' => 'The type of the database engine. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'LastMenderId' => ['description' => 'The ID of the user who creates the security rule set.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '51****', 'title' => ''], + 'GroupMode' => ['description' => 'The control mode. Valid values:'."\n" + ."\n" + .'* **NONE_CONTROL**: Flexible Management'."\n" + .'* **STABLE**: Stable Change'."\n" + .'* **COMMON**: Security Collaboration'."\n", 'type' => 'string', 'example' => 'COMMON', 'title' => ''], + 'GroupId' => ['description' => 'The security rule set ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '41****'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'UpdateDataLakePartition', - ], - 'UpdateDataLakeDatabase' => [ - 'summary' => 'Updates the information about a database in a data lakehouse.', - 'path' => '', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"xxx\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"StandardGroup\\": {\\n \\"GroupName\\": \\"Finance-production\\",\\n \\"Description\\": \\"Finance production environment instance rule\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"LastMenderId\\": 0,\\n \\"GroupMode\\": \\"COMMON\\",\\n \\"GroupId\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'CreateStandardGroup', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateStandardGroup'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateStandardGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateStructSyncOrder' => [ + 'summary' => 'Creates a schema synchronization ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10749,161 +7256,154 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'CatalogName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The catalog name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], - ], - [ - 'name' => 'DbName', + 'name' => 'Comment', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database that you want to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The remarks of the ticket.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'Description', + 'name' => 'RelatedUserList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The description of the database.'."\n", - 'type' => 'string', + 'description' => 'The IDs of the stakeholders.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of a stakeholder.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '432***', 'title' => ''], 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'Location', - 'in' => 'query', - 'schema' => [ - 'description' => 'The storage path of the database. Supports the OSS, S3, and S3A protocols.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'oss://path/to/database', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Parameters', + 'name' => 'Param', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'The key-value pairs of the database attributes.'."\n", + 'description' => 'The parameters of the ticket.'."\n", 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '{"key":"value"}', - 'description' => 'The parameter key and value.'."\n", + 'properties' => [ + 'Source' => [ + 'description' => 'The information about the base database.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the database. You can call the [SearchDatabases](~~141876~~) operation to query the ID of the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '432****', 'title' => ''], + 'DbSearchName' => ['description' => 'The name that is used to search for the database. You can call the [SearchDatabases](~~141876~~) operation to query the name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], + 'Logic' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is not a logical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'VersionId' => ['description' => 'The version number of the schema. The default value is the latest schema version number. For more information, see [Manage schema versions](~~202275~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'e179bbb8163dcdcfacda24858bedb4d8006ae2b8', 'title' => ''], + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'Target' => [ + 'description' => 'The information about the database to which you want to synchronize the schema of a table.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the database. You can call the [SearchDatabases](~~141876~~) operation to query the ID of the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '432***', 'title' => ''], + 'DbSearchName' => ['description' => 'The name that is used to search for the database. You can call the [SearchDatabases](~~141876~~) operation to query the name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], + 'Logic' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is not a logical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'VersionId' => ['description' => 'The version number. By default, this parameter is left empty.'."\n" + ."\n" + .'> If you specify the schema version number of the destination database, Data Management (DMS) only compares the schemas of the two databases.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e179bbb8163dcdcfacda24858bedb4d8006ae2b8', 'title' => ''], + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'IgnoreError' => ['description' => 'Specifies whether to skip an error that occurs in executing an SQL statement. Valid values:'."\n" + ."\n" + .'* **true**: continues to execute subsequent SQL statements if an error occurs in executing an SQL statement.'."\n" + .'* **false**: stops executing subsequent SQL statements if an error occurs in executing an SQL statement.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'TableInfoList' => [ + 'description' => 'The information about the table of which you want to synchronize the schema.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The table of which you want to synchronize the schema.'."\n", + 'type' => 'object', + 'properties' => [ + 'SourceTableName' => ['description' => 'The name of the source table.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_tbl', 'title' => ''], + 'TargetTableName' => ['description' => 'The name of the destination table.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_tbl', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], ], - ], - ], - [ - 'name' => 'DataRegion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', 'required' => true, - 'example' => 'cn-hangzhou', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Tid', + 'name' => 'AttachmentKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The key of an attachment that is returned after the attachment is uploaded. You can call the [GetUserUploadFileJob](~~206069~~) operation to query the key of the attachment.'."\n", 'type' => 'string', 'required' => false, 'example' => 'upload_3c7edea3-e4c3-4403-857d-737043036f69_test.sql', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request succeeded.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Database' => [ - 'description' => 'The database details.'."\n", - '$ref' => '#/components/schemas/DLDatabase', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A'], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'CreateOrderResult' => [ + 'description' => 'The result of creating the ticket.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '432****', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'CreateStructSyncOrder', + 'description' => '仅管控模式为安全协同的数据库实例可调用此API。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateStructSyncOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Database\\": {\\n \\"Description\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"DbId\\": 0,\\n \\"CatalogName\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Location\\": \\"\\"\\n }\\n}","type":"json"}]', - 'title' => 'UpdateDataLakeDatabase', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","errorExample":""},{"type":"xml","example":"<CreateStructSyncOrderResponse>\\n <CreateOrderResult>2000000</CreateOrderResult>\\n <RequestId>0DF19315-DCAF-4376-8006-1CEB0BBC6B13</RequestId>\\n <Success>true</Success>\\n</CreateStructSyncOrderResponse>","errorExample":""}]', ], - 'ListDataLakeTableName' => [ - 'summary' => 'Queries a list of names of tables in a data lake.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateTask' => [ + 'summary' => 'Creates a task node for a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10912,197 +7412,309 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '249778', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '145318', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'DataRegion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'CatalogName', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'NodeName', 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The name of the node that you want to create.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'zhttest', 'title' => ''], ], [ - 'name' => 'TableNamePattern', + 'name' => 'NodeType', 'in' => 'query', - 'schema' => [ - 'description' => 'The regular expression that is used to match the table name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '.*', - ], + 'schema' => ['description' => 'The type of the node that you want to create. For more information about the valid values for this parameter, see [NodeType parameter](~~424705~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'NORMAL_SQL', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'NodeContent', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n" - ."\n" - .'* If **NextToken** is empty, there is no next page.'."\n" - .'* If a value of **NextToken** is returned, it indicates the token that is used for the next query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'f056501ada12c1cc', - ], + 'schema' => ['description' => 'The configuration of the node.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'TimeVariables', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of records per page. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '20', - ], + 'schema' => ['description' => 'The time variables configured for the node.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'TableType', + 'name' => 'NodeOutput', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the data table. Valid values:'."\n" - ."\n" - .'* MANAGED_TABLE'."\n" - .'* EXTERNAL_TABLE'."\n" - .'* VIRTUAL_VIEW'."\n" - .'* INDEX_TABLE'."\n" - .'* MATERIALIZED_VIEW'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MANAGED_TABLE', - ], + 'schema' => ['description' => 'The output variables configured for the task.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'GraphParam', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The position of the node on the Directed Acyclic Graph (DAG).', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C5B8E84B-42B6-4374-AD5A-6264E1753378', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'TableNameList' => [ - 'description' => 'The table names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The table name.'."\n", - 'type' => 'string', - 'example' => 'test_name', - ], - ], - 'NextToken' => [ - 'description' => 'The information about the token.'."\n", - 'type' => 'string', - 'example' => 'NesLoKLEdIZrKhDT7I2gS****', - ], - 'MaxResults' => [ - 'description' => 'The number of records per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.', 'type' => 'string', 'example' => 'CFD8FE00-36D9-4C1B-940D-65A7B73D9066', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.', 'type' => 'string', 'example' => 'InvalidParameterValid', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.', 'type' => 'string', 'example' => 'InvalidParameterValid', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true'."\n" + ."\n" + .'- false', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the task node returned when the task was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '3***', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C5B8E84B-42B6-4374-AD5A-6264E1753378\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"TableNameList\\": [\\n \\"test_name\\"\\n ],\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gS****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', - 'title' => 'ListDataLakeTableName', - ], - 'ListDataLakeTable' => [ - 'summary' => 'Queries a list of tables in a data lake.', - 'methods' => [ - 'post', - 'get', + 'title' => 'CreateTask', + 'requestParamsDescription' => '# Description of node-related parameters'."\n" + ."\n" + .'The configuration of a node varies based on the node type. This topic is a supplementary description of task node-related operations, such as CreateTask and UpdateTaskOutput. The NodeParam, NodeContent, and GraphParam parameters apply to all task node-related operations.<br>'."\n" + .'Only nodes such as single-instance SQL assignment, script code, and Elastic Compute Service (ECS) remote command have output variables. The configurations of output variables vary based on the node type. For more information, see the related topic of the UpdateTaskOutput operation.'."\n" + ."\n" + .'## SQL for single instance'."\n" + ."\n" + .'- DagId'."\n" + ."\n" + .'- NodeName'."\n" + ."\n" + .'- NodeType: 1'."\n" + ."\n" + .'- NodeParam'."\n" + ."\n" + .'- GraphParam'."\n" + ."\n" + .'- NodeContent:'."\n" + ."\n" + .'```Json'."\n" + .'{'."\n" + .' "dbId":123456, // The database ID.'."\n" + .' "sql":"/* Use the database syntax for the current node to write SQL statements */", // The SQL statement.'."\n" + .' "dbType":"lindorm_sql" // The database type.'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'## Script'."\n" + ."\n" + .'- DagId'."\n" + ."\n" + .'- NodeName'."\n" + ."\n" + .'- NodeType: 28'."\n" + ."\n" + .'- NodeParam'."\n" + ."\n" + .'- GraphParam'."\n" + ."\n" + .'- NodeOutput'."\n" + ."\n" + .'```Json'."\n" + .'{'."\n" + .' "outputs":['."\n" + .' {'."\n" + .' "extractMethod":"json", // The value is in the JSON format.'."\n" + .' "variableName":"var", // The name of the variable.'."\n" + .' "description":"demo desc" // The description of the variable.'."\n" + .' }'."\n" + .' ]'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'- NodeContent:'."\n" + ."\n" + .'```json'."\n" + .'{'."\n" + .' "regionId":"cn-hangzhou", // The region ID.'."\n" + .' "gatewayId":"dg-xxxxxxxxxxxxxx", // The gateway ID.'."\n" + .' "gatewayInstanceId":"dg-node-xxxxxxxxxxxxxx", // The ID of the gateway instance.'."\n" + .' "scriptFileName":"demo.sh", // The file name.'."\n" + .' "args":[ // The running parameters.'."\n" + .' "-n value",'."\n" + .' "-n1 value1"'."\n" + .' ]'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'## Lock-free data change'."\n" + ."\n" + .'- DagId'."\n" + ."\n" + .'- NodeName'."\n" + ."\n" + .'- NodeType: 24'."\n" + ."\n" + .'- NodeParam'."\n" + ."\n" + .'- GraphParam'."\n" + ."\n" + .'- NodeContent:'."\n" + ."\n" + .'```json'."\n" + .'{'."\n" + .' "dbId":123456, // The database ID.'."\n" + .' "sql":"/* Use the database syntax for the current node to write SQL statements */", // The SQL statement.'."\n" + .' "dbType":"polardb" // The database type.'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'## SQL assignment for single instance'."\n" + ."\n" + .'- DagId'."\n" + ."\n" + .'- NodeName'."\n" + ."\n" + .'- NodeType: 32'."\n" + ."\n" + .'- NodeParam'."\n" + ."\n" + .'- GraphParam'."\n" + ."\n" + .'- NodeOutput:'."\n" + ."\n" + .'```Json'."\n" + .'{'."\n" + .' "outputs":['."\n" + .' {'."\n" + .' /*'."\n" + .' // The variable extraction settings.'."\n" + .' {'."\n" + .' "row":0, // Rows. A value of -1 indicates all rows.'."\n" + .' "column":-1, // Columns. A value of -1 indicates all columns.'."\n" + .' "combiner":"," // The delimiter. If you select all rows or columns, you must specify a delimiter. The returned value of the variable is a string.'."\n" + .' }'."\n" + .' */'."\n" + .' "extractMethod":"{\\"row\\":0,\\"column\\":-1,\\"combiner\\":\\",\\"}", '."\n" + .' "variableName":"var", // The name of the variable.'."\n" + .' "description":"For demo" // The description of the variable.'."\n" + .' }'."\n" + .' ]'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'- NodeContent:'."\n" + ."\n" + .'```json'."\n" + .'{'."\n" + .' "dbId":123456, // The database ID.'."\n" + .' "sql":"/* Use the database syntax for the current node to write SQL statements. Only SELECT statements are supported. By default, the maximum number of rows returned is 30. *", // The SQL statement.'."\n" + .' "dbType":"lindorm_cql" // The database type.'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'## Dependency check'."\n" + ."\n" + .'- DagId'."\n" + ."\n" + .'- NodeName'."\n" + ."\n" + .'- NodeType: 2'."\n" + ."\n" + .'- NodeParam'."\n" + ."\n" + .'- GraphParam'."\n" + ."\n" + .'- NodeContent:'."\n" + ."\n" + .'```Json'."\n" + .'{'."\n" + .' "dependentDAGId":132, // Dependency object: task flow.'."\n" + .' "dependentNodeId":"", // Dependency object: a single node. By default, the dependency object is the specified task flow.'."\n" + .' "dependentStartTimePattern":"yyyy-MM-dd HH:mm|-2d+0h+0m", // The offset of the start time.'."\n" + .' "dependentEndTimePattern":"yyyy-MM-dd HH:mm|+1d +0h+0m", // The offset of the end time.'."\n" + .' "multiSuccessStrategy":2, // The instance check policy. A value of 0 specifies that the most previous node is successful. A value of 1 specifies that all nodes are successful. A value of 2 specifies that the specified node is successful'."\n" + .' "multiSuccessStrategyIndex":1 // Instance check policy: The node x+1 is successful.'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'## Status check of a time column in a table'."\n" + ."\n" + .'- DagId'."\n" + ."\n" + .'- NodeName'."\n" + ."\n" + .'- NodeType: 2'."\n" + ."\n" + .'- NodeParam'."\n" + ."\n" + .'- GraphParam'."\n" + ."\n" + .'- NodeContent:'."\n" + ."\n" + .'```Json'."\n" + .'{'."\n" + .' "dependentDAGId":132, // Dependency object: task flow.'."\n" + .' "dependentNodeId":"", // Dependency object: a single node. By default, the dependency object is the specified task flow.'."\n" + .' "dependentStartTimePattern":"yyyy-MM-dd HH:mm|-2d+0h+0m", // The offset of the start time.'."\n" + .' "dependentEndTimePattern":"yyyy-MM-dd HH:mm|+1d +0h+0m", // The offset of the end time.'."\n" + .' "multiSuccessStrategy":2, // The instance check policy. A value of 0 specifies that the most previous node is successful. A value of 1 specifies that all nodes are successful. A value of 2 specifies that the specified node is successful'."\n" + .' "multiSuccessStrategyIndex":1 // Instance check policy: The node x+1 is successful.'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'## SQL status check'."\n" + ."\n" + .'- DagId'."\n" + ."\n" + .'- NodeName'."\n" + ."\n" + .'- NodeType: 25'."\n" + ."\n" + .'- NodeParam'."\n" + ."\n" + .'- GraphParam'."\n" + ."\n" + .'- NodeContent:'."\n" + ."\n" + .'```Json'."\n" + .'{'."\n" + .' "dbId":123456,'."\n" + .' "sql":"/* Use the database syntax for the current node to write SQL statements*/ \\n\\n select 1 from abc",'."\n" + .' "dbType":"lindorm_cql"'."\n" + .'}'."\n" + .'```', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTask'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CFD8FE00-36D9-4C1B-940D-65A7B73D9066\\",\\n \\"ErrorCode\\": \\"InvalidParameterValid\\",\\n \\"ErrorMessage\\": \\"InvalidParameterValid\\",\\n \\"Success\\": true,\\n \\"NodeId\\": 0\\n}","type":"json"}]', + ], + 'CreateTaskFlow' => [ + 'summary' => 'Creates a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11111,307 +7723,229 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '249778', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '144894', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'DataRegion', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'DagName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The name of the task flow.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Dag_Name', 'title' => ''], ], [ - 'name' => 'CatalogName', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The description of the task flow.', 'type' => 'string', 'required' => false, 'example' => 'zht_test', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'ScenarioId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the scenario.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2**', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', + 'description' => 'The response parameters.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.', 'type' => 'string', 'example' => '19DA51A9-AC3E-5C36-8351-07EBCD2B89A1', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.', 'type' => 'string', 'example' => 'User can not access to Tenant [1]', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DagId' => ['description' => 'The ID of the task flow.', 'type' => 'integer', 'format' => 'int64', 'example' => '33***', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'CreateTaskFlow', + 'requestParamsDescription' => 'DagName is unique to each task flow. If the DagName you specify already exists, the request fails.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTaskFlow'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [ [ - 'name' => 'TableNamePattern', - 'in' => 'query', - 'schema' => [ - 'description' => 'The regular expression that is used to match the names of metadata tables.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '.*', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"19DA51A9-AC3E-5C36-8351-07EBCD2B89A1\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"User can not access to Tenant [1]\\",\\n \\"Success\\": true,\\n \\"DagId\\": 0\\n}","type":"json"}]', + ], + 'CreateUploadFileJob' => [ + 'summary' => 'Creates a task to upload an attachment file.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ [ - 'name' => 'TableType', + 'name' => 'FileSource', 'in' => 'query', 'schema' => [ - 'description' => 'The type of the data table. Valid values:'."\n" + 'description' => 'The purpose of the attachment file. Valid values:'."\n" ."\n" - .'* MANAGED_TABLE'."\n" - .'* EXTERNAL_TABLE'."\n" - .'* VIRTUAL_VIEW'."\n" - .'* INDEX_TABLE'."\n" - .'* MATERIALIZED_VIEW'."\n", + .'* **datacorrect**: The file is uploaded to change data.'."\n" + .'* **order_info_attachment**: The file is uploaded as an attachment in a ticket.'."\n" + .'* **big-file**: The file is uploaded to import multiple data records at a time.'."\n" + .'* **sqlreview**: The file is uploaded for SQL review.'."\n", 'type' => 'string', - 'required' => false, - 'example' => 'MANAGED_TABLE', + 'required' => true, + 'example' => 'datacorrect', + 'enum' => ['datacorrect', 'order_info_attachment', 'big-file', 'sqlreview'], + 'title' => '', ], ], [ - 'name' => 'NextToken', + 'name' => 'FileName', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n" - ."\n" - .'* If **NextToken** is empty, there is no next page.'."\n" - .'* If a value of **NextToken** is returned, it indicates the token that is used for the next query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'f056501ada12c1cc', - ], + 'schema' => ['description' => 'The name of the attachment file.'."\n" + ."\n" + .'> The file name must end with .txt or .sql. For example, the file name can be test.txt or test.sql.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test.txt', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'UploadURL', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of records per page. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '20', - ], + 'schema' => ['description' => 'The URL of the attachment file. The URL must be an HTTP URL or an HTTPS URL.'."\n" + ."\n" + .'> You can upload the attachment file to an Object Storage Service (OSS) bucket and obtain the URL of the file in the OSS console. For more information, see [Share objects](~~195674~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'https://XXX.oss-cn-hangzhou.aliyuncs.com/test.txt', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '3D3FB827-E667-50DB-AD59-C83F8237FECB', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'TableList' => [ - 'description' => 'The details of the tables.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The queried table.'."\n", - '$ref' => '#/components/schemas/DLTable', - ], - ], - 'NextToken' => [ - 'description' => 'The information about the token.'."\n", - 'type' => 'string', - 'example' => 'NesLoKLEdIZrKhDT7I2gS****', - ], - 'MaxResults' => [ - 'description' => 'The number of records per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'E103C5F9-DE47-53F2-BF34-D71DF38F****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'Unsupported url scheme : null, scheme must be https or http', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'InvalidParameterValid', 'title' => ''], + 'JobKey' => ['description' => 'The key of the task.'."\n" + ."\n" + .'> You can call the [GetUserUploadFileJob](~~206069~~) operation to query the progress and details of the task.'."\n", 'type' => 'string', 'example' => '761f18031635736380812****', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'CreateUploadFileJob', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateUploadFileJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3D3FB827-E667-50DB-AD59-C83F8237FECB\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"TableList\\": [\\n {\\n \\"ViewOriginalText\\": \\"\\",\\n \\"Owner\\": \\"\\",\\n \\"TableType\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"CreatorId\\": 0,\\n \\"CreateTime\\": 0,\\n \\"StorageDescriptor\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 0,\\n \\"Col\\": \\"\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"InputFormat\\": \\"\\",\\n \\"OutputFormat\\": \\"\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"IsCompressed\\": true,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"\\",\\n \\"DeserializerClass\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"\\",\\n \\"Name\\": \\"\\"\\n },\\n \\"BucketCols\\": [\\n \\"\\"\\n ],\\n \\"NumBuckets\\": 0,\\n \\"Location\\": \\"\\"\\n },\\n \\"LastAccessTime\\": 0,\\n \\"Retention\\": 0,\\n \\"Name\\": \\"\\",\\n \\"OwnerType\\": \\"\\",\\n \\"ViewExpandedText\\": \\"\\",\\n \\"DbId\\": 0,\\n \\"DbName\\": \\"\\",\\n \\"CatalogName\\": \\"\\",\\n \\"PartitionKeys\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"ModifierId\\": 0,\\n \\"Location\\": \\"\\"\\n }\\n ],\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gS****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', - 'title' => 'ListDataLakeTable', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E103C5F9-DE47-53F2-BF34-D71DF38F****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"Unsupported url scheme : null, scheme must be https or http\\",\\n \\"ErrorCode\\": \\"InvalidParameterValid\\",\\n \\"JobKey\\": \\"761f18031635736380812****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateUploadFileJobResponse>\\n <JobKey>761f18031635736380812****</JobKey>\\n <RequestId>E103C5F9-DE47-53F2-BF34-D71DF38F****</RequestId>\\n <Success>true</Success>\\n</CreateUploadFileJobResponse>","errorExample":""}]', ], - 'ListDataLakePartitionName' => [ - 'summary' => 'Queries a list of partition names of a table in a data lake.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateUploadOSSFileJob' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '249778', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'DataRegion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'Tid', + 'name' => 'FileSource', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" + 'description' => 'The purpose of the file upload task. Valid values:'."\n" ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], - ], - [ - 'name' => 'CatalogName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", + .'* **datacorrect**: The file is uploaded to change data.'."\n" + .'* **order_info_attachment**: The file is uploaded as an attachment in a ticket.'."\n" + .'* **big-file**: The file is uploaded to import multiple data records at a time.'."\n" + .'* **sqlreview**: The file is uploaded for SQL review.'."\n", 'type' => 'string', 'required' => true, - 'example' => 'hive', + 'example' => 'datacorrect', + 'enum' => ['datacorrect', 'order_info_attachment', 'big-file', 'sqlreview'], + 'title' => '', ], ], [ - 'name' => 'DbName', + 'name' => 'FileName', 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The name of the file.'."\n" + ."\n" + .'> The file name must end with .txt or .sql. For example, the file name can be text.txt.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test.sql', 'title' => ''], ], [ - 'name' => 'TableName', + 'name' => 'UploadTarget', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', + 'description' => 'The information about the OSS file to be uploaded.'."\n", + 'type' => 'object', + 'properties' => [ + 'Endpoint' => ['description' => 'The endpoint of the OSS bucket.'."\n", 'type' => 'string', 'required' => true, 'example' => 'http://oss-cn-hangzhou.aliyuncs.com', 'title' => ''], + 'BucketName' => ['description' => 'The name of the OSS bucket.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_bucket', 'title' => ''], + 'ObjectName' => ['description' => 'The name of the OSS object.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test.sql', 'title' => ''], + ], 'required' => true, - 'example' => 'table_name', - ], - ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n" - ."\n" - .'* If **NextToken** is empty, there is no next page.'."\n" - .'* If a value of **NextToken** is returned, the value indicates the token that is used for the next query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'f056501ada12c1cc', - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of records per page. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '20', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '-1', 'title' => ''], ], ], 'responses' => [ @@ -11421,195 +7955,172 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'PartitionNameList' => [ - 'description' => 'The partition names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The partition name.'."\n", - 'type' => 'string', - 'example' => 'part_1', - ], - ], - 'NextToken' => [ - 'description' => 'The information about the token.'."\n", - 'type' => 'string', - 'example' => 'NesLoKLEdIZrKhDT7I2gS****', - ], - 'MaxResults' => [ - 'description' => 'The number of records per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'JobKey' => ['description' => 'The key of the file upload task. You can query the upload progress and task details. For more information, see [GetUserUploadFileJob](~~206069~~).'."\n", 'type' => 'string', 'example' => '65254a4c1614235217749100e', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'CreateUploadOSSFileJob', + 'summary' => 'Creates a task to upload an Object Storage Service (OSS) file and obtain the key of the task.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateUploadOSSFileJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"PartitionNameList\\": [\\n \\"part_1\\"\\n ],\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gS****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', - 'title' => 'ListDataLakePartitionName', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"JobKey\\": \\"65254a4c1614235217749100e\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateUploadOSSFileJobResponse>\\n <JobKey>7000005000007000009000000</JobKey>\\n <RequestId>44355324-9534-4AF4-B7AA-8EDE3C767889</RequestId>\\n <Success>true</Success>\\n</CreateUploadOSSFileJobResponse>","errorExample":""}]', ], - 'ListDataLakePartitionByFilter' => [ - 'summary' => 'Queries a list of partitions of a table in a data lake based on filter conditions.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateWorkspace' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '249778', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'DataRegion', + 'name' => 'WorkspaceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => 'workspace_xxx'], ], [ - 'name' => 'Tid', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The description of the workspace.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => 'Test'], ], [ - 'name' => 'CatalogName', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The catalog name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['title' => 'vpc id', 'description' => 'The ID of the VPC.', 'type' => 'string', 'required' => true, 'example' => 'vpc-xxx'], ], [ - 'name' => 'DbName', + 'name' => 'WorkspaceRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'description' => '', 'title' => ''], ], [ - 'name' => 'TableName', - 'in' => 'query', + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => ['description' => 'A client-generated token that you can use to ensure the idempotence of the request. This token must be unique across all requests.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'token-xxx'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The table name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_table', + 'title' => 'Schema of Response', + 'description' => 'Response schema', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use this ID to troubleshoot issues and trace log data.', 'type' => 'string', 'example' => '4AC23904-55DE-550B-9676-E8946F07****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'WorkspaceId' => ['description' => 'The ID of the workspace.', 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'CreateWorkspace', + 'summary' => 'Creates a workspace.', + 'description' => '## Prerequisites'."\n" + ."\n" + .'- A VPC has been created.'."\n" + ."\n" + .'- You have logged in to the DMS console using an Alibaba Cloud account or a RAM user with sufficient permissions, and have granted DMS permission to access cloud resources with the `AliyunDMSProcessingDataRolePolicy` policy.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [ [ - 'name' => 'Filter', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The expression of the query condition. The following operators are supported:'."\n" - ."\n" - .'* Comparison operators: =, <>, ! =, <, <=,>, and >=. Example: ds>20240101.'."\n" - .'* Logical operators: AND, OR, and NOT. Example: ds LIKE \'20240%\'.'."\n" - .'* BETWEEN operator: Specifies a range. Example: ds BETWEEN 20240101 AND 20241201.'."\n" - .'* IN operator: Specifies a set of values. Example: ds IN (20240101, 20240102).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ds>20241201', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4AC23904-55DE-550B-9676-E8946F07****\\",\\n \\"Success\\": true,\\n \\"WorkspaceId\\": 0\\n}","type":"json"}]', + ], + 'DeleteAbacAuthorization' => [ + 'summary' => 'Detaches a policy from a user or role.', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'NextToken', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '228543', + 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], + ], + 'parameters' => [ + [ + 'name' => 'AuthorizationId', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid value:'."\n" - ."\n" - .'* If **NextToken** is empty, no next page exists.'."\n" - .'* If a value of **NextToken** is returned, the value indicates the token that is used for the next query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'f056501ada12c1cc', - ], + 'schema' => ['title' => '', 'description' => 'The authorization ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123***'], ], [ - 'name' => 'MaxResults', + 'name' => 'IdentityType', 'in' => 'query', 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '20', + 'title' => '', + 'description' => 'The type of object to which you want to attach the policy.********'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* USER'."\n" + .'* ROLE'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'USER', + 'enum' => ['USER', 'ROLE'], ], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***'."\n", 'title' => ''], ], ], 'responses' => [ @@ -11619,280 +8130,185 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request succeeded.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'PartitionList' => [ - 'description' => 'The queried partitions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The queried partition.'."\n", - '$ref' => '#/components/schemas/DLPartition', - ], - ], - 'NextToken' => [ - 'description' => 'The information about the token.'."\n", - 'type' => 'string', - 'example' => 'NesLoKLEdIZrKhDT7I2gS****', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '207176D7-A9B3-55CE-A9DA-14E223A31913'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Result' => ['description' => 'Indicates whether the policy is detached from the user.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"207176D7-A9B3-55CE-A9DA-14E223A31913\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Result\\": \\"true\\"\\n}","type":"json"}]', + 'title' => 'DeleteAbacAuthorization', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteAbacAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"PartitionList\\": [\\n {\\n \\"TableName\\": \\"\\",\\n \\"Sd\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 0,\\n \\"Col\\": \\"\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"InputFormat\\": \\"\\",\\n \\"OutputFormat\\": \\"\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"IsCompressed\\": true,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"\\",\\n \\"DeserializerClass\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"\\",\\n \\"Name\\": \\"\\"\\n },\\n \\"BucketCols\\": [\\n \\"\\"\\n ],\\n \\"NumBuckets\\": 0,\\n \\"Location\\": \\"\\"\\n },\\n \\"Parameters\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"CreateTime\\": 0,\\n \\"Values\\": [\\n \\"\\"\\n ],\\n \\"CatalogName\\": \\"\\",\\n \\"DbName\\": \\"\\",\\n \\"LastAccessTime\\": 0\\n }\\n ],\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gS****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', - 'title' => 'ListDataLakePartitionByFilter', ], - 'ListDataLakePartition' => [ - 'summary' => 'Queries a list of partitions of a table in a data lake.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteAbacPolicy' => [ + 'summary' => 'Deletes a created permission policy.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '249778', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '228464', + 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], 'parameters' => [ [ - 'name' => 'DataRegion', + 'name' => 'AbacPolicyId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12****'."\n"], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], - ], - [ - 'name' => 'CatalogName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], - ], - [ - 'name' => 'DbName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], - [ - 'name' => 'TableName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The table name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_table', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'DeletePolicyResult' => ['description' => 'Indicates whether the policy is deleted.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DeletePolicyResult\\": true\\n}","type":"json"}]', + 'title' => 'DeleteAbacPolicy', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'PartNames', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The partition names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The partition name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'part_1', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:DeleteAbacPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => false, ], ], + ], + ], + 'DeleteAuthorityTemplate' => [ + 'summary' => 'Deletes a permission template.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n" - ."\n" - .'* If **NextToken** is empty, there is no next page.'."\n" - .'* If a value of **NextToken** is returned, it indicates the token that is used for the next query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'f056501ada12c1cc', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ [ - 'name' => 'MaxResults', + 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of records per page. Valid values: 0 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '20', - ], + 'schema' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2592', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The call was successful.'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'PartitionList' => [ - 'description' => 'The queried partitions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The queried partition.'."\n", - '$ref' => '#/components/schemas/DLPartition', - ], - ], - 'NextToken' => [ - 'description' => 'The information about the token.'."\n", - 'type' => 'string', - 'example' => 'NesLoKLEdIZrKhDT7I2gS****', - ], - 'MaxResults' => [ - 'description' => 'The number of records per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Tid' => ['description' => 'The ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3***', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Tid\\": 0\\n}","type":"json"}]', + 'title' => 'DeleteAuthorityTemplate', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteAuthorityTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"PartitionList\\": [\\n {\\n \\"TableName\\": \\"\\",\\n \\"Sd\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 0,\\n \\"Col\\": \\"\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"InputFormat\\": \\"\\",\\n \\"OutputFormat\\": \\"\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"IsCompressed\\": true,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"\\",\\n \\"DeserializerClass\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"\\",\\n \\"Name\\": \\"\\"\\n },\\n \\"BucketCols\\": [\\n \\"\\"\\n ],\\n \\"NumBuckets\\": 0,\\n \\"Location\\": \\"\\"\\n },\\n \\"Parameters\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"CreateTime\\": 0,\\n \\"Values\\": [\\n \\"\\"\\n ],\\n \\"CatalogName\\": \\"\\",\\n \\"DbName\\": \\"\\",\\n \\"LastAccessTime\\": 0\\n }\\n ],\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gS****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', - 'title' => 'ListDataLakePartition', ], - 'GetDataLakePartition' => [ - 'summary' => 'Queries the information about a partition of a table in a data lakehouse.', + 'DeleteDataLakeDatabase' => [ + 'summary' => 'Deletes a database from a data lakehouse.', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -11900,82 +8316,29 @@ [ 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The name of the data directory.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], - ], - [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The table name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_table', - ], - ], - [ - 'name' => 'PartitionValues', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'description' => 'The values in a partition key column.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The value of the partition key column.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'part_val1', - ], - 'required' => true, - ], + 'schema' => ['description' => 'The name of the database that you want to query.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ @@ -11985,54 +8348,40 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Partition' => [ - 'description' => 'The queried partition.'."\n", - '$ref' => '#/components/schemas/DLPartition', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10'], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DeleteDataLakeDatabase', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteDataLakeDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Partition\\": {\\n \\"TableName\\": \\"\\",\\n \\"Sd\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 0,\\n \\"Col\\": \\"\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"InputFormat\\": \\"\\",\\n \\"OutputFormat\\": \\"\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"IsCompressed\\": true,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"\\",\\n \\"DeserializerClass\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"\\",\\n \\"Name\\": \\"\\"\\n },\\n \\"BucketCols\\": [\\n \\"\\"\\n ],\\n \\"NumBuckets\\": 0,\\n \\"Location\\": \\"\\"\\n },\\n \\"Parameters\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"CreateTime\\": 0,\\n \\"Values\\": [\\n \\"\\"\\n ],\\n \\"CatalogName\\": \\"\\",\\n \\"DbName\\": \\"\\",\\n \\"LastAccessTime\\": 0\\n }\\n}","type":"json"}]', - 'title' => 'GetDataLakePartition', ], - 'DeleteDataLakeTable' => [ - 'summary' => 'Deletes a table from a data lakehouse.', - 'path' => '', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteDataLakeFunction' => [ + 'summary' => 'Deletes a user-defined function in a data lakehouse.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12041,12 +8390,10 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -12054,66 +8401,34 @@ [ 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The name of the data directory.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'TableName', + 'name' => 'FunctionName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_table', - ], + 'schema' => ['description' => 'The function name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'my_funciton', 'title' => ''], ], [ 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ @@ -12123,49 +8438,41 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '8E88933E-E3D4-5BA8-8CBF-0A1CAE666690', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'B4B07137-F6AE-4756-8474-7F92BB6C4E04'], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4B07137-F6AE-4756-8474-7F92BB6C4E04\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DeleteDataLakeFunction', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:DeleteDataLakeFunction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8E88933E-E3D4-5BA8-8CBF-0A1CAE666690\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'DeleteDataLakeTable', ], 'DeleteDataLakePartition' => [ 'summary' => 'Deletes a partition from a table in a data lakehouse.', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12177,9 +8484,7 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -12187,32 +8492,17 @@ [ 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database that you want to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The name of the database that you want to query.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The table name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'table_name', - ], + 'schema' => ['description' => 'The table name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'table_name', 'title' => ''], ], [ 'name' => 'PartitionValues', @@ -12221,58 +8511,33 @@ 'schema' => [ 'description' => 'The values in a partition key column.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The value of the partition key column.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'part_val1'."\n", - ], + 'items' => ['description' => 'The value of the partition key column.'."\n", 'type' => 'string', 'required' => false, 'example' => 'part_val1'."\n", 'title' => ''], 'required' => true, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'IfExists', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to ignore the exception if the partition that you want to delete does not exist.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'Specifies whether to ignore the exception if the partition that you want to delete does not exist.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ @@ -12282,50 +8547,41 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The partition is deleted.'."\n" - .'* **false**: The partition failed to be deleted.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The partition is deleted.'."\n" + .'* **false**: The partition failed to be deleted.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => 'DeleteDataLakePartition', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteDataLakePartition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], ], - 'DeleteDataLakeDatabase' => [ - 'summary' => 'Deletes a database from a data lakehouse.', + 'DeleteDataLakeTable' => [ + 'summary' => 'Deletes a table from a data lakehouse.', 'path' => '', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12337,9 +8593,7 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -12347,56 +8601,34 @@ [ 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data directory.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database that you want to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_table', 'title' => ''], ], [ 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ @@ -12406,357 +8638,270 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '8E88933E-E3D4-5BA8-8CBF-0A1CAE666690'], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8E88933E-E3D4-5BA8-8CBF-0A1CAE666690\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DeleteDataLakeTable', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteDataLakeTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'DeleteDataLakeDatabase', ], - 'CreateDataLakeTable' => [ - 'summary' => 'Creates a table in a data lakehouse.', - 'path' => '', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteInstance' => [ + 'summary' => 'Removes a database instance from Data Management (DMS).', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'CatalogName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], - ], - [ - 'name' => 'DbName', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'TableInput', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The information about the table.'."\n", - 'required' => true, - '$ref' => '#/components/schemas/open_struct_DLTableInput', - ], - ], - [ - 'name' => 'DataRegion', + 'name' => 'Host', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The endpoint of the database instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to obtain the endpoint.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'xxx.mysql.rds.aliyuncs.com', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> You can move the pointer over the profile picture in the upper-right corner of the DMS console to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The port number that is used to connect to the database instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to obtain the port number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '3306', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Sid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The system ID (SID) of the database instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to obtain the SID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testSid', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Table' => [ - 'description' => 'The information about the table.'."\n", - '$ref' => '#/components/schemas/DLTable', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'B4B07137-F6AE-4756-8474-7F92BB6C4E04', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'DeleteInstance', + 'description' => 'Note: You can call this operation only to remove a database instance from the instance list of DMS. The instance is not deleted or shut down.'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Table\\": {\\n \\"ViewOriginalText\\": \\"\\",\\n \\"Owner\\": \\"\\",\\n \\"TableType\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"CreatorId\\": 0,\\n \\"CreateTime\\": 0,\\n \\"StorageDescriptor\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 0,\\n \\"Col\\": \\"\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"InputFormat\\": \\"\\",\\n \\"OutputFormat\\": \\"\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"IsCompressed\\": true,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"\\",\\n \\"DeserializerClass\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"\\",\\n \\"Name\\": \\"\\"\\n },\\n \\"BucketCols\\": [\\n \\"\\"\\n ],\\n \\"NumBuckets\\": 0,\\n \\"Location\\": \\"\\"\\n },\\n \\"LastAccessTime\\": 0,\\n \\"Retention\\": 0,\\n \\"Name\\": \\"\\",\\n \\"OwnerType\\": \\"\\",\\n \\"ViewExpandedText\\": \\"\\",\\n \\"DbId\\": 0,\\n \\"DbName\\": \\"\\",\\n \\"CatalogName\\": \\"\\",\\n \\"PartitionKeys\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"ModifierId\\": 0,\\n \\"Location\\": \\"\\"\\n }\\n}","type":"json"}]', - 'title' => 'CreateDataLakeTable', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B4B07137-F6AE-4756-8474-7F92BB6C4E04\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteInstanceResponse>\\n <RequestId>B4B07137-F6AE-4756-8474-7F92BB6C4E04</RequestId>\\n <Success>true</Success>\\n</DeleteInstanceResponse>","errorExample":""}]', ], - 'CreateDataLakePartition' => [ - 'summary' => 'Creates a partition for a table in a data lakehouse.', - 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteLakeHouseSpace' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'operationType' => 'delete', + 'abilityTreeCode' => '132905', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'CatalogName', + 'name' => 'SpaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The ID of the workspace. You can call the [GetLhSpaceByName](~~424379~~) operation to obtain the workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '24', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'E76DD2E7-EBAC-5724-B163-19AAC233F8F2', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => 'NoPermission', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'You are not authorized to perform this operation.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request is successful.'."\n" + .'* false: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'DeleteLakeHouseSpace', + 'summary' => 'Deletes a workspace.', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_table', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteLakeHouseSpace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E76DD2E7-EBAC-5724-B163-19AAC233F8F2\\",\\n \\"ErrorCode\\": \\"NoPermission\\",\\n \\"ErrorMessage\\": \\"You are not authorized to perform this operation.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteLakeHouseSpaceResponse>\\n <RequestId>E76DD2E7-EBAC-5724-B163-19AAC233F8F2</RequestId>\\n <Success>true</Success>\\n</DeleteLakeHouseSpaceResponse>","errorExample":""}]', + ], + 'DeleteLhMembers' => [ + 'summary' => 'Invoke the DeleteLhMembers API to delete members from a DMS data warehouse development project space or developers from a task stream. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PartitionInput', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The information about the created partition.'."\n", - 'required' => true, - '$ref' => '#/components/schemas/DLPartitionInput', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '130999', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], + ], + 'parameters' => [ [ - 'name' => 'IfNotExists', + 'name' => 'ObjectType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to ignore the exception if the name of the created partition is the same as the name of an existing partition.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The type of the object. Valid values:'."\n" + ."\n" + .'* **0**: workspace'."\n" + .'* **1**: task flow'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'NeedResult', + 'name' => 'ObjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to return information about the created partition. If the value is true, the Partition parameter is returned. Valid values:'."\n" - ."\n" - .'* true: returns information about the created partition.'."\n" - .'* false: does not return information about the created partition.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The ID of the object.'."\n" + ."\n" + .'* If the object is a workspace, you can call the [GetLhSpaceByName](~~424379~~) operation to obtain the workspace ID.'."\n" + .'* If the object is a task flow, you can call the [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '9***', 'title' => ''], ], [ - 'name' => 'DataRegion', + 'name' => 'MemberIds', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', + 'description' => 'The ID of the user to be removed. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to obtain the user ID.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The User ID of the user to be deleted. You can obtain this value by invoking the [ListUsers](~~141938~~) or [GetUser](~~147098~~) API. ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '[50****,51****]', 'title' => ''], 'required' => true, - 'example' => 'cn-hangzhou', + 'docRequired' => true, + 'maxItems' => 50, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], - ], - [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Partition' => [ - 'description' => 'The information about the partition.'."\n", - '$ref' => '#/components/schemas/DLPartition', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F1C78D32-1AFD-58AD-9DD2-C8A0896969DD', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1C78D32-1AFD-58AD-9DD2-C8A0896969DD\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Delete a project space member or a task stream developer ', + 'description' => 'Prerequisites: Your user role must be administrator, DBA, or project administrator. '."\n" + .'Additional note: This API does not support transferring ownership of a task stream. To transfer ownership of a task stream in a project space, invoke the [ChangLhDagOwner](~~424761~~) API. ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteLhMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Partition\\": {\\n \\"TableName\\": \\"\\",\\n \\"Sd\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 0,\\n \\"Col\\": \\"\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"InputFormat\\": \\"\\",\\n \\"OutputFormat\\": \\"\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"IsCompressed\\": true,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"\\",\\n \\"DeserializerClass\\": \\"\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"\\",\\n \\"Name\\": \\"\\"\\n },\\n \\"BucketCols\\": [\\n \\"\\"\\n ],\\n \\"NumBuckets\\": 0,\\n \\"Location\\": \\"\\"\\n },\\n \\"Parameters\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"CreateTime\\": 0,\\n \\"Values\\": [\\n \\"\\"\\n ],\\n \\"CatalogName\\": \\"\\",\\n \\"DbName\\": \\"\\",\\n \\"LastAccessTime\\": 0\\n },\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'CreateDataLakePartition', ], - 'CreateDataLakeDatabase' => [ - 'summary' => 'Creates a database in a data lakehouse.', - 'path' => '', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteLogicDatabase' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12764,314 +8909,254 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'CatalogName', + 'name' => 'LogicDbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The ID of the logical database. You can call the [ListLogicDatabases](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogicdatabases) or [SearchDatabase](https://www.alibabacloud.com/help/en/data-management-service/latest/searchdatabase) operation to query the ID of the logical database.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1***', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database that you want to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the tenant. '."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](https://www.alibabacloud.com/help/en/data-management-service/latest/manage-dms-tenants) topic.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], - [ - 'name' => 'Description', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The description of the database.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10'], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + .'- false: The request fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + ], + 'example' => '', ], ], + ], + 'title' => 'DeleteLogicDatabase', + 'summary' => 'Deletes a logical database from Data Management (DMS). This operation only deletes the specified logical database but does not delete physical databases.', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'Location', - 'in' => 'query', - 'schema' => [ - 'description' => 'The storage path of the database. OSS, S3, and S3A are supported.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'oss://path/to/database', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteLogicDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteLogicDatabaseResponse>\\n <RequestId>C51420E3-144A-4A94-B473-8662FCF4AD10</RequestId>\\n <Success>true</Success>\\n</DeleteLogicDatabaseResponse>","errorExample":""}]', + ], + 'DeleteLogicTableRouteConfig' => [ + 'summary' => 'Deletes a routing algorithm from a logical table.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Parameters', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The key-value pairs of the database attributes.'."\n", - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '{"key":"value"}', - 'description' => 'The key and value.'."\n", - ], - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ [ - 'name' => 'DataRegion', + 'name' => 'TableId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the logical table. You can call the [ListLogicTables](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogictables) operation to query the ID of the logical table.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1****', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'RouteKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The unique key of the routing algorithm. You can call the [ListLogicTableRouteConfig](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogictablerouteconfig) operation to query the unique key.', 'type' => 'string', 'required' => true, 'example' => 'id-hash-mod15', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) operation to query the tenant ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'D911009F-3E95-5AFD-8CF1-73F7B4F15D6E', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A916A004-A88C-5B39-ABDB-DE808E80****', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.', 'type' => 'string', 'example' => 'MissingRouteKey', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.', 'type' => 'string', 'example' => 'RouteKey is mandatory for this action.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'DeleteLogicTableRouteConfig', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteLogicTableRouteConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D911009F-3E95-5AFD-8CF1-73F7B4F15D6E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'CreateDataLakeDatabase', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A916A004-A88C-5B39-ABDB-DE808E80****\\",\\n \\"ErrorCode\\": \\"MissingRouteKey\\",\\n \\"ErrorMessage\\": \\"RouteKey is mandatory for this action.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteLogicTableRouteConfigResponse>\\n <RequestId>A916A004-A88C-5B39-ABDB-DE808E80****</RequestId>\\n <Success>true</Success>\\n</DeleteLogicTableRouteConfigResponse>","errorExample":""}]', ], - 'BatchUpdateDataLakePartitions' => [ - 'summary' => 'Updates multiple partitions of a table in a data lakehouse at a time.', - 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteMetaCategory' => [ + 'summary' => 'Deletes an asset category.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'CatalogName', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data directory.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'CategoryId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database that you want to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The category ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30000235594', 'title' => ''], ], - [ - 'name' => 'TableName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The name of the table'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_table', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteMetaCategory', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'PartitionInputs', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The information about the created partition.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The partition information of the data lake.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/DLPartitionInput', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteMetaCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => true, ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DeleteProxy' => [ + 'summary' => 'You can call this operation to disable the data security protection proxy of a DB instance.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DataRegion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'ProxyId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the security protection agent. You can call the [ListProxies](https://www.alibabacloud.com/help/en/data-management-service/latest/listproxies) or [GetProxy](https://www.alibabacloud.com/help/en/data-management-service/latest/getproxy) operation to obtain this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) or [ListUserTenants](https://www.alibabacloud.com/help/en/data-management-service/latest/listusertenants) operation to obtain this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C5B8E84B-42B6-4374-AD5A-6264E1753378', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'PartitionErrors' => [ - 'description' => 'The error messages.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The error message.'."\n", - '$ref' => '#/components/schemas/PartitionError', - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned to the query task.', 'type' => 'string', 'example' => '200', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'DeleteProxy', + 'description' => 'After you disable this feature, your DB instance loses the JDBC protocol. All authorization information is recycled.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:DeleteProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C5B8E84B-42B6-4374-AD5A-6264E1753378\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"PartitionErrors\\": [\\n {\\n \\"ErrorDetail\\": \\"\\",\\n \\"Values\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'BatchUpdateDataLakePartitions', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteProxyResponse>\\n <RequestId>EEC84F7F-E60E-5513-8DE6-F22EF368BD4D</RequestId>\\n <Success>true</Success>\\n</DeleteProxyResponse>","errorExample":""}]', ], - 'BatchDeleteDataLakePartitions' => [ - 'summary' => 'Deletes multiple partitions of a table in a data lakehouse at a time.', - 'path' => '', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteProxyAccess' => [ + 'summary' => 'Revokes the permissions to access a database instance by using the secure access proxy feature from a user.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13081,109 +9166,145 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '43701', + 'abilityTreeNodes' => ['FEATUREdmsKBRCZC'], ], 'parameters' => [ [ - 'name' => 'CatalogName', + 'name' => 'ProxyAccessId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The ID of the security protection authorization. After the security protection agent authorizes the target user, the system automatically generates a security protection authorization ID. The ID is globally unique. You can call the [ListProxyAccesses](https://www.alibabacloud.com/help/en/data-management-service/latest/listproxyaccesses) operation to obtain this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) or [ListUserTenants](https://www.alibabacloud.com/help/en/data-management-service/latest/listusertenants) operation to obtain this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned to the query task.', 'type' => 'string', 'example' => '200', 'title' => ''], + ], + 'example' => '', ], ], + ], + 'title' => 'DeleteProxyAccess', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The table name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'table_name', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteProxyAccess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteProxyAccessResponse>\\n <RequestId>7640A4CB-B988-5CDB-B428-11952D7E7682</RequestId>\\n <Success>true</Success>\\n</DeleteProxyAccessResponse>","errorExample":""}]', + ], + 'DeleteScenario' => [ + 'summary' => 'Deletes a business scenario.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PartitionValuesList', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '149048', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], + ], + 'parameters' => [ + [ + 'name' => 'Tid', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The values in a partition key column.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The values in a partition key column.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The value of the partition key column.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'part_val1', - ], - 'required' => false, - ], - 'required' => true, - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'IfExists', + 'name' => 'ScenarioId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the business scenario.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '12***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to ignore the exception if the partition that you want to delete does not exist.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '12***', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'DeleteScenario', + 'description' => 'When you call this operation, make sure that no task flow is specified in the business scenario.', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'DataRegion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteScenario', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"12***\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteScenarioResponse>\\n <RequestId>12***</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</DeleteScenarioResponse>","errorExample":""}]', + ], + 'DeleteStandardGroup' => [ + 'summary' => 'Deletes a security rule set.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Tid', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3****', - ], + 'schema' => ['title' => '', 'description' => 'The security rule set ID. You can call the [ListStandardGroups](~~465940~~) operation to obtain the ID of the security rule set.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '242***'], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '23****'."\n", 'title' => ''], ], ], 'responses' => [ @@ -13193,328 +9314,321 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '5B96E35F-A58E-5399-9041-09CF9A1E46EA', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'PartitionErrors' => [ - 'description' => 'The error messages.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The error message.'."\n", - '$ref' => '#/components/schemas/PartitionError', - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'C5B8E84B-42B6-4374-AD5A-6264E1753325'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C5B8E84B-42B6-4374-AD5A-6264E1753325\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","type":"json"}]', + 'title' => 'DeleteStandardGroup', + 'description' => 'Before you call this API operation, make sure that the security rule set is not associated with an instance.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteStandardGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5B96E35F-A58E-5399-9041-09CF9A1E46EA\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": \\"true\\",\\n \\"PartitionErrors\\": [\\n {\\n \\"ErrorDetail\\": \\"\\",\\n \\"Values\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'BatchDeleteDataLakePartitions', ], - 'CreateDataLakeFunction' => [ - 'summary' => 'Creates a custom function in a data lakehouse.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteTask' => [ + 'summary' => 'Deletes a task in a specified task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'operationType' => 'delete', + 'abilityTreeCode' => '145358', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'CatalogName', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'NodeId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the node you want to delete.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '54****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '3B460770-40D9-5F07-B68A-173D1D708B72', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'Unknown server error', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'DeleteTask', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'FunctionInput', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The details about the function.'."\n", - 'required' => true, - '$ref' => '#/components/schemas/DLFunctionInput', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3B460770-40D9-5F07-B68A-173D1D708B72\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"Unknown server error\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteTaskResponse>\\n <RequestId>3B460770-40D9-5F07-B68A-173D1D708B72</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>Unknown server error</ErrorMessage>\\n <Success>true</Success>\\n</DeleteTaskResponse>","errorExample":""}]', + ], + 'DeleteTaskFlow' => [ + 'summary' => 'Deletes a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DataRegion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '133185', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], + ], + 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3****', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '134137***', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'EE214ECD-4330-503A-82F0-FFB039757DC8', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Function' => [ - 'description' => 'The details about the function.'."\n", - '$ref' => '#/components/schemas/DLFunction', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9AFE13F6-A4FD-581B-BFDE-B63B1CDC2336', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'DeleteTaskFlow', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EE214ECD-4330-503A-82F0-FFB039757DC8\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Function\\": {\\n \\"FunctionName\\": \\"\\",\\n \\"OwnerName\\": \\"\\",\\n \\"OwnerType\\": \\"\\",\\n \\"CreatorId\\": 0,\\n \\"FunctionType\\": \\"\\",\\n \\"CreateTime\\": 0,\\n \\"ResourceUris\\": [\\n {\\n \\"ResourceType\\": \\"\\",\\n \\"Uri\\": \\"\\"\\n }\\n ],\\n \\"ClassName\\": \\"\\",\\n \\"CatalogName\\": \\"\\",\\n \\"DbName\\": \\"\\",\\n \\"ModifierId\\": 0\\n }\\n}","type":"json"}]', - 'title' => 'CreateDataLakeFunction', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9AFE13F6-A4FD-581B-BFDE-B63B1CDC2336\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteTaskFlowResponse>\\n <RequestId>9AFE13F6-A4FD-581B-BFDE-B63B1CDC2336</RequestId>\\n <Success>true</Success>\\n</DeleteTaskFlowResponse>","errorExample":""}]', ], - 'GetDataLakeFunction' => [ - 'summary' => 'Obtains the details about a user-defined function in a data lakehouse.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteTaskFlowEdgesByCondition' => [ + 'summary' => 'Deletes task flow edges based on multiple conditions.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'operationType' => 'delete', + 'abilityTreeCode' => '147813', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'CatalogName', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15****', 'title' => ''], ], [ - 'name' => 'FunctionName', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'The function name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'my_funciton', - ], + 'schema' => ['description' => 'The ID of the task flow edge to delete.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '24***', 'title' => ''], ], [ - 'name' => 'DataRegion', + 'name' => 'NodeFrom', 'in' => 'query', + 'schema' => ['description' => 'The ID of the start node on the edge to delete.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '44***', 'title' => ''], + ], + [ + 'name' => 'NodeEnd', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the end node of the edge to delete.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '44***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '21234B66-6859-5558-9E5B-006EFE915CD0', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'DeleteTaskFlowEdgesByCondition', + 'description' => 'This operation is used for multi-condition query. You can call it to delete the edges of a specified task flow that meet all specified conditions.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteTaskFlowEdgesByCondition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"21234B66-6859-5558-9E5B-006EFE915CD0\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteTaskFlowEdgesByConditionResponse>\\n <RequestId>21234B66-6859-5558-9E5B-006EFE915CD0</RequestId>\\n <Success>true</Success>\\n</DeleteTaskFlowEdgesByConditionResponse>","errorExample":""}]', + ], + 'DeleteUser' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. '."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](https://www.alibabacloud.com/help/en/data-management-service/latest/manage-dms-tenants) topic.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '23****', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Uid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The unique ID (UID) of Alibaba Cloud account to delete.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '16488219****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'D911009F-3E95-5AFD-8CF1-73F7B4F15D6E', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Function' => [ - 'description' => 'The details about the function.'."\n", - '$ref' => '#/components/schemas/DLFunction', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'EF402235-C6CB-52B7-953A-33C100078D15', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'The specified user not exists.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'DeleteUser', + 'summary' => 'Deletes an Alibaba Cloud account that is no longer used.', + 'description' => 'The effect of deleting a user by calling this operation is the same as that of deleting a user by choosing System Management > User Management in the DMS Enterprise console. The administrator of DMS Enterprise can call this operation to delete a user that is no longer used from DMS Enterprise. After the user is deleted, the data source permission, data owner configuration, and database administrator (DBA) configuration of the corresponding Alibaba Cloud account or Resource Access Management (RAM) user are revoked and become invalid.'."\n" + ."\n" + .'> This operation only removes the association of the Alibaba Cloud account or RAM user with DMS Enterprise of the enterprise, rather than actually deleting the Alibaba Cloud account or RAM user. After the user is deleted, the Alibaba Cloud account or RAM user cannot log on to DMS Enterprise, unless the user is added to DMS Enterprise again.'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D911009F-3E95-5AFD-8CF1-73F7B4F15D6E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Function\\": {\\n \\"FunctionName\\": \\"\\",\\n \\"OwnerName\\": \\"\\",\\n \\"OwnerType\\": \\"\\",\\n \\"CreatorId\\": 0,\\n \\"FunctionType\\": \\"\\",\\n \\"CreateTime\\": 0,\\n \\"ResourceUris\\": [\\n {\\n \\"ResourceType\\": \\"\\",\\n \\"Uri\\": \\"\\"\\n }\\n ],\\n \\"ClassName\\": \\"\\",\\n \\"CatalogName\\": \\"\\",\\n \\"DbName\\": \\"\\",\\n \\"ModifierId\\": 0\\n }\\n}","type":"json"}]', - 'title' => 'GetDataLakeFunction', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EF402235-C6CB-52B7-953A-33C100078D15\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"The specified user not exists.\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'UpdateDataLakeFunction' => [ - 'summary' => 'Updates a user-defined function in a data lakehouse.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteWorkspace' => [ + 'summary' => 'Deletes a workspace.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -13523,277 +9637,265 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'CatalogName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The catalog name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], - ], - [ - 'name' => 'DbName', + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database that you want to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the DMS workspace.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12****'], ], - [ - 'name' => 'FunctionInput', - 'in' => 'formData', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The details about the function.'."\n", - 'required' => true, - '$ref' => '#/components/schemas/DLFunctionInput', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the operation is called successfully.'."\n", 'type' => 'boolean', 'example' => 'true'], + 'Data' => ['title' => '', 'description' => 'Indicates whether the workspace is deleted successfully.'."\n", 'type' => 'string', 'example' => 'true'], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteWorkspace', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'DataRegion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"Success\\": true,\\n \\"Data\\": \\"true\\"\\n}","type":"json"}]', + ], + 'DescribeForecastAgent' => [ + 'summary' => '', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsFS2Q9U'], + ], + 'parameters' => [ [ - 'name' => 'WorkspaceId', + 'name' => 'InstanceUuid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'j1e98rqubjltx4', 'title' => ''], ], [ - 'name' => 'FunctionName', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The function name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'my_funciton', - ], + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C1D39814-9808-47F8-AFE0-AF167239AC9B', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request succeeded.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Function' => [ - 'description' => 'The details about the function.'."\n", - '$ref' => '#/components/schemas/DLFunction', + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => '', 'example' => 'EE214ECD-4330-503A-82F0-FFB039757DC8'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => '200', 'title' => ''], + 'Success' => ['type' => 'boolean', 'description' => '', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['type' => 'string', 'description' => '', 'example' => 'UnknownError', 'title' => ''], + 'Message' => ['type' => 'string', 'description' => '', 'example' => 'UnknownError', 'title' => ''], + 'Root' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceUuid' => ['type' => 'string', 'description' => '', 'example' => '1f12594c-c0bf-65d0-bc6a-8d79caeaddb4', 'title' => ''], + 'RegionId' => ['type' => 'string', 'description' => '', 'example' => 'cn-chengdu', 'title' => ''], + 'Status' => ['type' => 'string', 'description' => '', 'example' => 'DEPLOYED', 'title' => ''], + 'CurrentStep' => ['type' => 'string', 'description' => '', 'example' => 'PRE_CHECK', 'title' => ''], + 'TaskId' => ['type' => 'string', 'description' => '', 'example' => '238079357365760', 'title' => ''], + 'FailureMessage' => ['type' => 'string', 'description' => '', 'example' => 'missing parameter: aliyunParentUid', 'title' => ''], + 'ImageVersion' => ['type' => 'string', 'description' => '', 'example' => '1.0.0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '', + 'description' => '仅管控模式为安全协同的数据库实例可调用此API。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C1D39814-9808-47F8-AFE0-AF167239AC9B\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Function\\": {\\n \\"FunctionName\\": \\"\\",\\n \\"OwnerName\\": \\"\\",\\n \\"OwnerType\\": \\"\\",\\n \\"CreatorId\\": 0,\\n \\"FunctionType\\": \\"\\",\\n \\"CreateTime\\": 0,\\n \\"ResourceUris\\": [\\n {\\n \\"ResourceType\\": \\"\\",\\n \\"Uri\\": \\"\\"\\n }\\n ],\\n \\"ClassName\\": \\"\\",\\n \\"CatalogName\\": \\"\\",\\n \\"DbName\\": \\"\\",\\n \\"ModifierId\\": 0\\n }\\n}","type":"json"}]', - 'title' => 'UpdateDataLakeFunction', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EE214ECD-4330-503A-82F0-FFB039757DC8\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"Message\\": \\"UnknownError\\",\\n \\"Root\\": {\\n \\"InstanceUuid\\": \\"1f12594c-c0bf-65d0-bc6a-8d79caeaddb4\\",\\n \\"RegionId\\": \\"cn-chengdu\\",\\n \\"Status\\": \\"DEPLOYED\\",\\n \\"CurrentStep\\": \\"PRE_CHECK\\",\\n \\"TaskId\\": \\"238079357365760\\",\\n \\"FailureMessage\\": \\"missing parameter: aliyunParentUid\\",\\n \\"ImageVersion\\": \\"1.0.0\\"\\n }\\n}","type":"json"}]', ], - 'DeleteDataLakeFunction' => [ - 'summary' => 'Deletes a user-defined function in a data lakehouse.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DescribeInventoryFileUploadSignature' => [ + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'CatalogName', + 'name' => 'JobToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data directory.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['title' => '', 'description' => 'The idempotency identifier for the upload directory. You can pass an inventory task draft ID or a client-generated UUID. If not specified, the server generates a random directory.', 'type' => 'string', 'required' => false, 'example' => 'inventory-draft-20260613'], ], - [ - 'name' => 'DbName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], - ], - [ - 'name' => 'FunctionName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The function name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'my_funciton', + 'title' => '', + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['title' => '', 'description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError'], + 'ErrorMessage' => ['title' => '', 'description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true'], + 'Data' => [ + 'title' => '', + 'description' => 'The OSS direct upload signature information.', + 'type' => 'object', + 'properties' => [ + 'OssCredential' => ['description' => 'The parameter set that specifies the derived key.', 'type' => 'string', 'example' => 'eyJleHBpcmFxxx', 'title' => ''], + 'OssDate' => ['description' => 'The time of the request. The format follows the ISO 8601 date and time standard.', 'type' => 'string', 'example' => '20260617T093434Z', 'title' => ''], + 'OssSignatureVersion' => ['description' => 'The version and algorithm of the signature.', 'type' => 'string', 'example' => 'OSS4-HMAC-SHA256', 'title' => ''], + 'OssSignature' => ['description' => 'The description information used for signature authentication.', 'type' => 'string', 'example' => '6475cdb70e1a5xxx', 'title' => ''], + 'OssSecurityToken' => ['description' => 'The STS token used to upload files to OSS. The token is valid for 1 hour.', 'type' => 'string', 'example' => 'CAIS5QJ1q6Ft5xxx', 'title' => ''], + 'Policy' => ['description' => 'The policy content.', 'type' => 'string', 'example' => 'eyJleHBpcxxx', 'title' => ''], + 'UploadHost' => ['description' => 'The destination address for file uploads.', 'type' => 'string', 'example' => 'https://dms-metaagentxxx', 'title' => ''], + 'UploadDir' => ['description' => 'The path for file uploads.', 'type' => 'string', 'example' => 'metaagent_inventory/xxx', 'title' => ''], + 'MaxFileSizeBytes' => ['description' => 'The maximum size limit for uploaded files.', 'type' => 'integer', 'format' => 'int64', 'example' => '209715200', 'title' => ''], + ], + 'example' => '', + ], + ], + 'example' => '', ], ], + ], + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve upload credentials for asset information collection', + 'summary' => 'Retrieves OSS direct upload credentials for asset information collection files.', + 'description' => 'Generates an OSS PostObject V4 direct upload signature for asset information collection document uploads. The client uses the returned uploadHost, uploadDir, policy, ossCredential, ossDate, ossSignature, and ossSecurityToken to directly upload files. After a successful upload, pass the OSS key as the InputFiles parameter of CreateInventoryJob.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"OssCredential\\": \\"eyJleHBpcmFxxx\\",\\n \\"OssDate\\": \\"20260617T093434Z\\",\\n \\"OssSignatureVersion\\": \\"OSS4-HMAC-SHA256\\",\\n \\"OssSignature\\": \\"6475cdb70e1a5xxx\\",\\n \\"OssSecurityToken\\": \\"CAIS5QJ1q6Ft5xxx\\",\\n \\"Policy\\": \\"eyJleHBpcxxx\\",\\n \\"UploadHost\\": \\"https://dms-metaagentxxx\\",\\n \\"UploadDir\\": \\"metaagent_inventory/xxx\\",\\n \\"MaxFileSizeBytes\\": 209715200\\n }\\n}","type":"json"}]', + ], + 'DisableUser' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DataRegion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '-1', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Uid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The UID of the Alibaba Cloud account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12345', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'B4B07137-F6AE-4756-8474-7F92BB6C4E04', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'The specified user not exists.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + .'- false: The request fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'DisableUser', + 'summary' => 'Disables a user that is temporarily not used in Data Management (DMS).', + 'description' => 'The effect of disabling a user by calling this operation is the same as that of disabling a user by choosing System Management > User Management in the DMS Enterprise console. The administrator of DMS Enterprise can call this operation to disable a user that is temporarily not used in DMS Enterprise. After the user is disabled, the data source permission, data owner configuration, and database administrator (DBA) configuration of the corresponding Alibaba Cloud account or Resource Access Management (RAM) user are revoked and become invalid.'."\n" + ."\n" + .'> This operation only stops the Alibaba Cloud account or RAM user from logging on to DMS Enterprise of the enterprise, rather than actually disabling the Alibaba Cloud account or RAM user. After the user is disabled, the Alibaba Cloud account or RAM user cannot log on to DMS Enterprise, unless the user is enabled again. The disabled user, however, still exists in DMS Enterprise.'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:DisableUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4B07137-F6AE-4756-8474-7F92BB6C4E04\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'DeleteDataLakeFunction', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"The specified user not exists.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DisableUserResponse>\\n <RequestId>ADE24A7C-DB8B-4D32-94AD-E50E3B921197</RequestId>\\n <Success>true</Success>\\n</DisableUserResponse>","errorExample":""}]', ], - 'ListDataLakeFunction' => [ - 'summary' => 'Queries a list of functions in a data lake.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DownloadDataTrackResult' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13801,487 +9903,357 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '249778', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'DataRegion', + 'name' => 'OrderId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '406****', 'title' => ''], + ], + [ + 'name' => 'RollbackSQLType', 'in' => 'query', 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", + 'description' => 'The type of the SQL statement.'."\n" + ."\n" + .'* **REVERSE**: undoes or rolls back an executed SQL statement, which is equivalent to the UNDO SQL statement.'."\n" + .'* **FORWARD**: redoes or re-executes an SQL statement that failed to be executed, which is equivalent to the REDO SQL statement.'."\n", 'type' => 'string', 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', + 'example' => 'REVERSE', + 'enum' => ['REVERSE', 'FORWARD'], + 'title' => '', ], ], [ - 'name' => 'Tid', + 'name' => 'FilterStartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The start time of the time range in which you want to track data operations. The time must be specified in the yyyy-MM-dd HH:mm:ss format.'."\n", 'type' => 'string', 'required' => false, 'example' => '2023-04-23 00:00:00', 'title' => ''], ], [ - 'name' => 'CatalogName', + 'name' => 'FilterEndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The end time of the time range in which you want to track data operations. The time must be specified in the yyyy-MM-dd HH:mm:ss format.'."\n", 'type' => 'string', 'required' => false, 'example' => '2023-04-23 10:00:00', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'FilterTableList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', + 'description' => 'The names of the tables for which you want to track data operations.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The name of a table for which you want to track data operations.'."\n", 'type' => 'string', 'required' => false, 'example' => 'table2', 'title' => ''], 'required' => false, - 'example' => 'default', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'FunctionNamePattern', + 'name' => 'FilterTypeList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The regular expression that is used to filter the returned function names.'."\n", - 'type' => 'string', + 'description' => 'The types of data operations that you want to track.'."\n", + 'type' => 'array', + 'items' => ['description' => 'A type of data operation that you want to track.'."\n", 'type' => 'string', 'required' => false, 'example' => 'UPDATE', 'title' => ''], 'required' => false, - 'example' => '.*', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'NextToken', + 'name' => 'ColumnFilter', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n" - ."\n" - .'* If **NextToken** is empty, there is no next page.'."\n" - .'* If a value of **NextToken** is returned, it indicates the token that is used for the next query.'."\n", - 'type' => 'string', + 'description' => 'The condition to filter columns.'."\n", + 'type' => 'object', + 'properties' => [ + 'ColumnName' => ['description' => 'The name of the column.'."\n", 'type' => 'string', 'required' => false, 'example' => 'account_name', 'title' => ''], + 'Operator' => [ + 'description' => 'The type of the operator used to configure the filter condition. Valid values:'."\n" + ."\n" + .'* **EQUAL**: retrieves the column whose value is equal to the specified value.'."\n" + .'* **NOT_EQUAL**: retrieves the column whose value is not equal to the specified value.'."\n" + .'* **IN**: retrieves the column whose value is in the IN list.'."\n" + .'* **BETWEEN**: retrieves the column whose value is in the specified range.'."\n" + .'* **LESS**: retrieves the column whose value is less than the specified value.'."\n" + .'* **MORE**: retrieves the column whose value is greater than the specified value.'."\n" + .'* **NOT_IN**: retrieves the column whose value is not in the IN list.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'EQUAL', + 'enum' => ['EQUAL', 'NOT_EQUAL', 'IN', 'BETWEEN', 'LESS', 'MORE', 'NOT_IN'], + 'title' => '', + ], + 'Value' => ['description' => 'The value used in the filter condition.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + 'BetweenStart' => ['description' => 'The start value of the range used in the filter condition. This parameter takes effect only when Operator is set to BETWEEN.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + 'BetweenEnd' => ['description' => 'The end value of the range used in the filter condition. This parameter takes effect only when Operator is set to BETWEEN.'."\n", 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], + 'InList' => [ + 'description' => 'The IN list used in the filter condition.'."\n", + 'type' => 'array', + 'items' => ['description' => 'This parameter takes effect only when Operator is set to IN or NOT_IN.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => 'f056501ada12c1cc', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'MaxResults', + 'name' => 'EventIdList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The number of records per page. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The IDs of the events.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The event ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], 'required' => false, - 'minimum' => '0', - 'example' => '20', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'The response schema.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'FunctionList' => [ - 'description' => 'The information about functions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the function.'."\n", - '$ref' => '#/components/schemas/DLFunction', - ], - ], - 'NextToken' => [ - 'description' => 'The token that determines the start point of the next query.'."\n", - 'type' => 'string', - 'example' => 'f056501ada12c1cc', - ], - 'MaxResults' => [ - 'description' => 'The number of records per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B43AD641-49C2-5299-9E06-1B37EC1B****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'DownloadKeyId' => ['description' => 'The ID of the download key, which is used to download the parsing result of the data tracking task.'."\n", 'type' => 'string', 'example' => 'e23dd7ec-a19f-4a69-8eb3-8ffd26e6****', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DownloadDataTrackResult', + 'summary' => 'Downloads the parsing result of a data tracking task.', + 'description' => '仅管控模式为安全协同的数据库实例可调用此API。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:DownloadDataTrackResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"FunctionList\\": [\\n {\\n \\"FunctionName\\": \\"\\",\\n \\"OwnerName\\": \\"\\",\\n \\"OwnerType\\": \\"\\",\\n \\"CreatorId\\": 0,\\n \\"FunctionType\\": \\"\\",\\n \\"CreateTime\\": 0,\\n \\"ResourceUris\\": [\\n {\\n \\"ResourceType\\": \\"\\",\\n \\"Uri\\": \\"\\"\\n }\\n ],\\n \\"ClassName\\": \\"\\",\\n \\"CatalogName\\": \\"\\",\\n \\"DbName\\": \\"\\",\\n \\"ModifierId\\": 0\\n }\\n ],\\n \\"NextToken\\": \\"f056501ada12c1cc\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', - 'title' => 'ListDataLakeFunction', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B43AD641-49C2-5299-9E06-1B37EC1B****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DownloadKeyId\\": \\"e23dd7ec-a19f-4a69-8eb3-8ffd26e6****\\"\\n}","type":"json"}]', ], - 'ListDataLakeFunctionName' => [ - 'summary' => 'Gets a list of data lake function names.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'EditLogicDatabase' => [ + 'summary' => 'Edit logical database information. ', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '249778', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - 'FEATUREdmsKIHNZQ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'DataRegion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data lake resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'Tid', + 'name' => 'Alias', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => '- The alias of the logical database. If you want to change the alias, specify a new alias.'."\n" + .'- If you do not need to change the alias of the logical database, call the [GetLogicDatabase](https://www.alibabacloud.com/help/en/data-management-service/latest/getlogicdatabase) or [GetDBTopology](https://www.alibabacloud.com/help/en/data-management-service/latest/getdbtopology) operation to query the alias of the logical database.', 'type' => 'string', 'required' => true, 'example' => 'test_logic_db', 'title' => ''], ], [ - 'name' => 'CatalogName', + 'name' => 'LogicDbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data catalog.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hive', - ], + 'schema' => ['description' => 'The ID of the logical database. You can call the [ListLogicDatabases](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogicdatabases) operation to query the ID of the logical database.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1***', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'DatabaseIds', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', + 'description' => '- The IDs of the physical databases that compose the logical database. If you want to change the physical databases, you can call the [ListDatabases](https://www.alibabacloud.com/help/en/data-management-service/latest/listdatabases) or [SearchDatabase](https://www.alibabacloud.com/help/en/data-management-service/latest/searchdatabase) operation to query the IDs of the new physical databases that you want to specify.'."\n" + .'- If you do not want to change the physical databases, you can call the [GetDBTopology](https://www.alibabacloud.com/help/en/data-management-service/latest/getdbtopology) operation to query the IDs of the physical databases that compose the logical database.', + 'type' => 'array', + 'items' => ['description' => '- If you need to modify the physical sharded databases associated with the logical database, you can obtain the physical database IDs (DatabaseId) by invoking the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) API. '."\n" + .'- If you do not need to modify the physical sharded databases, you can obtain the physical database IDs (DbId) associated with this logical database by invoking the [GetDBTopology](~~211425~~) API. ', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1860****', 'title' => ''], 'required' => true, - 'example' => 'default', - ], - ], - [ - 'name' => 'FunctionNamePattern', - 'in' => 'query', - 'schema' => [ - 'description' => 'The regular expression that is used to filter the returned function names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '.*', - ], - ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n" - ."\n" - .'* If **NextToken** is empty, there is no next page.'."\n" - .'* If a value of **NextToken** is returned, it indicates the token that is used for the next query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'f056501ada12c1cc', - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of records per page. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '20', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'WorkspaceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], + 'schema' => ['description' => 'The ID of the tenant. '."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](https://www.alibabacloud.com/help/en/data-management-service/latest/manage-dms-tenants) topic.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'F1C78D32-1AFD-58AD-9DD2-C8A0896969DD', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'FunctionNameList' => [ - 'description' => 'The information about the list of function names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The list of function names.'."\n", - 'type' => 'string', - 'example' => 'my_funciton', - ], - ], - 'NextToken' => [ - 'description' => 'The token that determines the start point of the next query.'."\n", - 'type' => 'string', - 'example' => 'f056501ada12c1cc'."\n", - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10'], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + .'- false: The request fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","type":"json"}]', + 'title' => 'Return details of a logical database ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:EditLogicDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1C78D32-1AFD-58AD-9DD2-C8A0896969DD\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"FunctionNameList\\": [\\n \\"my_funciton\\"\\n ],\\n \\"NextToken\\": \\"f056501ada12c1cc\\\\n\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', - 'title' => 'ListDataLakeFunctionName', ], - 'SearchDatabase' => [ - 'summary' => 'Queries the details of the databases.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'EditMetaKnowledgeAsset' => [ + 'summary' => 'Edits the metadata business knowledge for specified GUIDs.', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '12589', - 'abilityTreeNodes' => [ - 'FEATUREdms1KPGDT', - ], + 'abilityTreeCode' => '249769', + 'abilityTreeNodes' => ['FEATUREdms90TD19'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'TableSchemaName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The schema name of the table, which is required only for SQL Server instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'dbo', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'ColumnName', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword that is used to search for databases.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'testdb', - ], + 'schema' => ['description' => 'The name of the field. This parameter is used when the edited content is a field.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_column', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'AssetDescription', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'Business knowledge content edited by users.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - 'maximum' => '1000', - 'minimum' => '1', - ], + 'schema' => ['description' => 'The ID of the physical database. You can call the [SearchDatabase](~~141876~~) operation to obtain the ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1930****', 'title' => ''], ], [ - 'name' => 'EnvType', + 'name' => 'TableName', 'in' => 'query', + 'schema' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'required' => true, 'example' => 'table_name', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The environment type of the database. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'Request ID.'."\n", 'type' => 'string', 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'EditMetaKnowledgeAsset', + 'description' => 'Edits the business knowledge of the metadata represented by the specified GUID.'."\n", + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'SearchRange', - 'in' => 'query', - 'schema' => [ - 'description' => 'The query range based on permissions. Valid values:'."\n" - ."\n" - .'* **HAS_PERMSSION**: searches for databases on which the current user has permissions.'."\n" - .'* **OWNER**: searches for databases owned by the current user.'."\n" - .'* **MY_FOCUS**: searches for databases that the current user follows.'."\n" - .'* **UNKNOWN**: searches for all databases.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HAS_PERMSSION', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:EditMetaKnowledgeAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\"\\n}","type":"json"}]', + ], + 'EnableUser' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SearchTarget', - 'in' => 'query', - 'schema' => [ - 'description' => 'The category of the database. Valid values:'."\n" - ."\n" - .'* **DB**: single database or logical database.'."\n" - .'* **SINGLE_DB**: single database.'."\n" - .'* **LOGIC_DB**: logical database.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SINGLE_DB', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ [ - 'name' => 'DbType', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MYSQL', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To obtain the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Tenant information](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '-1', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'Uid', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The UID of the Alibaba Cloud account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12345', 'title' => ''], ], ], 'responses' => [ @@ -14289,319 +10261,191 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E0D21075-CD3E-4D98-8264-FD8AD04A63B6', - ], - 'SearchDatabaseList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SearchDatabase' => [ - 'description' => 'The information about the databases.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the database.'."\n", - 'type' => 'object', - 'properties' => [ - 'DatabaseId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'string', - 'example' => '2528****', - ], - 'Host' => [ - 'description' => 'The endpoint of the instance in which the database resides.'."\n", - 'type' => 'string', - 'example' => 'rm-xxxx.mysql.rds.aliyuncs.com', - ], - 'DbaId' => [ - 'description' => 'The ID of the user who assumes the database administrator (DBA) role.'."\n", - 'type' => 'string', - 'example' => '10****', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is not a logical database.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'DatalinkName' => [ - 'description' => 'The name of the data link for cross-database queries.'."\n", - 'type' => 'string', - 'example' => 'datalink_name', - ], - 'Port' => [ - 'description' => 'The port of the instance in which the database resides.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3306', - ], - 'EnvType' => [ - 'description' => 'The environment type of the database. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Sid' => [ - 'description' => 'The system ID (SID) of the instance in which the database resides.'."\n", - 'type' => 'string', - 'example' => 'testSid', - ], - 'OwnerIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerIds' => [ - 'description' => 'The IDs of the owners of the databases.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the owner of the database.'."\n", - 'type' => 'string', - 'example' => '1', - ], - ], - ], - ], - 'Encoding' => [ - 'description' => 'The encoding method of the database.'."\n", - 'type' => 'string', - 'example' => 'utf8', - ], - 'DbType' => [ - 'description' => 'The type of the database engine.'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'OwnerNameList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerNames' => [ - 'description' => 'The nicknames of the database owners.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The nickname of the database owner.'."\n", - 'type' => 'string', - 'example' => 'user1', - ], - ], - ], - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'test@xxx.xxx.xxx.xxx:3306', - ], - 'Alias' => [ - 'description' => 'The alias of the database.'."\n", - 'type' => 'string', - 'example' => 'test_rds', - ], - 'CatalogName' => [ - 'description' => 'The name of the catalog to which the database belongs.'."\n" - ."\n" - .'> If the type of the database engine is PostgreSQL, the name of the database is displayed.'."\n", - 'type' => 'string', - 'example' => 'dmstest', - ], - ], - ], - ], - ], - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails. ', 'type' => 'string', 'example' => '403', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'The specified user not exists.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"E0D21075-CD3E-4D98-8264-FD8AD04A63B6\\",\\n \\"SearchDatabaseList\\": {\\n \\"SearchDatabase\\": [\\n {\\n \\"DatabaseId\\": \\"2528****\\",\\n \\"Host\\": \\"rm-xxxx.mysql.rds.aliyuncs.com\\",\\n \\"DbaId\\": \\"10****\\",\\n \\"SchemaName\\": \\"test\\",\\n \\"Logic\\": false,\\n \\"DatalinkName\\": \\"datalink_name\\",\\n \\"Port\\": 3306,\\n \\"EnvType\\": \\"test\\",\\n \\"Sid\\": \\"testSid\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"1\\"\\n ]\\n },\\n \\"Encoding\\": \\"utf8\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"user1\\"\\n ]\\n },\\n \\"SearchName\\": \\"test@xxx.xxx.xxx.xxx:3306\\",\\n \\"Alias\\": \\"test_rds\\",\\n \\"CatalogName\\": \\"dmstest\\"\\n }\\n ]\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SearchDatabaseResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>E0D21075-CD3E-4D98-8264-FD8AD04A63B6</RequestId>\\n <SearchDatabaseList>\\n <DatabaseId>2528****</DatabaseId>\\n <Host>rm-xxxx.mysql.rds.aliyuncs.com</Host>\\n <DbaId>10****</DbaId>\\n <SchemaName>test</SchemaName>\\n <Logic>false</Logic>\\n <DatalinkName>datalink_name</DatalinkName>\\n <Port>3306</Port>\\n <EnvType>test</EnvType>\\n <Sid>testSid</Sid>\\n <OwnerIdList>1</OwnerIdList>\\n <Encoding>utf8</Encoding>\\n <DbType>mysql</DbType>\\n <OwnerNameList>user1</OwnerNameList>\\n <SearchName>test@xxx.xxx.xxx.xxx:3306</SearchName>\\n <Alias>test_rds</Alias>\\n </SearchDatabaseList>\\n <Success>true</Success>\\n</SearchDatabaseResponse>","errorExample":""}]', - 'title' => 'SearchDatabase', + 'title' => 'EnableUser', + 'summary' => 'Enables a user that is disabled.', + 'description' => 'The effect of enabling a user by calling this operation is the same as that of enabling a user by choosing System Management > User Management in the DMS Enterprise console. The administrator of DMS Enterprise can call this operation to enable a user that has been disabled in DMS Enterprise. After the user is enabled, the corresponding Alibaba Cloud account or Resource Access Management (RAM) user can continue to log on to DMS Enterprise and perform relevant operations.'."\n" + ."\n" + .'> This operation only enables the Alibaba Cloud account or RAM user to log on to DMS Enterprise of the enterprise and perform relevant operations, rather than granting other permissions to the Alibaba Cloud account or RAM user.'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SearchTable' => [ - 'summary' => 'Queries detailed information about tables.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:EnableUser', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"The specified user not exists.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<EnableUserResponse>\\n <RequestId>ADE24A7C-DB8B-4D32-94AD-E50E3B921197</RequestId>\\n <Success>true</Success>\\n</EnableUserResponse>","errorExample":""}]', + ], + 'ExecuteDataCorrect' => [ + 'summary' => 'Execute a data change ticket.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '16677', + 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'Tenant ID. Call [GetUserActiveTenant](~~198073~~) to get this value.', 'type' => 'string', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword that is used to query tables.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'Ticket ID. Call [ListOrders](~~144643~~) to get this value.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '406****', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'ActionDetail', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - 'minimum' => '1', - ], + 'style' => 'json', + 'schema' => ['description' => 'Parameters for executing the data change:'."\n" + ."\n" + .'```'."\n" + .'json'."\n" + .'"actionDetail" : {'."\n" + .' "grayType": "FIRST", // Grayscale type. Valid values: "NONE", "FIRST", and "EACH". NONE means no grayscale. FIRST means pause after the first SQL statement runs successfully. EACH means pause after each SQL statement runs successfully.'."\n" + .' "startTime" :"2021-07-01 00:00:00", // Start time for scheduled execution. Omit this parameter if you run immediately.'."\n" + .' "endTime" : "2021-07-01 01:00:00", // End time for scheduled execution. Omit this parameter if you run immediately.'."\n" + .' "transaction" : false, // Run in transaction mode.'."\n" + .' "backupData" : true, // Back up data.'."\n" + .' "readOnlyCheckEnable": true // Enable primary/secondary check. Set to true to enable or false to disable.'."\n" + .' }'."\n" + .'```', 'type' => 'object', 'required' => false, 'example' => '{ "grayType": "FIRST","startTime" : "2021-07-01 00:00:00", "endTime" : "2021-07-01 01:00:00", "transaction" : false, "backupData" : true,'."\n" + .'"readOnlyCheckEnable": true }', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'RealLoginUserUid', 'in' => 'query', + 'schema' => ['description' => 'Alibaba Cloud account UID of the user who calls the API.', 'type' => 'string', 'required' => false, 'example' => '21400447956867****'."\n", 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - 'maximum' => '100', - 'minimum' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'EADDA791-2809-58CE-A303-743A77FF****', 'title' => ''], + 'ErrorCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Unknown server error', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded. Returns:'."\n" + ."\n" + .'- **true**: The request succeeded.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EADDA791-2809-58CE-A303-743A77FF****\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"Unknown server error\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ExecuteDataCorrect', + 'description' => 'Only database instances in Security Collaboration control mode support this API.', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'EnvType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the environment to which databases belong. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'PRODUCT', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ExecuteDataCorrect', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteDataCorrect'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + ], + 'ExecuteDataExport' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '16678', + 'abilityTreeNodes' => ['FEATUREdmsPWN318'], + ], + 'parameters' => [ [ - 'name' => 'SearchRange', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The scope of tables that you want to query. Valid values:'."\n" - ."\n" - .'* **HAS_PERMSSION**: the tables on which the current account has permissions.'."\n" - .'* **OWNER**: the tables owned by the current account.'."\n" - .'* **MY_FOCUS**: the tables that the current account follows.'."\n" - .'* **UNKNOWN**: all tables.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'OWNER', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '-1', 'title' => ''], ], [ - 'name' => 'SearchTarget', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of table that you want to query. Valid values:'."\n" - ."\n" - .'* **TABLE**: physical and logical tables'."\n" - .'* **SINGLE_TABLE**: physical tables'."\n" - .'* **LOGIC_TABLE**: logical tables'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'LOGIC_TABLE', - ], + 'schema' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1234', 'title' => ''], ], [ - 'name' => 'DbType', + 'name' => 'ActionDetail', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of database. Valid values:'."\n" - ."\n" - .'* **MySQL**'."\n" - .'* **SQLServer**'."\n" - .'* **PostgreSQL**'."\n" - .'* **Oracle**'."\n" - .'* **DRDS**'."\n" - .'* **OceanBase**'."\n" - .'* **Mongo**'."\n" - .'* **Redis**'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'MySQL', - ], + 'style' => 'json', + 'schema' => ['description' => 'The parameters that are required to perform the operation. Sample code:'."\n" + ."\n" + .'```json'."\n" + .'{'."\n" + .' "mode" : "FAST", // The mode in which data is exported. Default value: FAST. A value of NORMAL specifies that the export task can be terminated during the export. "encoding" : "UTF8", // The encoding format. "startTime" : "2022-12-22 00:00:00", // The point in time at which data export starts. "transaction" : false, // Specifies whether to enable transactions. "fileType" : "SQL" // The format of the exported file.}'."\n" + .'```'."\n" + ."\n" + .'> You can also set mode, encoding, and fileType to the following values:'."\n" + ."\n" + .'* mode: NORMAL'."\n" + ."\n" + .'* encoding: UTF8MB4, GB2312, ISO\\_8859\\_1, GBK, LATAIN1, or CP1252'."\n" + ."\n" + .'* fileType: XLSX, CSV, JSON, or TXT'."\n", 'type' => 'object', 'required' => false, 'docRequired' => true, 'example' => '{ "fileType": "CSV", "encoding": "" }', 'default' => '', 'title' => ''], ], [ - 'name' => 'ReturnGuid', + 'name' => 'RealLoginUserUid', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to return the GUID of each table.'."\n", - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account that is used to call the API operation.', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ @@ -14609,248 +10453,85 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SearchTableList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SearchTable' => [ - 'description' => 'The details of the tables.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TableId' => [ - 'description' => 'The ID of the table.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Description' => [ - 'description' => 'The description of the table.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'DatabaseId' => [ - 'description' => 'The ID of the database to which the table belongs.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Encoding' => [ - 'description' => 'The encoding format of the table.'."\n", - 'type' => 'string', - 'example' => 'utf8', - ], - 'DBSearchName' => [ - 'description' => 'The name that is used to search for the database to which the table belongs.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database belongs.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'DbType' => [ - 'description' => 'The type of the database. Valid values:'."\n" - ."\n" - .'* **MySQL**'."\n" - .'* **SQLServer**'."\n" - .'* **PostgreSQL**'."\n" - .'* **Oracle**'."\n" - .'* **DRDS**'."\n" - .'* **OceanBase**'."\n" - .'* **Mongo**'."\n" - .'* **Redis**'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'test_table', - ], - 'TableGuid' => [ - 'description' => 'The GUID of the table.'."\n", - 'type' => 'string', - 'example' => 'IDB_L_9032.db-test.yuyang_test', - ], - 'TableSchemaName' => [ - 'description' => 'The name of the database to which the table belongs.'."\n", - 'type' => 'string', - 'example' => 'test@xxx.xxx.xxx.xxx:3306', - ], - 'DbName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'OwnerNameList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerNames' => [ - 'description' => 'The nicknames of the table owners.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The nickname of the table owner.'."\n", - 'type' => 'string', - 'example' => 'user', - ], - ], - ], - ], - 'Logic' => [ - 'description' => 'Indicates whether the table is a logical table. Valid values:'."\n" - ."\n" - .'* **true**: The table is a logical table.'."\n" - .'* **false**: The table is not a logical table.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'OwnerIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerIds' => [ - 'description' => 'The IDs of the table owners.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the table owner.'."\n", - 'type' => 'string', - 'example' => '1', - ], - ], - ], - ], - 'Engine' => [ - 'description' => 'The engine of the table.'."\n", - 'type' => 'string', - 'example' => 'innodb', - ], - ], - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => 'The total number of entries that are returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '1489257F-1B5D-4B5B-89EF-923C12CEEBD1', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"SearchTableList\\": {\\n \\"SearchTable\\": [\\n {\\n \\"TableId\\": \\"1\\",\\n \\"Description\\": \\"test\\",\\n \\"DatabaseId\\": \\"1\\",\\n \\"Encoding\\": \\"utf8\\",\\n \\"DBSearchName\\": \\"test\\",\\n \\"EnvType\\": \\"test\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"TableName\\": \\"test_table\\",\\n \\"TableGuid\\": \\"IDB_L_9032.db-test.yuyang_test\\",\\n \\"TableSchemaName\\": \\"test@xxx.xxx.xxx.xxx:3306\\",\\n \\"DbName\\": \\"test\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"user\\"\\n ]\\n },\\n \\"Logic\\": false,\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"1\\"\\n ]\\n },\\n \\"Engine\\": \\"innodb\\"\\n }\\n ]\\n },\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"1489257F-1B5D-4B5B-89EF-923C12CEEBD1\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SearchTableList>\\n <SearchTable>\\n <TableGuid>IDB_L_9032.db-test.yuyang_test</TableGuid>\\n <Logic>false</Logic>\\n <TableSchemaName>xxx_0000</TableSchemaName>\\n <OwnerNameList>\\n <OwnerNames>xxx</OwnerNames>\\n <OwnerNames>xxx</OwnerNames>\\n <OwnerNames>xxx</OwnerNames>\\n </OwnerNameList>\\n <DBSearchName>xxx_0000@pc-xxx.mysql.polardb.rds.aliyuncs.com:3306【xxx线下库】</DBSearchName>\\n <DatabaseId>117567</DatabaseId>\\n <Encoding>utf8mb4</Encoding>\\n <TableName>test_aaaa</TableName>\\n <OwnerIdList>\\n <OwnerIds>88653</OwnerIds>\\n <OwnerIds>88656</OwnerIds>\\n <OwnerIds>104442</OwnerIds>\\n </OwnerIdList>\\n <EnvType>dev</EnvType>\\n <Engine>InnoDB</Engine>\\n <TableId>18396767</TableId>\\n </SearchTable>\\n</SearchTableList>\\n<TotalCount>1</TotalCount>\\n<RequestId>1489257F-1B5D-4B5B-89EF-923C12CEEBD1</RequestId>\\n<Success>true</Success>","errorExample":""}]', - 'title' => 'SearchTable', - 'description' => 'You can call this operation only for database instances that are managed in Security Collaboration mode.'."\n", + 'title' => 'ExecuteDataExport', + 'summary' => 'Executes a data export ticket.', + 'description' => '仅管控模式为安全协同的数据库实例可调用此API。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListDatabases' => [ - 'summary' => 'Queries the databases in a database instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ExecuteDataExport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RequestId>FE8EE2F1-4880-46BC-A704-5CF63EAF9A04</RequestId>\\n<Success>true</Success>","errorExample":""}]', + ], + 'ExecuteScript' => [ + 'summary' => 'Executes an SQL script.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], + 'abilityTreeNodes' => ['FEATUREdmsCYIMWT'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The database ID.'."\n" + ."\n" + .'> Call these operations to obtain the database ID: [SearchDatabase](~~141876~~), [ListDatabases](~~141873~~), and [GetDatabase](~~141869~~).', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1', 'example' => '123', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'Script', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. The valid value is returned if you call the ListInstances operation. The instance ID is not the ID of the RDS instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12***', - ], + 'schema' => ['description' => 'The SQL script to execute. You can specify Data Query Language (DQL), Data Definition Language (DDL), or Data Manipulation Language (DML) statements. The ability to execute DDL and DML statements depends on the instance\'s security settings.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'select dt from report_daily', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'Logic', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'Specifies whether the database is a logical database.', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, move the cursor over the profile picture in the upper-right corner of the console. For more information, see [View tenant information](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '234', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'RealLoginUserUid', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The Alibaba Cloud account UID of the API caller.<props="china"> For more information, see [Specify the caller of an API operation](~~2835451~~).</props>', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ @@ -14858,423 +10539,143 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The number of databases that belong to an instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5541CDA6-F674-435C-81BD-40C2FB926CE3', - ], - 'DatabaseList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Database' => [ - 'description' => 'The details of the databases.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DatabaseId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Host' => [ - 'description' => 'The endpoint of the instance to which the database belongs.'."\n", - 'type' => 'string', - 'example' => 'xxx.xxx.xxx.xxx', - ], - 'CatalogName' => [ - 'description' => 'The name of the catalog to which the database belongs.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'DbaName' => [ - 'description' => 'The nickname of the Database administrator (DBA) to which the database belongs.'."\n", - 'type' => 'string', - 'example' => 'dba_user', - ], - 'State' => [ - 'description' => 'The state of the database. Valid values:'."\n" - ."\n" - .'* NORMAL: The database is normal.'."\n" - .'* DISABLE: The database is disabled.'."\n" - .'* OFFLINE: The database is unpublished.'."\n" - .'* NOT_EXIST: The database does not exist.'."\n", - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'DbaId' => [ - 'description' => 'The ID of the DBA.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance to which the database belongs.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Port' => [ - 'description' => 'The connection port of the instance to which the database belongs.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3306', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database belongs.'."\n", - 'type' => 'string', - 'example' => 'dev', - ], - 'Sid' => [ - 'description' => 'The system ID (SID) of the instance to which the database belongs.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'OwnerIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerIds' => [ - 'description' => 'The IDs of the owners of the database.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the owner of the database.'."\n", - 'type' => 'string', - 'example' => '1', - ], - ], - ], - ], - 'Encoding' => [ - 'description' => 'The encoding format of the database.'."\n", - 'type' => 'string', - 'example' => 'utf-8', - ], - 'DbType' => [ - 'description' => 'The type of the database engine.'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'OwnerNameList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerNames' => [ - 'description' => 'The nicknames of the database owners.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The nickname of the database owner.'."\n", - 'type' => 'string', - 'example' => 'owner_name', - ], - ], - ], - ], - 'SearchName' => [ - 'description' => 'The name that is used for searching the database.'."\n", - 'type' => 'string', - 'example' => 'test@xxx.xxx.xxx.xxx:3306', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04', 'title' => ''], + 'Results' => [ + 'description' => 'The script execution results. Each object in the array represents the result of a single script.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ColumnNames' => [ + 'description' => 'A list of column names returned from a DQL script execution.', + 'type' => 'array', + 'items' => ['description' => 'The column name.', 'type' => 'string', 'example' => 'col1', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'Rows' => [ + 'description' => 'The data rows returned from a DQL script execution.', + 'type' => 'array', + 'items' => ['description' => 'A data row from the result set.', 'type' => 'object', 'example' => '[{"col1": "value1", "col2":"value2"}]', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'Success' => ['description' => 'Indicates whether the individual script was successfully executed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Message' => ['description' => 'The error message returned if the execution fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'RowCount' => ['description' => 'The number of rows returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"5541CDA6-F674-435C-81BD-40C2FB926CE3\\",\\n \\"DatabaseList\\": {\\n \\"Database\\": [\\n {\\n \\"DatabaseId\\": \\"1\\",\\n \\"Host\\": \\"xxx.xxx.xxx.xxx\\",\\n \\"CatalogName\\": \\"1\\",\\n \\"DbaName\\": \\"dba_user\\",\\n \\"State\\": \\"NORMAL\\",\\n \\"DbaId\\": \\"1\\",\\n \\"SchemaName\\": \\"test\\",\\n \\"InstanceId\\": \\"1\\",\\n \\"Port\\": 3306,\\n \\"EnvType\\": \\"dev\\",\\n \\"Sid\\": \\"test\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"1\\"\\n ]\\n },\\n \\"Encoding\\": \\"utf-8\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"owner_name\\"\\n ]\\n },\\n \\"SearchName\\": \\"test@xxx.xxx.xxx.xxx:3306\\"\\n }\\n ]\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<TotalCount>1</TotalCount>\\n<RequestId>5541CDA6-F674-435C-81BD-40C2FB926CE3</RequestId>\\n<Success>true</Success>\\n<DatabaseList>\\n <Database>\\n <Encoding>utf8</Encoding>\\n <Host>pc-xxx.rwlb.rds.aliyuncs.com</Host>\\n <InstanceId>24710</InstanceId>\\n <DbType>polardb</DbType>\\n <EnvType>product</EnvType>\\n <OwnerIdList>\\n <OwnerIds>88653</OwnerIds>\\n </OwnerIdList>\\n <DbaId>104442</DbaId>\\n <OwnerNameList>\\n <OwnerNames>dmstest</OwnerNames>\\n </OwnerNameList>\\n <Port>3306</Port>\\n <DatabaseId>116366</DatabaseId>\\n <State>NORMAL</State>\\n <SearchName>xxx_test@pc-xxx.rwlb.rds.aliyuncs.com:3306【xxx_test】</SearchName>\\n <DbaName>xxx[子账号]</DbaName>\\n <SchemaName>xxx_test</SchemaName>\\n </Database>\\n</DatabaseList>","errorExample":""}]', - 'title' => 'ListDatabases', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"Results\\": [\\n {\\n \\"ColumnNames\\": [\\n \\"col1\\"\\n ],\\n \\"Rows\\": [\\n [\\n {\\n \\"col1\\": \\"value1\\",\\n \\"col2\\": \\"value2\\"\\n }\\n ]\\n ],\\n \\"Success\\": true,\\n \\"Message\\": \\"UnknownError\\",\\n \\"RowCount\\": 1\\n }\\n ],\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Execute SQL script', + 'description' => '- This operation applies only to instances with Security Collaboration enabled. To enable Security Collaboration, see [Security Collaboration](~~2637012~~).'."\n" + ."\n" + .'- This API operation is not supported for NoSQL databases.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListTables' => [ - 'summary' => 'Queries the tables in a database.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteScript'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ExecuteScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ExecuteStructSync' => [ + 'summary' => 'Executes a schema synchronization task.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdms1KPGDT', - ], - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], - ], - [ - 'name' => 'DatabaseId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the physical database. You can call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the ID of the physical database.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1860****', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'SearchName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name used to search for tables. Fuzzy search is supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'ReturnGuid', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to return the GUID of a table. Valid values:'."\n" - ."\n" - .'* **true**: returns the GUID of a table.'."\n" - .'* **false**: does not return the GUID of a table.'."\n", - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'exclusiveMaximum' => false, 'minimum' => '1', 'example' => '112345', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of tables that meet the query conditions.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B16FB618-5E96-4FFD-BB0D-490C890A4030', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'TableList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Table' => [ - 'description' => 'The details of the tables.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DatabaseId' => [ - 'description' => 'The ID of the physical database.'."\n", - 'type' => 'string', - 'example' => '1860****', - ], - 'TableName' => [ - 'description' => 'The table name.'."\n", - 'type' => 'string', - 'example' => 'consumption_records', - ], - 'StoreCapacity' => [ - 'description' => 'The storage space that is occupied by the table. This is a statistical value and does not indicate the accurate storage space. Unit: MB.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1024', - ], - 'OwnerIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerIds' => [ - 'description' => 'The ID list of the table owners.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the table owner.'."\n", - 'type' => 'string', - 'example' => '51****', - ], - ], - ], - ], - 'Description' => [ - 'description' => 'The description of the table.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Encoding' => [ - 'description' => 'The encoding format of the table.'."\n", - 'type' => 'string', - 'example' => 'utf8', - ], - 'OwnerNameList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerNames' => [ - 'description' => 'The nickname list of the table owners.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The nickname of the table owner.'."\n", - 'type' => 'string', - 'example' => 'owner_name', - ], - ], - ], - ], - 'TableSchemaName' => [ - 'description' => 'The database in which the table resides.'."\n", - 'type' => 'string', - 'example' => 'qntest', - ], - 'TableType' => [ - 'description' => 'The type of the table. Default value: NORMAL.'."\n", - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'TableGuid' => [ - 'description' => 'The GUID of the table in DMS.'."\n", - 'type' => 'string', - 'example' => 'IDB_44743****.qntest.consumption_records', - ], - 'Engine' => [ - 'description' => 'The engine of the table.'."\n", - 'type' => 'string', - 'example' => 'InnoDB', - ], - 'NumRows' => [ - 'description' => 'The number of rows in the table. This is a statistical value and does not indicate the actual number of rows.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10085', - ], - 'TableId' => [ - 'description' => 'The ID of the table.'."\n", - 'type' => 'string', - 'example' => '44743****', - ], - ], - ], - ], - ], - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'title' => 'ExecuteStructSync', + 'description' => 'If the security rules of an instance indicate that a ticket must be approved before you perform schema synchronization, you can call the [SubmitStructSyncOrderApproval](~~206166~~) operation to submit the ticket for approval.'."\n" + ."\n" + .'> You can call the [GetStructSyncJobDetail](~~206160~~) operation to query whether you need to submit a ticket for approval.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ExecuteStructSync', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"B16FB618-5E96-4FFD-BB0D-490C890A4030\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"TableList\\": {\\n \\"Table\\": [\\n {\\n \\"DatabaseId\\": \\"1860****\\",\\n \\"TableName\\": \\"consumption_records\\",\\n \\"StoreCapacity\\": 1024,\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"51****\\"\\n ]\\n },\\n \\"Description\\": \\"test\\",\\n \\"Encoding\\": \\"utf8\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"owner_name\\"\\n ]\\n },\\n \\"TableSchemaName\\": \\"qntest\\",\\n \\"TableType\\": \\"NORMAL\\",\\n \\"TableGuid\\": \\"IDB_44743****.qntest.consumption_records\\",\\n \\"Engine\\": \\"InnoDB\\",\\n \\"NumRows\\": 10085,\\n \\"TableId\\": \\"44743****\\"\\n }\\n ]\\n },\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListTablesResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>B16FB618-5E96-4FFD-BB0D-490C890A4030</RequestId>\\n <TableList>\\n <DatabaseId>1860****</DatabaseId>\\n <TableName>consumption_records</TableName>\\n <StoreCapacity>1024</StoreCapacity>\\n <OwnerIdList>51****</OwnerIdList>\\n <Description>test</Description>\\n <Encoding>utf8</Encoding>\\n <OwnerNameList>owner_name</OwnerNameList>\\n <TableSchemaName>qntest</TableSchemaName>\\n <TableType>NORMAL</TableType>\\n <TableGuid>IDB_44743****.qntest.consumption_records</TableGuid>\\n <Engine>InnoDB</Engine>\\n <NumRows>10085</NumRows>\\n <TableId>44743****</TableId>\\n </TableList>\\n <Success>true</Success>\\n</ListTablesResponse>","errorExample":""}]', - 'title' => 'ListTables', - 'description' => 'You can call this operation only for database instances whose control mode is Security Collaboration.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","errorExample":""},{"type":"xml","example":"<ExecuteStructSyncResponse>\\n <RequestId>4E1D2B4D-3E53-4ABC-999D-1D2520B3471A</RequestId>\\n <Success>true</Success>\\n</ExecuteStructSyncResponse>","errorExample":""}]', ], - 'ListTableColumns' => [ - 'summary' => 'Queries the details about fields in a table.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ExportInventoryAsset' => [ + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -15283,213 +10684,92 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001'], ], [ - 'name' => 'DbId', + 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of a physical database: You can call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the physical database ID.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '123', - ], + 'schema' => ['title' => '', 'description' => 'The search keyword used for fuzzy matching of asset information such as table names.', 'type' => 'string', 'required' => false, 'example' => 'order'], ], [ - 'name' => 'TableName', + 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'description' => 'The table name.'."\n" - ."\n" - .'> You can also call the [ListTables](~~141878~~) operation to query the table name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '100g_customer', - ], + 'schema' => ['title' => '', 'description' => 'The field by which to sort the results. Valid values:'."\n" + ."\n" + .'- confidence'."\n" + .'- entityId'."\n" + ."\n" + .'Default value: confidence.', 'type' => 'string', 'required' => false, 'example' => 'confidence'], ], [ - 'name' => 'TableSchemaName', + 'name' => 'SortOrder', 'in' => 'query', - 'schema' => [ - 'description' => 'The schema name of the table, which is required only for SQL Server instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dbo', - ], + 'schema' => ['title' => '', 'description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- asc: ascending order.'."\n" + .'- desc: descending order.'."\n" + ."\n" + .'Default value: desc.', 'type' => 'string', 'required' => false, 'example' => 'desc'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ColumnList' => [ + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['title' => '', 'description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError'], + 'ErrorMessage' => ['title' => '', 'description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + .'- **true**: The request was successful.'."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true'], + 'Data' => [ + 'description' => 'The paginated result of the inventory task list.', 'type' => 'object', - 'itemNode' => true, 'properties' => [ - 'Column' => [ - 'description' => 'The details about fields in the table.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ColumnId' => [ - 'description' => 'The ID of the field.'."\n", - 'type' => 'string', - 'example' => '12345', - ], - 'ColumnType' => [ - 'description' => 'The data type of the field.'."\n", - 'type' => 'string', - 'example' => 'varchar', - ], - 'Description' => [ - 'description' => 'The description of the field.'."\n", - 'type' => 'string', - 'example' => 'column desc', - ], - 'AutoIncrement' => [ - 'description' => 'Indicates whether the field is an auto-increment field. Valid values:'."\n" - ."\n" - .'* true: The field is an auto-increment field.'."\n" - .'* false: The field is not an auto-increment field.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'FunctionType' => [ - 'description' => 'The type of the masking algorithm that is used for the field. Valid values:'."\n" - ."\n" - .'* null: No masking algorithm is used.'."\n" - .'* DEFAULT: A full masking algorithm is used.'."\n" - .'* FIX_POS: The fixed position is masked.'."\n" - .'* FIX_CHAR: The fixed characters are replaced.'."\n", - 'type' => 'string', - 'example' => 'NULL', - ], - 'DataPrecision' => [ - 'description' => 'The number of valid digits for the column.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'DefaultValue' => [ - 'description' => 'The default value of the column.'."\n", - 'type' => 'string', - 'example' => 'aaa', - ], - 'ColumnName' => [ - 'description' => 'The field name.'."\n", - 'type' => 'string', - 'example' => 'c1', - ], - 'SecurityLevel' => [ - 'description' => 'The security level of the field. Valid values:'."\n" - ."\n" - .'* INNER: The field is an internal field but not sensitive.'."\n" - .'* SENSITIVE: The field is sensitive.'."\n" - .'* CONFIDENTIAL: The field is a confidential column.'."\n", - 'type' => 'string', - 'example' => 'INNER', - ], - 'DataScale' => [ - 'description' => 'The number of decimal places of the field data.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'DataLength' => [ - 'description' => 'The length of the field.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '32', - ], - 'Sensitive' => [ - 'description' => 'Indicates whether the field is a sensitive column. Valid values:'."\n" - ."\n" - .'* true: The field is a sensitive field.'."\n" - .'* false: The field is not a sensitive field.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Nullable' => [ - 'description' => 'Indicates whether the field can be empty. Valid values:'."\n" - ."\n" - .'* true: The field can be empty.'."\n" - .'* false: The field cannot be empty.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', - ], - ], + 'DownloadUrl' => ['title' => '', 'description' => 'The temporary download URL for the XLSX file (an OSS pre-signed URL).', 'type' => 'string', 'example' => 'https://cas-documents-service.oss-cn-shanghai.aliyuncs.com/Batch_Upload_Monitor_Domain.xlsx?Expires=1756865597&OSSAccessKeyId=LTAIuSosQIEgsbko&Signature=PbiIBNqP9jIBScrwQQFbgFPwNF4%3D'], + 'FileName' => ['title' => '', 'description' => 'The suggested file name for saving the file.', 'type' => 'string', 'example' => 'insert.sql'], + 'ExpireTime' => ['title' => '', 'description' => 'The expiration time of the download URL (UNIX timestamp in milliseconds).', 'type' => 'integer', 'format' => 'int64', 'example' => '1766718830'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of exported records.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ColumnList\\": {\\n \\"Column\\": [\\n {\\n \\"ColumnId\\": \\"12345\\",\\n \\"ColumnType\\": \\"varchar\\",\\n \\"Description\\": \\"column desc\\",\\n \\"AutoIncrement\\": false,\\n \\"FunctionType\\": \\"NULL\\",\\n \\"DataPrecision\\": 0,\\n \\"DefaultValue\\": \\"aaa\\",\\n \\"ColumnName\\": \\"c1\\",\\n \\"SecurityLevel\\": \\"INNER\\",\\n \\"DataScale\\": 0,\\n \\"DataLength\\": 32,\\n \\"Sensitive\\": false,\\n \\"Nullable\\": true\\n }\\n ]\\n },\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'ListTableColumns', - ], - 'ListColumns' => [ - 'summary' => 'Returns the column information of a table.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Export inventory asset knowledge', + 'summary' => 'Exports the full list of table assets under an inventory task as an XLSX file.', + 'description' => 'Exports all inventory table assets based on the same filter conditions as SearchInventoryAsset. The server generates an XLSX file, uploads it to OSS, and returns a pre-signed download URL that is valid for 1 hour. No Size/Offset pagination parameters are required. A maximum of 50,000 records can be exported in a single request.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"DownloadUrl\\": \\"https://cas-documents-service.oss-cn-shanghai.aliyuncs.com/Batch_Upload_Monitor_Domain.xlsx?Expires=1756865597&OSSAccessKeyId=LTAIuSosQIEgsbko&Signature=PbiIBNqP9jIBScrwQQFbgFPwNF4%3D\\",\\n \\"FileName\\": \\"insert.sql\\",\\n \\"ExpireTime\\": 1766718830,\\n \\"TotalCount\\": 10\\n }\\n}","type":"json"}]', + ], + 'ExportInventoryKnowledge' => [ + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -15498,200 +10778,99 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001'], ], [ - 'name' => 'TableId', + 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the table. You can call the [ListTables](~~141878~~) operation to obtain the table ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '39281****', - ], + 'schema' => ['title' => '', 'description' => 'The search keyword used for fuzzy matching of knowledge content.', 'type' => 'string', 'required' => false, 'example' => '订单'], ], [ - 'name' => 'Logic', + 'name' => 'ShowType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'docRequired' => true, - 'example' => 'false', - ], + 'schema' => ['title' => '', 'description' => 'The knowledge display type filter, such as TABLE, COLUMN, SQL, SEG, LINEAGE, or TERM.', 'type' => 'string', 'required' => false, 'example' => 'TABLE'], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The field by which to sort the results. Valid values:'."\n" + ."\n" + .'- confidence'."\n" + .'- entityId'."\n" + ."\n" + .'Default value: confidence.', 'type' => 'string', 'required' => false, 'example' => 'confidence'], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- asc: ascending order.'."\n" + .'- desc: descending order.'."\n" + ."\n" + .'Default value: desc.', 'type' => 'string', 'required' => false, 'example' => 'desc'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0AD9AC55-5873-474A-9F33-4285806A3619', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ColumnList' => [ + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['title' => '', 'description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError'], + 'ErrorMessage' => ['title' => '', 'description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + .'- **true**: The request was successful.'."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true'], + 'Data' => [ + 'description' => 'The returned data.', 'type' => 'object', - 'itemNode' => true, 'properties' => [ - 'Column' => [ - 'description' => 'The details about columns.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details about fields in the table.'."\n", - 'type' => 'object', - 'properties' => [ - 'ColumnType' => [ - 'description' => 'The data type of the column.'."\n", - 'type' => 'string', - 'example' => 'varchar', - ], - 'AutoIncrement' => [ - 'description' => 'Indicates whether the column is an auto-increment column. Valid values:'."\n" - ."\n" - .'* true: The column is an auto-increment column.'."\n" - .'* false: The column is not an auto-increment column.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ColumnId' => [ - 'description' => 'The ID of the column.'."\n", - 'type' => 'string', - 'example' => '62589****', - ], - 'DefaultValue' => [ - 'description' => 'The default value of the column.'."\n", - 'type' => 'string', - 'example' => 'def_value', - ], - 'Sensitive' => [ - 'description' => 'Indicates whether the column is a sensitive column. Valid values:'."\n" - ."\n" - .'* **true**: The column is a sensitive column.'."\n" - .'* **false**: The column is not a sensitive column.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ColumnName' => [ - 'description' => 'The name of the column.'."\n", - 'type' => 'string', - 'example' => 'name', - ], - 'SecurityLevel' => [ - 'description' => 'The security level of the column. Valid values:'."\n" - ."\n" - .'* INNER: The column is an internal column but not sensitive.'."\n" - .'* SENSITIVE: The column is a sensitive column.'."\n" - .'* CONFIDENTIAL: The column is a confidential column.'."\n" - ."\n" - .'> For more information, see [Sensitivity levels of fields](~~66091~~).'."\n", - 'type' => 'string', - 'example' => 'INNER', - ], - 'Description' => [ - 'description' => 'The description of the column.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'DataPrecision' => [ - 'description' => 'The number of valid digits for the field.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'DataScale' => [ - 'description' => 'The number of decimal places for the field.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'FunctionType' => [ - 'description' => 'The type of the masking algorithm that is used for the field. Valid values:'."\n" - ."\n" - .'* null: No masking algorithm is used.'."\n" - .'* DEFAULT: A full masking algorithm is used.'."\n" - .'* FIX_POS: The fixed position is masked.'."\n" - .'* FIX_CHAR: The fixed characters are replaced.'."\n", - 'type' => 'string', - 'example' => 'DEFAULT', - ], - 'Nullable' => [ - 'description' => 'Indicates whether the column can be empty. Valid values:'."\n" - ."\n" - .'* **true**: The column can be empty.'."\n" - .'* **false**: The column cannot be empty.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'DataLength' => [ - 'description' => 'The length of the field.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', - ], - ], - ], - ], + 'DownloadUrl' => ['title' => '', 'description' => 'The temporary download URL for the XLSX file (an OSS pre-signed URL).', 'type' => 'string', 'example' => 'https://cas-documents-service.oss-cn-shanghai.aliyuncs.com/Batch_Upload_Monitor_Domain.xlsx?Expires=1753150095&OSSAccessKeyId=LTAIuSosQIEgsbko&Signature=d3pTFzTD07pXU11x7%2FekBbWqQfk%3D'], + 'FileName' => ['title' => '', 'description' => 'The suggested file name for saving the file.', 'type' => 'string', 'example' => '/crm-order-biz%3Bsrc%3Bmain%3Bresources%3Bmybatis%3Bmappers%3Brrscrm%3BOrderOutCountMapper.xml'], + 'ExpireTime' => ['title' => '', 'description' => 'The expiration time of the download URL, in UNIX millisecond timestamp format.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761448390'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of exported records.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AD9AC55-5873-474A-9F33-4285806A3619\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ColumnList\\": {\\n \\"Column\\": [\\n {\\n \\"ColumnType\\": \\"varchar\\",\\n \\"AutoIncrement\\": false,\\n \\"ColumnId\\": \\"62589****\\",\\n \\"DefaultValue\\": \\"def_value\\",\\n \\"Sensitive\\": false,\\n \\"ColumnName\\": \\"name\\",\\n \\"SecurityLevel\\": \\"INNER\\",\\n \\"Description\\": \\"test\\",\\n \\"DataPrecision\\": 0,\\n \\"DataScale\\": 0,\\n \\"FunctionType\\": \\"DEFAULT\\",\\n \\"Nullable\\": false,\\n \\"DataLength\\": 4\\n }\\n ]\\n },\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListColumnsResponse>\\n <RequestId>0AD9AC55-5873-474A-9F33-4285806A3619</RequestId>\\n <ColumnList>\\n <ColumnId>62589****</ColumnId>\\n <ColumnName>name</ColumnName>\\n <Description/>\\n <ColumnType>varchar(4)</ColumnType>\\n <AutoIncrement>false</AutoIncrement>\\n <SecurityLevel>INNER</SecurityLevel>\\n <DataLength>4</DataLength>\\n <Sensitive>false</Sensitive>\\n <Nullable>false</Nullable>\\n </ColumnList>\\n <Success>true</Success>\\n</ListColumnsResponse>","errorExample":""}]', - 'title' => 'ListColumns', - 'description' => 'You can call this operation only for database instances whose control mode is Security Collaboration.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Export knowledge from inventory results', + 'summary' => 'Exports the full list of knowledge produced by an inventory task as an XLSX file.', + 'description' => 'Exports all inventory knowledge using the same filter criteria as SearchInventoryKnowledge. The server generates an XLSX file, uploads it to Object Storage Service (OSS), and returns a pre-signed download URL that is valid for 1 hour. No Size/Offset pagination parameters are required. A maximum of 50,000 records can be exported in a single request.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"DownloadUrl\\": \\"https://cas-documents-service.oss-cn-shanghai.aliyuncs.com/Batch_Upload_Monitor_Domain.xlsx?Expires=1753150095&OSSAccessKeyId=LTAIuSosQIEgsbko&Signature=d3pTFzTD07pXU11x7%2FekBbWqQfk%3D\\",\\n \\"FileName\\": \\"/crm-order-biz%3Bsrc%3Bmain%3Bresources%3Bmybatis%3Bmappers%3Brrscrm%3BOrderOutCountMapper.xml\\",\\n \\"ExpireTime\\": 1761448390,\\n \\"TotalCount\\": 10\\n }\\n}","type":"json"}]', ], - 'ListIndexes' => [ - 'summary' => 'Queries the indexes of a table.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'FixSqlByMetaAgent' => [ + 'summary' => 'Uses the specified SQL statement, error message, and database ID to analyze and fix the SQL error.', + 'description' => 'You can call this operation to analyze and fix SQL errors based on the specified SQL statement, error message, and database ID.'."\n", + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -15700,139 +10879,95 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '0', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the database. You can call the [ListDatabases](~~141873~~) operation to obtain the ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '1***'], ], [ - 'name' => 'TableId', + 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the table.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['title' => '', 'description' => 'The remarks.'."\n", 'type' => 'string', 'required' => false, 'example' => '正确字段是啥?'], ], [ - 'name' => 'Logic', + 'name' => 'Sql', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the table is a logical table.'."\n", - 'type' => 'boolean', - 'required' => false, - 'docRequired' => true, - 'example' => 'false', - ], + 'schema' => ['title' => '', 'description' => 'The SQL statement that reports the error.'."\n", 'type' => 'string', 'required' => true, 'example' => 'select * from table where col = 1'], + ], + [ + 'name' => 'Error', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The error message.'."\n", 'type' => 'string', 'required' => false, 'example' => 'unknown column col'], + ], + [ + 'name' => 'Model', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The name of the selected model. You can use only Qwen series models.'."\n", 'type' => 'string', 'required' => false, 'example' => 'qwen-plus'], ], ], 'responses' => [ 200 => [ + 'description' => '成功返回', 'schema' => [ + 'title' => '', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '1F4DE2F1-5B47-462A-A973-E02EB7AF386B', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'IndexList' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['title' => '', 'description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError'], + 'ErrorMessage' => ['title' => '', 'description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true'], + 'Data' => [ + 'title' => '', + 'description' => 'The data returned.'."\n", 'type' => 'object', - 'itemNode' => true, 'properties' => [ - 'Index' => [ - 'description' => 'The details of indexes.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'IndexName' => [ - 'description' => 'The name of the index.'."\n", - 'type' => 'string', - 'example' => 'idx_test', - ], - 'IndexType' => [ - 'description' => 'The type of the index. Valid values:'."\n" - ."\n" - .'* Primary'."\n" - .'* Unique'."\n" - .'* Normal'."\n" - .'* FullText'."\n" - .'* Spatial'."\n", - 'type' => 'string', - 'example' => 'Primary', - ], - 'TableId' => [ - 'description' => 'The ID of the table.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'IndexId' => [ - 'description' => 'The ID of the index.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'IndexComment' => [ - 'description' => 'The description of the index.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], + 'Content' => ['title' => '', 'description' => 'The answer.'."\n", 'type' => 'string', 'example' => 'SQL修复结果...'], + 'SessionId' => ['title' => '', 'description' => 'The session ID.'."\n", 'type' => 'string', 'example' => 'f63a6eed-0e3c-4564-8533-b1295db8d6ff'], ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1F4DE2F1-5B47-462A-A973-E02EB7AF386B\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"IndexList\\": {\\n \\"Index\\": [\\n {\\n \\"IndexName\\": \\"idx_test\\",\\n \\"IndexType\\": \\"Primary\\",\\n \\"TableId\\": \\"1\\",\\n \\"IndexId\\": \\"1\\",\\n \\"IndexComment\\": \\"test\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RequestId>1F4DE2F1-5B47-462A-A973-E02EB7AF386B</RequestId>\\n<IndexList>\\n <Index>\\n <IndexComment/>\\n <IndexType>Primary</IndexType>\\n <IndexName>PRIMARY</IndexName>\\n <IndexId>49331416</IndexId>\\n <TableId>18396274</TableId>\\n </Index>\\n</IndexList>\\n<Success>true</Success>","errorExample":""}]', - 'title' => 'ListIndexes', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetDatabase' => [ - 'summary' => 'Queries details of a specific database.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'FixSqlByMetaAgent', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:FixSqlByMetaAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Content\\": \\"SQL修复结果...\\",\\n \\"SessionId\\": \\"f63a6eed-0e3c-4564-8533-b1295db8d6ff\\"\\n }\\n}","type":"json"}]', + ], + 'GenerateSqlFromNL' => [ + 'summary' => 'This API converts a natural language description into an executable SQL statement by retrieving relevant database and business information.', + 'description' => 'In addition to the generated SQL statement, the result provides other useful information, such as the tables used, related concepts, and similar SQL.', + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -15841,256 +10976,186 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdms1KPGDT', - ], + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], + 'schema' => ['description' => 'The database ID. You can call the [ListDatabases](~~141873~~) operation to obtain this ID.'."\n" + ."\n" + .'The API operation uses the schema from this database to generate the SQL statement.', 'type' => 'string', 'required' => true, 'example' => '1***', 'title' => ''], ], [ - 'name' => 'Host', + 'name' => 'Knowledge', 'in' => 'query', - 'schema' => [ - 'description' => 'The endpoint that is used to connect to the database.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '192.168.XX.XX', - ], + 'schema' => ['description' => 'Supplementary business information to help the model better understand the question.', 'type' => 'string', 'example' => 'state>0代表成功', 'title' => '', 'required' => false], ], [ - 'name' => 'Port', + 'name' => 'Question', 'in' => 'query', - 'schema' => [ - 'description' => 'The port that is used to connect to the database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '3306', - ], + 'schema' => ['description' => 'The natural language question to convert into an SQL statement.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '查询今天的用户访问量'], ], [ - 'name' => 'Sid', + 'name' => 'Dialect', + 'in' => 'query', + 'schema' => ['description' => 'The SQL dialect. If unspecified, the system defaults to `MySQL` and generates a standard SQL statement.', 'type' => 'string', 'example' => 'MySQL', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Level', 'in' => 'query', 'schema' => [ - 'description' => 'The system identifier (SID) of the database.'."\n" - ."\n" - .'> The SID uniquely identifies an Oracle database. After a database is created, a SID is generated for the database.'."\n", + 'description' => 'The processing level. The default value is `base`.', 'type' => 'string', + 'example' => 'base', + 'default' => 'base', + 'enum' => ['base', 'medium', 'complex'], + 'title' => '', 'required' => false, - 'example' => 'test_sid', ], ], [ - 'name' => 'SchemaName', + 'name' => 'Model', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'mysql', - ], + 'schema' => ['description' => 'The Qwen series model to use.', 'type' => 'string', 'required' => false, 'example' => 'qwen-plus', 'title' => ''], + ], + [ + 'name' => 'TableNames', + 'in' => 'query', + 'schema' => ['title' => 'The selected table names, provided as a comma-separated list. If this value is specified, only the selected tables will be used. '."\n", 'description' => 'A comma-separated list of table names. If specified, the model uses only these tables to generate the SQL statement.', 'type' => 'string', 'docRequired' => false, 'example' => 'users,orders', 'required' => false], ], [ 'name' => 'RealLoginUserUid', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The Alibaba Cloud account ID of the user who calls the operation.', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'description' => '成功生成SQL', 'schema' => [ + 'title' => '', + 'description' => 'The data returned in the response.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '3CDB8601-AD74-4A47-8114-08E08CD6****', - ], - 'Database' => [ - 'description' => 'The details of the database.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use this ID to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => [ + 'title' => '', + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'DatabaseId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'string', - 'example' => '984****', - ], - 'Host' => [ - 'description' => 'The endpoint that is used to connect to the database.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'CatalogName' => [ - 'description' => 'The name of the catalog to which the database belongs.'."\n", - 'type' => 'string', - 'example' => 'def', - ], - 'DbaName' => [ - 'description' => 'The nickname of the DBA.'."\n", - 'type' => 'string', - 'example' => 'dba_name', - ], - 'State' => [ - 'description' => 'The status of the database. Valid values:'."\n" - ."\n" - .'* **NORMAL**: The database is running as expected.'."\n" - .'* **DISABLE**: The database is disabled.'."\n" - .'* **OFFLINE**: The database is unpublished.'."\n" - .'* **NOT_EXIST**: The database does not exist.'."\n", - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'DbaId' => [ - 'description' => 'The ID of the database administrator (DBA).'."\n", - 'type' => 'string', - 'example' => '27****', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => '149****', - ], - 'Port' => [ - 'description' => 'The port that is used to connect to the database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3306', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database belongs. Valid values:'."\n" - ."\n" - .'* **product**: production environment'."\n" - .'* **dev**: development environment'."\n" - .'* **pre**: staging environment'."\n" - .'* **test**: test environment'."\n" - .'* **sit**: SIT environment'."\n" - .'* **uat**: user acceptance testing (UAT) environment'."\n" - .'* **pet**: stress testing environment'."\n" - .'* **stag**: STAG environment'."\n", - 'type' => 'string', - 'example' => 'product', - ], - 'Sid' => [ - 'description' => 'The SID of the database.'."\n" - ."\n" - .'> The value of the parameter is returned only for Oracle databases.'."\n", - 'type' => 'string', - 'example' => 'test_sid', - ], - 'OwnerIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerIds' => [ - 'description' => 'The IDs of the owners of the database.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '27****', - ], + 'Question' => ['description' => 'The natural language question provided as input.', 'type' => 'string', 'title' => '', 'example' => '查询今天用户访问量'], + 'Tables' => [ + 'title' => '', + 'description' => 'A list of tables used to generate the SQL statement.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'A table object. Each object represents a specific table and includes information such as the table name and table ID.', + 'type' => 'object', + 'properties' => [ + 'TableName' => ['description' => 'The name of the table.', 'type' => 'string', 'example' => 'ins_1.db1.table1', 'title' => ''], ], + 'example' => '', ], + 'example' => '', ], - 'Encoding' => [ - 'description' => 'The encoding format of the database.'."\n", - 'type' => 'string', - 'example' => 'utf8mb4', - ], - 'DbType' => [ - 'description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'OwnerNameList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerNames' => [ - 'description' => 'The names of the owners of the database.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', + 'KnowledgeReferences' => [ + 'title' => '', + 'description' => 'A list of knowledge items referenced during SQL generation.', + 'type' => 'array', + 'items' => [ + 'description' => 'A knowledge item.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the knowledge item.', 'type' => 'string', 'example' => 'sample_tbl', 'title' => ''], + 'Content' => ['description' => 'The content of the knowledge item.', 'type' => 'string', 'example' => '{\'Status\': \'OK\'}', 'title' => ''], + 'Level' => [ + 'description' => 'The status of the knowledge item. Valid values include `to_complete`, `to_review`, `to_verify`, and `verified`.', + 'enumValueTitles' => ['to_verify' => '', 'verified' => '', 'to_complete' => '', 'to_review' => ''], 'type' => 'string', - 'example' => 'test', + 'example' => 'verified', + 'enum' => ['RULE', 'FAQ', 'DOCUMENT'], + 'title' => '', ], ], + 'title' => '', + 'example' => '', ], + 'example' => '', ], - 'SearchName' => [ - 'description' => 'The keyword that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'mysql@192.168.XX.XX:3306', - ], - 'InstanceAlias' => [ - 'description' => 'The alias of the instance.', - 'type' => 'string', - 'example' => 'test', + 'Sql' => ['description' => 'The generated SQL statement.', 'type' => 'string', 'example' => 'SELECT * FROM table WHERE condition;', 'title' => ''], + 'SimilarSql' => [ + 'title' => '', + 'description' => 'A list of similar SQL statements.', + 'type' => 'array', + 'items' => [ + 'description' => 'Information about a similar SQL statement.', + 'type' => 'object', + 'properties' => [ + 'Question' => ['description' => 'The natural language question.', 'type' => 'string', 'title' => '', 'example' => '实例xxx的访问量有多少?'], + 'Sql' => ['description' => 'A similar SQL statement.', 'type' => 'string', 'example' => 'SELECT * WHERE ResourceType = \'ACS::ECS::Instance\' AND ResourceGroupId != \'rg-xxx\'', 'title' => ''], + 'Thought' => ['description' => 'The thought process used to generate the SQL statement.', 'type' => 'string', 'title' => '', 'example' => '度量(指标): 用户询问了xx指标,根据上下文,需要计算xxx。'."\n" + .'维度(筛选条件): 用户问题里提到了xx的条件,结合上下文,核心维度为xxx。'."\n" + .'综上,需要使用xxx表,使用xxx列。其中xxx作为projection选择,xxx用于过滤条件,xxx用于分组条件。'], + 'Score' => ['description' => 'The confidence score for the generated SQL statement, ranging from 0 to 1. A higher score indicates greater confidence.', 'type' => 'string', 'example' => '0.52', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', ], + 'Thought' => ['description' => 'The thought process used to generate the SQL statement.', 'type' => 'string', 'example' => '通过分析用户的问题和提供的知识,生成了相应的SQL语句。', 'title' => ''], ], - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'An unknown error occurred.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3CDB8601-AD74-4A47-8114-08E08CD6****\\",\\n \\"Database\\": {\\n \\"DatabaseId\\": \\"984****\\",\\n \\"Host\\": \\"192.168.XX.XX\\",\\n \\"CatalogName\\": \\"def\\",\\n \\"DbaName\\": \\"dba_name\\",\\n \\"State\\": \\"NORMAL\\",\\n \\"DbaId\\": \\"27****\\",\\n \\"SchemaName\\": \\"mysql\\",\\n \\"InstanceId\\": \\"149****\\",\\n \\"Port\\": 3306,\\n \\"EnvType\\": \\"product\\",\\n \\"Sid\\": \\"test_sid\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"27****\\"\\n ]\\n },\\n \\"Encoding\\": \\"utf8mb4\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"test\\"\\n ]\\n },\\n \\"SearchName\\": \\"mysql@192.168.XX.XX:3306\\",\\n \\"InstanceAlias\\": \\"test\\"\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"An unknown error occurred.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetDatabaseResponse>\\n<RequestId>2EF65A2C-FCDC-5E14-A8B5-8D28F33A****</RequestId>\\n<Database>\\n <SearchName>mysql@192.168.XX.XX:3306【bw-mysql-el8】</SearchName>\\n <InstanceId>149****</InstanceId>\\n <Port>3306</Port>\\n <Encoding>utf8mb4</Encoding>\\n <Host>192.168.XX.XX</Host>\\n <DatabaseId>984****</DatabaseId>\\n <DbType>mysql</DbType>\\n <EnvType>product</EnvType>\\n <DbaName>dba_name</DbaName>\\n <DbaId>27****</DbaId>\\n <State>NORMAL</State>\\n <CatalogName>def</CatalogName>\\n <OwnerNameList>\\n <OwnerNames>test</OwnerNames>\\n </OwnerNameList>\\n <SchemaName>mysql</SchemaName>\\n <OwnerIdList>\\n <OwnerIds>27****</OwnerIds>\\n </OwnerIdList>\\n</Database>\\n<Success>true</Success>\\n</GetDatabaseResponse>","errorExample":""}]', - 'title' => 'GetDatabase', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetPhysicalDatabase' => [ - 'summary' => 'Queries the details of a physical database.', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Question\\": \\"查询今天用户访问量\\",\\n \\"Tables\\": [\\n {\\n \\"TableName\\": \\"ins_1.db1.table1\\"\\n }\\n ],\\n \\"KnowledgeReferences\\": [\\n {\\n \\"Name\\": \\"sample_tbl\\",\\n \\"Content\\": \\"{\'Status\': \'OK\'}\\",\\n \\"Level\\": \\"verified\\"\\n }\\n ],\\n \\"Sql\\": \\"SELECT * FROM table WHERE condition;\\",\\n \\"SimilarSql\\": [\\n {\\n \\"Question\\": \\"实例xxx的访问量有多少?\\",\\n \\"Sql\\": \\"SELECT * WHERE ResourceType = \'ACS::ECS::Instance\' AND ResourceGroupId != \'rg-xxx\'\\",\\n \\"Thought\\": \\"度量(指标): 用户询问了xx指标,根据上下文,需要计算xxx。\\\\n维度(筛选条件): 用户问题里提到了xx的条件,结合上下文,核心维度为xxx。\\\\n综上,需要使用xxx表,使用xxx列。其中xxx作为projection选择,xxx用于过滤条件,xxx用于分组条件。\\",\\n \\"Score\\": \\"0.52\\"\\n }\\n ],\\n \\"Thought\\": \\"通过分析用户的问题和提供的知识,生成了相应的SQL语句。\\"\\n }\\n}","type":"json"}]', + 'title' => 'Generate SQL from natural language '."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 15, 'regionId' => '*', 'api' => 'GenerateSqlFromNL'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GenerateSqlFromNL', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetAIOrderApprovalCommentSSE' => [ + 'summary' => 'Gets approval suggestions for a ticket from a Large Language Model (LLM).', + 'path' => '/worknode/openapi/services', + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], @@ -16099,203 +11164,87 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '镇元平台暂不支持sse类型接口的企业级能力鉴权,该接口实际已经具备租户隔离与RAM鉴权的能力', + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'DbId', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the physical database. You can call the [SearchDatabase](~~141876~~) operation to obtain the ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '43153', - ], + 'schema' => ['description' => 'The ticket ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '420****', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'SessionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The session ID.', 'type' => 'string', 'required' => false, 'example' => '48363552-225c-4c93-aeab-ea9b9d064b96', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The data returned.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'Database' => [ - 'description' => 'The information about the physical database.'."\n", + 'RequestId' => ['description' => 'The request ID. Use this ID to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'Data' => ['description' => 'The data returned.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Output' => [ 'type' => 'object', 'properties' => [ - 'DatabaseId' => [ - 'description' => 'The ID of the physical database.'."\n", - 'type' => 'string', - 'example' => '43125312', - ], - 'Host' => [ - 'description' => 'The endpoint that is used to connect to the database.'."\n", - 'type' => 'string', - 'example' => 'rm-xxxab3r272.mysql.rds.aliyuncs.com', - ], - 'CatalogName' => [ - 'description' => 'The name of the catalog to which the database belongs.'."\n" - ."\n" - .'> : If the database is a PostgreSQL database, the name of the database is displayed.'."\n", - 'type' => 'string', - 'example' => 'def', - ], - 'DbaName' => [ - 'description' => 'The nickname of the database administrator (DBA) in the destination database.'."\n", - 'type' => 'string', - 'example' => 'dmstest', - ], - 'State' => [ - 'description' => 'The state of the database. Valid values:'."\n" - ."\n" - .'* **NORMAL**: The database is normal.'."\n" - .'* **DISABLE**: The database is disabled.'."\n" - .'* **OFFLINE**: The database is unpublished.'."\n" - .'* **NOT_EXIST**: The database does not exist.'."\n", - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'DbaId' => [ - 'description' => 'The user ID of the DBA in the destination database.'."\n", - 'type' => 'string', - 'example' => '43253', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n" - ."\n" - .'> : If the database is a PostgreSQL database, the name of the mode is displayed.'."\n", - 'type' => 'string', - 'example' => 'dmstest', - ], - 'InstanceId' => [ - 'description' => 'The instance ID of the destination database.'."\n", - 'type' => 'string', - 'example' => '43215325', - ], - 'Port' => [ - 'description' => 'The port that is used to connect to the database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3306', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database belongs. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", - 'type' => 'string', - 'example' => 'product', - ], - 'Sid' => [ - 'description' => 'The system ID (SID) of the database.'."\n" - ."\n" - .'> : The value of the parameter is returned only for Oracle databases.'."\n", - 'type' => 'string', - 'example' => 'def', - ], - 'OwnerIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerIds' => [ - 'description' => 'The user IDs of the database owners.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The user ID of the database owner.'."\n", - 'type' => 'string', - 'example' => '43215325', - ], - ], - ], - ], - 'Encoding' => [ - 'description' => 'The encoding format of the database.'."\n", - 'type' => 'string', - 'example' => 'utf8mb4', - ], - 'DbType' => [ - 'description' => 'The type of the database engine.'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'OwnerNameList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'OwnerNames' => [ - 'description' => 'The nicknames of the database owners.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The nickname of the database owner.'."\n", - 'type' => 'string', - 'example' => 'dmstest', - ], - ], - ], - ], - 'SearchName' => [ - 'description' => 'The name that is used for searching the database.'."\n", - 'type' => 'string', - 'example' => 'dmstest@rm-xxxab3r272.mysql.rds.aliyuncs.com:3306', - ], - 'InstanceAlias' => [ - 'description' => 'The alias of the database instance.', - 'type' => 'string', - 'example' => 'test', - ], + 'Content' => ['description' => 'The LLM-generated approval suggestion for the ticket.', 'type' => 'string', 'example' => '{"approvalStatus":"Recommend Rejection,"approvalSuggestion":"xxx","sessionId":"xxx"}', 'title' => ''], ], - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'description' => 'The result of the operation.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"Database\\": {\\n \\"DatabaseId\\": \\"43125312\\",\\n \\"Host\\": \\"rm-xxxab3r272.mysql.rds.aliyuncs.com\\",\\n \\"CatalogName\\": \\"def\\",\\n \\"DbaName\\": \\"dmstest\\",\\n \\"State\\": \\"NORMAL\\",\\n \\"DbaId\\": \\"43253\\",\\n \\"SchemaName\\": \\"dmstest\\",\\n \\"InstanceId\\": \\"43215325\\",\\n \\"Port\\": 3306,\\n \\"EnvType\\": \\"product\\",\\n \\"Sid\\": \\"def\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"43215325\\"\\n ]\\n },\\n \\"Encoding\\": \\"utf8mb4\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"dmstest\\"\\n ]\\n },\\n \\"SearchName\\": \\"dmstest@rm-xxxab3r272.mysql.rds.aliyuncs.com:3306\\",\\n \\"InstanceAlias\\": \\"test\\"\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetPhysicalDatabaseResponse>\\n <RequestId>4EE2B004-9131-44B7-B6EE-6151B6329F68</RequestId>\\n <Database>\\n <SearchName>film@rm-uf64e.mysql.rds.aliyuncs.com:3306</SearchName>\\n <InstanceId>1400000</InstanceId>\\n <Port>3306</Port>\\n <Encoding>utf8</Encoding>\\n <Host>rm-uf64e.mysql.rds.aliyuncs.com</Host>\\n <DatabaseId>7000000</DatabaseId>\\n <DbType>mysql</DbType>\\n <EnvType>dev</EnvType>\\n <DbaName>enlun00</DbaName>\\n <DbaId>260000</DbaId>\\n <State>NORMAL</State>\\n <CatalogName>def</CatalogName>\\n <OwnerNameList>\\n <OwnerNames>enlun</OwnerNames>\\n </OwnerNameList>\\n <SchemaName>film</SchemaName>\\n <OwnerIdList>\\n <OwnerIds>26000</OwnerIds>\\n </OwnerIdList>\\n </Database>\\n <Success>true</Success>\\n</GetPhysicalDatabaseResponse>","errorExample":""}]', - 'title' => 'GetPhysicalDatabase', - ], - 'GetTableTopology' => [ - 'summary' => 'Queries the topology of a table.', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetAIOrderApprovalCommentSSE', + 'description' => 'Call this operation to get approval suggestions from a Large Language Model (LLM) for an existing ticket.'."\n" + ."\n" + .'The OrderId parameter is required.'."\n" + ."\n" + .'> Call the [ListOrders](~~144643~~) operation to get the OrderId of a ticket pending approval and verify that the ticket has been created.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetAIOrderApprovalCommentSSE', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Data\\": \\"true\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Output\\": {\\n \\"Content\\": \\"{\\\\\\"approvalStatus\\\\\\":\\\\\\"Recommend Rejection,\\\\\\"approvalSuggestion\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"sessionId\\\\\\":\\\\\\"xxx\\\\\\"}\\"\\n }\\n}","type":"json"}]', + ], + 'GetAbacPolicy' => [ + 'summary' => 'Queries the details of a policy, including the name, content, and the user who created the policy.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -16304,37 +11253,29 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '229515', + 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], 'parameters' => [ [ - 'name' => 'TableGuid', + 'name' => 'AbacPolicyId', 'in' => 'query', - 'schema' => [ - 'description' => 'The GUID of the table in Data Management (DMS).'."\n" - ."\n" - .'> '."\n" - .'> - You can call the [ListLogicTables](~~141875~~) operation with ReturnGuid set to true to query the GUIDs of logical tables in a specific logical database.'."\n" - .'> - You can call the [ListTables](~~141878~~) operation with ReturnGuid set to true to query the GUIDs of tables in a specific physical database.', - 'type' => 'string', - 'required' => true, - 'example' => 'IDB_L_308302.yuyang_test.test_ch', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****'], + ], + [ + 'name' => 'AbacPolicyName', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The name of the policy.'."\n", 'type' => 'string', 'required' => false, 'example' => 'policy_test'."\n"], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the "View information about the current tenant" section of the [Tenant information](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -16344,156 +11285,71 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F5ED6A40-F344-4C7D-A8F0-5685CA584CA7', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'TableTopology' => [ - 'description' => 'The topology information.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '2B7844DE-A0C3-50ED-A796-8F07D377144C'], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Policy' => [ + 'description' => 'The details of the policy.'."\n", 'type' => 'object', 'properties' => [ - 'TableGuid' => [ - 'description' => 'The GUID of the table in DMS.'."\n", - 'type' => 'string', - 'example' => 'IDB_L_308302.yuyang_test.test_ch', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'test_ch', - ], - 'TableTopologyInfoList' => [ - 'description' => 'Information of the topology of the table.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Information of the topology of the table.'."\n", - 'type' => 'object', - 'properties' => [ - 'TableNameList' => [ - 'description' => 'The names of tables.'."\n" - ."\n" - .'> The table names are separated by commas (,).'."\n", - 'type' => 'string', - 'example' => 'test_ch_0000,test_ch_0001,test_ch_0002,test_ch_0003,test_ch_0004,test_ch_0005', - ], - 'TableNameExpr' => [ - 'description' => 'The expression of the names of logical tables.'."\n" - ."\n" - .'**'."\n" - ."\n" - .'**Description** This parameter is not returned for physical tables.', - 'type' => 'string', - 'example' => 'test_ch_[0000-0005]', - ], - 'TableCount' => [ - 'description' => 'The number of tables.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'DbId' => [ - 'description' => 'The ID of the physical database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '43215', - ], - 'DbSearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n" - .'> We recommend that you do not use this parameter for business development. The format of the parameter value may be modified in later versions.', - 'type' => 'string', - 'example' => 'yuyang_test@localhost:3306'."\n" - .'[yuyang_test_dev]', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance to which the physical database belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4325325', - ], - 'RegionId' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'InstanceResourceId' => [ - 'description' => 'The ID of the resource related to the instance. The resource corresponds with the database instance type returned in the InstanceSource parameter.'."\n" - ."\n" - .'* **RDS**:The ID of the ApsaraDB RDS instance.'."\n" - .'* **ECS_OWN**: The ID of the Elastic Compute Service (ECS) instance.'."\n" - .'* **PUBLIC_OWN**: This parameter is left empty for self-managed database instances that are connected over the Internet.'."\n" - .'* **VPC_ID**:The ID of the virtual private cloud (VPC).'."\n" - .'* **GATEWAY**: The ID of the database gateway.'."\n", - 'type' => 'string', - 'example' => 'rm-xxx', - ], - 'InstanceSource' => [ - 'description' => 'The type of the database instance. Valid values:'."\n" - ."\n" - .'* **RDS**: an ApsaraDB RDS instance.'."\n" - .'* **ECS_OWN**: a self-managed database that is deployed on an ECS instance'."\n" - .'* **PUBLIC_OWN**: a self-managed database instance that is connected over the Internet.'."\n" - .'* **VPC_ID**: a self-managed database instance in a VPC that is connected over Express Connect circuits.'."\n" - .'* **GATEWAY**: a database instance connected by using a database gateway.'."\n", - 'type' => 'string', - 'example' => 'RDS', - ], - 'DbName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'yuyang_test', - ], - 'DbType' => [ - 'description' => 'The database engine.'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - ], - ], - ], - 'Logic' => [ - 'description' => 'Indicates whether the table is a logical table. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'PolicyName' => ['title' => '', 'description' => 'The name of the policy.'."\n", 'type' => 'string', 'example' => 'policy_test'], + 'PolicyDesc' => ['title' => '', 'description' => 'The description of the policy.'."\n", 'type' => 'string', 'example' => 'test'], + 'PolicyContent' => ['title' => '', 'description' => 'The content of the policy.'."\n", 'type' => 'string', 'example' => '{'."\n" + .' "Statement": ['."\n" + .' {'."\n" + .' "Action": "*",'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*",'."\n" + .' "Condition": {'."\n" + .' "StringEqualsIgnoreCase": {'."\n" + .' "dms:DbType": ['."\n" + .' "redis"'."\n" + .' ]'."\n" + .' }'."\n" + .' }'."\n" + .' }'."\n" + .' ],'."\n" + .' "Version": "1"'."\n" + .'}'], + 'CreatorId' => ['title' => '', 'description' => 'The ID of the user who create the policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '51****'."\n"], + 'PolicySource' => ['title' => '', 'description' => 'The source of the policy. Valid values:'."\n", 'type' => 'string', 'example' => '自定义'], + 'AuthorizedQuantity' => ['title' => '', 'description' => 'The number of users or custom roles to which the policy is attached.'."\n", 'type' => 'string', 'example' => '3'], + 'PolicyId' => ['description' => 'The ID of the policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F5ED6A40-F344-4C7D-A8F0-5685CA584CA7\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"TableTopology\\": {\\n \\"TableGuid\\": \\"IDB_L_308302.yuyang_test.test_ch\\",\\n \\"TableName\\": \\"test_ch\\",\\n \\"TableTopologyInfoList\\": [\\n {\\n \\"TableNameList\\": \\"test_ch_0000,test_ch_0001,test_ch_0002,test_ch_0003,test_ch_0004,test_ch_0005\\",\\n \\"TableNameExpr\\": \\"test_ch_[0000-0005]\\",\\n \\"TableCount\\": 6,\\n \\"DbId\\": 43215,\\n \\"DbSearchName\\": \\"yuyang_test@localhost:3306[yuyang_test_dev]\\",\\n \\"InstanceId\\": 4325325,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceResourceId\\": \\"rm-xxx\\",\\n \\"InstanceSource\\": \\"RDS\\",\\n \\"DbName\\": \\"yuyang_test\\",\\n \\"DbType\\": \\"mysql\\"\\n }\\n ],\\n \\"Logic\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTableTopologyResponse>\\n <RequestId>7A7F0E34-8E21-4CF7-93C8-27212B122145</RequestId>\\n <TableTopology>\\n <TableName>big_table</TableName>\\n <TableGuid>IDB_279000000.film.big_table</TableGuid>\\n <Logic>false</Logic>\\n <TableTopologyInfoList>\\n <DbSearchName>film@rm-uf00000000240000l.mysql.rds.aliyuncs.com:3306【nissi go】</DbSearchName>\\n <InstanceSource>RDS</InstanceSource>\\n <InstanceResourceId>rm-uf00000000240000l</InstanceResourceId>\\n <InstanceId>1000000</InstanceId>\\n <TableNameList>big_table</TableNameList>\\n <TableCount>1</TableCount>\\n <DbId>4000000</DbId>\\n <DbName>film</DbName>\\n <RegionId>cn-shanghai</RegionId>\\n <DbType>mysql</DbType>\\n </TableTopologyInfoList>\\n </TableTopology>\\n <Success>true</Success> \\n</GetTableTopologyResponse>","errorExample":""}]', - 'title' => 'GetTableTopology', - ], - 'GetMetaTableDetailInfo' => [ - 'summary' => 'Queries the details of columns and indexes in a table.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2B7844DE-A0C3-50ED-A796-8F07D377144C\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Policy\\": {\\n \\"PolicyName\\": \\"policy_test\\",\\n \\"PolicyDesc\\": \\"test\\",\\n \\"PolicyContent\\": \\"{\\\\n \\\\\\"Statement\\\\\\": [\\\\n {\\\\n \\\\\\"Action\\\\\\": \\\\\\"*\\\\\\",\\\\n \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n \\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\",\\\\n \\\\\\"Condition\\\\\\": {\\\\n \\\\\\"StringEqualsIgnoreCase\\\\\\": {\\\\n \\\\\\"dms:DbType\\\\\\": [\\\\n \\\\\\"redis\\\\\\"\\\\n ]\\\\n }\\\\n }\\\\n }\\\\n ],\\\\n \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"\\\\n}\\",\\n \\"CreatorId\\": 0,\\n \\"PolicySource\\": \\"自定义\\",\\n \\"AuthorizedQuantity\\": \\"3\\",\\n \\"PolicyId\\": 0\\n }\\n}","type":"json"}]', + 'title' => 'GetAbacPolicy', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetAbacPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetApprovalDetail' => [ + 'summary' => 'Queries the approval details of a ticket.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16501,54 +11357,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdms1KPGDT', - ], - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the [View information about the current tenant](~~181330~~) section of the Manage DMS tenants topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '123', - ], - ], - [ - 'name' => 'TableGuid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The GUID of the table in Data Management (DMS).'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* You can call the [ListLogicTables](~~141875~~) operation with ReturnGuid set to true to query the GUIDs of logical tables in a specific logical database.'."\n" - ."\n" - .'* You can call the [ListTables](~~141878~~) operation with ReturnGuid set to true to query the GUIDs of tables in a specific physical database.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'IDB_L_9032.db-test.yuyang_test', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'WorkflowInstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the approval process. You can call the [GetOrderBaseInfo](~~144642~~) operation to obtain the ID of the approval process.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '184****', 'title' => ''], ], ], 'responses' => [ @@ -16556,162 +11375,176 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E881CB2F-DE42-42E5-90EB-8B3173DCB9B9', - ], - 'DetailInfo' => [ - 'description' => 'The details of the table.'."\n", + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '66DE630B-ECA1-52A3-9198-602066F9****', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'MissingWorkflowInstanceId', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'WorkflowInstanceId is mandatory for this action.', 'title' => ''], + 'ApprovalDetail' => [ + 'description' => 'The approval details of the ticket.'."\n", 'type' => 'object', 'properties' => [ - 'IndexList' => [ - 'description' => 'The list of indexes.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'IndexColumns' => [ - 'description' => 'The index column.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The fields in the index.'."\n", - 'type' => 'string', - 'example' => 'id', + 'WorkflowNodes' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'WorkflowNode' => [ + 'description' => 'The details of approval nodes.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OperateTime' => ['description' => 'The time when the ticket was submitted.'."\n", 'type' => 'string', 'example' => '2019-10-15 13:47:54', 'title' => ''], + 'OperatorId' => ['description' => 'The ID of the user who submitted the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1****', 'title' => ''], + 'NodeName' => ['description' => 'The name of the approval node.'."\n", 'type' => 'string', 'example' => 'DBA', 'title' => ''], + 'AuditUserIdList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'AuditUserIds' => [ + 'description' => 'The IDs of the approvers.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the approver.'."\n", 'type' => 'string', 'example' => '10****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'OperateComment' => ['description' => 'The remarks of the approval.'."\n", 'type' => 'string', 'example' => 'Reason: Agreed', 'title' => ''], + 'WorkflowInsCode' => ['description' => 'The approval status of the ticket. Valid values:'."\n" + ."\n" + .'* **START**: The ticket was submitted.'."\n" + .'* **ERROR**: An error occurred.'."\n" + .'* **AUDITING**: The ticket is being reviewed.'."\n" + .'* **REJECT**: The ticket was rejected.'."\n" + .'* **CANCEL**: The ticket was revoked.'."\n" + .'* **APPROVED**: The ticket was approved.'."\n", 'type' => 'string', 'example' => 'APPROVED', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'IndexName' => [ - 'description' => 'The name of the index.'."\n", - 'type' => 'string', - 'example' => 'PRIMARY', - ], - 'Unique' => [ - 'description' => 'Indicates whether the index is unique. Valid values:'."\n" - ."\n" - .'* true: The index is unique.'."\n" - .'* false: The index is not unique.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'IndexType' => [ - 'description' => 'The type of the index. Examples: Primary, Unique, and Normal.'."\n", - 'type' => 'string', - 'example' => 'Primary', - ], - 'IndexId' => [ - 'description' => 'The ID of the index.'."\n", - 'type' => 'string', - 'example' => '123', - ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'ColumnList' => [ - 'description' => 'The columns in the table.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ColumnName' => [ - 'description' => 'The name of the column.'."\n", - 'type' => 'string', - 'example' => 'id', - ], - 'Description' => [ - 'description' => 'The description of the column.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'DataScale' => [ - 'description' => 'The scale of the column.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'DataPrecision' => [ - 'description' => 'The precision of the field.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'ColumnType' => [ - 'description' => 'The data type of the column. Examples: Bigint, Int, and Varchar.'."\n", - 'type' => 'string', - 'example' => 'bigint(20) unsigned', - ], - 'AutoIncrement' => [ - 'description' => 'Indicates whether the column is an auto-increment column. Valid values:'."\n" - ."\n" - .'* true: The column is an auto-increment column.'."\n" - .'* false: The column is not an auto-increment column.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Position' => [ - 'description' => 'The position of the field in the table.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Nullable' => [ - 'description' => 'Indicates whether the column is nullable. Valid values:'."\n" - ."\n" - .'* true: The column is nullable.'."\n" - .'* false: The column is not nullable.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ColumnId' => [ - 'description' => 'The ID of the column.'."\n", - 'type' => 'string', - 'example' => '191234849', - ], - 'DataLength' => [ - 'description' => 'The length of the field.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', + 'Description' => ['description' => 'The description of the approval process.'."\n", 'type' => 'string', 'example' => '[Instance permissions] Application\\\\<br/>Permission type: ⌈Logon⌋\\\\<br/>Application period: 30.0 days\\\\<br/>Background description: [Instance permissions] logon test\\\\<br/>\\\\<br/>[Application list]\\\\<br/>\\\\<span style=\\"color:red\\">product\\\\</span> rm-bp144d5ky4l4rli0417\\\\*\\\\*\\\\*\\\\*.mysql.rds.aliyuncs.com:3306 - PRODUCT\\\\<br/>', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the approval process was created.'."\n", 'type' => 'string', 'example' => '2021-10-29 14:17:25', 'title' => ''], + 'CurrentHandlers' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'CurrentHandler' => [ + 'description' => 'The information about the approver.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NickName' => ['description' => 'The nickname of the user.'."\n", 'type' => 'string', 'example' => 'nickName', 'title' => ''], + 'Id' => ['description' => 'The ID of the user.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'OrderType' => ['description' => 'The type of the ticket. Valid values:'."\n" + ."\n" + .'* **NDDL**: a schema design ticket'."\n" + .'* **DATA_TRACK**: a data tracking ticket'."\n" + .'* **TABLE_SYNC**: a table synchronization ticket'."\n" + .'* **PERM_APPLY**: a permission application ticket'."\n" + .'* **DATA_EXPORT**: a data export ticket'."\n" + .'* **DATA_CORRECT**: a data change ticket'."\n" + .'* **OWNER_APPLY**: an owner role application ticket'."\n" + .'* **SENSITIVITY**: a column sensitivity level change ticket'."\n", 'type' => 'string', 'example' => 'PERM_APPLY', 'title' => ''], + 'Title' => ['description' => 'The title of the approval process.'."\n", 'type' => 'string', 'example' => 'Permission request ticket - 384****', 'title' => ''], + 'AuditId' => ['description' => 'The ID of the approval process.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '184****', 'title' => ''], + 'OrderId' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '384****', 'title' => ''], + 'WorkflowInsCode' => ['description' => 'The approval status of the ticket. Valid values:'."\n" + ."\n" + .'* **AUDITING**: The ticket is being reviewed.'."\n" + .'* **REJECT**: The ticket was rejected.'."\n" + .'* **CANCEL**: The ticket was revoked.'."\n" + .'* **APPROVED**: The ticket was approved.'."\n" + ."\n" + .'> An approval process contains multiple approval nodes, and this parameter is returned for each approval node.'."\n", 'type' => 'string', 'example' => 'APPROVED', 'title' => ''], + 'ReasonList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Reasons' => [ + 'description' => 'The reasons for the approval.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The reason for the approval.'."\n", 'type' => 'string', 'example' => '根据安全规则,权限申请需要审批', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'TemplateId' => ['title' => '', 'description' => 'The ID of the workflow template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1234'], + 'ThirdpartyWorkflowUrl' => ['description' => 'The third-party approval flow link.', 'type' => 'string', 'example' => 'https://xxx', 'title' => ''], + 'ThirdpartyWorkflowComment' => ['description' => 'Third-party approval flow remarks.', 'type' => 'string', 'example' => 'test', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E881CB2F-DE42-42E5-90EB-8B3173DCB9B9\\",\\n \\"DetailInfo\\": {\\n \\"IndexList\\": [\\n {\\n \\"IndexColumns\\": [\\n \\"id\\"\\n ],\\n \\"IndexName\\": \\"PRIMARY\\",\\n \\"Unique\\": false,\\n \\"IndexType\\": \\"Primary\\",\\n \\"IndexId\\": \\"123\\"\\n }\\n ],\\n \\"ColumnList\\": [\\n {\\n \\"ColumnName\\": \\"id\\",\\n \\"Description\\": \\"test\\",\\n \\"DataScale\\": 0,\\n \\"DataPrecision\\": 0,\\n \\"ColumnType\\": \\"bigint(20) unsigned\\",\\n \\"AutoIncrement\\": true,\\n \\"Position\\": \\"1\\",\\n \\"Nullable\\": false,\\n \\"ColumnId\\": \\"191234849\\",\\n \\"DataLength\\": 0\\n }\\n ]\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RequestId>E881CB2F-DE42-42E5-90EB-8B3173DCB9B9</RequestId>\\n<DetailInfo>\\n <ColumnList>\\n <ColumnId>191234849</ColumnId>\\n <ColumnName>id</ColumnName>\\n <Description>test</Description>\\n <ColumnType>bigint(20) unsigned</ColumnType>\\n <Position>1</Position>\\n <AutoIncrement>true</AutoIncrement>\\n <DataScale>0</DataScale>\\n <DataPrecision>20</DataPrecision>\\n <Nullable>false</Nullable>\\n </ColumnList>\\n <ColumnList>\\n <ColumnId>191234850</ColumnId>\\n <ColumnName>gmt_create</ColumnName>\\n <Description>test</Description>\\n <ColumnType>datetime</ColumnType>\\n <Position>2</Position>\\n <AutoIncrement>false</AutoIncrement>\\n <Nullable>false</Nullable>\\n </ColumnList>\\n <ColumnList>\\n <ColumnId>191234851</ColumnId>\\n <ColumnName>gmt_modified</ColumnName>\\n <Description>test</Description>\\n <ColumnType>datetime</ColumnType>\\n <Position>3</Position>\\n <AutoIncrement>false</AutoIncrement>\\n <Nullable>false</Nullable>\\n </ColumnList>\\n <IndexList>\\n <IndexName>PRIMARY</IndexName>\\n <IndexId>33008763</IndexId>\\n <IndexColumns>id</IndexColumns>\\n <Unique>false</Unique>\\n <IndexType>Primary</IndexType>\\n </IndexList>\\n</DetailInfo>\\n<Success>true</Success>","errorExample":""}]', - 'title' => 'GetMetaTableDetailInfo', - 'description' => 'You can call this operation only for database instances whose control mode is Security Collaboration.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"66DE630B-ECA1-52A3-9198-602066F9****\\",\\n \\"ErrorCode\\": \\"MissingWorkflowInstanceId\\",\\n \\"ErrorMessage\\": \\"WorkflowInstanceId is mandatory for this action.\\",\\n \\"ApprovalDetail\\": {\\n \\"WorkflowNodes\\": {\\n \\"WorkflowNode\\": [\\n {\\n \\"OperateTime\\": \\"2019-10-15 13:47:54\\",\\n \\"OperatorId\\": 0,\\n \\"NodeName\\": \\"DBA\\",\\n \\"AuditUserIdList\\": {\\n \\"AuditUserIds\\": [\\n \\"10****\\"\\n ]\\n },\\n \\"OperateComment\\": \\"Reason: Agreed\\",\\n \\"WorkflowInsCode\\": \\"APPROVED\\"\\n }\\n ]\\n },\\n \\"Description\\": \\"[Instance permissions] Application\\\\\\\\\\\\\\\\<br/>Permission type: ⌈Logon⌋\\\\\\\\\\\\\\\\<br/>Application period: 30.0 days\\\\\\\\\\\\\\\\<br/>Background description: [Instance permissions] logon test\\\\\\\\\\\\\\\\<br/>\\\\\\\\\\\\\\\\<br/>[Application list]\\\\\\\\\\\\\\\\<br/>\\\\\\\\\\\\\\\\<span style=\\\\\\\\\\\\\\"color:red\\\\\\\\\\\\\\">product\\\\\\\\\\\\\\\\</span> rm-bp144d5ky4l4rli0417\\\\\\\\\\\\\\\\*\\\\\\\\\\\\\\\\*\\\\\\\\\\\\\\\\*\\\\\\\\\\\\\\\\*.mysql.rds.aliyuncs.com:3306 - PRODUCT\\\\\\\\\\\\\\\\<br/>\\",\\n \\"CreateTime\\": \\"2021-10-29 14:17:25\\",\\n \\"CurrentHandlers\\": {\\n \\"CurrentHandler\\": [\\n {\\n \\"NickName\\": \\"nickName\\",\\n \\"Id\\": 1\\n }\\n ]\\n },\\n \\"OrderType\\": \\"PERM_APPLY\\",\\n \\"Title\\": \\"Permission request ticket - 384****\\",\\n \\"AuditId\\": 0,\\n \\"OrderId\\": 0,\\n \\"WorkflowInsCode\\": \\"APPROVED\\",\\n \\"ReasonList\\": {\\n \\"Reasons\\": [\\n \\"根据安全规则,权限申请需要审批\\"\\n ]\\n },\\n \\"TemplateId\\": 1234,\\n \\"ThirdpartyWorkflowUrl\\": \\"https://xxx\\",\\n \\"ThirdpartyWorkflowComment\\": \\"test\\"\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'GetApprovalDetail', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetMetaTableColumn' => [ - 'summary' => 'Queries the details of columns in a table.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetApprovalDetail'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetApprovalDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetAuthorityTemplate' => [ + 'summary' => 'Queries the information about a permission template.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16719,37 +11552,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1563', 'title' => ''], ], [ - 'name' => 'TableGuid', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The globally unique identifier (GUID) of the table in Data Management (DMS).'."\n" - ."\n" - .'* If the database to which the table belongs is a logical database, you can call the [ListLogicTables](~~141875~~) operation to obtain the value of this parameter.'."\n" - .'* If the database to which the table belongs is a physical database, you can call the [ListTables](~~141878~~) operation to obtain the value of this parameter.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'IDB_40753****.qntest2.activity_setting', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -16757,187 +11570,123 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '087DFBA1-378B-5D25-B13B-31F6409F****', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'MissingTableGuid', - ], - 'ColumnList' => [ - 'description' => 'The details about fields in the table.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ColumnType' => [ - 'description' => 'The data type of the column.'."\n" - ."\n" - .'> The return value of a column is not unique, such as **bigint** or **int**.'."\n", - 'type' => 'string', - 'example' => 'bigint(1)', - ], - 'AutoIncrement' => [ - 'description' => 'Indicates whether the column is an auto-increment column. Valid values:'."\n" - ."\n" - .'* **true**: The column is an auto-increment column.'."\n" - .'* **false**: The column is not an auto-increment column.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ColumnId' => [ - 'description' => 'The ID of the column.'."\n", - 'type' => 'string', - 'example' => '63513****', - ], - 'ColumnName' => [ - 'description' => 'The name of the column.'."\n", - 'type' => 'string', - 'example' => 'has_promotion', - ], - 'SecurityLevel' => [ - 'description' => 'The sensitivity level of the column. Valid values:'."\n" - ."\n" - .'* **INNER**: The column is not sensitive.'."\n" - .'* **SENSITIVE**: The column is sensitive.'."\n" - .'* **CONFIDENTIAL**: The column is confidential.'."\n" - ."\n" - .'> For more information, see [Sensitivity levels of columns](~~66091~~).'."\n", - 'type' => 'string', - 'example' => 'INNER', - ], - 'PrimaryKey' => [ - 'description' => 'Indicates whether the field is the primary key. Valid values:'."\n" - ."\n" - .'* **true**: The field is the primary key.'."\n" - .'* **false**: The field is not the primary key.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'Description' => [ - 'description' => 'The description of the column.'."\n", - 'type' => 'string', - 'example' => 'Whether discounts are provided'."\n", - ], - 'DataPrecision' => [ - 'description' => 'The precision of the field.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '19', - ], - 'DataScale' => [ - 'description' => 'The number of decimal places for the field.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Position' => [ - 'description' => 'The position of the field in the table.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Nullable' => [ - 'description' => 'Indicates whether the field can be empty. Valid values:'."\n" - ."\n" - .'* **true**: The field can be empty.'."\n" - .'* **false**: The field cannot be empty.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'DataLength' => [ - 'description' => 'The length of the field.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'AuthorityTemplateView' => [ + 'description' => 'The details of the permission template.'."\n", + 'type' => 'object', + 'properties' => [ + 'TemplateId' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1563', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who created the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12***', 'title' => ''], + 'Name' => ['description' => 'The name of the permission template.'."\n", 'type' => 'string', 'example' => 'Test template.', 'title' => ''], + 'Description' => ['description' => 'The description of the permission template.'."\n", 'type' => 'string', 'example' => 'This template is used for business testing.', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the permission template was created. The time is in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'example' => '2023-01-01 00:00:00', 'title' => ''], + 'AuthorityTemplateItemList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'AuthorityTemplateItem' => [ + 'description' => 'The resource information in the permission template.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ItemId' => ['description' => 'The ID of the resource.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12***', 'title' => ''], + 'TemplateId' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1563', 'title' => ''], + 'ModifierId' => ['description' => 'The ID of the user who modified the resource.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '51***', 'title' => ''], + 'ResourceType' => ['description' => 'The type of the resource. Valid values:'."\n" + ."\n" + .'* **INSTANCE**: instance'."\n" + .'* **LOGIC_DB**: logical database'."\n" + .'* **META_DB**: physical database'."\n" + .'* **LOGIC_TABLE**: logical table'."\n" + .'* **SINGLE_TABLE**: physical table'."\n", 'type' => 'string', 'example' => 'INSTANCE', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '188****', 'title' => ''], + 'DbId' => ['description' => 'The ID of the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '43***', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'ExampleTable', 'title' => ''], + 'Attribute' => ['description' => 'Other information. For example, you can add the logon permission on an instance to the permission template.'."\n", 'type' => 'string', 'example' => '"permissionTypes": ['."\n" + .' "LOGIN"'."\n" + .' ]', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'TableGuid is mandatory for this action.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Tid' => ['description' => 'The ID of the tenant.', 'type' => 'integer', 'format' => 'int64', 'example' => '3***', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"087DFBA1-378B-5D25-B13B-31F6409F****\\",\\n \\"ErrorCode\\": \\"MissingTableGuid\\",\\n \\"ColumnList\\": [\\n {\\n \\"ColumnType\\": \\"bigint(1)\\",\\n \\"AutoIncrement\\": false,\\n \\"ColumnId\\": \\"63513****\\",\\n \\"ColumnName\\": \\"has_promotion\\",\\n \\"SecurityLevel\\": \\"INNER\\",\\n \\"PrimaryKey\\": \\"true\\",\\n \\"Description\\": \\"是否有优惠活动\\",\\n \\"DataPrecision\\": 19,\\n \\"DataScale\\": 0,\\n \\"Position\\": 1,\\n \\"Nullable\\": false,\\n \\"DataLength\\": 0\\n }\\n ],\\n \\"ErrorMessage\\": \\"TableGuid is mandatory for this action.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetMetaTableColumnResponse>\\n <RequestId>087DFBA1-378B-5D25-B13B-31F6409F****</RequestId>\\n <ColumnList>\\n <ColumnId>63513****</ColumnId>\\n <ColumnName>has_promotion</ColumnName>\\n <Description>是否有优惠活动</Description>\\n <ColumnType>bigint(1)</ColumnType>\\n <Position>1</Position>\\n <AutoIncrement>false</AutoIncrement>\\n <SecurityLevel>INNER</SecurityLevel>\\n <DataScale>0</DataScale>\\n <DataPrecision>19</DataPrecision>\\n <PrimaryKey>true</PrimaryKey>\\n <Nullable>false</Nullable>\\n </ColumnList>\\n <ColumnList>\\n <ColumnId>63513****</ColumnId>\\n <ColumnName>consumption_limit</ColumnName>\\n <Description>消费额限制</Description>\\n <ColumnType>int(11)</ColumnType>\\n <Position>2</Position>\\n <AutoIncrement>false</AutoIncrement>\\n <SecurityLevel>INNER</SecurityLevel>\\n <DataScale>0</DataScale>\\n <DataPrecision>10</DataPrecision>\\n <PrimaryKey>false</PrimaryKey>\\n <Nullable>false</Nullable>\\n </ColumnList>\\n <ColumnList>\\n <ColumnId>63513****</ColumnId>\\n <ColumnName>quota</ColumnName>\\n <Description>发放优惠券额度</Description>\\n <ColumnType>int(11)</ColumnType>\\n <Position>3</Position>\\n <AutoIncrement>false</AutoIncrement>\\n <SecurityLevel>INNER</SecurityLevel>\\n <DataScale>0</DataScale>\\n <DataPrecision>10</DataPrecision>\\n <PrimaryKey>false</PrimaryKey>\\n <Nullable>false</Nullable>\\n </ColumnList>\\n <Success>true</Success>\\n</GetMetaTableColumnResponse>","errorExample":""}]', - 'title' => 'GetMetaTableColumn', - 'description' => 'You can call this operation only for database instances whose control mode is Security Collaboration.'."\n", - ], - 'SyncInstanceMeta' => [ - 'summary' => 'Synchronizes the metadata of all databases in a database instance.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"AuthorityTemplateView\\": {\\n \\"TemplateId\\": 1563,\\n \\"CreatorId\\": 0,\\n \\"Name\\": \\"Test template.\\",\\n \\"Description\\": \\"This template is used for business testing.\\",\\n \\"CreateTime\\": \\"2023-01-01 00:00:00\\",\\n \\"AuthorityTemplateItemList\\": {\\n \\"AuthorityTemplateItem\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"TemplateId\\": 1563,\\n \\"ModifierId\\": 0,\\n \\"ResourceType\\": \\"INSTANCE\\",\\n \\"InstanceId\\": 0,\\n \\"DbId\\": 0,\\n \\"TableName\\": \\"ExampleTable\\",\\n \\"Attribute\\": \\"\\\\\\"permissionTypes\\\\\\": [\\\\n \\\\\\"LOGIN\\\\\\"\\\\n ]\\"\\n }\\n ]\\n }\\n },\\n \\"Success\\": true,\\n \\"Tid\\": 0\\n}","type":"json"}]', + 'title' => 'GetAuthorityTemplate', + 'description' => 'You must be a Data Management (DMS) administrator or a database administrator (DBA). For more information about how to view system roles, see [View system roles](~~324212~~).'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAuthorityTemplate'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetAuthorityTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetAuthorityTemplateItem' => [ + 'summary' => 'Queries the resources in a permission template.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', + 'operationType' => 'list', + 'abilityTreeCode' => '165972', + 'abilityTreeNodes' => ['FEATUREdms6MV762'], ], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the [View information about the current tenant](~~181330~~) section of the Manage DMS tenants topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], - ], - [ - 'name' => 'InstanceId', + 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12***', - ], + 'schema' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1563', 'title' => ''], ], [ - 'name' => 'IgnoreTable', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to skip synchronization for the metadata of table dictionaries. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -16945,94 +11694,102 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A99CD576-1E18-4E86-931E-C3CCE56DC030', - ], - 'ErrorCode' => [ - 'description' => 'Details about the topology of the data table.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5B96E35F-A58E-5399-9041-09CF9A1E46EA', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'AuthorityTemplateItemList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'AuthorityTemplateItem' => [ + 'description' => 'The permission templates.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ItemId' => ['description' => 'The ID of the resource.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12***', 'title' => ''], + 'TemplateId' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1563', 'title' => ''], + 'ModifierId' => ['description' => 'The ID of the user who modifies the resource.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '51***', 'title' => ''], + 'ResourceType' => ['description' => 'The type of the resource. Valid values:'."\n" + ."\n" + .'* **INSTANCE**: instance'."\n" + .'* **LOGIC_DB**: logical database'."\n" + .'* **META_DB**: physical database'."\n" + .'* **LOGIC_TABLE**: logical table'."\n" + .'* **LOGIC_TABLE**: physical table'."\n", 'type' => 'string', 'example' => 'INSTANCE', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '188****', 'title' => ''], + 'DbId' => ['description' => 'The ID of the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '43***', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'ExampleTable', 'title' => ''], + 'Attribute' => ['description' => 'The additional information. For example, permissions to log on to an instance are added to the permission template.'."\n", 'type' => 'string', 'example' => '"permissionTypes": ['."\n" + .' "LOGIN"'."\n" + .' ]', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Tid' => ['description' => 'The ID of the tenant.', 'type' => 'integer', 'format' => 'int64', 'example' => '3***', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A99CD576-1E18-4E86-931E-C3CCE56DC030\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SyncInstanceMetaResponse>\\n <RequestId>A99CD576-1E18-4E86-931E-C3CCE56DC030</RequestId>\\n <Success>true</Success>\\n</SyncInstanceMetaResponse>","errorExample":""}]', - 'title' => 'SyncInstanceMeta', - 'description' => 'You can call this operation only for database instances whose control mode is Security Collaboration.'."\n", - ], - 'SyncDatabaseMeta' => [ - 'summary' => 'Synchronizes the metadata of a database.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetAuthorityTemplateItem', + 'description' => 'You are a database administrator (DBA) or a Data Management (DMS) administrator. For more information about how to view system roles, see [View system roles](~~324212~~).'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:GetAuthorityTemplateItem', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5B96E35F-A58E-5399-9041-09CF9A1E46EA\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"AuthorityTemplateItemList\\": {\\n \\"AuthorityTemplateItem\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"TemplateId\\": 1563,\\n \\"ModifierId\\": 0,\\n \\"ResourceType\\": \\"INSTANCE\\",\\n \\"InstanceId\\": 0,\\n \\"DbId\\": 0,\\n \\"TableName\\": \\"ExampleTable\\",\\n \\"Attribute\\": \\"\\\\\\"permissionTypes\\\\\\": [\\\\n \\\\\\"LOGIN\\\\\\"\\\\n ]\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Tid\\": 0\\n}","type":"json"}]', + ], + 'GetClassificationTemplate' => [ + 'summary' => 'Queries the information about the classification and grading template associated with an instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], - ], - [ - 'name' => 'DbId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '123', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the instance ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '169****', 'title' => ''], ], [ - 'name' => 'Logic', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '23***', 'title' => ''], ], ], 'responses' => [ @@ -17040,362 +11797,280 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A99CD576-1E18-4E86-931E-C3CCE56DC030', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ClassificationResourceTemplateMap' => [ + 'description' => 'The information about the classification template that is associated to the instance.'."\n", + 'type' => 'object', + 'properties' => [ + 'TemplateId' => ['description' => 'The ID of the classification and grading template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3***', 'title' => ''], + 'TemplateType' => [ + 'description' => 'The type of the classification and grading template. Valid values:'."\n" + ."\n" + .'* **INNER**: a built-in template.'."\n" + .'* **USER_DEFINE**: a custom template.'."\n", + 'type' => 'string', + 'enumValueTitles' => ['USER_DEFINE' => 'USER_DEFINE', 'INNER' => 'INNER'], + 'example' => 'INNER', + 'title' => '', + ], + 'ResourceId' => ['description' => 'The ID of the resource. The supported resource type is INSTANCE. The resource ID corresponds to the value of InstanceId. You can call the [ListInstances](~~141936~~) operation to obtain the value of InstanceId.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '24****', 'title' => ''], + 'ResourceType' => ['description' => 'The resource type. The value is fixed as **INSTANCE**.'."\n", 'type' => 'string', 'example' => 'INSTANCE', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A99CD576-1E18-4E86-931E-C3CCE56DC030\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'SyncDatabaseMeta', - ], - 'GetTableKnowledgeInfo' => [ - 'summary' => 'Gets metadata knowledge for a specified GUID.', - 'path' => '', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ClassificationResourceTemplateMap\\": {\\n \\"TemplateId\\": 0,\\n \\"TemplateType\\": \\"INNER\\",\\n \\"ResourceId\\": 0,\\n \\"ResourceType\\": \\"INSTANCE\\"\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetClassificationTemplate', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetClassificationTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetDBTaskSQLJobLog' => [ + 'summary' => 'Queries the log that records the scheduling details of an SQL task.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '249769', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'TableSchemaName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The schema name of the table, which is required only for SQL Server instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dbo', - ], - ], - [ - 'name' => 'DbId', + 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the physical database. You can call the [SearchDatabase](~~141876~~) operation to obtain the ID.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '325', - ], + 'schema' => ['description' => 'The ID of the SQL task. You can call the [ListDBTaskSQLJob](~~207049~~) operation to query the ID of the SQL task.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1276****', 'title' => ''], ], [ - 'name' => 'TableName', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'table_name', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID. You can use the request ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Table' => [ - 'description' => 'The information about the table.'."\n", - 'example' => 'bill_orders', - '$ref' => '#/components/schemas/TableKnowledgeInfo', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4AC23904-55DE-550B-9676-E8946F07****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'JobId is mandatory for this action.', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'MissingJobId', 'title' => ''], + 'Log' => ['description' => 'The log that records the scheduling details.'."\n", 'type' => 'string', 'example' => 'log_****', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'GetDBTaskSQLJobLog', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDBTaskSQLJobLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Table\\": {\\n \\"TableName\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"AssetDescription\\": \\"\\",\\n \\"Summary\\": \\"\\",\\n \\"ColumnList\\": [\\n {\\n \\"ColumnName\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"ColumnType\\": \\"\\",\\n \\"Position\\": 0,\\n \\"AssetDescription\\": \\"\\",\\n \\"AssetModifiedGmt\\": \\"\\"\\n }\\n ],\\n \\"AssetModifiedGmt\\": \\"\\"\\n }\\n}","type":"json"}]', - 'title' => 'GetTableKnowledgeInfo', - 'description' => 'This API can be called only for database instances that are enabled for security hosting.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4AC23904-55DE-550B-9676-E8946F07****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"JobId is mandatory for this action.\\",\\n \\"ErrorCode\\": \\"MissingJobId\\",\\n \\"Log\\": \\"log_****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', ], - 'EditMetaKnowledgeAsset' => [ - 'summary' => 'Edits the metadata business knowledge for specified GUIDs.', - 'path' => '', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetDBTopology' => [ + 'summary' => 'Queries the topologies of a logical database and its physical database shards.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '249769', - 'abilityTreeNodes' => [ - 'FEATUREdms90TD19', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'TableSchemaName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The schema name of the table, which is required only for SQL Server instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dbo', - ], - ], - [ - 'name' => 'ColumnName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the field. This parameter is used when the edited content is a field.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_column', - ], - ], - [ - 'name' => 'AssetDescription', - 'in' => 'query', - 'schema' => [ - 'description' => 'Business knowledge content edited by users.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], - ], - [ - 'name' => 'DbId', + 'name' => 'LogicDbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the physical database. You can call the [SearchDatabase](~~141876~~) operation to obtain the ID.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1930****', - ], + 'schema' => ['description' => 'The ID of the logical database. You can call the [ListLogicDatabases](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogicdatabases) or [SearchDatabase](https://www.alibabacloud.com/help/en/data-management-service/latest/searchdatabase) operation to query the ID of the logical database.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '134325', 'title' => ''], ], [ - 'name' => 'TableName', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'table_name', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '43215', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C5B8E84B-42B6-4374-AD5A-6264E1753378'], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'DBTopology' => [ + 'description' => 'The topology of the data table.'."\n", + 'type' => 'object', + 'properties' => [ + 'LogicDbId' => ['description' => 'The ID of the logical database.', 'type' => 'integer', 'format' => 'int64', 'example' => '1234', 'title' => ''], + 'LogicDbName' => ['description' => 'Logical database name.', 'type' => 'string', 'example' => 'logic_db_test', 'title' => ''], + 'SearchName' => ['description' => 'The name of the saved search.'."\n", 'type' => 'string', 'example' => 'logic_db_test', 'title' => ''], + 'Alias' => ['description' => 'The alias of the access point.'."\n", 'type' => 'string', 'example' => 'logic_db_test', 'title' => ''], + 'DbType' => ['description' => 'The type of the database engine.'."\n", 'type' => 'string', 'example' => 'polardb', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" + ."\n" + .'* product: production environment'."\n" + .'* dev: development environment'."\n" + .'* pre: pre-release environment'."\n" + .'* test: test environment'."\n" + .'* sit: system integration testing (SIT) environment'."\n" + .'* uat: user acceptance testing (UAT) environment'."\n" + .'* pet: stress testing environment'."\n" + .'* stag: staging environment'."\n", 'type' => 'string', 'example' => 'dev', 'title' => ''], + 'DBTopologyInfoList' => [ + 'description' => 'The list of database splitting topology information.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the database for which the schema design is executed.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '423532', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the logical database.'."\n" + ."\n" + .'> If the database is a PostgreSQL database, the value of this parameter is the name of the database schema.', 'type' => 'string', 'example' => 'db_test@rm-xxx:3306', 'title' => ''], + 'CatalogName' => ['description' => 'The name of the catalog to which the database belongs.'."\n" + ."\n" + .'> If the database is a PostgreSQL database, the value of this parameter is the name of the database.', 'type' => 'string', 'example' => 'def', 'title' => ''], + 'SearchName' => ['description' => 'The name of the saved search.'."\n", 'type' => 'string', 'example' => 'db_test', 'title' => ''], + 'DbType' => ['description' => 'The type of the database engine.'."\n", 'type' => 'string', 'example' => 'polardb', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the database belongs. Valid values:'."\n" + ."\n" + .'* product: production environment'."\n" + .'* dev: development environment'."\n" + .'* pre: staging environment'."\n" + .'* test: test environment'."\n" + .'* sit: SIT environment'."\n" + .'* uat: user acceptance testing (UAT) environment'."\n" + .'* pet: stress testing environment'."\n" + .'* stag: STAG environment', 'type' => 'string', 'example' => 'dev', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance. The valid value is returned if you call the ListInstances operation. The instance ID is not the ID of the RDS instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4325325', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region in which the instance resides.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceResourceId' => ['description' => 'Instance resource ID.', 'type' => 'string', 'example' => 'rm-xxx', 'title' => ''], + 'InstanceSource' => ['description' => 'The source of the database instance. Valid values:'."\n" + ."\n" + .'* **PUBLIC_OWN:** a self-managed database instance that is deployed on the Internet'."\n" + .'* **RDS:** an ApsaraDB RDS instance'."\n" + .'* **ECS_OWN:** a self-managed database that is deployed on an Elastic Compute Service (ECS) instance'."\n" + .'* **VPC_IDC:** a self-managed database instance that is deployed in a data center connected over a virtual private cloud (VPC)'."\n", 'type' => 'string', 'example' => 'RDS', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], 'title' => '', - 'description' => 'Request ID.'."\n", - 'type' => 'string', - 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'GetDBTopology', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDBTopology', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\"\\n}","type":"json"}]', - 'title' => 'EditMetaKnowledgeAsset', - 'description' => 'Edits the business knowledge of the metadata represented by the specified GUID.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C5B8E84B-42B6-4374-AD5A-6264E1753378\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DBTopology\\": {\\n \\"LogicDbId\\": 1234,\\n \\"LogicDbName\\": \\"logic_db_test\\",\\n \\"SearchName\\": \\"logic_db_test\\",\\n \\"Alias\\": \\"logic_db_test\\",\\n \\"DbType\\": \\"polardb\\",\\n \\"EnvType\\": \\"dev\\",\\n \\"DBTopologyInfoList\\": [\\n {\\n \\"DbId\\": 423532,\\n \\"SchemaName\\": \\"db_test@rm-xxx:3306\\",\\n \\"CatalogName\\": \\"def\\",\\n \\"SearchName\\": \\"db_test\\",\\n \\"DbType\\": \\"polardb\\",\\n \\"EnvType\\": \\"dev\\",\\n \\"InstanceId\\": 4325325,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceResourceId\\": \\"rm-xxx\\",\\n \\"InstanceSource\\": \\"RDS\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>C5B8E84B-42B6-4374-AD5A-6264E1753378</RequestId>\\n<Success>true</Success>\\n<ErrorMessage>UnknownError</ErrorMessage>\\n<ErrorCode>UnknownError</ErrorCode>\\n<DBTopology>\\n <LogicDbId>1234</LogicDbId>\\n <LogicDbName>logic_db_test</LogicDbName>\\n <SearchName>logic_db_test</SearchName>\\n <Alias>logic_db_test</Alias>\\n <DbType>polardb</DbType>\\n <EnvType>dev</EnvType>\\n <DBTopologyInfoList>\\n <DbId>423532</DbId>\\n <SchemaName>db_test@rm-xxx:3306</SchemaName>\\n <CatalogName>def</CatalogName>\\n <SearchName>db_test</SearchName>\\n <DbType>polardb</DbType>\\n <EnvType>dev</EnvType>\\n <InstanceId>4325325</InstanceId>\\n <RegionId>cn-hangzhou</RegionId>\\n <InstanceResourceId>rm-xxx</InstanceResourceId>\\n <InstanceSource>RDS</InstanceSource>\\n </DBTopologyInfoList>\\n</DBTopology>","errorExample":""}]', ], - 'CreateOrder' => [ - 'summary' => 'Creates a ticket.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDataArchiveCount' => [ + 'summary' => 'Queries the statistics on the number of data archiving tickets, including the number of tickets of successful data archiving, failed data archiving,and in-progress data archiving, and the total number of data archiving tickets.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdms25Q07S', - ], - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], - ], - [ - 'name' => 'Comment', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the ticket to be created.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test', - ], - ], - [ - 'name' => 'PluginParam', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The ticket creation parameter. The value is a JSON string. The value of this parameter differs based on the type of the ticket. For more information, see the **PluginParam parameter** section in this topic.'."\n", - 'type' => 'object', - 'required' => true, - 'docRequired' => true, - 'example' => '{PluginParam_test}', - ], - ], - [ - 'name' => 'RelatedUserList', + 'name' => 'PluginType', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the stakeholders that are involved in the ticket. Separate multiple IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'user1,user2', - ], + 'schema' => ['description' => 'The plugin type. Default value: DATA_ARCHIVE.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DATA_ARCHIVE', 'default' => 'DATA_ARCHIVE', 'title' => ''], ], [ - 'name' => 'PluginType', + 'name' => 'OrderResultType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the ticket. For more information, see [PluginType parameter](~~429109~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DATA_EXPORT', - ], + 'schema' => ['description' => 'The type of the identity. Default value: AS_ADMIN.'."\n", 'type' => 'string', 'required' => false, 'example' => 'AS_ADMIN', 'default' => 'AS_ADMIN', 'title' => ''], ], [ - 'name' => 'AttachmentKey', + 'name' => 'SearchDateType', 'in' => 'query', - 'schema' => [ - 'description' => 'The key of an attachment that is returned after the attachment is uploaded. You can call the [GetUserUploadFileJob](~~206069~~) operation to query the key of the attachment.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_AttachmentKey', - ], + 'schema' => ['description' => 'The time when the ticket is modified or created. The statistics of data archiving tickets are calculated based on the creation time.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CREATE_TIME', 'default' => 'CREATE_TIME', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '2****', 'title' => ''], ], ], 'responses' => [ @@ -17403,94 +12078,52 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CreateOrderResult' => [ + 'Data' => [ + 'description' => 'The data returned.'."\n", 'type' => 'object', - 'itemNode' => true, 'properties' => [ - 'OrderIds' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12***', - ], - ], + 'FailCount' => ['title' => '', 'description' => 'The number of tickets that data archiving failed.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'ProcessingCount' => ['title' => '', 'description' => 'The number of tickets that data archiving is in progress.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '180'], + 'SuccessCount' => ['title' => '', 'description' => 'The number of tickets that data archiving is successful.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '900'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of data archiving tickets.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1400'], ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6****', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '4B63CAC5-BD7F-5C7C-82C9-59DFFBC3C5C2', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CreateOrderResult\\": {\\n \\"OrderIds\\": [\\n 0\\n ]\\n },\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6****\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<CreateOrderResponse>\\n <RequestId>427688B8-ADFB-4C4E-9D45-EF5C1FD6****</RequestId>\\n <CreateOrderResult>\\n <OrderIds>12***</OrderIds>\\n </CreateOrderResult>\\n <Success>true</Success>\\n</CreateOrderResponse>","errorExample":""}]', - 'title' => 'CreateOrder', - 'description' => 'To facilitate ticket creation, you can call the following dedicated operations to create some types of tickets:'."\n" - ."\n" - .'* [CreateDataCorrectOrder](~~208388~~): creates a regular data change ticket.'."\n" - .'* [CreateDataCronClearOrder](~~208385~~): creates a ticket to clear historical data.'."\n" - .'* [CreateDataImportOrder](~~208387~~): creates a data import ticket.'."\n" - .'* [CreateFreeLockCorrectOrder](~~208386~~): creates a lock-free change ticket.'."\n", - 'requestParamsDescription' => '## PluginParam parameter'."\n" - ."\n" - .'```'."\n" - ."\n" - .'# Change a schema design.'."\n" - .' {'."\n" - .' "title": "test", // The name of the ticket.'."\n" - .' "description": "test", // The description of the ticket.'."\n" - .' "dbId": 11****, // The database to which changes are made.'."\n" - .' "logic": false, // Specifies whether the database is a logical database.'."\n" - .' "relatedIds": [], // The IDs of the stakeholders that are involved in the ticket.'."\n" - .' }'."\n" - ."\n" - .'# Export data.'."\n" - .' {'."\n" - .' "classify": "Reason", // The purpose of the ticket.'."\n" - .' "dbId": 17****, // The ID of the database from which data is exported.'."\n" - .' "exeSQL": "select 1", // The SQL statement that is executed to export data.'."\n" - .' "logic": false, // Specifies whether the database is a logical database.'."\n" - .' "ignoreAffectRows": false, // Specifies whether to ignore the affected rows.'."\n" - .' "affectRows": 1, // The estimated number of affected rows.'."\n" - .' "ignoreAffectRowsReason": "" // The reason for ignoring the affected rows.'."\n" - .' }'."\n" - ."\n" - .'If you need to create more types of tickets, submit a ticket for consultation. '."\n" - .'```'."\n", - ], - 'GetApprovalDetail' => [ - 'summary' => 'Queries the approval details of a ticket.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetDataArchiveCount', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetDataArchiveCount', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"FailCount\\": 12,\\n \\"ProcessingCount\\": 180,\\n \\"SuccessCount\\": 900,\\n \\"TotalCount\\": 1400\\n },\\n \\"Success\\": true,\\n \\"RequestId\\": \\"4B63CAC5-BD7F-5C7C-82C9-59DFFBC3C5C2\\"\\n}","type":"json"}]', + ], + 'GetDataArchiveOrderDetail' => [ + 'summary' => 'Queries the details of a data archiving ticket, including the time when the ticket was created, the scheduling information of the data archiving task, the logs of the data archiving task, and the database to which data is archived.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17498,35 +12131,19 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The IDs of data archiving tickets.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '868****', 'title' => ''], ], [ - 'name' => 'WorkflowInstanceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the approval process. You can call the [GetOrderBaseInfo](~~144642~~) operation to obtain the ID of the approval process.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '184****', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '5***', 'title' => ''], ], ], 'responses' => [ @@ -17534,231 +12151,379 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '66DE630B-ECA1-52A3-9198-602066F9****', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'MissingWorkflowInstanceId', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'WorkflowInstanceId is mandatory for this action.', - ], - 'ApprovalDetail' => [ - 'description' => 'The approval details of the ticket.'."\n", + 'TraceId' => ['title' => 'Id of the request', 'description' => 'Tracks service requests.'."\n", 'type' => 'string', 'example' => '0a06e1e316757357507896067d3780'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'User [199295823****] not exist', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the call failed.'."\n", 'type' => 'string', 'example' => 'NoPermission', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request, which is used to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '4161CE36-28DF-5191-8A6F-A17076A0B124', 'title' => ''], + 'DataArchiveOrderDetail' => [ + 'description' => 'The details of data archiving tickets.'."\n", 'type' => 'object', 'properties' => [ - 'WorkflowNodes' => [ + 'Comment' => ['description' => 'The description of the data archiving tickets.'."\n", 'type' => 'string', 'example' => 'Archiving of test results', 'title' => ''], + 'Committer' => ['description' => 'The user who submitted the ticket.'."\n", 'type' => 'string', 'example' => 'dmstest', 'title' => ''], + 'CommitterId' => ['description' => 'The ID of the user who submitted the ticket. The ID is a user ID and not the ID of an Alibaba Cloud account.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '26***', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the ticket was created.'."\n", 'type' => 'string', 'example' => '2023-05-15 16:00:48', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the ticket was last modified.'."\n", 'type' => 'string', 'example' => '2023-05-23 16:00:48', 'title' => ''], + 'Id' => ['description' => 'The ID of data archiving tickets.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '868****', 'title' => ''], + 'PluginExtraData' => [ + 'description' => 'The additional information about the ticket.'."\n", 'type' => 'object', - 'itemNode' => true, 'properties' => [ - 'WorkflowNode' => [ - 'description' => 'The details of approval nodes.'."\n", + 'DagInfo' => [ + 'description' => 'The information about the workflow.'."\n", + 'type' => 'object', + 'properties' => [ + 'CreatorId' => ['description' => 'The ID of the user who created the task flow.'."\n", 'type' => 'string', 'example' => '59****', 'title' => ''], + 'CronBeginDate' => ['description' => 'The start time for scheduling. The task flow is not scheduled before this point in time.'."\n", 'type' => 'string', 'example' => '1970-01-01', 'title' => ''], + 'CronEndDate' => ['description' => 'The end time for scheduling. The task flow is not scheduled after this point in time.'."\n", 'type' => 'string', 'example' => '9999-01-01', 'title' => ''], + 'CronTrigger' => ['description' => 'Indicates whether the archiving task is a scheduled task. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'DWDevelop' => ['description' => 'Indicates whether the task is used to develop warehouses.'."\n" + ."\n" + .'> This field is a retained field that is not in use.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'DagName' => ['description' => 'The name of the workflow.'."\n", 'type' => 'string', 'example' => 'data-archive-9099197', 'title' => ''], + 'DagOwnerId' => ['description' => 'The ID of the owner of the workflow.'."\n", 'type' => 'string', 'example' => '13****', 'title' => ''], + 'DeployId' => ['description' => 'The ID of the deployment record.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '93***', 'title' => ''], + 'Description' => ['description' => 'The description of the workflow.'."\n", 'type' => 'string', 'example' => 'order id:9099197', 'title' => ''], + 'EditDagId' => ['description' => 'The ID of the editable workflow version.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '24***', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the workflow was created.'."\n", 'type' => 'string', 'example' => '2023-05-15 16:00:48', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the workflow was last modified.'."\n", 'type' => 'string', 'example' => '2023-06-15 16:00:48', 'title' => ''], + 'Id' => ['description' => 'The ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '24***', 'title' => ''], + 'IsPublic' => ['description' => 'Indicates whether the workflow is public. Valid values:'."\n" + ."\n" + .'* **0**: not public.'."\n" + .'* **1**: public.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Legacy' => ['description' => 'Indicates whether the task is a historical task. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'System' => ['description' => 'Indicates whether the task was created by the system. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'TenantId' => ['description' => 'The tenant ID.'."\n", 'type' => 'string', 'example' => '5***', 'title' => ''], + 'TriggerOnce' => ['description' => 'Indicates whether the workflow is triggered to run once. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DbBaseInfo' => [ + 'description' => 'The database information related to data archiving tickets.'."\n", + 'type' => 'object', + 'properties' => [ + 'Alias' => ['description' => 'The alias of the database instance.'."\n", 'type' => 'string', 'example' => 'tf-testAccDMSEnterpriseLogicDatabase853****', 'title' => ''], + 'AlterTimeout' => ['description' => 'The timeout period of queries on the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '600', 'title' => ''], + 'AssetControl' => ['description' => 'Indicates whether access control is enabled for data assets. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'CatalogName' => ['description' => 'The name of the instance in the instance list.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'ClusterNode' => ['description' => 'Indicates whether the instance is added to the DMS whitelist.'."\n", 'type' => 'string', 'example' => 'whitelist_done', 'title' => ''], + 'DbId' => ['description' => 'The ID of the database. You can call the [SearchDatabase](~~141876~~) operation to query the ID of the database.'."\n" + ."\n" + .'> You can call the [ListDatabases](~~141873~~) operation to query the ID of a physical database or the [ListLogicDatabases](~~141874~~) operation to query the ID of a logical database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '348****', 'title' => ''], + 'DbType' => ['description' => 'The type of the database. For information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'DbaId' => ['description' => 'The ID of the database administrator (DBA) of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '16****', 'title' => ''], + 'DbaName' => ['description' => 'The nickname of the DBA of the instance.'."\n", 'type' => 'string', 'example' => 'DBA', 'title' => ''], + 'Description' => ['description' => 'The complete endpoint of the database.'."\n", 'type' => 'string', 'example' => 'test@rm-2ze756u8837****.mysql.rds.aliyuncs.com:3306 [test]', 'title' => ''], + 'Encoding' => ['description' => 'The encoding format of the database.'."\n", 'type' => 'string', 'example' => 'utf8', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the database belongs. Valid values:'."\n" + ."\n" + .'* **product**: production environment'."\n" + .'* **dev**: development environment'."\n" + .'* **pre**: staging environment'."\n" + .'* **test**: test environment'."\n" + .'* **sit**: system integration testing (SIT) environment'."\n" + .'* **uat**: user acceptance testing (UAT) environment'."\n" + .'* **pet**: stress testing environment'."\n" + .'* **stag**: STAG environment'."\n", 'type' => 'string', 'example' => 'product', 'title' => ''], + 'Follow' => ['description' => 'Indicates whether the instance needs special attention. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Host' => ['description' => 'The endpoint that is used to connect to the database.'."\n", 'type' => 'string', 'example' => 'rm-2ze756u8837****.mysql.rds.aliyuncs.com', 'title' => ''], + 'Idc' => ['description' => 'The region in which the database instance resides.'."\n", 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'IdcTitle' => ['description' => 'The name of the region in which the database instance resides.'."\n", 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance to which the database belongs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '175****', 'title' => ''], + 'InstanceSource' => ['description' => 'The source of the database instance.Valid values:'."\n" + ."\n" + .'* **RDS**: an ApsaraDB RDS instance.'."\n" + .'* **ECS_OWN**: a self-managed database deployed on an Elastic Compute Service (ECS) instance.'."\n" + .'* **PUBLIC_OWN**: a self-managed database instance that is connected over the Internet.'."\n" + .'* **VPC_ID**: a self-managed database instance in a virtual private cloud (VPC) that is connected over Express Connect circuits.'."\n" + .'* **GATEWAY**: a database instance connected by using a database gateway.'."\n", 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'LastSyncTime' => ['description' => 'The time when the database information was last obtained.'."\n", 'type' => 'string', 'example' => '2023-05-14 18:34:45', 'title' => ''], + 'Level' => ['description' => 'The instance level.'."\n", 'type' => 'string', 'example' => '中', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is logical. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'OwnerIds' => [ + 'description' => 'The IDs of the owners of the databases, which are stored as an array. You can call the [GetUser](~~147098~~) or [ListUsers](~~141938~~) operation to query the IDs of the owners.'."\n" + ."\n" + .'> The value of OwnerIds is the same as the value of UserId'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the owner of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '77****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'OwnerNames' => [ + 'description' => 'The usernames of the database owners.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The username of the database owner.'."\n", 'type' => 'string', 'example' => '天天', 'title' => ''], + 'example' => 'Jane', + 'title' => '', + ], + 'Port' => ['description' => 'The port that is used to connect to the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3306', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'SearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'example' => 'test@rm-2ze756u8837****.mysql.rds.aliyuncs.com:3306 [test]', 'title' => ''], + 'StandardGroup' => [ + 'description' => 'The details of the control mode of the instance.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbType' => ['description' => 'The type of the instance engine. For information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'Description' => ['description' => 'The description of the security rule set.'."\n", 'type' => 'string', 'example' => 'adb_mysql default', 'title' => ''], + 'FreeOrStable' => ['description' => 'Indicates whether the instance is managed in Flexible Management or Stable Change mode. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the security rule was created.'."\n", 'type' => 'string', 'example' => '2020-05-24 14:12:32', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the security rule was last modified.'."\n", 'type' => 'string', 'example' => '2020-05-25 14:12:32', 'title' => ''], + 'GroupMode' => ['description' => 'The type of the control mode of the instance. Valid values:'."\n" + ."\n" + .'* **COMMON**: The instance is managed in Security Collaboration mode.'."\n" + .'* **NONE_CONTROL**: The instance is managed in Flexible Management mode.'."\n" + .'* **STABLE**: The instance is managed in Stable Change mode.'."\n", 'type' => 'string', 'example' => 'COMMON', 'title' => ''], + 'GroupName' => ['description' => 'The name of the security rule that corresponds to the control mode.'."\n", 'type' => 'string', 'example' => 'adb_mysql default', 'title' => ''], + 'Id' => ['description' => 'The ID of the security rule.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '24***', 'title' => ''], + 'LastMenderId' => ['description' => 'The user ID of the last modified security rule.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'State' => ['description' => 'The status of the database. Valid values:'."\n" + ."\n" + .'* **NORMAL**: The database is running as expected.'."\n" + .'* **DISABLE**: The database is disabled.'."\n" + .'* **OFFLINE**: The database is unpublished.'."\n" + .'* **NOT_EXIST**: The database does not exist.'."\n", 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], + 'TableCount' => ['description' => 'The number of tables.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '201', 'title' => ''], + 'TnsName' => ['description' => 'The name of TNS.'."\n", 'type' => 'string', 'example' => 'TNS_4010', 'title' => ''], + 'UnitType' => ['description' => 'The unit type.'."\n", 'type' => 'string', 'example' => '-1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InstanceTotal' => ['description' => 'The total number of archiving tasks.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'Instances' => [ + 'description' => 'The list of archiving tasks.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'OperateTime' => [ - 'description' => 'The time when the ticket was submitted.'."\n", - 'type' => 'string', - 'example' => '2019-10-15 13:47:54', - ], - 'OperatorId' => [ - 'description' => 'The ID of the user who submitted the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1****', - ], - 'NodeName' => [ - 'description' => 'The name of the approval node.'."\n", - 'type' => 'string', - 'example' => 'DBA', - ], - 'AuditUserIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'AuditUserIds' => [ - 'description' => 'The IDs of the approvers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the approver.'."\n", - 'type' => 'string', - 'example' => '10****', - ], - ], - ], - ], - 'OperateComment' => [ - 'description' => 'The remarks of the approval.'."\n", - 'type' => 'string', - 'example' => 'Reason: Approved'."\n", - ], - 'WorkflowInsCode' => [ - 'description' => 'The approval status of the ticket. Valid values:'."\n" - ."\n" - .'* **START**: The ticket was submitted.'."\n" - .'* **ERROR**: An error occurred.'."\n" - .'* **AUDITING**: The ticket is being reviewed.'."\n" - .'* **REJECT**: The ticket was rejected.'."\n" - .'* **CANCEL**: The ticket was revoked.'."\n" - .'* **APPROVED**: The ticket was approved.'."\n", - 'type' => 'string', - 'example' => 'APPROVED', - ], + 'BusinessTime' => ['description' => 'The business time of the task flow. The time is displayed in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'example' => '2023-05-14 16:00:57', 'title' => ''], + 'DagId' => ['description' => 'The task flow ID. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the value of this parameter.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '37***', 'title' => ''], + 'EndTime' => ['description' => 'The time when the task flow ended. The time is displayed in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'example' => '2022-06-04 15:14:00', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the task flow was created.'."\n", 'type' => 'string', 'example' => '2023-05-14 16:00:57', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the task flow was last modified.'."\n", 'type' => 'string', 'example' => '2023-05-14 16:00:57', 'title' => ''], + 'HistoryDagId' => ['description' => 'The ID of the historical task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '32***', 'title' => ''], + 'Id' => ['description' => 'The ID of the instance in the task flow that is executed.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '24***', 'title' => ''], + 'LastRunningContext' => ['description' => 'The context of the previous execution of the task flow.'."\n", 'type' => 'string', 'example' => '{'."\n" + .' "nodes": ['."\n" + .' 48**'."\n" + .' ],'."\n" + .' "edges": {}'."\n" + .'}', 'title' => ''], + 'Msg' => ['description' => 'The context of the current execution of the task flow.'."\n", 'type' => 'string', 'example' => '归档任务日志:2023-05-15 16:37:48[GMT+08:00] INFO - Resource Control is active!\\n2023-05-15 16:37:48[GMT+08:00] INFO - Starting job j_4834 at Mon May 15 16:37:48 CST 2023', 'title' => ''], + 'Status' => ['description' => 'The status of the task. Valid values:'."\n" + ."\n" + .'* **0**: The task is waiting for execution.'."\n" + .'* **1**: The task is in progress.'."\n" + .'* **2**: The task is suspended.'."\n" + .'* **3**: The task failed.'."\n" + .'* **4**: The task is successful.'."\n" + .'* **5**: The task is complete.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4', 'title' => ''], + 'TenantId' => ['description' => 'The tenant ID.'."\n", 'type' => 'string', 'example' => '5***', 'title' => ''], + 'TriggerType' => ['description' => 'The mode in which the task flow was triggered. Valid values:'."\n" + ."\n" + .'* **0**: The task flow was triggered based on a schedule.'."\n" + .'* **1**: The task flow was manually triggered.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Version' => ['description' => 'The version number.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'NextFireTimeResult' => [ + 'description' => 'The time when the next task is triggered.'."\n", + 'type' => 'object', + 'properties' => [ + 'CronFireType' => ['description' => 'The type of scheduled triggering.'."\n", 'type' => 'string', 'example' => 'NOT_SET', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'PageIndex' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + 'TempTableNameMap' => ['description' => 'The name of the temporary table that is generated by the archiving task (indicated by the archiving task ID).'."\n", 'type' => 'object', 'example' => '{'."\n" + .' "803***": ['."\n" + .' "tmp_dms_21321_20230704144336_temp_test_check"'."\n" + .' ]'."\n" + .'}', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'Description' => [ - 'description' => 'The description of the approval process.'."\n", - 'type' => 'string', - 'example' => '\\[Instance permissions] Application\\<br/>Permission type: ⌈Logon⌋\\<br/>Application period: 30.0 days\\<br/>Background description: \\[Instance permissions] logon test\\<br/>\\<br/>\\[Application list]\\<br/>\\<span style=\'color:red\'>product\\</span> rm-bp144d5ky4l4rli0417\\*\\*\\*\\*.mysql.rds.aliyuncs.com:3306 - PRODUCT\\<br/>'."\n", - ], - 'CreateTime' => [ - 'description' => 'The time when the approval process was created.'."\n", - 'type' => 'string', - 'example' => '2021-10-29 14:17:25', - ], - 'CurrentHandlers' => [ + 'PluginParam' => [ + 'description' => 'The ticket creation parameter. The value is a JSON string. For more information, see [PluginType parameter](~~429109~~).'."\n", 'type' => 'object', - 'itemNode' => true, 'properties' => [ - 'CurrentHandler' => [ - 'description' => 'The information about the approver.'."\n", + 'ArchiveMethod' => ['description' => 'The type of the archiving destination.'."\n", 'type' => 'string', 'example' => 'inner_oss', 'title' => ''], + 'DbSchema' => ['description' => 'The schema of the database and table to be archived.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is logical.'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'OrderAfter' => [ + 'description' => 'The post behavior of archiving.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The post behavior of archiving. The post behavior is to use the DELETE statement to clean up the table.'."\n", 'type' => 'string', 'example' => 'delete', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'RunMethod' => ['description' => 'The running method, which indicates whether to run the task immediately or at a specific point in time.'."\n", 'type' => 'string', 'example' => 'now', 'title' => ''], + 'SourceDatabaseId' => ['description' => 'The ID of the source database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12***', 'title' => ''], + 'TableIncludes' => [ + 'description' => 'The list of the archived tables and the filter conditions.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'NickName' => [ - 'description' => 'The nickname of the user.'."\n", - 'type' => 'string', - 'example' => 'nickName', - ], - 'Id' => [ - 'description' => 'The ID of the user.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'TableName' => ['description' => 'The table name.'."\n", 'type' => 'string', 'example' => 'tm_insured_cb', 'title' => ''], + 'TableWhere' => ['description' => 'The filter condition.'."\n", 'type' => 'string', 'example' => 'id<1000或者gmt_create<\'2023-05-14 16:00:57\'', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - ], - ], - 'OrderType' => [ - 'description' => 'The type of the ticket. Valid values:'."\n" - ."\n" - .'* **NDDL**: a schema design ticket'."\n" - .'* **DATA_TRACK**: a data tracking ticket'."\n" - .'* **TABLE_SYNC**: a table synchronization ticket'."\n" - .'* **PERM_APPLY**: a permission application ticket'."\n" - .'* **DATA_EXPORT**: a data export ticket'."\n" - .'* **DATA_CORRECT**: a data change ticket'."\n" - .'* **OWNER_APPLY**: an owner role application ticket'."\n" - .'* **SENSITIVITY**: a column sensitivity level change ticket'."\n", - 'type' => 'string', - 'example' => 'PERM_APPLY', - ], - 'Title' => [ - 'description' => 'The title of the approval process.'."\n", - 'type' => 'string', - 'example' => 'Permission application ticket - 384\\*\\*\\*\\*'."\n", - ], - 'AuditId' => [ - 'description' => 'The ID of the approval process.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '184****', - ], - 'OrderId' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '384****', - ], - 'WorkflowInsCode' => [ - 'description' => 'The approval status of the ticket. Valid values:'."\n" - ."\n" - .'* **AUDITING**: The ticket is being reviewed.'."\n" - .'* **REJECT**: The ticket was rejected.'."\n" - .'* **CANCEL**: The ticket was revoked.'."\n" - .'* **APPROVED**: The ticket was approved.'."\n" - ."\n" - .'> An approval process contains multiple approval nodes, and this parameter is returned for each approval node.'."\n", - 'type' => 'string', - 'example' => 'APPROVED', - ], - 'ReasonList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Reasons' => [ - 'description' => 'The reasons for the approval.'."\n", + 'TableMapping' => [ + 'description' => 'The mapping of schemas.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The reason for the approval.'."\n", - 'type' => 'string', - 'example' => 'According to security rules, permission applications need to be approved.'."\n", - ], + 'items' => ['description' => 'The mapping of the source table name, source column name, destination table name, and destination column name.'."\n", 'type' => 'string', 'example' => '{'."\n" + .' "schema": "oracle_info",'."\n" + .' "tarTb": "eoa_context_test",'."\n" + .' "tbPartKey": [],'."\n" + .' "oriTb": "eoa_context",'."\n" + .' "columns": ['."\n" + .' {'."\n" + .' "tName": "dbid_test",'."\n" + .' "oName": "dbid"'."\n" + .' }'."\n" + .' ],'."\n" + .' "dbPartKey": [],'."\n" + .' "customPk": ['."\n" + .' "id"'."\n" + .' ]'."\n" + .' }', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'TargetInstanceId' => ['description' => 'The ID of the destination instance.'."\n", 'type' => 'string', 'example' => '12***', 'title' => ''], + 'Variables' => [ + 'description' => 'The time variable defined for scheduled archiving.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The time variable that calculates an offset based on the previous day of the current time.'."\n", 'type' => 'string', 'example' => '{'."\n" + .' "name": "test",'."\n" + .' "pattern": "yyyy-MM-dd|-10d"'."\n" + .' }', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'TemplateId' => [ - 'title' => '工作流模板ID', - 'description' => 'The ID of the workflow template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1234', - ], - 'ThirdpartyWorkflowUrl' => [ - 'description' => 'The third-party approval flow link.', - 'type' => 'string', - 'example' => 'https://xxx', + 'PluginType' => ['description' => 'The plug-in type that corresponds to the type of the ticket. The plug-in type for data archiving is DATA_ARCHIVE. For more information, see [PluginType parameter](~~429109~~).'."\n", 'type' => 'string', 'example' => 'DATA_ARCHIVE', 'title' => ''], + 'RelatedUserList' => [ + 'description' => 'The user IDs related to the ticket.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The user IDs related to the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '65****', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'ThirdpartyWorkflowComment' => [ - 'description' => 'Third-party approval flow remarks.', - 'type' => 'string', - 'example' => 'test', + 'RelatedUserNickList' => [ + 'description' => 'The nicknames of the users that are related to the ticket.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The nickname of the user that is related to the ticket.'."\n", 'type' => 'string', 'example' => 'publicyuhzou', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'StatusCode' => ['description' => 'The status code of the ticket. Valid values:'."\n" + ."\n" + .'* **new**: newly created.'."\n" + .'* **toaudit**: being reviewed.'."\n" + .'* **Approved**: approved.'."\n" + .'* **reject**: rejected.'."\n" + .'* **processing**: being executed.'."\n" + .'* **Success**: successful.'."\n" + .'* **closed**: disabled.'."\n", 'type' => 'string', 'example' => 'processing', 'title' => ''], + 'StatusDesc' => ['description' => 'The status description of the ticket.'."\n", 'type' => 'string', 'example' => 'Executing ticket task.', 'title' => ''], + 'WorkflowInstanceId' => ['description' => 'The ID of the approval process. You can call the [GetOrderBaseInfo](~~144642~~) operation to obtain the ID of the approval process.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '29****', 'title' => ''], + 'WorkflowStatusDesc' => ['description' => 'The description of the approval process.'."\n", 'type' => 'string', 'example' => 'Approved', 'title' => ''], ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"66DE630B-ECA1-52A3-9198-602066F9****\\",\\n \\"ErrorCode\\": \\"MissingWorkflowInstanceId\\",\\n \\"ErrorMessage\\": \\"WorkflowInstanceId is mandatory for this action.\\",\\n \\"ApprovalDetail\\": {\\n \\"WorkflowNodes\\": {\\n \\"WorkflowNode\\": [\\n {\\n \\"OperateTime\\": \\"2019-10-15 13:47:54\\",\\n \\"OperatorId\\": 0,\\n \\"NodeName\\": \\"DBA\\",\\n \\"AuditUserIdList\\": {\\n \\"AuditUserIds\\": [\\n \\"10****\\"\\n ]\\n },\\n \\"OperateComment\\": \\"理由:同意\\",\\n \\"WorkflowInsCode\\": \\"APPROVED\\"\\n }\\n ]\\n },\\n \\"Description\\": \\"【实例权限】申请<br/>权限类型:「登录」<br/>申请期限:30.0 days<br/>背景描述:【实例权限】test登录<br/><br/>【申请列表】<br/><span style=\'color:red\'>product</span> rm-bp144d5ky4l4rli0417****.mysql.rds.aliyuncs.com:3306 - PRODUCT<br/>\\",\\n \\"CreateTime\\": \\"2021-10-29 14:17:25\\",\\n \\"CurrentHandlers\\": {\\n \\"CurrentHandler\\": [\\n {\\n \\"NickName\\": \\"nickName\\",\\n \\"Id\\": 1\\n }\\n ]\\n },\\n \\"OrderType\\": \\"PERM_APPLY\\",\\n \\"Title\\": \\"权限申请工单-384****\\",\\n \\"AuditId\\": 0,\\n \\"OrderId\\": 0,\\n \\"WorkflowInsCode\\": \\"APPROVED\\",\\n \\"ReasonList\\": {\\n \\"Reasons\\": [\\n \\"根据安全规则,权限申请需要审批\\"\\n ]\\n },\\n \\"TemplateId\\": 1234,\\n \\"ThirdpartyWorkflowUrl\\": \\"https://xxx\\",\\n \\"ThirdpartyWorkflowComment\\": \\"test\\"\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetApprovalDetailResponse>\\n <RequestId>66DE630B-ECA1-52A3-9198-602066F9****</RequestId>\\n <ErrorCode>MissingWorkflowInstanceId</ErrorCode>\\n <ErrorMessage>WorkflowInstanceId is mandatory for this action.</ErrorMessage>\\n <ApprovalDetail>\\n <WorkflowNodes>\\n <OperateTime>2019-10-15 13:47:54</OperateTime>\\n <NodeName>DBA</NodeName>\\n <AuditUserIdList>10****</AuditUserIdList>\\n <OperateComment>理由:同意</OperateComment>\\n <WorkflowInsCode>APPROVED</WorkflowInsCode>\\n </WorkflowNodes>\\n <Description>【实例权限】申请<br/>权限类型:「登录」<br/>申请期限:30.0 days<br/>背景描述:【实例权限】test登录<br/><br/>【申请列表】<br/><span style=\'color:red\'>product</span> rm-bp144d5ky4l4rli0417****.mysql.rds.aliyuncs.com:3306 - PRODUCT<br/></Description>\\n <CreateTime>2021-10-29 14:17:25</CreateTime>\\n <CurrentHandlers>\\n <NickName>nickName</NickName>\\n <Id>1</Id>\\n </CurrentHandlers>\\n <OrderType>PERM_APPLY</OrderType>\\n <Title>权限申请工单-384****</Title>\\n <WorkflowInsCode>APPROVED</WorkflowInsCode>\\n <ReasonList>根据安全规则,权限申请需要审批</ReasonList>\\n <TemplateId>1234</TemplateId>\\n </ApprovalDetail>\\n <Success>true</Success>\\n</GetApprovalDetailResponse>","errorExample":""}]', - 'title' => 'GetApprovalDetail', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListOrders' => [ - 'summary' => 'Queries tickets.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TraceId\\": \\"0a06e1e316757357507896067d3780\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"User [199295823****] not exist\\",\\n \\"ErrorCode\\": \\"NoPermission\\",\\n \\"RequestId\\": \\"4161CE36-28DF-5191-8A6F-A17076A0B124\\",\\n \\"DataArchiveOrderDetail\\": {\\n \\"Comment\\": \\"Archiving of test results\\",\\n \\"Committer\\": \\"dmstest\\",\\n \\"CommitterId\\": 0,\\n \\"GmtCreate\\": \\"2023-05-15 16:00:48\\",\\n \\"GmtModified\\": \\"2023-05-23 16:00:48\\",\\n \\"Id\\": 0,\\n \\"PluginExtraData\\": {\\n \\"DagInfo\\": {\\n \\"CreatorId\\": \\"59****\\",\\n \\"CronBeginDate\\": \\"1970-01-01\\",\\n \\"CronEndDate\\": \\"9999-01-01\\",\\n \\"CronTrigger\\": false,\\n \\"DWDevelop\\": false,\\n \\"DagName\\": \\"data-archive-9099197\\",\\n \\"DagOwnerId\\": \\"13****\\",\\n \\"DeployId\\": 0,\\n \\"Description\\": \\"order id:9099197\\",\\n \\"EditDagId\\": 0,\\n \\"GmtCreate\\": \\"2023-05-15 16:00:48\\",\\n \\"GmtModified\\": \\"2023-06-15 16:00:48\\",\\n \\"Id\\": 0,\\n \\"IsPublic\\": 0,\\n \\"Legacy\\": false,\\n \\"System\\": false,\\n \\"TenantId\\": \\"5***\\",\\n \\"TriggerOnce\\": false\\n },\\n \\"DbBaseInfo\\": {\\n \\"Alias\\": \\"tf-testAccDMSEnterpriseLogicDatabase853****\\",\\n \\"AlterTimeout\\": 600,\\n \\"AssetControl\\": true,\\n \\"CatalogName\\": \\"test\\",\\n \\"ClusterNode\\": \\"whitelist_done\\",\\n \\"DbId\\": 0,\\n \\"DbType\\": \\"MySQL\\",\\n \\"DbaId\\": 0,\\n \\"DbaName\\": \\"DBA\\",\\n \\"Description\\": \\"test@rm-2ze756u8837****.mysql.rds.aliyuncs.com:3306 [test]\\",\\n \\"Encoding\\": \\"utf8\\",\\n \\"EnvType\\": \\"product\\",\\n \\"Follow\\": false,\\n \\"Host\\": \\"rm-2ze756u8837****.mysql.rds.aliyuncs.com\\",\\n \\"Idc\\": \\"cn-beijing\\",\\n \\"IdcTitle\\": \\"cn-beijing\\",\\n \\"InstanceId\\": 0,\\n \\"InstanceSource\\": \\"RDS\\",\\n \\"LastSyncTime\\": \\"2023-05-14 18:34:45\\",\\n \\"Level\\": \\"中\\",\\n \\"Logic\\": false,\\n \\"OwnerIds\\": [\\n 0\\n ],\\n \\"OwnerNames\\": [\\n \\"天天\\"\\n ],\\n \\"Port\\": 3306,\\n \\"SchemaName\\": \\"test\\",\\n \\"SearchName\\": \\"test@rm-2ze756u8837****.mysql.rds.aliyuncs.com:3306 [test]\\",\\n \\"StandardGroup\\": {\\n \\"DbType\\": \\"MySQL\\",\\n \\"Description\\": \\"adb_mysql default\\",\\n \\"FreeOrStable\\": false,\\n \\"GmtCreate\\": \\"2020-05-24 14:12:32\\",\\n \\"GmtModified\\": \\"2020-05-25 14:12:32\\",\\n \\"GroupMode\\": \\"COMMON\\",\\n \\"GroupName\\": \\"adb_mysql default\\",\\n \\"Id\\": 0,\\n \\"LastMenderId\\": 0\\n },\\n \\"State\\": \\"NORMAL\\",\\n \\"TableCount\\": 201,\\n \\"TnsName\\": \\"TNS_4010\\",\\n \\"UnitType\\": \\"-1\\"\\n },\\n \\"InstanceTotal\\": 2,\\n \\"Instances\\": [\\n {\\n \\"BusinessTime\\": \\"2023-05-14 16:00:57\\",\\n \\"DagId\\": 0,\\n \\"EndTime\\": \\"2022-06-04 15:14:00\\",\\n \\"GmtCreate\\": \\"2023-05-14 16:00:57\\",\\n \\"GmtModified\\": \\"2023-05-14 16:00:57\\",\\n \\"HistoryDagId\\": 0,\\n \\"Id\\": 0,\\n \\"LastRunningContext\\": \\"{\\\\n \\\\\\"nodes\\\\\\": [\\\\n 48**\\\\n ],\\\\n \\\\\\"edges\\\\\\": {}\\\\n}\\",\\n \\"Msg\\": \\"归档任务日志:2023-05-15 16:37:48[GMT+08:00] INFO - Resource Control is active!\\\\\\\\n2023-05-15 16:37:48[GMT+08:00] INFO - Starting job j_4834 at Mon May 15 16:37:48 CST 2023\\",\\n \\"Status\\": 4,\\n \\"TenantId\\": \\"5***\\",\\n \\"TriggerType\\": 1,\\n \\"Version\\": \\"1\\"\\n }\\n ],\\n \\"NextFireTimeResult\\": {\\n \\"CronFireType\\": \\"NOT_SET\\"\\n },\\n \\"PageIndex\\": 10,\\n \\"PageSize\\": 20,\\n \\"TempTableNameMap\\": {\\n \\"803***\\": [\\n \\"tmp_dms_21321_20230704144336_temp_test_check\\"\\n ]\\n }\\n },\\n \\"PluginParam\\": {\\n \\"ArchiveMethod\\": \\"inner_oss\\",\\n \\"DbSchema\\": \\"test\\",\\n \\"Logic\\": true,\\n \\"OrderAfter\\": [\\n \\"delete\\"\\n ],\\n \\"RunMethod\\": \\"now\\",\\n \\"SourceDatabaseId\\": 0,\\n \\"TableIncludes\\": [\\n {\\n \\"TableName\\": \\"tm_insured_cb\\",\\n \\"TableWhere\\": \\"id<1000或者gmt_create<\'2023-05-14 16:00:57\'\\"\\n }\\n ],\\n \\"TableMapping\\": [\\n \\"{\\\\n \\\\\\"schema\\\\\\": \\\\\\"oracle_info\\\\\\",\\\\n \\\\\\"tarTb\\\\\\": \\\\\\"eoa_context_test\\\\\\",\\\\n \\\\\\"tbPartKey\\\\\\": [],\\\\n \\\\\\"oriTb\\\\\\": \\\\\\"eoa_context\\\\\\",\\\\n \\\\\\"columns\\\\\\": [\\\\n {\\\\n \\\\\\"tName\\\\\\": \\\\\\"dbid_test\\\\\\",\\\\n \\\\\\"oName\\\\\\": \\\\\\"dbid\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"dbPartKey\\\\\\": [],\\\\n \\\\\\"customPk\\\\\\": [\\\\n \\\\\\"id\\\\\\"\\\\n ]\\\\n }\\"\\n ],\\n \\"TargetInstanceId\\": \\"12***\\",\\n \\"Variables\\": [\\n \\"{\\\\n \\\\\\"name\\\\\\": \\\\\\"test\\\\\\",\\\\n \\\\\\"pattern\\\\\\": \\\\\\"yyyy-MM-dd|-10d\\\\\\"\\\\n }\\"\\n ]\\n },\\n \\"PluginType\\": \\"DATA_ARCHIVE\\",\\n \\"RelatedUserList\\": [\\n 0\\n ],\\n \\"RelatedUserNickList\\": [\\n \\"publicyuhzou\\"\\n ],\\n \\"StatusCode\\": \\"processing\\",\\n \\"StatusDesc\\": \\"Executing ticket task.\\",\\n \\"WorkflowInstanceId\\": 0,\\n \\"WorkflowStatusDesc\\": \\"Approved\\"\\n }\\n}","type":"json"}]', + 'title' => 'GetDataArchiveOrderDetail', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataArchiveOrderDetail'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataArchiveOrderDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetDataCorrectBackupFiles' => [ + 'summary' => 'Obtain the download URL of the backup file for a data change ticket.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17767,126 +12532,26 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', + 'operationType' => 'get', + 'abilityTreeCode' => '16679', + 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3000', - ], - ], - [ - 'name' => 'PluginType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the tickets that you want to query. For more information, see [PluginType parameter](~~429109~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DC_COMMON', - ], - ], - [ - 'name' => 'OrderResultType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The scope of the tickets that you want to query. Valid values:'."\n" - ."\n" - .'* **AS_ADMIN**: all tickets.'."\n" - .'* **AS_COMMITTER**: the tickets that are submitted by the current user.'."\n" - .'* **AS_HANDLER**: the tickets to be processed by the current user.'."\n" - .'* **AS_OWNER**: the tickets that are processed by the current user.'."\n" - .'* **AS_Related**: the tickets that are related to the current user.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AS_ADMIN', - ], - ], - [ - 'name' => 'SearchDateType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The time condition based on which you want to query tickets. Valid values:'."\n" - ."\n" - .'* **CREATE_TIME**: the time when a ticket was created.'."\n" - .'* **MODIFY_TIME**: the time when a ticket was last modified.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CREATE_TIME', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2022-04-08 11:00:00', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2022-04-09 11:00:00', - ], - ], - [ - 'name' => 'SearchContent', - 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword that is used to query tickets.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'OrderStatus', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the tickets that you want to query. Valid values:'."\n" - ."\n" - .'* **ALL**: queries the tickets of all statuses.'."\n" - .'* **FINISHED**: queries the tickets that are completed.'."\n" - .'* **RUNNING**: queries the tickets that are being processed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ALL', - ], + 'schema' => ['description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '4200000', 'default' => '', 'title' => ''], ], [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'ActionDetail', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'style' => 'json', + 'schema' => ['description' => 'The parameters that are required to perform the operation. You do not need to specify this parameter.'."\n", 'type' => 'object', 'required' => false, 'example' => '{}', 'title' => ''], ], ], 'responses' => [ @@ -17894,126 +12559,57 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Orders' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4AFF4109-FEFB-44E8-96A3-923B1FA8C46E', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DataCorrectBackupFiles' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Order' => [ - 'description' => 'The details about the tickets.'."\n", + 'FileUrl' => [ + 'description' => 'The download URL of the backup file for the ticket.'."\n", 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Comment' => [ - 'description' => 'The remarks of the ticket.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'LastModifyTime' => [ - 'description' => 'The time when the ticket was last modified.'."\n", - 'type' => 'string', - 'example' => '2022-04-08 11:27:45', - ], - 'StatusCode' => [ - 'description' => 'The status code of the ticket. Valid values:'."\n" - ."\n" - .'* **fail**: The ticket fails to be executed.'."\n" - .'* **toaudit**: The ticket is waiting for approval.'."\n" - .'* **cancel**: The ticket is cancelled.'."\n" - .'* **processing**: The ticket is being executed.'."\n" - .'* **approved**: The ticket is approved.'."\n" - .'* **reject**: The ticket is rejected.'."\n" - .'* **success**: The ticket is executed.'."\n" - .'* **closed**: The ticket is closed.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'CreateTime' => [ - 'description' => 'The time when the ticket was created.'."\n", - 'type' => 'string', - 'example' => '2022-04-08 11:15:46', - ], - 'Committer' => [ - 'description' => 'The user who submitted the ticket.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'CommitterId' => [ - 'description' => 'The ID of the user who submitted the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51****', - ], - 'StatusDesc' => [ - 'description' => 'The status description of the ticket.'."\n", - 'type' => 'string', - 'example' => 'changed successfully', - ], - 'PluginType' => [ - 'description' => 'The type of the ticket.'."\n", - 'type' => 'string', - 'example' => 'DC_COMMON', - ], - 'OrderId' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51****', - ], - ], - ], + 'items' => ['description' => 'Download URL of a backup file attachment.', 'type' => 'string', 'example' => 'https://xxx.oss-cn-hangzhou.aliyuncs.com/xxx.zip', 'title' => ''], + 'title' => '', + 'example' => '', ], ], - ], - 'TotalCount' => [ - 'description' => 'The total number of entries that are returned.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', - ], - 'ErrorCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Orders\\": {\\n \\"Order\\": [\\n {\\n \\"Comment\\": \\"test\\",\\n \\"LastModifyTime\\": \\"2022-04-08 11:27:45\\",\\n \\"StatusCode\\": \\"success\\",\\n \\"CreateTime\\": \\"2022-04-08 11:15:46\\",\\n \\"Committer\\": \\"test\\",\\n \\"CommitterId\\": 0,\\n \\"StatusDesc\\": \\"变更成功\\",\\n \\"PluginType\\": \\"DC_COMMON\\",\\n \\"OrderId\\": 0\\n }\\n ]\\n },\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListOrdersResponse>\\n <Orders>\\n <Comment>test</Comment>\\n <LastModifyTime>2022-04-08 11:27:45</LastModifyTime>\\n <StatusCode>success</StatusCode>\\n <CreateTime>2022-04-08 11:15:46</CreateTime>\\n <Committer>test</Committer>\\n <StatusDesc>变更成功</StatusDesc>\\n <PluginType>DC_COMMON</PluginType>\\n </Orders>\\n <TotalCount>1</TotalCount>\\n <RequestId>427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</ListOrdersResponse>","errorExample":""}]', - 'title' => 'ListOrders', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4AFF4109-FEFB-44E8-96A3-923B1FA8C46E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"DataCorrectBackupFiles\\": {\\n \\"FileUrl\\": [\\n \\"https://xxx.oss-cn-hangzhou.aliyuncs.com/xxx.zip\\"\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain the backup file download URL', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetOrderBaseInfo' => [ - 'summary' => 'Queries the basic information about a ticket.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCorrectBackupFiles', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetDataCorrectOrderDetail' => [ + 'summary' => 'Queries the information about a data change ticket in Data Management (DMS).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18023,585 +12619,567 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'abilityTreeCode' => '12557', + 'abilityTreeNodes' => ['FEATUREdmsILBT4A', 'FEATUREdms1AAQ1Q'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '12345', - ], + 'schema' => ['description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '420****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'OrderBaseInfo' => [ - 'description' => 'The basic information about the ticket.'."\n", + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', 'title' => ''], + 'DataCorrectOrderDetail' => [ + 'description' => 'The information about the data change ticket.'."\n", 'type' => 'object', 'properties' => [ - 'RelatedUserNickList' => [ + 'PreCheckDetail' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'UserNicks' => [ - 'description' => 'The nicknames of the operators that are related to the ticket.'."\n", + 'TaskCheckDO' => [ + 'description' => 'The precheck details of the ticket.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The nickname of the operator that is related to the ticket.'."\n", - 'type' => 'string', - 'example' => 'nickname', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserTip' => ['description' => 'The message that appears when a check step is executed.'."\n", 'type' => 'string', 'example' => 'tip messsage', 'title' => ''], + 'CheckStatus' => ['description' => 'The state of the precheck. Valid values:'."\n" + ."\n" + .'* **WAITING**: The ticket is pending precheck.'."\n" + .'* **RUNNING**: The ticket is being prechecked.'."\n" + .'* **SUCCESS**: The ticket passes the precheck.'."\n" + .'* **FAIL**: The ticket fails the precheck.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'CheckStep' => ['description' => 'The check step of the precheck. Valid values:'."\n" + ."\n" + .'* **SQL_PARSE**: The system checks the syntax of the SQL statement.'."\n" + .'* **SQL_TYPE_CHECK**: The system checks the type of the SQL statement.'."\n" + .'* **PERMISSION_CHECK**: The system checks the permissions required for the data change.'."\n" + .'* **ROW_CHECK**: The system checks the number of affected rows.'."\n", 'type' => 'string', 'example' => 'PERMISSION_CHECK', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'Comment' => [ - 'description' => 'The remarks of the ticket.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'CreateTime' => [ - 'description' => 'The time when the ticket was created.'."\n", - 'type' => 'string', - 'example' => '2019-10-10 00:00:00', - ], - 'Committer' => [ - 'description' => 'The applicant.'."\n", - 'type' => 'string', - 'example' => 'xxx', - ], - 'WorkflowInstanceId' => [ - 'description' => 'The ID of the approval process.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'CommitterId' => [ - 'description' => 'The ID of the applicant. Note: The ID is different from the Alibaba Cloud account ID of the applicant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'LastModifyTime' => [ - 'description' => 'The time when the ticket was last modified.'."\n", - 'type' => 'string', - 'example' => '2019-10-10 00:00:00', - ], - 'StatusCode' => [ - 'description' => 'The status code of the ticket. Valid values:'."\n" - ."\n" - .'* **new**: The ticket is created.'."\n" - .'* **toaudit**: The ticket is being reviewed.'."\n" - .'* **Approved**: The ticket is approved.'."\n" - .'* **reject**: The ticket is rejected.'."\n" - .'* **processing**: The ticket is being executed.'."\n" - .'* **success**: The ticket is executed.'."\n" - .'* **closed**: The ticket is closed.'."\n", - 'type' => 'string', - 'example' => 'success', + 'OrderDetail' => [ + 'description' => 'The details of the ticket.', + 'type' => 'object', + 'properties' => [ + 'RbSQL' => ['description' => 'The SQL statements used to roll back the data change.', 'type' => 'string', 'example' => 'empty', 'title' => ''], + 'RbAttachmentName' => ['description' => 'The name of the attachment that contains the SQL statements used to roll back the data change.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Classify' => ['description' => 'The category of the reason for the data change.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'ExeSQL' => ['description' => 'The executed SQL statements.', 'type' => 'string', 'example' => 'update t1 set name = \'xxx\' where id <= 100', 'title' => ''], + 'EstimateAffectRows' => ['description' => 'The estimated number of affected rows.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'RbSQLType' => ['description' => 'The format of the SQL statements used to roll back the data change. Valid values:'."\n" + ."\n" + .'- **TEXT**: text'."\n" + .'- **ATTACHMENT**: attachment', 'type' => 'string', 'example' => 'text', 'title' => ''], + 'ActualAffectRows' => ['description' => 'The number of affected rows that is obtained by the precheck.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'IgnoreAffectRows' => ['description' => 'Indicates whether the precheck result is ignored. Valid values:'."\n" + ."\n" + .'- **true**: The precheck result is ignored.'."\n" + .'- **false**: The precheck result is not ignored.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'AttachmentName' => ['description' => 'The name of the attachment that contains the SQL statements used to change data.', 'type' => 'string', 'example' => 'xxx', 'title' => ''], + 'SqlType' => ['description' => 'The format of the SQL statements used to change data. Valid values:'."\n" + ."\n" + .'- **TEXT**: text'."\n" + .'- **ATTACHMENT**: attachment', 'type' => 'string', 'example' => 'text', 'title' => ''], + 'IgnoreAffectRowsReason' => ['description' => 'The reason why the precheck result is ignored.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'RelatedUserList' => [ + 'DatabaseList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'UserIds' => [ - 'description' => 'The IDs of the operators that are related to the ticket.'."\n", + 'Database' => [ + 'description' => 'The information about the database in which data is changed.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The ID of the operator that is related to the ticket.'."\n", - 'type' => 'string', - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The database ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1860****', 'title' => ''], + 'DbType' => ['description' => 'The engine of the database.'."\n", 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true.**: The database is a logical database.'."\n" + .'* **false**: The database is a physical database.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'SearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'example' => 'xxx@xxx:3306', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the database belongs. Valid values:'."\n" + ."\n" + .'* product: production environment.'."\n" + .'* dev: development environment.'."\n" + .'* pre: pre-release environment.'."\n" + .'* test: test environment.'."\n" + .'* sit: system integration testing (SIT) environment'."\n" + .'* uat: user acceptance testing (UAT) environment.'."\n" + .'* pet: stress testing environment.'."\n" + .'* stag: staging environment.'."\n", 'type' => 'string', 'example' => 'product', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'WorkflowStatusDesc' => [ - 'description' => 'The description of the approval process.'."\n", - 'type' => 'string', - 'example' => 'approved', - ], - 'StatusDesc' => [ - 'description' => 'The description of the status.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'PluginType' => [ - 'description' => 'The type of the ticket. For more information about the value of this parameter, see the request parameters of the [CreateOrder](~~465865~~) operation.'."\n", - 'type' => 'string', - 'example' => 'DC_COMMON', - ], - 'OrderId' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'AttachmentKey' => [ - 'description' => 'The Key of the ticket attachment. This information is returned only when an attachment is uploaded when a ticket is created.', - 'type' => 'string', - 'example' => 'upload_order_info_856887_f356366f-f0f8-42fc-ba57-4a509303e814_18072d8a9bce876e3073bc655c2865f.png', - ], - 'OriginAttachmentName' => [ - 'description' => 'The original file name of the ticket attachment. This information is returned only when an attachment is uploaded when a ticket is created.', - 'type' => 'string', - 'example' => '18072d8a9bce876e3073bc655c2865f.png', + 'Status' => ['description' => 'The specific state of the data change ticket. Valid values:'."\n" + ."\n" + .'> The state of the ticket is not exactly equivalent to the status code for the ticket. To query the status code of the ticket, you can call the [GetOrderBaseInfo](~~465868~~) operation and check the value of StatusCode in the response.'."\n" + ."\n" + .'* **new**: The ticket is created.'."\n" + .'* **precheck**: The ticket is in the pre-check phase.'."\n" + .'* **precheckFailed**: The ticket failed to pass the precheck.'."\n" + .'* **precheck_success**: The ticket passes the precheck and waits to be submitted for approval.'."\n" + .'* **toaudit**: The ticket is being reviewed.'."\n" + .'* **Approved**: The ticket is approved.'."\n" + .'* **reject**: The ticket is rejected.'."\n" + .'* **waiting**: The task is submitted and waits to be scheduled.'."\n" + .'* **processing**: The task is being executed.'."\n" + .'* **Success**: The task is successful.'."\n", 'type' => 'string', 'example' => 'approved', 'title' => ''], + 'ExecMode' => ['description' => 'The execution mode of the ticket after the ticket is approved. Valid values:'."\n" + ."\n" + .'- **COMMITOR**: The data change is performed by the user who submits the ticket.'."\n" + .'- **AUTO**: The data change is automatically performed after the ticket is approved.'."\n" + .'- **LAST_AUDITOR**: The data change is performed by the last approver of the ticket.', 'type' => 'string', 'example' => 'COMMITOR', 'title' => ''], + 'ConfigDetail' => [ + 'description' => 'The configurations of the ticket. This parameter is used to store the configuration information specific to a data change ticket type.'."\n", + 'type' => 'object', + 'properties' => [ + 'DetailType' => ['description' => 'The type of the ticket. Valid values:'."\n" + ."\n" + .'* COMMON: regular data change.'."\n" + .'* CHUNK_DML: lock-free data change.'."\n" + .'* BIG_FILE: large data import.'."\n" + .'* CRON_CLEAR_DATA: historical data cleanup.'."\n" + .'* PROCEDURE: programmable object change.'."\n", 'type' => 'string', 'example' => 'BIG_FILE', 'title' => ''], + 'FileType' => ['description' => 'The type of the file to be imported. This parameter is valid if the value of DetailType is BIG_FILE. Valid values:'."\n" + ."\n" + .'* **SQL**: an SQL file.'."\n" + .'* **CSV**: a CSV file.'."\n" + .'* **EXCEL**: an Excel file.'."\n" + .'* **JSON**: a JSON file, which is supported only by MongoDB databases.'."\n", 'type' => 'string', 'example' => 'CSV', 'title' => ''], + 'CsvTableName' => ['description' => 'The name of the table to which data is to be imported. This parameter is valid only if the value of DetailType is BIG_FILE. If the value of FileType is SQL, this parameter is empty.'."\n", 'type' => 'string', 'example' => 'tb_import_tb_name', 'title' => ''], + 'FileEncoding' => ['description' => 'The encoding method of the file. This parameter may be empty, which indicates the value of AUTO. Valid values:'."\n" + ."\n" + .'* **AUTO**: automatic identification.'."\n" + .'* **UTF-8**: UTF-8 encoding.'."\n" + .'* **GBK**: GBK encoding.'."\n" + .'* **ISO-8859-1**: ISO-8859-1 encoding.'."\n", 'type' => 'string', 'example' => 'UTF-8', 'title' => ''], + 'Cron' => ['description' => 'Indicates whether the task is a scheduled task for historical data cleanup. This parameter is a reserved parameter and is valid only if the value of DetailType is CRON_CLEAR_DATA.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'CronCallTimes' => ['description' => 'The number of times the scheduled task is run. This parameter is valid only if the value of DetailType is CRON_CLEAR_DATA.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'CronFormat' => ['description' => 'The CRON expression of the scheduled task. This parameter is valid only if the value of DetailType is CRON_CLEAR_DATA.'."\n", 'type' => 'string', 'example' => '0 0 2 * * ?', 'title' => ''], + 'Duration' => ['description' => 'The execution duration of the scheduled task. Unit: hour. This parameter is valid only if the value of DetailType is CRON_CLEAR_DATA. If the value is greater than 0, an execution duration is set.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'CronStatus' => ['description' => 'The state of the scheduled task. If this parameter is empty, the task is not run. Valid values:'."\n" + ."\n" + .'* PAUSE: The task is suspended.'."\n" + .'* WAITING: The task is waiting to be run.'."\n" + .'* SUCCESS: The task is run.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'CronLastCallStartTime' => ['description' => 'The time when the task was last run.'."\n", 'type' => 'string', 'example' => '2024-04-19 02:00:00.0', 'title' => ''], + 'CronNextCallTime' => ['description' => 'The time when the task is run next time. This parameter is returned only if the value of CronStatus is SUCCESS.'."\n", 'type' => 'string', 'example' => '2024-04-19 02:00:00'."\n", 'title' => ''], + 'CurrentTaskId' => ['description' => 'The ID of the current data change task. This is a reserved parameter and can be ignored.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '13***', 'title' => ''], + 'ImportExtConfig' => [ + 'description' => 'The additional configuration information about data import. This parameter is valid if the value of DetailType is BIG_FILE.'."\n", + 'type' => 'object', + 'properties' => [ + 'InsertType' => ['description' => 'The mode in which data is to be imported to the destination table. Valid values:'."\n" + ."\n" + .'* **INSERT**: The database checks the primary key during data insertion. If the primary key is duplicated, an error is reported.'."\n" + .'* **INSERT_IGNORE**: If the imported data contains data records that are the same as those in the destination table, the new data records are ignored.'."\n" + .'* **REPLACE_INTO**: If the imported data contains a row that has the same value for the primary key or unique index as an existing row in the destination table, the system deletes the existing row and inserts the new row into the destination table.'."\n" + ."\n" + .'> This parameter is valid if the value of FileType is CSV or EXCEL.'."\n", 'type' => 'string', 'example' => 'INSERT', 'title' => ''], + 'CsvFirstRowIsColumnDef' => ['description' => 'Indicates whether the first row of the CSV file contains field names. Valid values:'."\n" + ."\n" + .'* **true**: The first row in the CSV file contains field names.'."\n" + .'* **false**: The first row in the CSV file contains data.'."\n" + ."\n" + .'> This parameter is valid if the value of **FileType** is **CSV** or **EXCEL**.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'IgnoreError' => ['description' => 'Indicates whether an error that occurs is ignored. Valid values:'."\n" + ."\n" + .'* **true**: If an error occurs when SQL statements are being executed, DMS skips the current SQL statement and continues to execute subsequent SQL statements.'."\n" + .'* **false**: If an error occurs when SQL statements are being executed, DMS stops executing subsequent SQL statements.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ImportMode' => ['description' => 'The import mode. Valid values:'."\n" + ."\n" + .'* **FAST_MODE**: fast mode. In the Execute step, the uploaded file is read and SQL statements are executed to import data to the specified destination database. Compared with the security mode, this mode can be used to import data in a less secure but more efficient manner.'."\n" + .'* **SAFE_MODE**: security mode. In the Precheck step, the uploaded file is parsed, and SQL statements or CSV file data is cached. In the Execute step, the cached SQL statements are read and executed to import data, or the cached CSV file data is read and imported to the specified destination database. Compared with the fast mode, this mode can be used to import data in a more secure but less efficient manner.'."\n", 'type' => 'string', 'example' => 'FAST_MODE', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'CronExtConfig' => [ + 'description' => 'The additional configuration information about historical data cleanup. This parameter is valid only if the value of DetailType is CRON_CLEAR_DATA.'."\n", + 'type' => 'object', + 'properties' => [ + 'OptimizeTableAfterEveryClearTimes' => ['description' => 'Indicates whether the Periodically Optimize Table feature is enabled. Valid values:'."\n" + ."\n" + .'* **0** (default): The feature is disabled.'."\n" + .'* **A value greater than 0**: The feature is enabled. The value indicates the number of cleanups after which the system performs defragmentation.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'CurrentClearTaskCount' => ['description' => 'The number of times defragmentation is performed. This parameter is valid only if the value of OptimizeTableAfterEveryClearTimes is greater than 0.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7133DF67-5B25-460F-8285-C4CC93472C2F', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderBaseInfo\\": {\\n \\"RelatedUserNickList\\": {\\n \\"UserNicks\\": [\\n \\"nickname\\"\\n ]\\n },\\n \\"Comment\\": \\"test\\",\\n \\"CreateTime\\": \\"2019-10-10 00:00:00\\",\\n \\"Committer\\": \\"xxx\\",\\n \\"WorkflowInstanceId\\": 1,\\n \\"CommitterId\\": 1,\\n \\"LastModifyTime\\": \\"2019-10-10 00:00:00\\",\\n \\"StatusCode\\": \\"success\\",\\n \\"RelatedUserList\\": {\\n \\"UserIds\\": [\\n \\"1\\"\\n ]\\n },\\n \\"WorkflowStatusDesc\\": \\"approved\\",\\n \\"StatusDesc\\": \\"success\\",\\n \\"PluginType\\": \\"DC_COMMON\\",\\n \\"OrderId\\": 12345,\\n \\"AttachmentKey\\": \\"upload_order_info_856887_f356366f-f0f8-42fc-ba57-4a509303e814_18072d8a9bce876e3073bc655c2865f.png\\",\\n \\"OriginAttachmentName\\": \\"18072d8a9bce876e3073bc655c2865f.png\\"\\n },\\n \\"RequestId\\": \\"7133DF67-5B25-460F-8285-C4CC93472C2F\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<OrderBaseInfo>\\n <Comment>test</Comment>\\n <CreateTime>2019-10-10 00:00:00</CreateTime>\\n <LastModifyTime>2019-10-10 00:00:00</LastModifyTime>\\n <OrderId>12345</OrderId>\\n <CommitterId>1</CommitterId>\\n <PluginType>DC_COMMON</PluginType>\\n <StatusCode>success</StatusCode>\\n <RelatedUserNickList>\\n <UserNicks>a,b,c</UserNicks>\\n </RelatedUserNickList>\\n <StatusDesc>success</StatusDesc>\\n <WorkflowStatusDesc>approved</WorkflowStatusDesc>\\n <WorkflowInstanceId>1</WorkflowInstanceId>\\n <Committer>xxx</Committer>\\n <RelatedUserList>\\n <UserIds>1,2,3</UserIds>\\n </RelatedUserList>\\n</OrderBaseInfo>\\n<RequestId>7133DF67-5B25-460F-8285-C4CC93472C2F</RequestId>\\n<ErrorCode>UnknownError</ErrorCode>\\n<ErrorMessage>UnknownError</ErrorMessage>\\n<Success>true</Success>","errorExample":""}]', - 'title' => 'GetOrderBaseInfo', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetDataCorrectOrderDetail', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SubmitOrderApproval' => [ - 'summary' => 'Submits a ticket for approval.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCorrectOrderDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"DataCorrectOrderDetail\\": {\\n \\"PreCheckDetail\\": {\\n \\"TaskCheckDO\\": [\\n {\\n \\"UserTip\\": \\"tip messsage\\",\\n \\"CheckStatus\\": \\"SUCCESS\\",\\n \\"CheckStep\\": \\"PERMISSION_CHECK\\"\\n }\\n ]\\n },\\n \\"OrderDetail\\": {\\n \\"RbSQL\\": \\"empty\\",\\n \\"RbAttachmentName\\": \\"test\\",\\n \\"Classify\\": \\"test\\",\\n \\"ExeSQL\\": \\"update t1 set name = \'xxx\' where id <= 100\\",\\n \\"EstimateAffectRows\\": 100,\\n \\"RbSQLType\\": \\"text\\",\\n \\"ActualAffectRows\\": 100,\\n \\"IgnoreAffectRows\\": false,\\n \\"AttachmentName\\": \\"xxx\\",\\n \\"SqlType\\": \\"text\\",\\n \\"IgnoreAffectRowsReason\\": \\"test\\"\\n },\\n \\"DatabaseList\\": {\\n \\"Database\\": [\\n {\\n \\"DbId\\": 0,\\n \\"DbType\\": \\"mysql\\",\\n \\"Logic\\": false,\\n \\"SearchName\\": \\"xxx@xxx:3306\\",\\n \\"EnvType\\": \\"product\\"\\n }\\n ]\\n },\\n \\"Status\\": \\"approved\\",\\n \\"ExecMode\\": \\"COMMITOR\\",\\n \\"ConfigDetail\\": {\\n \\"DetailType\\": \\"BIG_FILE\\",\\n \\"FileType\\": \\"CSV\\",\\n \\"CsvTableName\\": \\"tb_import_tb_name\\",\\n \\"FileEncoding\\": \\"UTF-8\\",\\n \\"Cron\\": true,\\n \\"CronCallTimes\\": 0,\\n \\"CronFormat\\": \\"0 0 2 * * ?\\",\\n \\"Duration\\": 1,\\n \\"CronStatus\\": \\"SUCCESS\\",\\n \\"CronLastCallStartTime\\": \\"2024-04-19 02:00:00.0\\",\\n \\"CronNextCallTime\\": \\"2024-04-19 02:00:00\\\\n\\",\\n \\"CurrentTaskId\\": 0,\\n \\"ImportExtConfig\\": {\\n \\"InsertType\\": \\"INSERT\\",\\n \\"CsvFirstRowIsColumnDef\\": true,\\n \\"IgnoreError\\": false,\\n \\"ImportMode\\": \\"FAST_MODE\\"\\n },\\n \\"CronExtConfig\\": {\\n \\"OptimizeTableAfterEveryClearTimes\\": 0,\\n \\"CurrentClearTaskCount\\": 0\\n }\\n }\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetDataCorrectOrderDetailResponse>\\n <RequestId>427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D</RequestId>\\n <DataCorrectOrderDetail>\\n <PreCheckDetail>\\n <UserTip>tip messsage</UserTip>\\n <CheckStatus>SUCCESS</CheckStatus>\\n <CheckStep>PERMISSION_CHECK</CheckStep>\\n </PreCheckDetail>\\n <OrderDetail>\\n <RbSQL>empty</RbSQL>\\n <RbAttachmentName>test</RbAttachmentName>\\n <Classify>test</Classify>\\n <ExeSQL>update t1 set name = \'xxx\' where id <= 100</ExeSQL>\\n <EstimateAffectRows>100</EstimateAffectRows>\\n <RbSQLType>text</RbSQLType>\\n <ActualAffectRows>100</ActualAffectRows>\\n <IgnoreAffectRows>false</IgnoreAffectRows>\\n <AttachmentName>xxx</AttachmentName>\\n <SqlType>text</SqlType>\\n <IgnoreAffectRowsReason>test</IgnoreAffectRowsReason>\\n </OrderDetail>\\n <DatabaseList>\\n <DbId>1860****</DbId>\\n <DbType>mysql</DbType>\\n <Logic>false</Logic>\\n <SearchName>xxx@xxx:3306</SearchName>\\n <EnvType>product</EnvType>\\n </DatabaseList>\\n <Status>approved</Status>\\n <ExecMode>COMMITOR</ExecMode>\\n </DataCorrectOrderDetail>\\n <Success>true</Success>\\n</GetDataCorrectOrderDetailResponse>","errorExample":""}]', + ], + 'GetDataCorrectRollbackFile' => [ + 'summary' => 'Queries the download URL of the rollback attachment submitted along with a data change ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '12592', - 'abilityTreeNodes' => [ - 'FEATUREdms25Q07S', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], - ], - [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '12345', - ], + 'schema' => ['description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '51****', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account that is used to call the API operation.', - 'type' => 'string', - 'required' => false, - 'example' => '21400447956867****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '3CDB8601-AD74-4A47-8114-08E08CD6****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'FileUrl' => ['description' => 'The download URL of the attachment.'."\n", 'type' => 'string', 'example' => 'https://dmsxxx', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'SubmitOrderApproval', - ], - 'ApproveOrder' => [ - 'summary' => 'Reviews a ticket.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetDataCorrectRollbackFile', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCorrectRollbackFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3CDB8601-AD74-4A47-8114-08E08CD6****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"FileUrl\\": \\"https://dmsxxx\\"\\n}","errorExample":""},{"type":"xml","example":"<GetDataCorrectRollbackFileResponse>\\n <RequestId>3CDB8601-AD74-4A47-8114-08E08CD6****</RequestId>\\n <Success>true</Success>\\n <FileUrl>https://dmsxxx</FileUrl>\\n</GetDataCorrectRollbackFileResponse>","errorExample":""}]', + ], + 'GetDataCorrectSQLFile' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '12542', - 'abilityTreeNodes' => [ - 'FEATUREdms25Q07S', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], + 'schema' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'exclusiveMaximum' => false, 'minimum' => '1', 'example' => '730000', 'title' => ''], ], [ - 'name' => 'WorkflowInstanceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the approval process. You can call the [GetOrderBaseInfo](~~144642~~) operation to obtain the ID of the approval process.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'minimum' => '1', - 'example' => '1234', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '-1', 'title' => ''], ], - [ - 'name' => 'ApprovalType', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The action that you want to perform on the ticket. Valid values:'."\n" - ."\n" - .'* **AGREE**'."\n" - .'* **CANCEL**'."\n" - .'* **REJECT**'."\n" - .'* **TRANSFER**'."\n" - .'* **ADD_APPROVAL_NODE**'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'enumValueTitles' => [ - 'REJECT' => 'REJECT', - 'ADD_APPROVAL_NODE' => 'ADD_APPROVAL_NODE', - 'TRANSFER' => 'TRANSFER', - 'CANCEL' => 'CANCEL', - 'AGREE' => 'AGREE', - ], - 'example' => 'agree', - 'enum' => [ - 'AGREE', - 'CANCEL', - 'REJECT', - 'TRANSFER', - 'ADD_APPROVAL_NODE', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '283C461F-11D8-48AA-B695-DF092DA32AF3'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'FileUrl' => ['description' => 'The download URL of the SQL script.'."\n", 'type' => 'string', 'example' => 'https://dmsxxx', 'title' => ''], ], + 'example' => '', ], ], + ], + 'title' => 'GetDataCorrectSQLFile', + 'summary' => 'Queries the download URL of the SQL script for a data change task.', + 'description' => 'This operation applies to [regular data change](~~58419~~) and [batch data import](~~144643~~).'."\n", + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'Comment', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the ticket.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'NewApprover', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the user to which the ticket is transferred. If ApprovalType is set to TRANSFER, you need to specify this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12***', - ], - ], - [ - 'name' => 'OldApprover', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the user that transfers the ticket to another user. The default value is the ID of the current user. If the current user is an administrator or a database administrator (DBA), the user can change the value of this parameter to the ID of another user.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '23***', - ], - ], - [ - 'name' => 'ApprovalNodeId', - 'in' => 'query', - 'schema' => [ - 'description' => 'If ApprovalType is set to ADD_APPROVAL_NODE, you need to specify this parameter. The ID of the user that is added as the new approval node. This node must be a user-defined approval node. You can call the ListUserDefineWorkFlowNodes operation to obtain the value of this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCorrectSQLFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"283C461F-11D8-48AA-B695-DF092DA32AF3\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"FileUrl\\": \\"https://dmsxxx\\"\\n}","errorExample":""},{"type":"xml","example":"<GetDataCorrectSQLFileResponse>\\n <FileUrl>https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/uplJMIpQ%3D</FileUrl>\\n <RequestId>386EAA20-67FB-4D06-B7BF-2ABA11241185</RequestId>\\n <Success>true</Success>\\n</GetDataCorrectSQLFileResponse>","errorExample":""}]', + ], + 'GetDataCorrectTaskDetail' => [ + 'summary' => 'Queries the information about a data change, lock-free data change, or data import task.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ApprovalNodePos', - 'in' => 'query', - 'schema' => [ - 'description' => 'The position of the new approval node. You must specify this parameter if ApprovalType is set to ADD_APPROVAL_NODE. Valid values:'."\n" - ."\n" - .'* **PRE_ADD_APPROVAL_NODE**: before the current approval node.'."\n" - .'* **POST_ADD_APPROVAL_NODE**: after the current approval node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'POST_ADD_APPROVAL_NODE', - 'enum' => [ - 'POST_ADD_APPROVAL_NODE', - 'PRE_ADD_APPROVAL_NODE', - ], - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'NewApproverList', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => '> You can specify this parameter if ApprovalType is set to TRANSFER. You need to only specify one of NewApproverList and NewApprover.'."\n" - ."\n" - .'The IDs of the users to whom the ticket is transferred. Separate multiple IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '154***,155***,156***', - ], + 'schema' => ['description' => 'The ID of the ticket. You can call the [CreateDataCorrectOrder](~~208388~~), [CreateDataImportOrder](~~208387~~), or [CreateFreeLockCorrectOrder](~~208386~~) operation to obtain the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '12435523', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the Alibaba Cloud account that actually calls the API.', - 'type' => 'string', - 'required' => false, - 'example' => '21400447956867****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '14325432', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'DataCorrectTaskDetail' => [ + 'description' => 'The details of the data change task.'."\n", + 'type' => 'object', + 'properties' => [ + 'DBTaskGroupId' => ['description' => 'The ID of the SQL task group.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1234235', 'title' => ''], + 'jobStatus' => ['description' => 'The state of the SQL task. Valid values:'."\n" + ."\n" + .'* **INIT**: The SQL task was initialized.'."\n" + .'* **PENDING**: The SQL task waited to be run.'."\n" + .'* **BE_SCHEDULED**: The SQL task waited to be scheduled.'."\n" + .'* **FAIL**: The SQL task failed.'."\n" + .'* **SUCCESS**: The SQL task was successful.'."\n" + .'* **PAUSE**: The SQL task was paused.'."\n" + .'* **DELETE**: The SQL task was deleted.'."\n" + .'* **RUNNING**: The SQL task was being run.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'ActualAffectRows' => ['description' => 'The number of rows affected by the SQL statement.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the task was created.'."\n", 'type' => 'string', 'example' => '2021-03-05 15:08:55', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ApproveOrderResponse>\\n <RequestId>427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D</RequestId>\\n <Success>true</Success>\\n</ApproveOrderResponse>","errorExample":""}]', - 'title' => 'ApproveOrder', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CloseOrder' => [ - 'summary' => 'Closes a ticket.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetDataCorrectTaskDetail', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCorrectTaskDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DataCorrectTaskDetail\\": {\\n \\"DBTaskGroupId\\": 1234235,\\n \\"jobStatus\\": \\"SUCCESS\\",\\n \\"ActualAffectRows\\": 1,\\n \\"CreateTime\\": \\"2021-03-05 15:08:55\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773</RequestId>\\n<Success>true</Success>\\n<DataCorrectTaskDetail>\\n <DBTaskGroupId>1234235</DBTaskGroupId>\\n <jobStatus>SUCCESS</jobStatus>\\n <ActualAffectRows>1</ActualAffectRows>\\n <CreateTime>2021-03-05 15:08:55</CreateTime>\\n</DataCorrectTaskDetail>","errorExample":""}]', + ], + 'GetDataCronClearConfig' => [ + 'summary' => 'Queries the scheduling configuration of a ticket for cleaning up historical data.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], - ], - [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1343', - ], + 'schema' => ['description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '51****', 'title' => ''], ], [ - 'name' => 'CloseReason', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The reason why the ticket is closed.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'close reason', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '283C461F-11D8-48AA-B695-DF092DA32AF3'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'DataCronClearConfig' => [ + 'description' => 'Data configuration.', + 'type' => 'object', + 'properties' => [ + 'CronFormat' => ['description' => 'The crontab expression that you can use to run the task at a specified time. For more information, see [Crontab expression](~~206581~~).'."\n", 'type' => 'string', 'example' => '0 0 23 ? * 7,1', 'title' => ''], + 'Duration' => ['description' => 'The execution duration of the task. Unit: hours. If the value is 0, it indicates the duration is not specified.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'CronStatus' => ['description' => 'The status of the scheduled task. If this parameter is empty, it indicates the task is not run. Valid values:'."\n" + ."\n" + .'* PAUSE: The task is suspended.'."\n" + .'* WAITING: The task is waiting to be run.'."\n" + .'* SUCCESS: The task is complete.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'CronCallTimes' => ['description' => 'The number of times that the task is run.'."\n", 'type' => 'string', 'example' => '2', 'title' => ''], + 'CronLastCallStartTime' => ['description' => 'The time when the task was last run.'."\n", 'type' => 'string', 'example' => '2022-11-18 00:00:00', 'title' => ''], + 'CronNextCallTime' => ['description' => 'The time when the task is run next time. This parameter is displayed only when the status of the scheduled task is SUCCESS.'."\n", 'type' => 'string', 'example' => '2022-11-19 00:00:00', 'title' => ''], + 'OptimizeTableAfterEveryClearTimes' => ['description' => 'Specifies whether to enable automatic execution of the OPTIMIZE TABLE statement. Valid values:'."\n" + ."\n" + .'* 0: disables automatic execution'."\n" + .'* A number greater than 0: enables automatic execution. The number specifies the number of times that cleanup operations must be performed before the OPTIMIZE TABLE statement is automatically executed.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'CurrentClearTaskCount' => ['description' => 'The number of times that the Optimize Table statement is automatically exeuted. This parameter is valid only when the value of the OptimizeTableAfterEveryClearTimes parameter is greater than 0.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RequestId>427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D</RequestId>\\n<Success>true</Success>","errorExample":""}]', - 'title' => 'CloseOrder', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetOrderAttachmentFile' => [ - 'summary' => 'Queries the download URL of the attachment of a ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetDataCronClearConfig', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCronClearConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"283C461F-11D8-48AA-B695-DF092DA32AF3\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DataCronClearConfig\\": {\\n \\"CronFormat\\": \\"0 0 23 ? * 7,1\\",\\n \\"Duration\\": \\"1\\",\\n \\"CronStatus\\": \\"SUCCESS\\",\\n \\"CronCallTimes\\": \\"2\\",\\n \\"CronLastCallStartTime\\": \\"2022-11-18 00:00:00\\",\\n \\"CronNextCallTime\\": \\"2022-11-19 00:00:00\\",\\n \\"OptimizeTableAfterEveryClearTimes\\": 0,\\n \\"CurrentClearTaskCount\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetDataCronClearConfigResponse>\\n <RequestId>283C461F-11D8-48AA-B695-DF092DA32AF3</RequestId>\\n <Success>true</Success>\\n <DataCronClearConfig>\\n <CronFormat>0 0 23 ? * 7,1</CronFormat>\\n <Duration>1</Duration>\\n <CronStatus>SUCCESS</CronStatus>\\n <CronCallTimes>2</CronCallTimes>\\n <CronLastCallStartTime>2022-11-18 00:00:00</CronLastCallStartTime>\\n <CronNextCallTime>2022-11-19 00:00:00</CronNextCallTime>\\n <OptimizeTableAfterEveryClearTimes>0</OptimizeTableAfterEveryClearTimes>\\n <CurrentClearTaskCount>0</CurrentClearTaskCount>\\n </DataCronClearConfig>\\n</GetDataCronClearConfigResponse>","errorExample":""}]', + ], + 'GetDataCronClearTaskDetailList' => [ + 'summary' => 'Queries the details of a historical data cleansing ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18609,95 +13187,96 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '51****', - ], + 'schema' => ['description' => 'The ID of the ticket. You can query the ticket ID from the response parameters of the [CreateDataCronClearOrder](~~208385~~) operation.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '432532', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '200', 'minimum' => '1', 'example' => '20', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '12345', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The object of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned. Take note of the following rules:'."\n" - ."\n" - .'* The **ErrorCode** parameter is not returned if the request is successful.'."\n" - .'* The **ErrorCode** parameter is returned if the request fails. For more information, see the **Error codes** section of this topic.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'FileUrl' => [ - 'description' => 'The download URL of the attachment.'."\n", - 'type' => 'string', - 'example' => 'https://dmsxxx', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C1D39814-9808-47F8-AFE0-AF167239AC9B'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'DataCronClearTaskDetailList' => [ + 'description' => 'The historical data cleansing tasks'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The execution details of each task.'."\n", + 'type' => 'object', + 'properties' => [ + 'DBTaskGroupId' => ['description' => 'The ID of the SQL task group.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '432523', 'title' => ''], + 'jobStatus' => ['description' => 'The state of the SQL task. Valid values:'."\n" + ."\n" + .'* **INIT**: The SQL task was initialized.'."\n" + .'* **PENDING**: The SQL task waited to be run.'."\n" + .'* **BE_SCHEDULED**: The SQL task waited to be scheduled.'."\n" + .'* **FAIL**: The SQL task failed.'."\n" + .'* **SUCCESS**: The SQL task was successful.'."\n" + .'* **PAUSE**: The SQL task was paused.'."\n" + .'* **DELETE**: The SQL task was deleted.'."\n" + .'* **RUNNING**: The SQL task was being run.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'ActualAffectRows' => ['description' => 'The number of rows affected by the SQL task.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the SQL task was created.'."\n", 'type' => 'string', 'example' => '2021-01-14 10:00:00', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of SQL tasks.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"FileUrl\\": \\"https://dmsxxx\\"\\n}","errorExample":""},{"type":"xml","example":"<GetOrderAttachmentFileResponse>\\n <RequestId>FE8EE2F1-4880-46BC-A704-5CF63EAF9A04</RequestId>\\n <Success>true</Success>\\n <FileUrl>https://dmsxxx</FileUrl>\\n</GetOrderAttachmentFileResponse>","errorExample":""}]', - 'title' => 'GetOrderAttachmentFile', - ], - 'PreviewWorkflow' => [ - 'summary' => 'Previews the approval process of a ticket before the ticket is submitted.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetDataCronClearTaskDetailList', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCronClearTaskDetailList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C1D39814-9808-47F8-AFE0-AF167239AC9B\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DataCronClearTaskDetailList\\": [\\n {\\n \\"DBTaskGroupId\\": 432523,\\n \\"jobStatus\\": \\"SUCCESS\\",\\n \\"ActualAffectRows\\": 1,\\n \\"CreateTime\\": \\"2021-01-14 10:00:00\\"\\n }\\n ],\\n \\"TotalCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<GetDataCronClearTaskDetailListResponse>\\n <RequestId>C1D39814-9808-47F8-AFE0-AF167239AC9B</RequestId>\\n <Success>true</Success>\\n <DataCronClearTaskDetailList>\\n <DBTaskGroupId>432523</DBTaskGroupId>\\n <jobStatus>SUCCESS</jobStatus>\\n <ActualAffectRows>1</ActualAffectRows>\\n <CreateTime>2021-01-14 10:00:00</CreateTime>\\n </DataCronClearTaskDetailList>\\n <TotalCount>1</TotalCount>\\n</GetDataCronClearTaskDetailListResponse>","errorExample":""}]', + ], + 'GetDataExportDownloadURL' => [ + 'summary' => 'Queries the download URL of export results for a data export ticket.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18707,31 +13286,26 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '12558', + 'abilityTreeNodes' => ['FEATUREdmsPWN318'], ], 'parameters' => [ [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], + ], + [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1069****', - ], + 'schema' => ['description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '546****', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'RealLoginUserUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '23****', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account that is used to call the API operation.', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ @@ -18739,137 +13313,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'WorkflowDetail' => [ - 'description' => 'The details of the workflow.'."\n", + 'DownloadURLResult' => [ + 'description' => 'The details of the download URL of the file that records the export results for the ticket.'."\n", 'type' => 'object', 'properties' => [ - 'WfCateName' => [ - 'description' => 'The name of the approval template.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'Comment' => [ - 'description' => 'The remarks of the approval template.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'WorkflowNodeList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'WorkflowNode' => [ - 'description' => 'The approval nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NodeName' => [ - 'description' => 'The name of the approval node.'."\n", - 'type' => 'string', - 'example' => 'Owner', - ], - 'NodeType' => [ - 'description' => 'The type of the approval node.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* USER_LIST: The approval node is created by a user.'."\n" - .'* UNKNOWN: The source of the approval node is unknown.'."\n" - .'* SYS: The approval node is predefined by the system.'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'USER_LIST' => '', - 'UNKNOWN' => '', - 'SYS' => '', - ], - 'example' => 'SYS', - ], - 'Comment' => [ - 'description' => 'The remarks of the approval node.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'AuditUserList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'AuditUser' => [ - 'description' => 'The approvers.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'UserId' => [ - 'description' => 'The ID of the approver.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16***', - ], - 'NickName' => [ - 'description' => 'The nickname of the approver.'."\n", - 'type' => 'string', - 'example' => 'Owner', - ], - 'RealName' => [ - 'description' => 'The name of the approver.'."\n", - 'type' => 'string', - 'example' => 'db_test', - ], - ], - 'description' => '', - ], - ], - ], - ], - ], - 'description' => '', - ], - ], - ], - ], + 'HasResult' => ['description' => 'Indicates whether export results are available for download. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TipMessage' => ['description' => 'The message that indicates an exception.'."\n", 'type' => 'string', 'example' => 'tip message', 'title' => ''], + 'URL' => ['description' => 'The download URL of the file that records the export results for the ticket.'."\n", 'type' => 'string', 'example' => 'https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '4BF24EA5-9013-4C85-AE68-6C23AF5E0097', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"WorkflowDetail\\": {\\n \\"WfCateName\\": \\"Owner与DBA\\",\\n \\"Comment\\": \\"系统定义审批线,先数据Owner审批,再DBA审批。\\",\\n \\"WorkflowNodeList\\": {\\n \\"WorkflowNode\\": [\\n {\\n \\"NodeName\\": \\"Owner\\",\\n \\"NodeType\\": \\"SYS\\",\\n \\"Comment\\": \\"系统节点,动态计算,由用户操作的资源对应的Owner来完成审批。\\",\\n \\"AuditUserList\\": {\\n \\"AuditUser\\": [\\n {\\n \\"UserId\\": 0,\\n \\"NickName\\": \\"Owner\\",\\n \\"RealName\\": \\"db_test\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n },\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'PreviewWorkflow', - ], - 'GetOwnerApplyOrderDetail' => [ - 'summary' => 'Queries the details of the Database-OWNER, Table-OWNER, and Instance-OWNER tickets.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetDataExportDownloadURL', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataExportDownloadURL', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DownloadURLResult\\": {\\n \\"HasResult\\": true,\\n \\"TipMessage\\": \\"tip message\\",\\n \\"URL\\": \\"https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip\\"\\n },\\n \\"RequestId\\": \\"4BF24EA5-9013-4C85-AE68-6C23AF5E0097\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetDataExportDownloadURLResponse>\\n <DownloadURLResult>\\n <URL>https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip</URL>\\n <HasResult>true</HasResult>\\n </DownloadURLResult>\\n <RequestId>4BF24EA5-9013-4C85-AE68-6C23AF5E0097</RequestId>\\n <Success>true</Success>\\n</GetDataExportDownloadURLResponse>","errorExample":""}]', + ], + 'GetDataExportOrderDetail' => [ + 'summary' => 'Queries the information about a data export ticket.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18879,167 +13374,118 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'abilityTreeCode' => '12559', + 'abilityTreeNodes' => ['FEATUREdmsPWN318'], ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '730000', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***'."\n", 'title' => ''], ], [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '-1', - ], + 'name' => 'OrderId', + 'in' => 'formData', + 'schema' => ['description' => 'The ticket ID. You can call the [ListOrders](~~465867~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '818****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CB784055-E8CB-4461-AB0B-483A1DA32BB5', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'OwnerApplyOrderDetail' => [ - 'description' => 'The details of the ticket.'."\n", + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', 'title' => ''], + 'DataExportOrderDetail' => [ + 'description' => 'The information about the data export ticket.'."\n", 'type' => 'object', 'properties' => [ - 'ApplyType' => [ - 'description' => 'The type of the submitted ticket. Valid values:'."\n" - ."\n" - .'* **INSTANCE**: the ticket that applies for the permissions to be an instance owner'."\n" - .'* **DB**: the ticket that applies for the permissions to be a database owner'."\n" - .'* **TABLE**: the ticket that applies for the permissions to be a table owner'."\n", - 'type' => 'string', - 'example' => 'DB', + 'KeyInfo' => [ + 'description' => 'The status information.'."\n", + 'type' => 'object', + 'properties' => [ + 'PreCheckId' => ['description' => 'The precheck ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '6393****', 'title' => ''], + 'JobStatus' => ['description' => 'The state of the data export ticket. Valid values:'."\n" + ."\n" + .'* **PRE_CHECKING**: The ticket was being prechecked.'."\n" + .'* **PRE_CHECK_SUCCESS**: The ticket passed the precheck.'."\n" + .'* **PRE_CHECK_FAIL**: The ticket failed to pass the prechecked.'."\n" + .'* **WAITING_APPLY_AUDIT**: The ticket was to be submitted for approval.'."\n" + .'* **APPLY_AUDIT_SUCCESS**: The ticket was submitted for approval.'."\n" + .'* **ENABLE_EXPORT**: The ticket was approved. Data can be exported.'."\n" + .'* **WAITING_EXPORT**: Data was to be scheduled for export.'."\n" + .'* **DOING_EXPORT**: Data was being exported.'."\n" + .'* **EXPORT_FAIL**: Data failed to be exported.'."\n" + .'* **EXPORT_SUCCESS**: Data was exported.'."\n", 'type' => 'string', 'example' => 'EXPORT_SUCCESS', 'title' => ''], + 'JobId' => ['description' => 'Export task ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1385****', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'Resources' => [ - 'description' => 'The details of the requested resource.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the resource.'."\n", - 'type' => 'object', - 'properties' => [ - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The instance is a logical database.'."\n" - .'* **false**: The instance is not a logical database.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TargetId' => [ - 'description' => 'The ID of the resource.'."\n", - 'type' => 'string', - 'example' => '12345', - ], - 'ResourceDetail' => [ - 'description' => 'The details of the resource.'."\n", - 'type' => 'object', - 'properties' => [ - 'SearchName' => [ - 'description' => 'The search name of the resource.'."\n", - 'type' => 'string', - 'example' => 'yuyang【test】', - ], - 'DbType' => [ - 'description' => 'The type of the database engine.'."\n", - 'type' => 'string', - 'example' => 'MYSQL', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the instance belongs. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", - 'type' => 'string', - 'example' => 'PRODUCT', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n" - ."\n" - .'> : This parameter is returned when you submit a Database-OWNER ticket.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'OwnerIds' => [ - 'description' => 'The IDs of the original owners.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the owner.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '132453', - ], - ], - 'OwnerNickNames' => [ - 'description' => 'The nicknames of the owners.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The nickname of the owner.'."\n", - 'type' => 'string', - 'example' => 'test_user', - ], - ], - ], - ], - ], + 'OrderDetail' => [ + 'description' => 'The details of the ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the database from which data was exported.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3733****', 'title' => ''], + 'Database' => ['description' => 'The name of the database from which data was exported.'."\n", 'type' => 'string', 'example' => 'xxx@xxx:3306', 'title' => ''], + 'Classify' => ['description' => 'The category of the reason for the data export.'."\n", 'type' => 'string', 'example' => 'text', 'title' => ''], + 'ExeSQL' => ['description' => 'The SQL statement that was executed to export data.'."\n", 'type' => 'string', 'example' => 'SELECT * FROM DMS_test'."\n" + .' LIMIT 20;', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ActualAffectRows' => ['description' => 'The number of rows that were affected by the SQL statement.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'IgnoreAffectRows' => ['description' => 'Indicates whether the affected rows are skipped.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'IgnoreAffectRowsReason' => ['description' => 'The reason why the affected rows are skipped.'."\n", 'type' => 'string', 'example' => 'empty', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the database belongs.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values: Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CB784055-E8CB-4461-AB0B-483A1DA32BB5\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"OwnerApplyOrderDetail\\": {\\n \\"ApplyType\\": \\"DB\\",\\n \\"Resources\\": [\\n {\\n \\"Logic\\": true,\\n \\"TargetId\\": \\"12345\\",\\n \\"ResourceDetail\\": {\\n \\"SearchName\\": \\"yuyang[test]\\",\\n \\"DbType\\": \\"MYSQL\\",\\n \\"EnvType\\": \\"PRODUCT\\",\\n \\"TableName\\": \\"test\\",\\n \\"OwnerIds\\": [\\n 132453\\n ],\\n \\"OwnerNickNames\\": [\\n \\"test_user\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetOwnerApplyOrderDetailResponse>\\n <OwnerApplyOrderDetail>\\n <ApplyType>DB</ApplyType>\\n <Resources>\\n <ResourceDetail>\\n <SearchName>gp_toolkit@gp-bp18anxxxxxxxt48z.gpdb.rds.aliyuncs.com:3432</SearchName>\\n <OwnerNickNames>gctest</OwnerNickNames>\\n <EnvType>PRODUCT</EnvType>\\n <DbType>ADB_POSTGRESQL</DbType>\\n <OwnerIds>128000</OwnerIds>\\n </ResourceDetail>\\n <Logic>false</Logic>\\n <TargetId>116000</TargetId>\\n </Resources>\\n </OwnerApplyOrderDetail>\\n <RequestId>6976762B-AEA4-4EF0-9C42-46EC5477D780</RequestId>\\n <Success>true</Success>\\n</GetOwnerApplyOrderDetailResponse>","errorExample":""}]', - 'title' => 'GetOwnerApplyOrderDetail', - ], - 'GetPermApplyOrderDetail' => [ - 'summary' => 'Queries the details of a ticket that applies for permissions.', - 'methods' => [ - 'get', - 'post', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetDataExportOrderDetail', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataExportOrderDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"DataExportOrderDetail\\": {\\n \\"KeyInfo\\": {\\n \\"PreCheckId\\": 0,\\n \\"JobStatus\\": \\"EXPORT_SUCCESS\\",\\n \\"JobId\\": 0\\n },\\n \\"OrderDetail\\": {\\n \\"DbId\\": 0,\\n \\"Database\\": \\"xxx@xxx:3306\\",\\n \\"Classify\\": \\"text\\",\\n \\"ExeSQL\\": \\"SELECT * FROM DMS_test\\\\n LIMIT 20;\\",\\n \\"Logic\\": false,\\n \\"ActualAffectRows\\": 1,\\n \\"IgnoreAffectRows\\": false,\\n \\"IgnoreAffectRowsReason\\": \\"empty\\",\\n \\"EnvType\\": \\"test\\"\\n }\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + ], + 'GetDataExportPreCheckDetail' => [ + 'summary' => 'Queries the precheck details of an SQL result set export ticket.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19047,560 +13493,172 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ticket ID. You can call the [ListOrders](~~465867~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '730000', - ], + 'schema' => ['description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '34****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '-1', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The schema of response information.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'A4C4499E-5AC2-4318-9FCF-03E426781A04', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'PermApplyOrderDetail' => [ - 'description' => 'The details of the permission application ticket.'."\n", + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C1D39814-9808-47F8-AFE0-AF167239AC9B', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'PreCheckResult' => [ + 'description' => 'Indicates the result of the precheck task.'."\n", 'type' => 'object', 'properties' => [ - 'Resources' => [ - 'description' => 'The list of resources.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the resource.'."\n", - 'type' => 'object', - 'properties' => [ - 'DatabaseInfo' => [ - 'description' => 'The information about the database.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The database ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'DbType' => [ - 'description' => 'The type of the database engine.'."\n", - 'type' => 'string', - 'example' => 'MySQL', - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'test@xxxx:3306【test】', - ], - 'OwnerIds' => [ - 'description' => 'The IDs of the owners of the database.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the owner of the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - ], - 'OwnerNickNames' => [ - 'description' => 'The nicknames of the owners of the database.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The nickname of the owner of the database.'."\n", - 'type' => 'string', - 'example' => 'test_user', - ], - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the instance belongs. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", - 'type' => 'string', - 'example' => 'product', - ], - ], - ], - 'TableInfo' => [ - 'description' => 'The information about the table.'."\n", - 'type' => 'object', - 'properties' => [ - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'test_tb', - ], - ], - ], - 'ColumnInfo' => [ - 'description' => 'The information about the column.'."\n", - 'type' => 'object', - 'properties' => [ - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'test_tb', - ], - 'ColumnName' => [ - 'description' => 'The name of the column.'."\n", - 'type' => 'string', - 'example' => 'test_col', - ], - ], - ], - 'InstanceInfo' => [ - 'description' => 'The information about the instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => '12345', - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the instance.'."\n", - 'type' => 'string', - 'example' => 'xxxx:3306', - ], - 'DbType' => [ - 'description' => 'The type of the database engine.'."\n", - 'type' => 'string', - 'example' => 'MySQL', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the instance belongs. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", - 'type' => 'string', - 'example' => 'product', - ], - 'Host' => [ - 'description' => 'The endpoint of the instance.'."\n", - 'type' => 'string', - 'example' => 'xxxx', - ], - 'Port' => [ - 'description' => 'The port that is used to connect to the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3306', - ], - 'OwnerIds' => [ - 'description' => 'The IDs of the owners of the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the owner of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - ], - 'OwnerNickName' => [ - 'description' => 'The nicknames of the owners of the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The nickname of the owner of the instance.'."\n", - 'type' => 'string', - 'example' => 'test_owner', - ], - ], - 'DbaId' => [ - 'description' => 'The ID of the database administrator (DBA) of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'DbaNickName' => [ - 'description' => 'The nickname of the DBA of the instance.'."\n", - 'type' => 'string', - 'example' => 'test_dba', - ], - ], - ], - 'RowInfo' => [ - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Logic' => [ - 'type' => 'boolean', - ], - 'SchemaName' => [ - 'type' => 'string', - ], - 'TableName' => [ - 'type' => 'string', - ], - 'ColumnName' => [ - 'type' => 'string', - ], - 'MatchMode' => [ - 'type' => 'string', - ], - 'RowGroupId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - 'RowValueInfo' => [ + 'IgnoreAffectRows' => ['description' => 'Specifies whether to skip verification. Valid values:'."\n" + ."\n" + .'- true'."\n" + .'- false', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'PreCheckDetailList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'PreCheckDetailList' => [ + 'description' => 'The list of pre-check details.', + 'type' => 'array', + 'items' => [ 'type' => 'object', 'properties' => [ - 'RowValue' => [ - 'type' => 'string', - ], + 'AffectRows' => ['description' => 'The estimated number of data rows to be affected.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'SQL' => ['description' => 'The SQL statement.'."\n", 'type' => 'string', 'example' => 'SELECT * FROM tmp_table LIMIT 1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], - ], - 'PermType' => [ - 'description' => 'The type of the permissions that you apply for. Valid values:'."\n" - ."\n" - .'* **1**: the permissions to query information.'."\n" - .'* **2**: the permissions to export information.'."\n" - .'* **3**: the permissions to query and export information.'."\n" - .'* **4**: the permissions to modify information.'."\n" - .'* **5**: the permissions to query and modify information.'."\n" - .'* **6**: the permissions to export and modify information.'."\n" - .'* **7**: the permissions to query, export, and modify information.'."\n" - .'* **8**: the permissions to log on to the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '7', - ], - 'Seconds' => [ - 'description' => 'The validity duration of the permissions. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3600', - ], - 'ApplyType' => [ - 'description' => 'The type of objects on which you apply for permissions. Valid values:'."\n" - ."\n" - .'* **DB**: database'."\n" - .'* **TAB**: table'."\n" - .'* **COL**: column'."\n" - .'* **INSTANT**: instance'."\n", - 'type' => 'string', - 'example' => 'DB', + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A4C4499E-5AC2-4318-9FCF-03E426781A04\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"PermApplyOrderDetail\\": {\\n \\"Resources\\": [\\n {\\n \\"DatabaseInfo\\": {\\n \\"DbId\\": 12345,\\n \\"Logic\\": false,\\n \\"DbType\\": \\"MySQL\\",\\n \\"SearchName\\": \\"test@xxxx:3306[test]\\",\\n \\"OwnerIds\\": [\\n 12345\\n ],\\n \\"OwnerNickNames\\": [\\n \\"test_user\\"\\n ],\\n \\"EnvType\\": \\"product\\"\\n },\\n \\"TableInfo\\": {\\n \\"TableName\\": \\"test_tb\\"\\n },\\n \\"ColumnInfo\\": {\\n \\"TableName\\": \\"test_tb\\",\\n \\"ColumnName\\": \\"test_col\\"\\n },\\n \\"InstanceInfo\\": {\\n \\"InstanceId\\": \\"12345\\",\\n \\"SearchName\\": \\"xxxx:3306\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"EnvType\\": \\"product\\",\\n \\"Host\\": \\"xxxx\\",\\n \\"Port\\": 3306,\\n \\"OwnerIds\\": [\\n 12345\\n ],\\n \\"OwnerNickName\\": [\\n \\"test_owner\\"\\n ],\\n \\"DbaId\\": 0,\\n \\"DbaNickName\\": \\"test_dba\\"\\n },\\n \\"RowInfo\\": {\\n \\"DbId\\": 69256456,\\n \\"Logic\\": false,\\n \\"SchemaName\\": \\"testdb003\\",\\n \\"TableName\\": \\"ods_qr_dms_vehicleorder_df\\",\\n \\"ColumnName\\": \\"xrxs_xid\\",\\n \\"MatchMode\\": \\"EQ\\",\\n \\"RowGroupId\\": 123434\\n },\\n \\"RowValueInfo\\": {\\n \\"RowValue\\": \\"test_value\\"\\n }\\n }\\n ],\\n \\"PermType\\": 7,\\n \\"Seconds\\": 3600,\\n \\"ApplyType\\": \\"DB\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetPermApplyOrderDetailResponse>\\n <PermApplyOrderDetail>\\n <ApplyType>DB</ApplyType>\\n <PermType>1</PermType>\\n <Seconds>2592000</Seconds>\\n <Resources>\\n <DatabaseInfo>\\n <SearchName>rds_db@rm-bpxxxxxxxxffxxxxxxi.mysql.rds.aliyuncs.com:3306</SearchName>\\n <OwnerNickNames>gctest</OwnerNickNames>\\n <DbId>1250000</DbId>\\n <Logic>false</Logic>\\n <EnvType>dev</EnvType>\\n <DbType>mysql</DbType>\\n <OwnerIds>120000</OwnerIds>\\n </DatabaseInfo>\\n <ColumnInfo/>\\n <TableInfo/>\\n <InstanceInfo/>\\n </Resources>\\n </PermApplyOrderDetail>\\n <RequestId>806FBC5B-2AED-401C-9E00-0B91C1DB2F1A</RequestId>\\n <Success>true</Success>\\n</GetPermApplyOrderDetailResponse>","errorExample":""}]', - 'title' => 'GetPermApplyOrderDetail', - 'description' => 'You can call this operation to query the information about tickets that apply for permissions on databases, tables, and sensitive columns.'."\n", - ], - 'CreateStructSyncOrder' => [ - 'summary' => 'Creates a schema synchronization ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetDataExportPreCheckDetail', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataExportPreCheckDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C1D39814-9808-47F8-AFE0-AF167239AC9B\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"PreCheckResult\\": {\\n \\"IgnoreAffectRows\\": true,\\n \\"PreCheckDetailList\\": {\\n \\"PreCheckDetailList\\": [\\n {\\n \\"AffectRows\\": 1,\\n \\"SQL\\": \\"SELECT * FROM tmp_table LIMIT 1\\"\\n }\\n ]\\n }\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetDataImportSQL' => [ + 'summary' => 'Queries the SQL statements used for data import in a ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'Comment', - 'in' => 'query', - 'schema' => [ - 'description' => 'The remarks of the ticket.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], - ], - [ - 'name' => 'RelatedUserList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The IDs of the stakeholders.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of a stakeholder.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '432435', - ], - 'required' => false, - ], - ], - [ - 'name' => 'Param', + 'name' => 'OrderId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters of the ticket.'."\n", - 'type' => 'object', - 'properties' => [ - 'Source' => [ - 'description' => 'The information about the base database.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database. You can call the [SearchDatabases](~~141876~~) operation to query the ID of the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '4324532', - ], - 'DbSearchName' => [ - 'description' => 'The name that is used to search for the database. You can call the [SearchDatabases](~~141876~~) operation to query the name of the database.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], - 'Logic' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is not a logical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'VersionId' => [ - 'description' => 'The version number of the schema. The default value is the latest schema version number. For more information, see [Manage schema versions](~~202275~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e179bbb8163dcdcfacda24858bedb4d8006ae2b8', - ], - ], - 'required' => true, - ], - 'Target' => [ - 'description' => 'The information about the database to which you want to synchronize the schema of a table.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database. You can call the [SearchDatabases](~~141876~~) operation to query the ID of the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '432432', - ], - 'DbSearchName' => [ - 'description' => 'The name that is used to search for the database. You can call the [SearchDatabases](~~141876~~) operation to query the name of the database.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], - 'Logic' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is not a logical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'VersionId' => [ - 'description' => 'The version number. By default, this parameter is left empty.'."\n" - ."\n" - .'> If you specify the schema version number of the destination database, Data Management (DMS) only compares the schemas of the two databases.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e179bbb8163dcdcfacda24858bedb4d8006ae2b8', - ], - ], - 'required' => true, - ], - 'IgnoreError' => [ - 'description' => 'Specifies whether to skip an error that occurs in executing an SQL statement. Valid values:'."\n" - ."\n" - .'* **true**: continues to execute subsequent SQL statements if an error occurs in executing an SQL statement.'."\n" - .'* **false**: stops executing subsequent SQL statements if an error occurs in executing an SQL statement.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'TableInfoList' => [ - 'description' => 'The information about the table of which you want to synchronize the schema.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The table of which you want to synchronize the schema.'."\n", - 'type' => 'object', - 'properties' => [ - 'SourceTableName' => [ - 'description' => 'The name of the source table.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_tbl', - ], - 'TargetTableName' => [ - 'description' => 'The name of the destination table.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_tbl', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - ], - 'required' => true, - ], + 'schema' => ['description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '14****', 'title' => ''], ], [ - 'name' => 'AttachmentKey', + 'name' => 'SqlId', 'in' => 'query', - 'schema' => [ - 'description' => 'The key of an attachment that is returned after the attachment is uploaded. You can call the [GetUserUploadFileJob](~~206069~~) operation to query the key of the attachment.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'upload_3c7edea3-e4c3-4403-857d-737043036f69_test.sql', - ], + 'schema' => ['description' => 'The SQL ID. You can call the ListDataImportSQLPreCheckDetail operation to query the SQL ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '15****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The schema of the response.'."\n", + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'CreateOrderResult' => [ - 'description' => 'The result of creating the ticket.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4325353', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'B43AD641-49C2-5299-9E06-1B37EC1B****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'SQLDetail' => [ + 'description' => 'The details of SQL statements.'."\n", + 'type' => 'object', + 'properties' => [ + 'ExecSql' => ['description' => 'The SQL script.'."\n", 'type' => 'string', 'example' => 'insert into t1 values (1);', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","errorExample":""},{"type":"xml","example":"<CreateStructSyncOrderResponse>\\n <CreateOrderResult>2000000</CreateOrderResult>\\n <RequestId>0DF19315-DCAF-4376-8006-1CEB0BBC6B13</RequestId>\\n <Success>true</Success>\\n</CreateStructSyncOrderResponse>","errorExample":""}]', - 'title' => 'CreateStructSyncOrder', - ], - 'GetStructSyncOrderDetail' => [ - 'summary' => 'Queries the details of a schema synchronization ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetDataImportSQL', + 'description' => 'You can call this operation only if the data is imported in security mode in your data import ticket.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetDataImportSQL', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B43AD641-49C2-5299-9E06-1B37EC1B****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"SQLDetail\\": {\\n \\"ExecSql\\": \\"insert into t1 values (1);\\"\\n }\\n}","type":"json"}]', + ], + 'GetDataLakeCatalog' => [ + 'summary' => 'Queries the data catalog of the data lake.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -19610,228 +13668,77 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '249777', + 'abilityTreeNodes' => ['FEATUREdms90TD19'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '43****', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'CatalogName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hive', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The schema of the response.'."\n", + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'StructSyncOrderDetail' => [ - 'description' => 'The details of the schema synchronization ticket.'."\n", - 'type' => 'object', - 'properties' => [ - 'SourceDatabaseInfo' => [ - 'description' => 'The information about the source database.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the source database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '432532', - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'DbType' => [ - 'description' => 'The type of the database engine.'."\n", - 'type' => 'string', - 'example' => 'MySQL', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database instance belongs. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", - 'type' => 'string', - 'example' => 'dev', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is not a logical database'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], - 'TargetDatabaseInfo' => [ - 'description' => 'The information about the destination database.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the destination database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '432543', - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'DbType' => [ - 'description' => 'The type of the database engine.'."\n", - 'type' => 'string', - 'example' => 'MySQL', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database instance belongs. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", - 'type' => 'string', - 'example' => 'dev', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is not a logical database'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], - 'SourceType' => [ - 'description' => 'The schema version of the source database. Valid values:'."\n" - ."\n" - .'* **DATASOURCE**: the default latest version of the system'."\n" - .'* **VERSION**: a previous schema version that you manually specify'."\n", - 'type' => 'string', - 'example' => 'VERSION', - ], - 'SourceVersionInfo' => [ - 'description' => 'The version information about the source instance.'."\n" - ."\n" - .'> This parameter is displayed only when the value of the **SourceType** parameter is **VERSION**.'."\n", - 'type' => 'object', - 'properties' => [ - 'VersionId' => [ - 'description' => 'The version number.'."\n", - 'type' => 'string', - 'example' => 'e179bbb8163dcdcfacda24858bedb4d8006ae2b8', - ], - ], - ], - 'TargetType' => [ - 'description' => 'The schema version of the destination database. Valid values:'."\n" - ."\n" - .'* **DATASOURCE**: the default latest version of the system'."\n" - .'* **VERSION**: a previous schema version that you manually specify'."\n", - 'type' => 'string', - 'example' => 'DATASOURCE', - ], - 'TargetVersionInfo' => [ - 'description' => 'The version information about the destination instance.'."\n" - ."\n" - .'> This parameter is displayed only when the value of the **SourceType** parameter is **VERSION**.'."\n", - 'type' => 'object', - 'properties' => [ - 'VersionId' => [ - 'description' => 'The version number.'."\n", - 'type' => 'string', - 'example' => 'e179bbb8163dcdcfacda24858bedb4d8006ae2b8', - ], - ], - ], - 'TableInfoList' => [ - 'description' => 'The information about the table whose schema you want to synchronize.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The table whose schema you want to synchronize.'."\n", - 'type' => 'object', - 'properties' => [ - 'SourceTableName' => [ - 'description' => 'The name of the table whose schema you want to synchronize.'."\n", - 'type' => 'string', - 'example' => 'test_tbl', - ], - 'TargetTableName' => [ - 'description' => 'The name of the table to which you want to synchronize the schema of a table.'."\n", - 'type' => 'string', - 'example' => 'test_tbl', - ], - ], - ], - ], - 'IgnoreError' => [ - 'description' => 'Indicates whether to skip errors. Valid values:'."\n" - ."\n" - .'* **true**: skips the error and continues to execute SQL statements.'."\n" - .'* **false**: stops executing SQL statements.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => '400', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'code: 404, can not find catalog, name : hiv request id: 6090E571-E5B1-1E6D-BF44-F9E10E8B7EB1', 'title' => ''], + 'Catalog' => ['description' => 'The information about the catalog.'."\n", '$ref' => '#/components/schemas/DLCatalog', 'title' => '', 'example' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"StructSyncOrderDetail\\": {\\n \\"SourceDatabaseInfo\\": {\\n \\"DbId\\": 432532,\\n \\"SearchName\\": \\"test\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"EnvType\\": \\"dev\\",\\n \\"Logic\\": false\\n },\\n \\"TargetDatabaseInfo\\": {\\n \\"DbId\\": 432543,\\n \\"SearchName\\": \\"test\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"EnvType\\": \\"dev\\",\\n \\"Logic\\": false\\n },\\n \\"SourceType\\": \\"VERSION\\",\\n \\"SourceVersionInfo\\": {\\n \\"VersionId\\": \\"e179bbb8163dcdcfacda24858bedb4d8006ae2b8\\"\\n },\\n \\"TargetType\\": \\"DATASOURCE\\",\\n \\"TargetVersionInfo\\": {\\n \\"VersionId\\": \\"e179bbb8163dcdcfacda24858bedb4d8006ae2b8\\"\\n },\\n \\"TableInfoList\\": [\\n {\\n \\"SourceTableName\\": \\"test_tbl\\",\\n \\"TargetTableName\\": \\"test_tbl\\"\\n }\\n ],\\n \\"IgnoreError\\": false\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetStructSyncOrderDetailResponse>\\n <RequestId>CA4E966B-1A57-4230-B0BB-CBB9CAF2CEDC</RequestId>\\n <StructSyncOrderDetail>\\n <SourceDatabaseInfo>\\n <SearchName>poc_dev@rm-uxxxxx.mysql.rds.aliyuncs.com:3306</SearchName>\\n <DbId>800000</DbId>\\n <Logic>false</Logic>\\n <EnvType>dev</EnvType>\\n <DbType>mysql</DbType>\\n </SourceDatabaseInfo>\\n <SourceType>DATASOURCE</SourceType>\\n <TargetType>DATASOURCE</TargetType>\\n <IgnoreError>false</IgnoreError>\\n <TargetDatabaseInfo>\\n <SearchName>film@rm-uf64xxxxe.mysql.rds.aliyuncs.com:3306</SearchName>\\n <DbId>700000</DbId>\\n <Logic>false</Logic>\\n <EnvType>dev</EnvType>\\n <DbType>mysql</DbType>\\n </TargetDatabaseInfo>\\n <TableInfoList>\\n <SourceTableName>*</SourceTableName>\\n <TargetTableName>*</TargetTableName>\\n </TableInfoList>\\n </StructSyncOrderDetail>\\n <Success>true</Success>\\n</GetStructSyncOrderDetailResponse>","errorExample":""}]', - 'title' => 'GetStructSyncOrderDetail', - ], - 'GetStructSyncJobDetail' => [ - 'summary' => 'Queries the information of a schema synchronization task.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"400\\",\\n \\"ErrorMessage\\": \\"code: 404, can not find catalog, name : hiv request id: 6090E571-E5B1-1E6D-BF44-F9E10E8B7EB1\\",\\n \\"Catalog\\": {\\n \\"Description\\": \\"init default catalog\\",\\n \\"Name\\": \\"hive\\",\\n \\"Location\\": \\"oss://xxxx\\"\\n }\\n}","type":"json"}]', + 'title' => 'GetDataLakeCatalog', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataLakeCatalog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetDataLakeDatabase' => [ + 'summary' => 'Queries the information about the database in the data lake.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -19841,35 +13748,40 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '249583', + 'abilityTreeNodes' => ['FEATUREdms25Q07S'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '4324321', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'CatalogName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hive', 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'default', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ @@ -19879,294 +13791,138 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '48602B78-0DDF-414C-8688-70CAB6070115', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'StructSyncJobDetail' => [ - 'description' => 'The details of the schema synchronization task.'."\n", - 'type' => 'object', - 'properties' => [ - 'JobStatus' => [ - 'description' => 'The status of the task. Valid values:'."\n" - ."\n" - .'* **NEW**: The task was created.'."\n" - .'* **COMPARING**: The schemas of tables were being compared.'."\n" - .'* **COMPARE_BREAK**: The schema comparison was interrupted.'."\n" - .'* **COMPARE_FINISH**: The comparison was finished.'."\n" - .'* **NOT_SCRIPTS**: The comparison was finished but no executable script was available.'."\n" - .'* **SUBMITED_DBTASK**: The task was submitted.'."\n" - .'* **DBTASK_SUCCESS**: The task was complete.'."\n" - .'* **SUBMITED_WORKFLOW**: The ticket was submitted.'."\n" - .'* **WORKFLOW_SUCCESS**: The ticket was approved.'."\n", - 'type' => 'string', - 'example' => 'DBTASK_SUCCESS', - ], - 'Message' => [ - 'description' => 'The description of the task.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'TableAnalyzed' => [ - 'description' => 'The number of tables that have been analyzed.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'TableCount' => [ - 'description' => 'The total number of tables.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'SqlCount' => [ - 'description' => 'The total number of SQL statements.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ExecuteCount' => [ - 'description' => 'The number of SQL statements that have been executed.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'SecurityRule' => [ - 'description' => 'The type of security rule. Valid values:'."\n" - ."\n" - .'* **CANNOT_SYNC**: Synchronization cannot be performed.'."\n" - .'* **WITH_APPROVE**: The schema synchronization can be performed after the ticket is approved. You can call the [SubmitStructSyncOrderApproval](~~206166~~) operation to submit the ticket for approval.'."\n" - .'* **WITHOUT_APPROVE**: The schema synchronization can be performed without approval.'."\n", - 'type' => 'string', - 'example' => 'WITHOUT_APPROVE', - ], - 'DBTaskGroupId' => [ - 'description' => 'The ID of the SQL task group.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - ], - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'E5EE2B9E-2F95-57FA-B284-CB441CEE49D6'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => '404', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'code: 404, can not find catalog, name : hive1 request id: FF737753-9641-1F51-AFDA-7DF541114B29', 'title' => ''], + 'Database' => ['description' => 'The database information.'."\n", '$ref' => '#/components/schemas/DLDatabase', 'title' => '', 'example' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"48602B78-0DDF-414C-8688-70CAB6070115\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"StructSyncJobDetail\\": {\\n \\"JobStatus\\": \\"DBTASK_SUCCESS\\",\\n \\"Message\\": \\"test\\",\\n \\"TableAnalyzed\\": 2,\\n \\"TableCount\\": 2,\\n \\"SqlCount\\": 1,\\n \\"ExecuteCount\\": 1,\\n \\"SecurityRule\\": \\"WITHOUT_APPROVE\\",\\n \\"DBTaskGroupId\\": 12345\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetStructSyncJobDetailResponse>\\n <RequestId>C29D0A5F-BB9B-4CB9-A6B7-19B5433983CA</RequestId>\\n <StructSyncJobDetail>\\n <JobStatus>COMPARE_FINISH</JobStatus>\\n <Message>结构对比完成, 预览SQL已经生成</Message>\\n <TableAnalyzed>6</TableAnalyzed>\\n <TableCount>6</TableCount>\\n <SecurityRule>WITH_APPROVE</SecurityRule>\\n <DBTaskGroupId>3000000</DBTaskGroupId>\\n </StructSyncJobDetail>\\n <Success>true</Success>\\n</GetStructSyncJobDetailResponse>","errorExample":""}]', - 'title' => 'GetStructSyncJobDetail', - ], - 'GetStructSyncJobAnalyzeResult' => [ - 'summary' => 'Queries the analysis result of a schema synchronization task.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5EE2B9E-2F95-57FA-B284-CB441CEE49D6\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"404\\",\\n \\"ErrorMessage\\": \\"code: 404, can not find catalog, name : hive1 request id: FF737753-9641-1F51-AFDA-7DF541114B29\\",\\n \\"Database\\": {\\n \\"Description\\": \\"Default database for catalog hive\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"DbId\\": 19,\\n \\"CatalogName\\": \\"hive\\",\\n \\"Name\\": \\"default\\",\\n \\"Location\\": \\"oss://xxx\\"\\n }\\n}","type":"json"}]', + 'title' => 'GetDataLakeDatabase', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataLakeDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetDataLakeFunction' => [ + 'summary' => 'Call this API to retrieve the details of a data lake user-defined function.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1342355', - ], + 'schema' => ['description' => 'The name of the data catalog.', 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'CompareType', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the comparison. Valid values:'."\n" - ."\n" - .'* **CREATE_TABLE**: compares the created tables.'."\n" - .'* **ALTER_TABLE**: compares the modified tables.'."\n" - .'* **EQUAL_TABLE**: compares the identical tables.'."\n" - .'* **PASS_TABLE**: compares the tables that are skipped during schema synchronization.'."\n" - .'* **NOT_COMPARE**: does not compare tables.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CREATE_TABLE', - ], + 'schema' => ['description' => 'The name of the database.', 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'FunctionName', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The name of the function.', 'type' => 'string', 'required' => true, 'example' => 'my_funciton', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '200', - 'minimum' => '1', - 'example' => '20', - ], + 'schema' => ['description' => 'The region where the data lake resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> You can find the tenant ID by hovering over your profile picture in the upper-right corner. For more information, see [View tenant information](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The schema of the response.'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '1810E635-A2D7-428B-BAA9-85DAEB9B1A77', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'StructSyncJobAnalyzeResult' => [ - 'description' => 'The analysis result of the schema synchronization task.'."\n", - 'type' => 'object', - 'properties' => [ - 'SummaryList' => [ - 'description' => 'The statistics on the analysis results.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The statistics on an analysis result.'."\n", - 'type' => 'object', - 'properties' => [ - 'CompareType' => [ - 'description' => 'The type of the comparison. Valid values:'."\n" - ."\n" - .'* **CREATE_TABLE**: compares the created tables.'."\n" - .'* **ALTER_TABLE**: compares the modified tables.'."\n" - .'* **EQUAL_TABLE**: compares the identical tables.'."\n" - .'* **PASS_TABLE**: compares the tables that are skipped during schema synchronization.'."\n" - .'* **NOT_COMPARE**: does not compare tables.'."\n", - 'type' => 'string', - 'example' => 'CREATE_TABLE', - ], - 'Count' => [ - 'description' => 'The number of tables.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - 'ResultList' => [ - 'description' => 'The details of the analysis results.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of an analysis result.'."\n", - 'type' => 'object', - 'properties' => [ - 'SourceTableName' => [ - 'description' => 'The name of the source table.'."\n", - 'type' => 'string', - 'example' => 'helloz_bak', - ], - 'TargetTableName' => [ - 'description' => 'The name of the destination table.'."\n", - 'type' => 'string', - 'example' => 'helloz_bak', - ], - 'Script' => [ - 'description' => 'The SQL script.'."\n", - 'type' => 'string', - 'example' => '/\\* origin table\\[helloz_bak] exist, target table\\[helloz_bak] not exist \\*/\\n/\\* generate \\[helloz_bak] create table sql \\*/\\ncreate table \\`helloz_bak\\`(\\n\\t\\`id\\` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT \'Primary key\',\\n\\t\\`gmt_create\\` datetime NOT NULL COMMENT \'Creation time\',\\n\\t\\`gmt_modified\\` datetime NOT NULL COMMENT \'Modification time\',\\n\\t\\`num\\` int(11) NOT NULL COMMENT \'Number\',\\n\\t\\`addr\\` varchar(50) CHARACTER SET utf8 COLLATE utf8\\_general_ci NOT NULL COMMENT \'Address\',\\n\\tPRIMARY KEY (\\`id\\`)\\n)\\nDEFAULT CHARACTER SET=utf8 COLLATE=utf8\\_general_ci\\nCOMMENT=\'test\'\\n\\n;'."\n", - ], - ], - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. This ID is used to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => 'D911009F-3E95-5AFD-8CF1-73F7B4F15D6E'], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned when the call fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. The valid values are:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Function' => ['description' => 'The details of the function.', '$ref' => '#/components/schemas/DLFunction', 'title' => '', 'example' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1810E635-A2D7-428B-BAA9-85DAEB9B1A77\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"StructSyncJobAnalyzeResult\\": {\\n \\"SummaryList\\": [\\n {\\n \\"CompareType\\": \\"CREATE_TABLE\\",\\n \\"Count\\": 1\\n }\\n ],\\n \\"ResultList\\": [\\n {\\n \\"SourceTableName\\": \\"helloz_bak\\",\\n \\"TargetTableName\\": \\"helloz_bak\\",\\n \\"Script\\": \\"/* origin table[helloz_bak] exist, target table[helloz_bak] not exist */\\\\\\\\n/* generate [helloz_bak] create table sql */\\\\\\\\ncreate table `helloz_bak`(\\\\\\\\n\\\\\\\\t`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT \'主键\',\\\\\\\\n\\\\\\\\t`gmt_create` datetime NOT NULL COMMENT \'创建时间\',\\\\\\\\n\\\\\\\\t`gmt_modified` datetime NOT NULL COMMENT \'修改时间\',\\\\\\\\n\\\\\\\\t`num` int(11) NOT NULL COMMENT \'编号\',\\\\\\\\n\\\\\\\\t`addr` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT \'地址\',\\\\\\\\n\\\\\\\\tPRIMARY KEY (`id`)\\\\\\\\n)\\\\\\\\nDEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci\\\\\\\\nCOMMENT=\'test\'\\\\\\\\n\\\\\\\\n;\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetStructSyncJobAnalyzeResultResponse>\\n <StructSyncJobAnalyzeResult>\\n <ResultList>\\n <SourceTableName>data_modify</SourceTableName>\\n <Script>/* origin table[data_modify] exist, target table[data_modify] not exist */\\n /* generate [data_modify] create table sql */\\n create table `data_modify` (\\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT \'主键\',\\n `name` varchar(256) NOT NULL COMMENT \'姓名\',\\n `phone` varchar(32) DEFAULT NULL COMMENT \'电话\',\\n `sex` varchar(32) DEFAULT NULL COMMENT \'性别\',\\n `email` varchar(256) DEFAULT NULL COMMENT \'邮箱\',\\n `user_desc` varchar(1024) DEFAULT NULL COMMENT \'备注\',\\n PRIMARY KEY (`id`)\\n ) DEFAULT CHARSET=utf8 COMMENT=\'数据修改测试表\';</Script>\\n <TargetTableName>data_modify</TargetTableName>\\n </ResultList>\\n <ResultList>\\n <SourceTableName>task_data</SourceTableName>\\n <Script>/* origin table[task_data] exist, target table[task_data] not exist */\\n /* generate [task_data] create table sql */\\n create table `task_data` (\\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT \'主键\',\\n `gmt_create` datetime NOT NULL COMMENT \'创建时间\',\\n `gmt_modified` datetime NOT NULL COMMENT \'修改时间\',\\n `content` text COMMENT \'测试数据\',\\n PRIMARY KEY (`id`)\\n ) DEFAULT CHARSET=utf8mb4 COMMENT=\'任务编排测试表\';</Script>\\n <TargetTableName>task_data</TargetTableName>\\n </ResultList>\\n <SummaryList>\\n <CompareType>CREATE_TABLE</CompareType>\\n <Count>2</Count>\\n </SummaryList>\\n <SummaryList>\\n <CompareType>EQUAL_TABLE</CompareType>\\n <Count>1</Count>\\n </SummaryList>\\n </StructSyncJobAnalyzeResult>\\n <RequestId>472C5F33-198B-4A41-BF83-B2322636B583</RequestId>\\n <Success>true</Success>\\n</GetStructSyncJobAnalyzeResultResponse>","errorExample":""}]', - 'title' => 'GetStructSyncJobAnalyzeResult', - ], - 'GetStructSyncExecSqlDetail' => [ - 'summary' => 'Queries the SQL statements that are involved in a schema synchronization ticket.', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetDataLakeFunction', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:GetDataLakeFunction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D911009F-3E95-5AFD-8CF1-73F7B4F15D6E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Function\\": {\\n \\"FunctionName\\": \\"my_funciton\\",\\n \\"OwnerName\\": \\"zhangsan\\",\\n \\"OwnerType\\": \\"USER\\",\\n \\"CreatorId\\": 0,\\n \\"FunctionType\\": \\"JAVA\\",\\n \\"CreateTime\\": 1731586286,\\n \\"ResourceUris\\": [\\n {\\n \\"ResourceType\\": \\"JAR\\",\\n \\"Uri\\": \\"hdfs://name****.example.com:8020/user/hive/udfs/my_***.jar\\"\\n }\\n ],\\n \\"ClassName\\": \\"com.example.hive.MyCustomUDF\\",\\n \\"CatalogName\\": \\"hive\\",\\n \\"DbName\\": \\"default\\",\\n \\"ModifierId\\": 0\\n }\\n}","type":"json"}]', + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + ], + 'GetDataLakePartition' => [ + 'summary' => 'Call this API to retrieve details of a lake house table partition.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -20176,166 +13932,152 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '342153', - ], + 'schema' => ['description' => 'Data catalog name.', 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'Database name.', 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['description' => 'Table name.', 'type' => 'string', 'required' => true, 'example' => 'test_table', 'title' => ''], + ], + [ + 'name' => 'PartitionValues', 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '200', - 'minimum' => '1', - 'example' => '20', + 'description' => 'List of partition values.', + 'type' => 'array', + 'items' => ['description' => 'Value of the partition key column.', 'type' => 'string', 'required' => false, 'example' => 'part_val1', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', ], ], [ + 'name' => 'DataRegion', + 'in' => 'query', + 'schema' => ['description' => 'Region where the data lake resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'Tenant ID.'."\n" + ."\n" + .'> Get the tenant ID from your profile picture in the upper-right corner of the console. For more information, see [View tenant information](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'Workspace ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The schema of the response.'."\n", + 'description' => 'Response schema.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '1810E635-A2D7-428B-BAA9-85DAEB9B1A77', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'StructSyncExecSqlDetail' => [ - 'description' => 'The details of the SQL statements.'."\n", - 'type' => 'object', - 'properties' => [ - 'TotalSqlCount' => [ - 'description' => 'The total number of SQL statements.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ExecSql' => [ - 'description' => 'The SQL statements that are executed.'."\n", - 'type' => 'string', - 'example' => '/\\* origin table\\[helloz_bak] exist, target table\\[helloz_bak] not exist \\*/\\n/\\* generate \\[helloz_bak] create table sql \\*/\\ncreate table \\`helloz_bak\\`(\\n\\t\\`id\\` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT \'Primary key\',\\n\\t\\`gmt_create\\` datetime NOT NULL COMMENT \'Creation time\',\\n\\t\\`gmt_modified\\` datetime NOT NULL COMMENT \'Modification time\',\\n\\t\\`num\\` int(11) NOT NULL COMMENT \'Number\',\\n\\t\\`addr\\` varchar(50) CHARACTER SET utf8 COLLATE utf8\\_general_ci NOT NULL COMMENT \'Address\',\\n\\tPRIMARY KEY (\\`id\\`)\\n)\\nDEFAULT CHARACTER SET=utf8 COLLATE=utf8\\_general_ci\\nCOMMENT=\'test\'\\n\\n;'."\n", - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID, used to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04'], + 'ErrorCode' => ['description' => 'The error code, returned when the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned when the call fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the call succeeded:'."\n" + ."\n" + .'- **true**: The call succeeded.'."\n" + ."\n" + .'- **false**: The call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Partition' => ['description' => 'Lakehouse table partition information.', '$ref' => '#/components/schemas/DLPartition', 'title' => '', 'example' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1810E635-A2D7-428B-BAA9-85DAEB9B1A77\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"StructSyncExecSqlDetail\\": {\\n \\"TotalSqlCount\\": 1,\\n \\"ExecSql\\": \\"/* origin table[helloz_bak] exist, target table[helloz_bak] not exist */\\\\\\\\n/* generate [helloz_bak] create table sql */\\\\\\\\ncreate table `helloz_bak`(\\\\\\\\n\\\\\\\\t`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT \'主键\',\\\\\\\\n\\\\\\\\t`gmt_create` datetime NOT NULL COMMENT \'创建时间\',\\\\\\\\n\\\\\\\\t`gmt_modified` datetime NOT NULL COMMENT \'修改时间\',\\\\\\\\n\\\\\\\\t`num` int(11) NOT NULL COMMENT \'编号\',\\\\\\\\n\\\\\\\\t`addr` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT \'地址\',\\\\\\\\n\\\\\\\\tPRIMARY KEY (`id`)\\\\\\\\n)\\\\\\\\nDEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci\\\\\\\\nCOMMENT=\'test\'\\\\\\\\n\\\\\\\\n;\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetStructSyncExecSqlDetailResponse>\\n <StructSyncExecSqlDetail>\\n <ExecSql>/****** 目标库: film@rm-uxxxxxxxx.mysql.rds.aliyuncs.com:3306 ******/\\n \\n /* origin table[data_modify] exist, target table[data_modify] not exist */\\n /* generate [data_modify] create table sql */\\n create table `data_modify` (\\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT \'主键\',\\n `name` varchar(256) NOT NULL COMMENT \'姓名\',\\n `phone` varchar(32) DEFAULT NULL COMMENT \'电话\',\\n `sex` varchar(32) DEFAULT NULL COMMENT \'性别\',\\n `email` varchar(256) DEFAULT NULL COMMENT \'邮箱\',\\n `user_desc` varchar(1024) DEFAULT NULL COMMENT \'备注\',\\n PRIMARY KEY (`id`)\\n ) DEFAULT CHARSET=utf8 COMMENT=\'数据修改测试表\';\\n \\n /* origin table[task_data] exist, target table[task_data] not exist */\\n /* generate [task_data] create table sql */\\n create table `task_data` (\\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT \'主键\',\\n `gmt_create` datetime NOT NULL COMMENT \'创建时间\',\\n `gmt_modified` datetime NOT NULL COMMENT \'修改时间\',\\n `content` text COMMENT \'测试数据\',\\n PRIMARY KEY (`id`)\\n ) DEFAULT CHARSET=utf8mb4 COMMENT=\'任务编排测试表\';\\n \\n \\n \\n </ExecSql>\\n <TotalSqlCount>2</TotalSqlCount>\\n </StructSyncExecSqlDetail>\\n <RequestId>1E4E71DA-9346-4254-B19D-BC5FF6BF34EC</RequestId>\\n <Success>true</Success>\\n</GetStructSyncExecSqlDetailResponse>","errorExample":""}]', - 'title' => 'GetStructSyncExecSqlDetail', - ], - 'SubmitStructSyncOrderApproval' => [ - 'summary' => 'Submits a schema synchronization ticket for approval.', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetDataLakePartition', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataLakePartition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Partition\\": {\\n \\"TableName\\": \\"table_name\\",\\n \\"Sd\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 1,\\n \\"Col\\": \\"col1\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\\\\\"123\\\\\\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"col1\\"\\n ]\\n },\\n \\"InputFormat\\": \\"org.apache.hadoop.mapred.SequenceFileInputFormat\\",\\n \\"OutputFormat\\": \\"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"IsCompressed\\": false,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"DeserializerClass\\": \\"org.apache.hadoop.hive.serde2.OpenCSVSerde\\",\\n \\"Parameters\\": {\\n \\"serialization.format\\": \\"1\\"\\n },\\n \\"Description\\": \\"\\\\\\"serialize\\\\\\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"Name\\": \\"name\\"\\n },\\n \\"BucketCols\\": [\\n \\"2010\\"\\n ],\\n \\"NumBuckets\\": -1,\\n \\"Location\\": \\"oss://xxx\\"\\n },\\n \\"Parameters\\": {\\n \\"key\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\"\\n },\\n \\"CreateTime\\": 1735109884,\\n \\"Values\\": [\\n \\"part_val1\\"\\n ],\\n \\"CatalogName\\": \\"hive\\",\\n \\"DbName\\": \\"default\\",\\n \\"LastAccessTime\\": 1608707407\\n }\\n}","type":"json"}]', + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + ], + 'GetDataLakeTable' => [ + 'summary' => 'Queries basic information about tables in the data lake.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeCode' => '249771', + 'abilityTreeNodes' => ['FEATUREdms90TD19'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'example' => '4324535', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'CatalogName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hive', 'title' => ''], + ], + [ + 'name' => 'DbName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the database to which the table belongs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The table name.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '100g_customer', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ @@ -20345,1458 +14087,1403 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471D', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'WorkflowInstanceId' => [ - 'description' => 'The ID of the approval process.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '432523', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => '400', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'Unknown server error', 'title' => ''], + 'Table' => ['description' => 'The information of the table.'."\n", '$ref' => '#/components/schemas/DLTable', 'title' => '', 'example' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471D\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"WorkflowInstanceId\\": 432523\\n}","errorExample":""},{"type":"xml","example":"<SubmitStructSyncOrderApprovalResponse>\\n <RequestId>72768811-B970-4733-85BE-A8659613BF23</RequestId>\\n <WorkflowInstanceId>1000000</WorkflowInstanceId>\\n <Success>true</Success>\\n</SubmitStructSyncOrderApprovalResponse>","errorExample":""}]', - 'title' => 'SubmitStructSyncOrderApproval', - ], - 'ExecuteStructSync' => [ - 'summary' => 'Executes a schema synchronization task.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrorCode\\": \\"400\\",\\n \\"ErrorMessage\\": \\"Unknown server error\\",\\n \\"Table\\": {\\n \\"ViewOriginalText\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Owner\\": \\"zhangsan\\",\\n \\"TableType\\": \\"EXTERNAL_TABLE\\",\\n \\"Parameters\\": {\\n \\"EXTERNAL\\": \\"TRUE\\",\\n \\"delta.minReaderVersion\\": \\"1\\"\\n },\\n \\"Description\\": \\"test\\",\\n \\"CreatorId\\": 0,\\n \\"CreateTime\\": 1731586286,\\n \\"StorageDescriptor\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 1,\\n \\"Col\\": \\"col1\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\\\\\"123\\\\\\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"col1\\"\\n ]\\n },\\n \\"InputFormat\\": \\"org.apache.hadoop.mapred.SequenceFileInputFormat\\",\\n \\"OutputFormat\\": \\"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"IsCompressed\\": false,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"DeserializerClass\\": \\"org.apache.hadoop.hive.serde2.OpenCSVSerde\\",\\n \\"Parameters\\": {\\n \\"serialization.format\\": \\"1\\"\\n },\\n \\"Description\\": \\"\\\\\\"serialize\\\\\\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"Name\\": \\"name\\"\\n },\\n \\"BucketCols\\": [\\n \\"2010\\"\\n ],\\n \\"NumBuckets\\": -1,\\n \\"Location\\": \\"oss://xxx\\"\\n },\\n \\"LastAccessTime\\": 1608707407,\\n \\"Retention\\": 300,\\n \\"Name\\": \\"100g_customer\\",\\n \\"OwnerType\\": \\"USER\\",\\n \\"ViewExpandedText\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DbId\\": 19,\\n \\"DbName\\": \\"default\\",\\n \\"CatalogName\\": \\"hive\\",\\n \\"PartitionKeys\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"ModifierId\\": 1410769,\\n \\"Location\\": \\"oss://xxx\\"\\n }\\n}","type":"json"}]', + 'title' => 'GetDataLakeTable', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataLakeTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetDataTrackJobDegree' => [ + 'summary' => 'Queries the progress of a data tracking task.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'example' => '112345', - ], + 'schema' => ['description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '321****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The schema of the response.'."\n", + 'description' => 'The response schema.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'JobDegree' => [ + 'description' => 'The progress details of the data tracking task.'."\n", + 'type' => 'object', + 'properties' => [ + 'ListCompletionDegree' => ['description' => 'The progress of binary log obtaining. Valid values: 0 to 1. A value of 1 indicates that binary log obtaining is complete.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '1', 'title' => ''], + 'DownloadCompletionDegree' => ['description' => 'The progress of binary log download. Valid values: 0 to 1. A value of 1 indicates that binary log download is complete.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '1', 'title' => ''], + 'FilterCompletionDegree' => ['description' => 'The progress of binary log parsing. Valid values: 0 to 1. A value of 1 indicates that binary log parsing is complete.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '1', 'title' => ''], + 'JobStatus' => ['description' => 'The status of the data tracking task. Valid values:'."\n" + ."\n" + .'* **INIT**: The task is being initialized.'."\n" + .'* **LISTING**: The binary logs are being obtained.'."\n" + .'* **LIST_SUCCESS**: The binary logs are successfully obtained.'."\n" + .'* **DOWNLOADING**: The binary logs are being downloaded.'."\n" + .'* **DOWNLOAD_FAIL**: The binary logs failed to be downloaded.'."\n" + .'* **DOWNLOAD_SUCCESS**: The binary logs are successfully downloaded.'."\n" + .'* **FILTERING**: The binary logs are being parsed.'."\n" + .'* **FILTER_FAIL**: The binary logs failed to be parsed.'."\n" + .'* **FILTER_SUCCESS**: The binary logs are successfully parsed.'."\n", 'type' => 'string', 'example' => 'FILTER_SUCCESS', 'title' => ''], + 'StatusDesc' => ['description' => 'The description of the task status.'."\n", 'type' => 'string', 'example' => 'searching success', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","errorExample":""},{"type":"xml","example":"<ExecuteStructSyncResponse>\\n <RequestId>4E1D2B4D-3E53-4ABC-999D-1D2520B3471A</RequestId>\\n <Success>true</Success>\\n</ExecuteStructSyncResponse>","errorExample":""}]', - 'title' => 'ExecuteStructSync', - 'description' => 'If the security rules of an instance indicate that a ticket must be approved before you perform schema synchronization, you can call the [SubmitStructSyncOrderApproval](~~206166~~) operation to submit the ticket for approval.'."\n" - ."\n" - .'> You can call the [GetStructSyncJobDetail](~~206160~~) operation to query whether you need to submit a ticket for approval.'."\n", - ], - 'CreateDataCorrectOrder' => [ - 'summary' => 'Creates a ticket for changing data in Data Management (DMS).', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetDataTrackJobDegree', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetDataTrackJobDegree', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"JobDegree\\": {\\n \\"ListCompletionDegree\\": 1,\\n \\"DownloadCompletionDegree\\": 1,\\n \\"FilterCompletionDegree\\": 1,\\n \\"JobStatus\\": \\"FILTER_SUCCESS\\",\\n \\"StatusDesc\\": \\"searching success\\"\\n }\\n}","type":"json"}]', + ], + 'GetDataTrackJobTableMeta' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '16826', - 'abilityTreeNodes' => [ - 'FEATUREdmsILBT4A', - ], - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'Comment', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The purpose or objective of the data change. This parameter is used to help reduce unnecessary communication.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '12345', 'title' => ''], ], [ - 'name' => 'RelatedUserList', + 'name' => 'Tid', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The stakeholders of the data change. All stakeholders can view the ticket details and assist in the approval process. Irrelevant users other than DMS administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The user ID of the stakeholder. All the specified stakeholders can view the ticket details and assist in the approval process. Irrelevant users other than Data Management (DMS) administrators and database administrators (DBA) are not allowed to view the ticket details.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '51****', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], - [ - 'name' => 'Param', - 'in' => 'query', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The parameters of the ticket.'."\n", + 'title' => 'Schema of Response', + 'description' => 'The response schema.'."\n", 'type' => 'object', 'properties' => [ - 'Classify' => [ - 'description' => 'The reason for the data change.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'EstimateAffectRows' => [ - 'description' => 'The estimated number of data rows that may be affected by the data change.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], - 'ExecSQL' => [ - 'description' => 'The SQL statements for data change.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This parameter is required if you set **SqlType** to **TEXT**.'."\n" - ."\n" - .'* The size of the SQL statement cannot exceed 15 MB.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'update base_user set id = 1 where id = 1;', - ], - 'SqlType' => [ - 'description' => 'The format of the SQL statements used to change data. Valid values:'."\n" - ."\n" - .'* **TEXT**'."\n" - .'* **ATTACHMENT**'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'TEXT', - 'enum' => [ - 'TEXT', - 'ATTACHMENT', - ], - ], - 'AttachmentName' => [ - 'description' => 'The key of the attachment that contains the SQL statements used to change data. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of AttachmentKey.'."\n" - ."\n" - .'> This parameter is required if you set **SqlType** to **ATTACHMENT**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test.sql', - ], - 'RollbackSQL' => [ - 'description' => 'The SQL statements for rolling back the data change.'."\n" - ."\n" - .'> This parameter is required if you set **RollbackSqlType** to **TEXT**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'update base_user set id = 1 where id = 1;', - ], - 'RollbackAttachmentName' => [ - 'description' => 'The key of the attachment that contains the SQL statements used to roll back the data change. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of AttachmentKey.'."\n" - ."\n" - .'> This parameter is required if you set **RollbackSqlType** to **ATTACHMENT**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_rollback.sql', - ], - 'RollbackSqlType' => [ - 'description' => 'The format of the SQL statements used to roll back the data change. Valid values:'."\n" - ."\n" - .'* **TEXT**'."\n" - .'* **ATTACHMENT**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEXT', - 'enum' => [ - 'TEXT', - 'ATTACHMENT', - ], - ], - 'DbItemList' => [ - 'description' => 'The databases whose data you want to change.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'TableMetaList' => [ + 'description' => 'The metadata of tables.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The information about the databases.'."\n", + 'description' => 'The metadata of a table.'."\n", 'type' => 'object', 'properties' => [ - 'DbId' => [ - 'description' => 'The database ID. The database can be a physical database or a logical database.'."\n" - ."\n" - .'* To query the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" - .'* To query the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1860****', - ], - 'Logic' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'InstanceId' => [ - 'description' => 'The instance ID. You can call the ListInstances or GetInstance operation to query the instance ID.'."\n" - ."\n" - .'> '."\n" - .'> The instance change feature is supported only by ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and AnalyticDB for MySQL clusters.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1860****', + 'SchemaName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'DB165', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'live_stat', 'title' => ''], + 'Columns' => [ + 'description' => 'The information about columns.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about a column.'."\n", + 'type' => 'object', + 'properties' => [ + 'ColumnName' => ['description' => 'The name of the column.'."\n", 'type' => 'string', 'example' => 'claimantno', 'title' => ''], + 'ColumnPosition' => ['description' => 'The position of the column.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ColumnType' => ['description' => 'The data type of the column. Examples: BIGINT, INT, and VARCHAR.'."\n", 'type' => 'string', 'example' => 'BIGINT', 'title' => ''], + 'Fictive' => ['description' => 'Indicates whether the column is a virtual column. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Charset' => ['description' => 'The name of the character set.'."\n", 'type' => 'string', 'example' => 'utf8mb4', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'required' => false, - ], - 'required' => true, - ], - 'ExecMode' => [ - 'description' => 'The mode in which the data change ticket is executed after the ticket is approved. Valid values:'."\n" - ."\n" - .'* **COMMITOR**: The ticket is executed by the user who submits the ticket.'."\n" - .'* **AUTO**: The ticket is automatically executed after the ticket is approved.'."\n" - .'* **LAST_AUDITOR**: The ticket is executed by the last approver of the ticket.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'COMMITOR', - 'default' => 'COMMITOR', - 'enum' => [ - 'COMMITOR', - 'AUTO', - 'LAST_AUDITOR', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], - 'required' => true, + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetDataTrackJobTableMeta', + 'summary' => 'Queries the metadata of tables involved in a data tracking task.', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'AttachmentKey', - 'in' => 'query', - 'schema' => [ - 'description' => 'The key of the attachment that provides more instructions for the ticket. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of the AttachmentKey parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'order_attachment.txt', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetDataTrackJobTableMeta', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"TableMetaList\\": [\\n {\\n \\"SchemaName\\": \\"DB165\\",\\n \\"TableName\\": \\"live_stat\\",\\n \\"Columns\\": [\\n {\\n \\"ColumnName\\": \\"claimantno\\",\\n \\"ColumnPosition\\": 1,\\n \\"ColumnType\\": \\"BIGINT\\",\\n \\"Fictive\\": false,\\n \\"Charset\\": \\"utf8mb4\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetDataTrackOrderDetail' => [ + 'summary' => 'Queries the details of a data tracking ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'RealLoginUserUid', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account that is used to call the API operation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '21400447956867****'."\n", - ], + 'schema' => ['description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '4328****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response schema.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'CreateOrderResult' => [ - 'description' => 'The IDs of the tickets.', - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '142****', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '283C461F-11D8-48AA-B695-DF092DA32AF3'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'DataTrackOrderDetail' => [ + 'description' => 'The details of the ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3431****', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'DatabaseSearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'example' => 'xxx@yyy:3306', 'title' => ''], + 'TableNames' => [ + 'description' => 'The names of the tables for which data operations are tracked.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The name of a table for which data operations are tracked.'."\n", 'type' => 'string', 'example' => 'table2', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'TrackTypes' => [ + 'description' => 'The types of data operations that are tracked.'."\n", + 'type' => 'array', + 'items' => ['description' => 'A type of data operation that is tracked.'."\n", 'type' => 'string', 'example' => 'UPDATE', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'JobStartTime' => ['description' => 'The start time of the time range in which data operations are tracked. The time is in the yyyy-MM-dd HH:mm:ss format.'."\n", 'type' => 'string', 'example' => '2023-04-23 00:00:00', 'title' => ''], + 'JobEndTime' => ['description' => 'The end time of the time range in which data operations are tracked. The time is in the yyyy-MM-dd HH:mm:ss format.'."\n", 'type' => 'string', 'example' => '2023-04-23 10:00:00', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'as_task', 'title' => ''], + 'JobStatus' => ['description' => 'The status of the data tracking task. Valid values:'."\n" + ."\n" + .'* **INIT**: The task is being initialized.'."\n" + .'* **LISTING**: The binary logs are being obtained.'."\n" + .'* **LIST_SUCCESS**: The binary logs are successfully obtained.'."\n" + .'* **DOWNLOADING**: The binary logs are being downloaded.'."\n" + .'* **DOWNLOAD_FAIL**: The binary logs failed to be downloaded.'."\n" + .'* **DOWNLOAD_SUCCESS**: The binary logs are successfully downloaded.'."\n" + .'* **FILTERING**: The binary logs are being parsed.'."\n" + .'* **FILTER_FAIL**: The binary logs failed to be parsed.'."\n" + .'* **FILTER_SUCCESS**: The binary logs are successfully parsed.'."\n", 'type' => 'string', 'example' => 'FILTER_SUCCESS', 'title' => ''], + 'StatusDesc' => ['description' => 'The description of the task status.'."\n", 'type' => 'string', 'example' => 'searching success', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","errorExample":""},{"type":"xml","example":"<CreateDataCorrectOrderResponse>\\n <RequestId>0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931</RequestId>\\n <Success>true</Success>\\n <CreateOrderResult>142****</CreateOrderResult>\\n</CreateDataCorrectOrderResponse>","errorExample":""}]', - 'title' => 'CreateDataCorrectOrder', - 'description' => 'For more information about the Normal Data Modify feature, see [Change regular data](~~58419~~).'."\n", - ], - 'CreateDataCronClearOrder' => [ - 'summary' => 'Creates a ticket for clearing historical data.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetDataTrackOrderDetail', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetDataTrackOrderDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"283C461F-11D8-48AA-B695-DF092DA32AF3\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DataTrackOrderDetail\\": {\\n \\"DbId\\": 0,\\n \\"Logic\\": false,\\n \\"DatabaseSearchName\\": \\"xxx@yyy:3306\\",\\n \\"TableNames\\": [\\n \\"table2\\"\\n ],\\n \\"TrackTypes\\": [\\n \\"UPDATE\\"\\n ],\\n \\"JobStartTime\\": \\"2023-04-23 00:00:00\\",\\n \\"JobEndTime\\": \\"2023-04-23 10:00:00\\",\\n \\"SchemaName\\": \\"as_task\\",\\n \\"JobStatus\\": \\"FILTER_SUCCESS\\",\\n \\"StatusDesc\\": \\"searching success\\"\\n }\\n}","type":"json"}]', + ], + 'GetDatabase' => [ + 'summary' => 'Gets the details of a specified Database.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsILBT4A', - ], + 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ - 'name' => 'Comment', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The purpose or objective of the data change. This reduces unnecessary communication.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) API to obtain this ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '-1', 'title' => ''], ], [ - 'name' => 'RelatedUserList', + 'name' => 'Host', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The stakeholders of this operation. All stakeholders can view the ticket details and assist in the approval process. Irrelevant users other than Data Management (DMS) administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '243253', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The endpoint of the database.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '192.168.XX.XX', 'title' => ''], ], [ - 'name' => 'Param', + 'name' => 'Port', 'in' => 'query', - 'style' => 'json', + 'schema' => ['description' => 'The database connection port.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '3306', 'title' => ''], + ], + [ + 'name' => 'Sid', + 'in' => 'query', + 'schema' => ['description' => 'The database SID.'."\n" + ."\n" + .'> The database SID is the unique identifier for an Oracle database.', 'type' => 'string', 'required' => false, 'example' => 'test_sid', 'title' => ''], + ], + [ + 'name' => 'SchemaName', + 'in' => 'query', + 'schema' => ['description' => 'The database name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'mysql', 'title' => ''], + ], + [ + 'name' => 'RealLoginUserUid', + 'in' => 'query', + 'schema' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The parameters of the ticket.'."\n", 'type' => 'object', 'properties' => [ - 'Classify' => [ - 'description' => 'The reason for the data change.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'DbItemList' => [ - 'description' => 'The databases for which you want to clear historical data.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database. You can call the [SearchDatabases](~~141876~~) operation to query the ID of the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1234', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is not a logical database.'."\n", - 'type' => 'boolean', - 'required' => true, - 'example' => 'false', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '3CDB8601-AD74-4A47-8114-08E08CD6****', 'title' => ''], + 'Database' => [ + 'description' => 'The details of the database.', + 'type' => 'object', + 'properties' => [ + 'DatabaseId' => ['description' => 'The database ID.', 'type' => 'string', 'example' => '984****', 'title' => ''], + 'Host' => ['description' => 'The database endpoint.', 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''], + 'CatalogName' => ['description' => 'The name of the database catalog.', 'type' => 'string', 'example' => 'def', 'title' => ''], + 'DbaName' => ['description' => 'The DBA\'s nickname.', 'type' => 'string', 'example' => 'dba_name', 'title' => ''], + 'State' => ['description' => 'The state of the database. Valid values:'."\n" + ."\n" + .'- **NORMAL**: The database is running.'."\n" + ."\n" + .'- **DISABLED**: The database is disabled.'."\n" + ."\n" + .'- **OFFLINE**: The database is offline.'."\n" + ."\n" + .'- **NOT\\_EXIST**: The database does not exist.', 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], + 'DbaId' => ['description' => 'The user ID of the DBA.', 'type' => 'string', 'example' => '27****', 'title' => ''], + 'SchemaName' => ['description' => 'The schema name.', 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => '149****', 'title' => ''], + 'Port' => ['description' => 'The port used to connect to the database.', 'type' => 'integer', 'format' => 'int32', 'example' => '3306', 'title' => ''], + 'EnvType' => ['description' => 'The environment type of the database. Valid values:'."\n" + ."\n" + .'- **product**: production'."\n" + ."\n" + .'- **dev**: development'."\n" + ."\n" + .'- **pre**: pre-release'."\n" + ."\n" + .'- **test**: test'."\n" + ."\n" + .'- **sit**: system integration testing (SIT)'."\n" + ."\n" + .'- **uat**: user acceptance testing (UAT)'."\n" + ."\n" + .'- **pet**: performance testing'."\n" + ."\n" + .'- **stag**: staging', 'type' => 'string', 'example' => 'product', 'title' => ''], + 'Sid' => ['description' => 'The SID of the database.'."\n" + ."\n" + .'> This parameter is returned only for Oracle databases.', 'type' => 'string', 'example' => 'test_sid', 'title' => ''], + 'OwnerIdList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerIds' => [ + 'description' => 'A list of User IDs of the database owner.', + 'type' => 'array', + 'items' => ['description' => 'The user ID of a database owner.', 'type' => 'string', 'example' => '27****', 'title' => ''], + 'title' => '', + 'example' => '', + ], ], + 'description' => 'The IDs of the database owners.', + 'title' => '', + 'example' => '', ], - 'required' => false, - ], - 'required' => true, - ], - 'CronFormat' => [ - 'description' => 'The crontab expression that you can use to run the task at a specified time. For more information, see [Crontab expression](~~206581~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '0 0 2 * * ?', - ], - 'CronClearItemList' => [ - 'description' => 'The tables for which you want to clear historical data.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'TableName' => [ - 'description' => 'The name of the table. You can call the [ListTables](~~141878~~) operation to query the name of the table.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 't1', - ], - 'ColumnName' => [ - 'description' => 'The name of the field.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'gmt_create', - ], - 'RemainDays' => [ - 'description' => 'The retention period of the historical data. Unit: days. For example, if you set the parameter to 7, DMS deletes the data that is retained for more than seven days.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '7', - ], - 'TimeUnit' => [ - 'description' => 'The type of time granularity. If the ColumnName parameter specifies a field of a time type, this parameter is required. Valid values:'."\n" - ."\n" - .'* **MILLISECONDS**: milliseconds'."\n" - .'* **SECONDS**: seconds'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MILLISECONDS', - 'default' => 'MILLISECONDS', - 'enum' => [ - 'MILLISECONDS', - 'SECONDS', + 'Encoding' => ['description' => 'The character set.', 'type' => 'string', 'example' => 'utf8mb4', 'title' => ''], + 'DbType' => ['description' => 'The database engine type. For more information, see the description of the [DbType parameter](~~198106~~).', 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'OwnerNameList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerNames' => [ + 'description' => 'List of Database Owner nicknames.', + 'type' => 'array', + 'items' => ['description' => 'The nickname of a database owner.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'title' => '', + 'example' => '', ], ], - 'FilterSQL' => [ - 'description' => 'The filter conditions.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'where 1 = 1', - ], + 'description' => 'The nicknames of the database owners.', + 'title' => '', + 'example' => '', ], - 'required' => false, + 'SearchName' => ['description' => 'The name that is used to search for the database.', 'type' => 'string', 'example' => 'mysql@192.168.XX.XX:3306', 'title' => ''], + 'InstanceAlias' => ['description' => 'The alias of the instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], ], - 'required' => true, - ], - 'specifyDuration' => [ - 'description' => 'Specifies whether to specify an end time for the task. Valid values:'."\n" - ."\n" - .'* **true**: specifies an end time for the task. The task is automatically suspended after this end time.'."\n" - .'* **false**: does not specify an end time for the task. The task is stopped after the historical data is cleared.'."\n", - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', - ], - 'DurationHour' => [ - 'description' => 'The amount of time taken to run the task. Unit: hours.'."\n" - ."\n" - .'> If the **specifyDuration** parameter is set to **true**, this parameter is required.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '4', + 'title' => '', + 'example' => '', ], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'An unknown error occurred.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'required' => true, + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3CDB8601-AD74-4A47-8114-08E08CD6****\\",\\n \\"Database\\": {\\n \\"DatabaseId\\": \\"984****\\",\\n \\"Host\\": \\"192.168.XX.XX\\",\\n \\"CatalogName\\": \\"def\\",\\n \\"DbaName\\": \\"dba_name\\",\\n \\"State\\": \\"NORMAL\\",\\n \\"DbaId\\": \\"27****\\",\\n \\"SchemaName\\": \\"mysql\\",\\n \\"InstanceId\\": \\"149****\\",\\n \\"Port\\": 3306,\\n \\"EnvType\\": \\"product\\",\\n \\"Sid\\": \\"test_sid\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"27****\\"\\n ]\\n },\\n \\"Encoding\\": \\"utf8mb4\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"test\\"\\n ]\\n },\\n \\"SearchName\\": \\"mysql@192.168.XX.XX:3306\\",\\n \\"InstanceAlias\\": \\"test\\"\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"An unknown error occurred.\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'Obtain detailed information about a specific database. ', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'AttachmentKey', - 'in' => 'query', - 'schema' => [ - 'description' => 'The key of the attachment for the ticket. The attachment provides more instructions for this operation.'."\n" - ."\n" - .'You can call the [GetUserUploadFileJob](~~206069~~) operation to query the key of the attachment.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'order_attachement.txt', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDatabase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'GetDatabaseExportOrderDetail' => [ + 'summary' => 'Queries the details of a database export ticket.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> The ID of the tenant is displayed when you move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the [View information about the current tenant](~~181330~~) section of the Manage DMS tenants topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '123454324', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'OrderId', + 'in' => 'formData', + 'schema' => ['description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '821****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'CreateOrderResult' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1341532', + 'RequestId' => ['description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'CFD8FE00-36D9-4C1B-940D-65A7B73D9066', 'title' => ''], + 'DatabaseExportOrderDetail' => [ + 'description' => 'The details of the database export ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '821****', 'title' => ''], + 'Committer' => ['description' => 'The user who submitted the ticket.'."\n", 'type' => 'string', 'example' => 'dmsuser', 'title' => ''], + 'CommitterId' => ['description' => 'The ID of the user who submitted the ticket. This ID is a user ID and is not the ID of an Alibaba Cloud account.'."\n", 'type' => 'string', 'example' => '12***', 'title' => ''], + 'Comment' => ['description' => 'The business background information of the database export ticket.'."\n", 'type' => 'string', 'example' => 'Test', 'title' => ''], + 'SearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'example' => 'test@xxx.xxx.xxx.xxx:3306', 'title' => ''], + 'StatusDesc' => ['description' => 'The status description of the ticket.'."\n", 'type' => 'string', 'example' => '工单审批中。', 'title' => ''], + 'WorkflowStatusDesc' => ['description' => 'The status description of the workflow.'."\n", 'type' => 'string', 'example' => 'Ticket approval in progress.', 'title' => ''], + 'KeyInfo' => [ + 'description' => 'The key information about the ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The database ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2583****', 'title' => ''], + 'DownloadURL' => ['description' => 'The URL that is used to download the export result.'."\n", 'type' => 'string', 'example' => 'https://oss.xxx.com', 'title' => ''], + 'AuditDate' => ['description' => 'The time when the ticket was submitted.'."\n", 'type' => 'string', 'example' => '2023-04-13 13:44:59', 'title' => ''], + 'Config' => [ + 'description' => 'The configuration information about the ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbName' => ['description' => 'The database name.'."\n", 'type' => 'string', 'example' => 'dmstest', 'title' => ''], + 'ExportContent' => ['description' => 'The type of data that was exported. Valid values:'."\n" + ."\n" + .'* **DATA**: The data of the database was exported.'."\n" + .'* **STRUCT**: The schema of the database was exported.'."\n" + .'* **DATA_STRUCT**: The data and schema of the database were exported.'."\n", 'type' => 'string', 'example' => 'DATA', 'title' => ''], + 'TargetOption' => ['description' => 'The format in which the database was exported. Valid values:'."\n" + ."\n" + .'* **SQL**'."\n" + .'* **CSV**'."\n" + .'* **XLSX**'."\n", 'type' => 'string', 'example' => 'SQL', 'title' => ''], + 'ExportTypes' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ExportTypes' => [ + 'description' => 'The type of schema that was exported.'."\n", + 'type' => 'array', + 'items' => ['description' => 'Valid values:'."\n" + ."\n" + .'* **PROCEDURE**'."\n" + .'* **FUNCTION**'."\n" + .'* **TRIGGER**'."\n" + .'* **VIEW**'."\n" + .'* **EVENT**'."\n", 'type' => 'string', 'example' => 'PROCEDURE', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SelectedTables' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SelectedTables' => [ + 'description' => 'The tables that were exported from the database.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The table name.'."\n", 'type' => 'string', 'example' => 'user_test', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SQLExtOption' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SQLExtOption' => [ + 'description' => 'The extension options of the SQL script.'."\n", + 'type' => 'array', + 'items' => ['description' => 'Valid values:'."\n" + ."\n" + .'* **DROP**: A DROP TABLE statement is generated before the CREATE statement.'."\n" + .'* **TRUNCATE**: A TRUNCATE TABLE statement is generated before an INSERT statement.'."\n" + .'* **COMPRESS**: The values to be inserted by an INSERT statement is compressed to 5 MB.'."\n", 'type' => 'string', 'example' => 'DROP', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Log' => ['description' => 'The execution logs.'."\n", 'type' => 'string', 'example' => '2023-04-12 14:58:32:015 Database Dump Start.'."\n" + .'2023-04-12 14:58:32:096 set server side query timeout, sql : set max_execution_time = 0', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 1341532\\n ]\\n}","errorExample":""},{"type":"xml","example":"<CreateDataCronClearOrderResponse>\\n <RequestId>0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931</RequestId>\\n <Success>true</Success>\\n <CreateOrderResult>1341532</CreateOrderResult>\\n</CreateDataCronClearOrderResponse>","errorExample":""}]', - 'title' => 'CreateDataCronClearOrder', - 'description' => 'For more information about the historical data cleaning, see [Clear historical data](~~162507~~).'."\n" - ."\n" - .'This operation can be used only for MySQL databases.'."\n", - ], - 'CreateDataImportOrder' => [ - 'summary' => 'Creates a ticket for importing data to Data Management (DMS).', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CFD8FE00-36D9-4C1B-940D-65A7B73D9066\\",\\n \\"DatabaseExportOrderDetail\\": {\\n \\"Id\\": 0,\\n \\"Committer\\": \\"dmsuser\\",\\n \\"CommitterId\\": \\"12***\\",\\n \\"Comment\\": \\"Test\\",\\n \\"SearchName\\": \\"test@xxx.xxx.xxx.xxx:3306\\",\\n \\"StatusDesc\\": \\"工单审批中。\\",\\n \\"WorkflowStatusDesc\\": \\"Ticket approval in progress.\\",\\n \\"KeyInfo\\": {\\n \\"DbId\\": 0,\\n \\"DownloadURL\\": \\"https://oss.xxx.com\\",\\n \\"AuditDate\\": \\"2023-04-13 13:44:59\\",\\n \\"Config\\": {\\n \\"DbName\\": \\"dmstest\\",\\n \\"ExportContent\\": \\"DATA\\",\\n \\"TargetOption\\": \\"SQL\\",\\n \\"ExportTypes\\": {\\n \\"ExportTypes\\": [\\n \\"PROCEDURE\\"\\n ]\\n },\\n \\"SelectedTables\\": {\\n \\"SelectedTables\\": [\\n \\"user_test\\"\\n ]\\n },\\n \\"SQLExtOption\\": {\\n \\"SQLExtOption\\": [\\n \\"DROP\\"\\n ]\\n }\\n }\\n },\\n \\"Log\\": \\"2023-04-12 14:58:32:015 Database Dump Start.\\\\n2023-04-12 14:58:32:096 set server side query timeout, sql : set max_execution_time = 0\\"\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetDatabaseExportOrderDetail', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDatabaseExportOrderDetail'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDatabaseExportOrderDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetDbExportDownloadURL' => [ + 'summary' => 'Queries the download URL of the results of a database export ticket.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsUOM2CE', - ], + 'abilityTreeNodes' => ['FEATUREdmsPWN318'], ], 'parameters' => [ [ - 'name' => 'Comment', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The purpose or objective of the data import. This parameter is used to help reduce unnecessary communication.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'RelatedUserList', + 'name' => 'OrderId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The stakeholders of the data import. All stakeholders can view the ticket details and assist in the approval process. Irrelevant users other than DMS administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '51****', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '73****', 'title' => ''], ], - [ - 'name' => 'Param', - 'in' => 'query', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The parameters of the ticket.'."\n", 'type' => 'object', 'properties' => [ - 'Classify' => [ - 'description' => 'The reason for the data import.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'AttachmentName' => [ - 'description' => 'The key of the attachment that contains the SQL statements used to import data. You can call the [GetUserUploadFileJob](~~206069~~) operation to the attachment key from the value of the AttachmentKey parameter.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'order_text', - ], - 'DbItemList' => [ - 'description' => 'The database to which you want to import data. You can specify only one database.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database. The database can be a physical database or a logical database.'."\n" - ."\n" - .'* To obtain the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" - .'* To obtain the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1860****', - ], - 'Logic' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is a physical database.'."\n" - ."\n" - .'> If you set this parameter to **true**, the database that you specify must be a logical database.'."\n", - 'type' => 'boolean', - 'required' => true, - 'example' => 'false', - ], - ], - 'required' => false, - ], - 'required' => true, - ], - 'FileType' => [ - 'description' => 'The format of the file for the data import. Valid values:'."\n" - ."\n" - .'* **SQL**: an SQL file'."\n" - .'* **CSV**: a CSV file'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'CSV', - 'enum' => [ - 'SQL', - 'CSV', - 'JSON', - ], - ], - 'FileEncoding' => [ - 'description' => 'The encoding algorithm to be used by the destination database. Valid values:'."\n" - ."\n" - .'* **AUTO**: automatic identification'."\n" - .'* **UTF-8**: UTF-8 encoding'."\n" - .'* **GBK**: GBK encoding'."\n" - .'* **ISO-8859-1**: ISO-8859-1 encoding'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AUTO', - ], - 'TableName' => [ - 'description' => 'The destination table to which you want to import the data in the CSV format.'."\n" - ."\n" - .'> This parameter is required if you set the **FileType** parameter to **CSV**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Table_text', - ], - 'InsertType' => [ - 'description' => 'The mode in which the data in the CSV format is to be written to the destination table. Valid values:'."\n" - ."\n" - .'* **INSERT**: The database checks the primary key when data is written. If a duplicate primary key value exists, an error message is returned.'."\n" - .'* **INSERT_IGNORE**: If the imported data contains data records that are the same as those in the destination table, the new data records are ignored.'."\n" - .'* **REPLACE_INTO**: If the imported data contains a row that has the same value for the primary key or unique index as one row in the destination table, the database deletes the existing row and inserts the new row into the destination table.'."\n" - ."\n" - .'> This parameter is required if you set the **FileType** parameter to **CSV**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'INSERT', - 'default' => 'INSERT', - 'enum' => [ - 'INSERT', - 'INSERT_IGNORE', - 'REPLACE_INTO', - ], - ], - 'CsvFirstRowIsColumnDef' => [ - 'description' => 'The type of the CSV file. Valid values:'."\n" - ."\n" - .'* **true**: The first row in the CSV file contains field names.'."\n" - .'* **false**: The first row in the CSV file contains data.'."\n" - ."\n" - .'> This parameter is required if you set the **FileType** parameter to **CSV**.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - 'IgnoreError' => [ - 'description' => 'Specifies whether to skip an error that occurs. Valid values:'."\n" - ."\n" - .'* **true**: skips the error and continues to execute SQL statements.'."\n" - .'* **false**: stops executing SQL statements.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'ImportMode' => [ - 'description' => 'The import mode. Valid values:'."\n" - ."\n" - .'* **FAST_MODE**: In the Execute step, the uploaded file is read and SQL statements are executed to import data to the specified destination database. Compared with the security mode, this mode can be used to import data in a less secure but more efficient manner.'."\n" - .'* **SAFE_MODE**: In the Precheck step, the uploaded file is parsed, and SQL statements or CSV file data is cached. In the Execute step, the cached SQL statements are read and executed to import data, or the cached CSV file data is read and imported to the specified destination database. This mode can be used to import data in a more secure but less efficient manner.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'FAST_MODE', - 'default' => 'SAFE_MODE', - 'enum' => [ - 'SAFE_MODE', - 'FAST_MODE', - ], - ], - 'RollbackSQL' => [ - 'description' => 'The SQL statements used to roll back the data import.'."\n" - ."\n" - .'> This parameter is required if you set the **RollbackSqlType** parameter to **TEXT**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'empty', - ], - 'RollbackAttachmentName' => [ - 'description' => 'The key of the attachment that contains the SQL statements used to roll back the data import. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of the AttachmentKey parameter.'."\n" - ."\n" - .'> This parameter is required if you set the **RollbackSqlType** parameter to **ATTACHMENT**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rollback.sql', - ], - 'RollbackSqlType' => [ - 'description' => 'The format of the SQL statements used to roll back the data import. Valid values:'."\n" - ."\n" - .'* **TEXT**: text'."\n" - .'* **ATTACHMENT**: attachment'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEXT', - 'enum' => [ - 'TEXT', - 'ATTACHMENT', - ], - ], - 'ExecMode' => [ - 'type' => 'string', - 'default' => 'COMMITOR', - 'enum' => [ - 'COMMITOR', - 'AUTO', - 'LAST_AUDITOR', + 'DownloadURLResult' => [ + 'description' => 'The download URL of the exported file.'."\n", + 'type' => 'object', + 'properties' => [ + 'HasResult' => ['description' => 'Indicates whether export results are available for download. Valid values:'."\n" + ."\n" + .'* **true**: Export results are available for download.'."\n" + .'* **false**: No export results are available for download.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TipMessage' => ['description' => 'The message that indicates an exception.'."\n", 'type' => 'string', 'example' => 'tip message', 'title' => ''], + 'URL' => ['description' => 'The download URL of the exported file.'."\n", 'type' => 'string', 'example' => 'https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request succeeded.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'required' => true, + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DownloadURLResult\\": {\\n \\"HasResult\\": true,\\n \\"TipMessage\\": \\"tip message\\",\\n \\"URL\\": \\"https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip\\"\\n },\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetDbExportDownloadURL', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'AttachmentKey', - 'in' => 'query', - 'schema' => [ - 'description' => 'The key of the attachment that provides more instructions for the ticket. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of the AttachmentKey parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'order_attachment.txt', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDbExportDownloadURL', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'GetForecastAgentInstance' => [ + 'summary' => 'Retrieves a list of forecast agent instances.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsFS2Q9U'], + ], + 'parameters' => [ [ - 'name' => 'RealLoginUserUid', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The region where the data lake is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'CreateOrderResult' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1****', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Message' => ['description' => 'The error message returned on failure.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Root' => [ + 'type' => 'object', + 'properties' => [ + 'Exists' => ['description' => 'Indicates whether the forecast agent instance exists.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'Instances' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceUuid' => ['description' => 'The unique ID of the forecast agent instance.'."\n" + ."\n" + .'> This ID can be obtained from the response of other [instance management operations](~~DescribeUniBackupDatabase~~).', 'type' => 'string', 'example' => '***', 'title' => ''], + 'RegionId' => ['description' => 'The region where Data Management Service (DMS) is deployed. For more information about valid values, see [RegionID parameter description](~~198107~~).'."\n" + ."\n" + .'> The value indicates the region where the instance is located.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'Status' => ['description' => 'The status of the instance.', 'type' => 'string', 'example' => 'ON_LINE', 'title' => ''], + 'CurrentStep' => ['description' => 'The current step of the task.', 'type' => 'string', 'example' => 'PRE_CHECK', 'title' => ''], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '201806739596800', 'title' => ''], + 'FailureMessage' => ['description' => 'The message that is returned if the task fails.', 'type' => 'string', 'example' => 'forecast agent provision failed, id', 'title' => ''], + 'ImageVersion' => ['description' => 'The image version.', 'type' => 'string', 'example' => 'xuanwoali69a-80C320G-20250606-slave0527', 'title' => ''], + ], + 'description' => 'A forecast agent instance.', + 'title' => '', + 'example' => '', + ], + 'description' => 'A list of forecast agent instances.', + 'title' => '', + 'example' => '', + ], ], + 'description' => 'The data returned for the request.', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'description' => 'Response schema', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","errorExample":""},{"type":"xml","example":"<CreateDataImportOrderResponse>\\n <RequestId>0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931</RequestId>\\n <Success>true</Success>\\n <CreateOrderResult>1****</CreateOrderResult>\\n</CreateDataImportOrderResponse>","errorExample":""}]', - 'title' => 'CreateDataImportOrder', - 'description' => 'For more information about the Large Data Import feature, see [Import data](~~161439~~).'."\n", - ], - 'CreateFreeLockCorrectOrder' => [ - 'summary' => 'Creates a lock-free change ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetForecastAgentInstance', + 'description' => 'Note: Removing an instance only removes it from the Data Management Service (DMS) instance list. This operation does not delete or shut down your instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"Message\\": \\"UnknownError\\",\\n \\"Root\\": {\\n \\"Exists\\": true,\\n \\"Instances\\": [\\n {\\n \\"InstanceUuid\\": \\"***\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Status\\": \\"ON_LINE\\",\\n \\"CurrentStep\\": \\"PRE_CHECK\\",\\n \\"TaskId\\": \\"201806739596800\\",\\n \\"FailureMessage\\": \\"forecast agent provision failed, id\\",\\n \\"ImageVersion\\": \\"xuanwoali69a-80C320G-20250606-slave0527\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'GetInstance' => [ + 'summary' => 'Gets the details of a specified instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdms1AAQ1Q', - ], + 'abilityTreeNodes' => ['FEATUREdms19SL1H'], ], 'parameters' => [ [ - 'name' => 'Comment', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The purpose or objective of the data change. This parameter is used to help reduce unnecessary communication.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'The tenant ID. Call the [GetUserActiveTenant](~~198073~~) operation to obtain this value.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '2***', 'title' => ''], ], [ - 'name' => 'RelatedUserList', + 'name' => 'Host', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The stakeholders of the data change. All stakeholders can view the ticket details and assist in the approval process. Irrelevant users other than DMS administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '51****', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The endpoint of the instance. Call the [ListInstances](~~141936~~) operation to obtain this value.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '172.17.XXX.XXX', 'title' => ''], ], [ - 'name' => 'Param', + 'name' => 'Port', 'in' => 'query', - 'style' => 'json', + 'schema' => ['description' => 'The port of the instance. Call the [ListInstances](~~141936~~) operation to obtain this value.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '5432', 'title' => ''], + ], + [ + 'name' => 'Sid', + 'in' => 'query', + 'schema' => ['description' => 'The SID of the instance. Call the [ListInstances](~~141936~~) operation to obtain this value.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'RealLoginUserUid', + 'in' => 'query', + 'schema' => ['description' => 'This parameter is reserved.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The parameters of the ticket.'."\n", 'type' => 'object', 'properties' => [ - 'Classify' => [ - 'description' => 'The reason for the data change.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'ExecSQL' => [ - 'description' => 'The SQL statements that you want to execute to change data.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'delete from base_user where 1 = 1;', - ], - 'SqlType' => [ - 'description' => 'The format of the SQL statements used to change data. Valid values:'."\n" - ."\n" - .'* **TEXT**: text'."\n" - .'* **ATTACHMENT**: attachment. This value is not supported.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'TEXT', - 'default' => 'TEXT', - 'enum' => [ - 'TEXT', - ], - ], - 'AttachmentName' => [ - 'description' => 'The key of the attachment that contains the SQL statements used to change data. This parameter is not supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test.sql', - ], - 'RollbackSQL' => [ - 'description' => 'The SQL statements used to roll back the data change.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'empty', - ], - 'RollbackAttachmentName' => [ - 'description' => 'The key of the attachment that contains the SQL statements used to roll back the data change.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_rollback.sql', - ], - 'RollbackSqlType' => [ - 'description' => 'The format of the SQL statements used to roll back the data change. Valid values:'."\n" - ."\n" - .'* **TEXT**: text'."\n" - .'* **ATTACHMENT**: attachment. This value is not supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEXT', - 'enum' => [ - 'TEXT', - 'ATTACHMENT', - ], - ], - 'DbItemList' => [ - 'description' => 'The databases in which you want to change data.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database. The database can be a physical database or a logical database.'."\n" - ."\n" - .'* To obtain the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" - .'* To obtain the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1860****', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F6C80B69-3203-56AC-8021-18BA72A6F4E1', 'title' => ''], + 'Instance' => [ + 'description' => 'Details about the instance.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The ID of the VPC to which the instance belongs.', 'type' => 'string', 'example' => 'vpc-o6wrloqsdqc9io3mg****', 'title' => ''], + 'DatabaseUser' => ['description' => 'The username used to log on to the instance.', 'type' => 'string', 'example' => 'dbuser', 'title' => ''], + 'DbaId' => ['description' => 'The ID of the database administrator (DBA) of the instance.', 'type' => 'string', 'example' => '29****', 'title' => ''], + 'UseDsql' => ['description' => 'Indicates whether cross-database query is enabled for the instance. Valid values:'."\n" + ."\n" + .'- **0**: disabled'."\n" + ."\n" + .'- **1**: enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Port' => ['description' => 'The port used to connect to the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '5432', 'title' => ''], + 'EcsInstanceId' => ['description' => 'The ID of the ECS instance on which the database instance is deployed.', 'type' => 'string', 'example' => 'i-bp124ldpklqz59y3****', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the instance belongs. Valid values:'."\n" + ."\n" + .'- **product**: production environment'."\n" + ."\n" + .'- **dev**: development environment'."\n" + ."\n" + .'- **pre**: pre-release environment'."\n" + ."\n" + .'- **test**: test environment'."\n" + ."\n" + .'- **sit**: system integration testing (SIT) environment'."\n" + ."\n" + .'- **uat**: user acceptance testing (UAT) environment'."\n" + ."\n" + .'- **pet**: performance testing environment'."\n" + ."\n" + .'- **stag**: staging environment', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Sid' => ['description' => 'The system ID (SID) of the instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'OwnerIdList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerIds' => [ + 'description' => 'The user IDs of the instance owners.', + 'type' => 'array', + 'items' => ['description' => 'The user ID of an instance owner.', 'type' => 'string', 'example' => '10****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The IDs of the instance owners.', + 'title' => '', + 'example' => '', + ], + 'SafeRuleId' => ['description' => 'The ID of the security rule set for the instance.', 'type' => 'string', 'example' => '3****', 'title' => ''], + 'OwnerNameList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerNames' => [ + 'description' => 'The nicknames of the instance owners.', + 'type' => 'array', + 'items' => ['description' => 'The nickname of an instance owner.', 'type' => 'string', 'example' => 'yang_test', 'title' => ''], + 'title' => '', + 'example' => '', + ], ], - 'Logic' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + 'description' => 'The nicknames of the instance owners.', + 'title' => '', + 'example' => '', + ], + 'DbaNickName' => ['description' => 'The nickname of the DBA of the instance.', 'type' => 'string', 'example' => 'dbaname', 'title' => ''], + 'QueryTimeout' => ['description' => 'The timeout period for querying data in the instance. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '7200', 'title' => ''], + 'InstanceSource' => ['description' => 'The source of the instance.', 'type' => 'string', 'example' => 'ECS_OWN', 'title' => ''], + 'Host' => ['description' => 'The endpoint used to connect to the instance.', 'type' => 'string', 'example' => '192.168.XXX.XXX', 'title' => ''], + 'State' => ['description' => 'The state of the instance. Valid values:'."\n" + ."\n" + .'- **NORMAL**: The instance is running as normal.'."\n" + ."\n" + .'- **DISABLE**: The instance is disabled.', 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], + 'DataLinkName' => ['description' => 'The name of the data link for the instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'ExportTimeout' => ['description' => 'The timeout period for exporting data from the instance. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '86400', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => '188****', 'title' => ''], + 'InstanceType' => ['description' => 'The type of the database.', 'type' => 'string', 'example' => 'postgresql', 'title' => ''], + 'DatabasePassword' => ['description' => 'The password that corresponds to the username.', 'type' => 'string', 'example' => '******', 'title' => ''], + 'InstanceAlias' => ['description' => 'The alias of the instance.', 'type' => 'string', 'example' => 'Test', 'title' => ''], + 'DdlOnline' => ['description' => 'Indicates whether lock-free schema change is enabled for the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'EcsRegion' => ['description' => 'The region where the instance resides.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'StandardGroup' => [ + 'description' => 'The control mode of the instance.', + 'type' => 'object', + 'properties' => [ + 'GroupName' => ['description' => 'The name of the security rule set that corresponds to the control mode.', 'type' => 'string', 'example' => 'Free operation', 'title' => ''], + 'GroupMode' => ['description' => 'The control mode. Valid values:'."\n" ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'required' => true, - 'example' => 'false', + .'- **COMMON**: Security Collaboration'."\n" + ."\n" + .'- **NONE\\_CONTROL**: Flexible Management'."\n" + ."\n" + .'- **STABLE**: Stable Change', 'type' => 'string', 'example' => 'NONE_CONTROL', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'required' => false, - ], - 'required' => true, - ], - 'ExecMode' => [ - 'description' => 'The execution mode of the ticket after the ticket is approved. Valid values:'."\n" - ."\n" - .'* **COMMITOR**: The data change is performed by the user who submits the ticket.'."\n" - .'* **AUTO**: The data change is automatically performed after the ticket is approved.'."\n" - .'* **LAST_AUDITOR**: The data change is performed by the last approver of the ticket.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'COMMITOR', - 'default' => 'COMMITOR', - 'enum' => [ - 'COMMITOR', - 'AUTO', - 'LAST_AUDITOR', + 'SellSitd' => ['description' => 'Indicates whether sensitive data protection is enabled. Valid values:'."\n" + ."\n" + .'- **true**: enabled'."\n" + ."\n" + .'- **false**: disabled', 'type' => 'string', 'title' => '', 'example' => 'false'], + 'SellTrust' => ['description' => 'This parameter is reserved.', 'type' => 'string', 'title' => '', 'example' => ''], ], + 'title' => '', + 'example' => '', ], + 'ErrorCode' => ['description' => 'The error code returned.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**'."\n" + ."\n" + .'- **false**', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'required' => true, + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F6C80B69-3203-56AC-8021-18BA72A6F4E1\\",\\n \\"Instance\\": {\\n \\"VpcId\\": \\"vpc-o6wrloqsdqc9io3mg****\\",\\n \\"DatabaseUser\\": \\"dbuser\\",\\n \\"DbaId\\": \\"29****\\",\\n \\"UseDsql\\": 0,\\n \\"Port\\": 5432,\\n \\"EcsInstanceId\\": \\"i-bp124ldpklqz59y3****\\",\\n \\"EnvType\\": \\"test\\",\\n \\"Sid\\": \\"test\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"10****\\"\\n ]\\n },\\n \\"SafeRuleId\\": \\"3****\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"yang_test\\"\\n ]\\n },\\n \\"DbaNickName\\": \\"dbaname\\",\\n \\"QueryTimeout\\": 7200,\\n \\"InstanceSource\\": \\"ECS_OWN\\",\\n \\"Host\\": \\"192.168.XXX.XXX\\",\\n \\"State\\": \\"NORMAL\\",\\n \\"DataLinkName\\": \\"test\\",\\n \\"ExportTimeout\\": 86400,\\n \\"InstanceId\\": \\"188****\\",\\n \\"InstanceType\\": \\"postgresql\\",\\n \\"DatabasePassword\\": \\"******\\",\\n \\"InstanceAlias\\": \\"Test\\",\\n \\"DdlOnline\\": 0,\\n \\"EcsRegion\\": \\"cn-beijing\\",\\n \\"StandardGroup\\": {\\n \\"GroupName\\": \\"Free operation\\",\\n \\"GroupMode\\": \\"NONE_CONTROL\\"\\n },\\n \\"SellSitd\\": \\"false\\",\\n \\"SellTrust\\": \\"\\"\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetInstance', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetInstance'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [ [ - 'name' => 'AttachmentKey', - 'in' => 'query', - 'schema' => [ - 'description' => 'The key of the attachment that provides more instructions for the ticket. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of the AttachmentKey parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'order_attachment.txt', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'translator' => 'machine', + ], + 'GetIntervalLimitOfSLA' => [ + 'summary' => 'Queries the minimum scheduling cycle of a task flow when a service level agreement (SLA) timeout rule is configured for the task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Tid', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '11****', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'CreateOrderResult' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '134****', - ], - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '5B96E35F-A58E-5399-9041-09CF9A1E46EA', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'IntervalLimit' => ['description' => 'The minimum scheduling cycle. Unit: minutes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '59', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","errorExample":""},{"type":"xml","example":"<CreateFreeLockCorrectOrderResponse>\\n <RequestId>0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931</RequestId>\\n <Success>true</Success>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <ErrorCode>UnknownError</ErrorCode>\\n <CreateOrderResult>1340000</CreateOrderResult>\\n</CreateFreeLockCorrectOrderResponse>","errorExample":""}]', - 'title' => 'CreateFreeLockCorrectOrder', - 'description' => 'For more information about the lock-free change feature, see [Overview](~~207847~~).'."\n" - ."\n" - .'This operation can be used only for instances that are managed in Stable Change or Security Collaboration mode. For more information, see [Change data without the need to lock tables](~~96145~~) and [Change schemas without locking tables](~~98373~~).'."\n", - ], - 'ModifyDataCorrectExecSQL' => [ - 'summary' => 'Modifies the SQL script that is submitted by using a data change ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetIntervalLimitOfSLA', + 'description' => 'The scheduling cycle of a task flow must be greater than the minimum scheduling cycle configured in the SLA rule for the task flow.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetIntervalLimitOfSLA', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5B96E35F-A58E-5399-9041-09CF9A1E46EA\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"IntervalLimit\\": 59\\n}","errorExample":""},{"type":"xml","example":"<GetIntervalLimitOfSLAResponse>\\n <RequestId>5B96E35F-A58E-5399-9041-09CF9A1E46EA</RequestId>\\n <Success>true</Success>\\n <IntervalLimit>59</IntervalLimit>\\n</GetIntervalLimitOfSLAResponse>","errorExample":""}]', + ], + 'GetInventoryExportTaskStatus' => [ + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [], + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'OrderId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the data change ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '4328****', - ], - ], - [ - 'name' => 'ExecSQL', + 'name' => 'ExportTaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The new SQL script.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'update tb set id = 1 where id = 1;', - ], - ], - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '4****', - ], - ], - [ - 'name' => 'RealLoginUserUid', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['title' => '', 'description' => 'The asynchronous export task ID returned by AsyncExportInventoryKnowledge or AsyncExportInventoryAsset.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '501'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'Specified parameter OrderId is not valid.', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'InvalidOrderId', + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['title' => '', 'description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError'], + 'ErrorMessage' => ['title' => '', 'description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + .'- **true**: The request was successful.'."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true'], + 'Data' => [ + 'description' => 'The export task result.', + 'type' => 'object', + 'properties' => [ + 'ExportTaskId' => ['title' => '', 'description' => 'The asynchronous export task ID.', 'type' => 'integer', 'format' => 'int64', 'example' => 'edd26f83-a5b0-4b7a-950b-ec4cd1b75397'], + 'Status' => ['title' => '', 'description' => 'The task status. Valid values: INIT, RUNNING, SUCCESS, and FAILED.', 'type' => 'string', 'example' => 'SUCCESS'], + 'FileName' => ['title' => '', 'description' => 'The suggested file name for saving the exported file.', 'type' => 'string', 'example' => '/crm-order-biz%3Bsrc%3Bmain%3Bresources%3Bmybatis%3Bmappers%3Brrscrm%3BOrderOutCountMapper.xml'], + 'DownloadUrl' => ['title' => '', 'description' => 'The temporary download URL for the XLSX file. This parameter is returned only when status is SUCCESS. The URL is a pre-signed OSS URL.', 'type' => 'string', 'example' => 'https://cas-documents-service.oss-cn-shanghai.aliyuncs.com/Batch_Upload_Monitor_Domain.xlsx?Expires=1753150095&OSSAccessKeyId=LTAIuSosQIEgsbko&Signature=d3pTFzTD07pXU11x7%2FekBbWqQfk%3D'], + 'ExpireTime' => ['title' => '', 'description' => 'The expiration time of the download URL, in UNIX millisecond timestamp format. This parameter is returned only when status is SUCCESS.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761448390'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of exported records. This parameter is returned only when status is SUCCESS.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'ErrorMessage' => ['title' => '', 'description' => 'The failure reason. This parameter is returned only when status is FAILED.', 'type' => 'string', 'example' => 'NoPermission'], + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"Specified parameter OrderId is not valid.\\",\\n \\"ErrorCode\\": \\"InvalidOrderId\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyDataCorrectExecSQLResponse>\\n <RequestId>0C1CB646-1DE4-4AD0-B4A4-7D47DD52****</RequestId>\\n <Success>true</Success>\\n</ModifyDataCorrectExecSQLResponse>","errorExample":""}]', - 'title' => 'ModifyDataCorrectExecSQL', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Get asynchronous export task status', + 'summary' => 'Queries the status of an asynchronous export task for inventory results.', + 'description' => 'Polls the task status based on the exportTaskId returned by AsyncExportInventoryKnowledge or AsyncExportInventoryAsset. When status is SUCCESS, a pre-signed OSS downloadUrl is returned (signed on each query). When status is FAILED, an errorMessage is returned. When status is RUNNING, no downloadUrl is returned.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"ExportTaskId\\": 0,\\n \\"Status\\": \\"SUCCESS\\",\\n \\"FileName\\": \\"/crm-order-biz%3Bsrc%3Bmain%3Bresources%3Bmybatis%3Bmappers%3Brrscrm%3BOrderOutCountMapper.xml\\",\\n \\"DownloadUrl\\": \\"https://cas-documents-service.oss-cn-shanghai.aliyuncs.com/Batch_Upload_Monitor_Domain.xlsx?Expires=1753150095&OSSAccessKeyId=LTAIuSosQIEgsbko&Signature=d3pTFzTD07pXU11x7%2FekBbWqQfk%3D\\",\\n \\"ExpireTime\\": 1761448390,\\n \\"TotalCount\\": 100,\\n \\"ErrorMessage\\": \\"NoPermission\\"\\n }\\n}","type":"json"}]', ], - 'PauseDataCorrectSQLJob' => [ - 'summary' => 'Pauses a SQL task for data change.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetLhSpaceByName' => [ + 'summary' => 'Queries the information about a workspace based on the workspace name in Data Management (DMS).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'SpaceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the data change ticket. You can call the [ListOrders](~~144643~~) operation to query the ID of the data change ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '43253', - ], + 'schema' => ['description' => 'The name of the workspace.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test_space', 'title' => ''], ], [ - 'name' => 'Type', + 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3000', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The type of the pause operation. Valid values:'."\n" - ."\n" - .'* ALL: pauses all SQL tasks.'."\n" - .'* SINGLE: pauses a single SQL task.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'SINGLE', - 'enum' => [ - 'ALL', - 'SINGLE', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'FE8CA4A8-AB2D-55B7-BD30-01A4609F40D8', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'LakehouseSpace' => [ + 'description' => 'The workspace for data warehouse development.'."\n", + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the workspace.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'SpaceName' => ['description' => 'The name of the workspace.'."\n", 'type' => 'string', 'example' => 'test_space', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who creates the workspace.'."\n", 'type' => 'string', 'example' => '51***', 'title' => ''], + 'TenantId' => ['description' => 'The ID of the tenant to which the workspace belongs.'."\n", 'type' => 'string', 'example' => '3***', 'title' => ''], + 'Description' => ['description' => 'The description of the workspace.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Mode' => ['description' => 'The mode in which the workspace runs. Valid values:'."\n" + ."\n" + .'* **0**: basic mode'."\n" + .'* **1**: standard mode'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'DwDbType' => ['description' => 'The type of the database. Valid values:'."\n" + ."\n" + .'* **14**: AnalyticDB for MySQL'."\n" + .'* **18**: AnalyticDB for PostgreSQL'."\n", 'type' => 'string', 'example' => '14', 'title' => ''], + 'SpaceConfig' => ['description' => 'The configuration of the workspace. Valid values:'."\n" + ."\n" + .'* **skipManualRunCheck**: No security rule check is required in the trial run phase.'."\n" + .'* **skipPublishApprove**: No approval is required for publishing and O\\&M.'."\n", 'type' => 'string', 'example' => '{\\"skipManualRunCheck\\":true,\\"skipPublishApprove\\":true}', 'title' => ''], + 'DevDbId' => ['description' => 'The ID of the development database.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2435****', 'title' => ''], + 'ProdDbId' => ['description' => 'The ID of the production database.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2442****', 'title' => ''], + 'IsDeleted' => ['description' => 'Indicates whether the workspace is deleted. Valid values:'."\n" + ."\n" + .'* **true**: The workspace is deleted.'."\n" + .'* **false**: The workspace is not deleted.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'GetLhSpaceByName', + 'description' => 'You are a DMS administrator or a database administrator (DBA).'."\n", + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'JobId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the SQL task. You can call the [GetDataCorrectTaskDetail](~~208481~~) or [ListDBTaskSQLJob](~~207049~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'> If Type is set to SINGLE, you must pass in the value of JobId to confirm the ID of the SQL task that you want to pause.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '43253', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetLhSpaceByName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE8CA4A8-AB2D-55B7-BD30-01A4609F40D8\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"LakehouseSpace\\": {\\n \\"Id\\": 1,\\n \\"SpaceName\\": \\"test_space\\",\\n \\"CreatorId\\": \\"51***\\",\\n \\"TenantId\\": \\"3***\\",\\n \\"Description\\": \\"test\\",\\n \\"Mode\\": 1,\\n \\"DwDbType\\": \\"14\\",\\n \\"SpaceConfig\\": \\"{\\\\\\\\\\\\\\"skipManualRunCheck\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"skipPublishApprove\\\\\\\\\\\\\\":true}\\",\\n \\"DevDbId\\": 0,\\n \\"ProdDbId\\": 0,\\n \\"IsDeleted\\": false\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetLhSpaceByNameResponse>\\n <RequestId>FE8CA4A8-AB2D-55B7-BD30-01A4609F40D8</RequestId>\\n <LakehouseSpace>\\n <TenantId>3***</TenantId>\\n <IsDeleted>false</IsDeleted>\\n <SpaceName>test_space</SpaceName>\\n <CreatorId>51***</CreatorId>\\n <Mode>1</Mode>\\n <DwDbType>14</DwDbType>\\n <Id>1</Id>\\n <SpaceConfig>{\\"skipManualRunCheck\\":true,\\"skipPublishApprove\\":true}</SpaceConfig>\\n <DevDbId>2435****</DevDbId>\\n <ProdDbId>2442****</ProdDbId>\\n </LakehouseSpace>\\n <Success>true</Success>\\n</GetLhSpaceByNameResponse>","errorExample":""}]', + ], + 'GetLogicDatabase' => [ + 'summary' => 'Queries the details of a logical database.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '4325', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'DbId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the logical database. You can call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation to obtain the ID of the logical database.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '335C5BC8-490C-56EF-BDDE-94A4B53FEB72', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', + 'LogicDatabase' => [ + 'description' => 'The details of the logical database.'."\n", + 'type' => 'object', + 'properties' => [ + 'DatabaseId' => ['description' => 'The ID of the logical database.'."\n", 'type' => 'string', 'example' => '1***', 'title' => ''], + 'OwnerIdList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerIds' => [ + 'description' => 'The IDs of the owners of the logical database.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the owner of the logical database.'."\n", 'type' => 'string', 'example' => '51****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'DbType' => ['description' => 'The database engine. For more information about the valid values of the DbType parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'example' => 'POLARDB', 'title' => ''], + 'OwnerNameList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerNames' => [ + 'description' => 'The names of the owners of the logical database.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The names of the owners of the logical database.'."\n", 'type' => 'string', 'example' => 'owner_name', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. The return value is true.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the logical database.'."\n", 'type' => 'string', 'example' => 'test_logic_db', 'title' => ''], + 'SearchName' => ['description' => 'The name that is used to search for the logical database.'."\n", 'type' => 'string', 'example' => 'test_logic_db[test_logic_alias]', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the database belongs. Valid values:'."\n" + ."\n" + .'* product: production environment'."\n" + .'* dev: development environment'."\n" + .'* pre: pre-release environment'."\n" + .'* test: test environment'."\n" + .'* sit: system integration testing (SIT) environment'."\n" + .'* uat: user acceptance testing (UAT) environment'."\n" + .'* pet: stress testing environment'."\n" + .'* stag: staging environment'."\n", 'type' => 'string', 'example' => 'dev', 'title' => ''], + 'Alias' => ['description' => 'The alias of the logical database.'."\n", 'type' => 'string', 'example' => 'test_logic_alias', 'title' => ''], + 'DatabaseIds' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DatabaseIds' => [ + 'description' => 'The IDs of database shards of the logical database.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the database shard of the logical database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '90260530-565C-42B9-A6E8-893481FE6AB6', 'title' => ''], + 'ErrorCode' => ['description' => 'The status code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"335C5BC8-490C-56EF-BDDE-94A4B53FEB72\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","errorExample":""},{"type":"xml","example":"<PauseDataCorrectSQLJobResponse>\\n <RequestId>335C5BC8-490C-56EF-BDDE-94A4B53FEB72</RequestId>\\n <Success>true</Success>\\n</PauseDataCorrectSQLJobResponse>","errorExample":""}]', - 'title' => 'PauseDataCorrectSQLJob', - 'description' => 'You can call this operation only for database instances that are managed in Security Collaboration mode.'."\n", - ], - 'GetDataCorrectTaskDetail' => [ - 'summary' => 'Queries the information about a data change, lock-free data change, or data import task.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetLogicDatabase', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetLogicDatabase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"LogicDatabase\\": {\\n \\"DatabaseId\\": \\"1***\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"51****\\"\\n ]\\n },\\n \\"DbType\\": \\"POLARDB\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"owner_name\\"\\n ]\\n },\\n \\"Logic\\": true,\\n \\"SchemaName\\": \\"test_logic_db\\",\\n \\"SearchName\\": \\"test_logic_db[test_logic_alias]\\",\\n \\"EnvType\\": \\"dev\\",\\n \\"Alias\\": \\"test_logic_alias\\",\\n \\"DatabaseIds\\": {\\n \\"DatabaseIds\\": [\\n 0\\n ]\\n }\\n },\\n \\"RequestId\\": \\"90260530-565C-42B9-A6E8-893481FE6AB6\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetLogicDatabaseResponse>\\n <LogicDatabase>\\n <SearchName>test_logic_db【test_logic_alias】</SearchName>\\n <Alias>test_logic_alias</Alias>\\n <DatabaseId>1***</DatabaseId>\\n <OwnerNameList>\\n <OwnerNames>owner_name</OwnerNames>\\n </OwnerNameList>\\n <Logic>true</Logic>\\n <DbType>polardb</DbType>\\n <SchemaName>test_logic_db</SchemaName>\\n <EnvType>dev</EnvType>\\n <OwnerIdList>\\n <OwnerIds>51****</OwnerIds>\\n </OwnerIdList>\\n </LogicDatabase>\\n <RequestId>E057F5F6-298E-5A3D-B948-0E5328D56B54</RequestId>\\n <Success>true</Success>\\n</GetLogicDatabaseResponse>","errorExample":""}]', + ], + 'GetMetaTableColumn' => [ + 'summary' => 'Queries the details of columns in a table.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21804,121 +15491,112 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [CreateDataCorrectOrder](~~208388~~), [CreateDataImportOrder](~~208387~~), or [CreateFreeLockCorrectOrder](~~208386~~) operation to obtain the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '12435523', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'TableGuid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '14325432', - ], + 'schema' => ['description' => 'The globally unique identifier (GUID) of the table in Data Management (DMS).'."\n" + ."\n" + .'* If the database to which the table belongs is a logical database, you can call the [ListLogicTables](~~141875~~) operation to obtain the value of this parameter.'."\n" + .'* If the database to which the table belongs is a physical database, you can call the [ListTables](~~141878~~) operation to obtain the value of this parameter.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'IDB_40753****.qntest2.activity_setting', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'DataCorrectTaskDetail' => [ - 'description' => 'The details of the data change task.'."\n", - 'type' => 'object', - 'properties' => [ - 'DBTaskGroupId' => [ - 'description' => 'The ID of the SQL task group.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1234235', - ], - 'jobStatus' => [ - 'description' => 'The state of the SQL task. Valid values:'."\n" + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '087DFBA1-378B-5D25-B13B-31F6409F****', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'MissingTableGuid', 'title' => ''], + 'ColumnList' => [ + 'description' => 'The details about fields in the table.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ColumnType' => ['description' => 'The data type of the column.'."\n" ."\n" - .'* **INIT**: The SQL task was initialized.'."\n" - .'* **PENDING**: The SQL task waited to be run.'."\n" - .'* **BE_SCHEDULED**: The SQL task waited to be scheduled.'."\n" - .'* **FAIL**: The SQL task failed.'."\n" - .'* **SUCCESS**: The SQL task was successful.'."\n" - .'* **PAUSE**: The SQL task was paused.'."\n" - .'* **DELETE**: The SQL task was deleted.'."\n" - .'* **RUNNING**: The SQL task was being run.'."\n", - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'ActualAffectRows' => [ - 'description' => 'The number of rows affected by the SQL statement.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'CreateTime' => [ - 'description' => 'The time when the task was created.'."\n", - 'type' => 'string', - 'example' => '2021-03-05 15:08:55', + .'> The return value of a column is not unique, such as **bigint** or **int**.'."\n", 'type' => 'string', 'example' => 'bigint(1)', 'title' => ''], + 'AutoIncrement' => ['description' => 'Indicates whether the column is an auto-increment column. Valid values:'."\n" + ."\n" + .'* **true**: The column is an auto-increment column.'."\n" + .'* **false**: The column is not an auto-increment column.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ColumnId' => ['description' => 'The ID of the column.'."\n", 'type' => 'string', 'example' => '63513****', 'title' => ''], + 'ColumnName' => ['description' => 'The name of the column.'."\n", 'type' => 'string', 'example' => 'has_promotion', 'title' => ''], + 'SecurityLevel' => ['description' => 'The sensitivity level of the column. Valid values:'."\n" + ."\n" + .'* **INNER**: The column is not sensitive.'."\n" + .'* **SENSITIVE**: The column is sensitive.'."\n" + .'* **CONFIDENTIAL**: The column is confidential.'."\n" + ."\n" + .'> For more information, see [Sensitivity levels of columns](~~66091~~).'."\n", 'type' => 'string', 'example' => 'INNER', 'title' => ''], + 'PrimaryKey' => ['description' => 'Indicates whether the field is the primary key. Valid values:'."\n" + ."\n" + .'* **true**: The field is the primary key.'."\n" + .'* **false**: The field is not the primary key.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], + 'Description' => ['description' => 'The description of the column.'."\n", 'type' => 'string', 'example' => 'Are there any promotions?', 'title' => ''], + 'DataPrecision' => ['description' => 'The precision of the field.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '19', 'title' => ''], + 'DataScale' => ['description' => 'The number of decimal places for the field.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Position' => ['description' => 'The position of the field in the table.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Nullable' => ['description' => 'Indicates whether the field can be empty. Valid values:'."\n" + ."\n" + .'* **true**: The field can be empty.'."\n" + .'* **false**: The field cannot be empty.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'DataLength' => ['description' => 'The length of the field.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'TableGuid is mandatory for this action.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DataCorrectTaskDetail\\": {\\n \\"DBTaskGroupId\\": 1234235,\\n \\"jobStatus\\": \\"SUCCESS\\",\\n \\"ActualAffectRows\\": 1,\\n \\"CreateTime\\": \\"2021-03-05 15:08:55\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773</RequestId>\\n<Success>true</Success>\\n<DataCorrectTaskDetail>\\n <DBTaskGroupId>1234235</DBTaskGroupId>\\n <jobStatus>SUCCESS</jobStatus>\\n <ActualAffectRows>1</ActualAffectRows>\\n <CreateTime>2021-03-05 15:08:55</CreateTime>\\n</DataCorrectTaskDetail>","errorExample":""}]', - 'title' => 'GetDataCorrectTaskDetail', - ], - 'GetDataCronClearTaskDetailList' => [ - 'summary' => 'Queries the details of a historical data cleansing ticket.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"087DFBA1-378B-5D25-B13B-31F6409F****\\",\\n \\"ErrorCode\\": \\"MissingTableGuid\\",\\n \\"ColumnList\\": [\\n {\\n \\"ColumnType\\": \\"bigint(1)\\",\\n \\"AutoIncrement\\": false,\\n \\"ColumnId\\": \\"63513****\\",\\n \\"ColumnName\\": \\"has_promotion\\",\\n \\"SecurityLevel\\": \\"INNER\\",\\n \\"PrimaryKey\\": \\"true\\",\\n \\"Description\\": \\"Are there any promotions?\\",\\n \\"DataPrecision\\": 19,\\n \\"DataScale\\": 0,\\n \\"Position\\": 1,\\n \\"Nullable\\": false,\\n \\"DataLength\\": 0\\n }\\n ],\\n \\"ErrorMessage\\": \\"TableGuid is mandatory for this action.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'GetMetaTableColumn', + 'description' => 'You can call this operation only for database instances whose control mode is Security Collaboration.'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMetaTableColumn'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetMetaTableColumn', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetMetaTableDetailInfo' => [ + 'summary' => 'Call the GetMetaTableDetailInfo operation to get details about a table, such as its fields and indexes.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21928,155 +15606,148 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ - 'name' => 'OrderId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can query the ticket ID from the response parameters of the [CreateDataCronClearOrder](~~208385~~) operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '432532', - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> You can find the tenant ID by hovering over your profile picture in the upper-right corner of the console. For more information, see [View tenant information](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '123', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'TableGuid', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '200', - 'minimum' => '1', - 'example' => '20', - ], + 'schema' => ['description' => 'The GUID of the table in DMS.'."\n" + ."\n" + .'> - For a logical database, call the [ListLogicTables](~~141875~~) operation and set the ReturnGuid parameter to true.'."\n" + .'>'."\n" + .'> - For a physical database, call the [ListTables](~~141878~~) operation and set the ReturnGuid parameter to true.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'IDB_L_9032.db-test.yuyang_test', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'RealLoginUserUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '12345', - ], + 'schema' => ['description' => 'The user ID of the API caller.', 'type' => 'string', 'required' => false, 'example' => '12345', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The object of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C1D39814-9808-47F8-AFE0-AF167239AC9B', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'DataCronClearTaskDetailList' => [ - 'description' => 'The historical data cleansing tasks'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The execution details of each task.'."\n", - 'type' => 'object', - 'properties' => [ - 'DBTaskGroupId' => [ - 'description' => 'The ID of the SQL task group.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '432523', - ], - 'jobStatus' => [ - 'description' => 'The state of the SQL task. Valid values:'."\n" - ."\n" - .'* **INIT**: The SQL task was initialized.'."\n" - .'* **PENDING**: The SQL task waited to be run.'."\n" - .'* **BE_SCHEDULED**: The SQL task waited to be scheduled.'."\n" - .'* **FAIL**: The SQL task failed.'."\n" - .'* **SUCCESS**: The SQL task was successful.'."\n" - .'* **PAUSE**: The SQL task was paused.'."\n" - .'* **DELETE**: The SQL task was deleted.'."\n" - .'* **RUNNING**: The SQL task was being run.'."\n", - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'ActualAffectRows' => [ - 'description' => 'The number of rows affected by the SQL task.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E881CB2F-DE42-42E5-90EB-8B3173DCB9B9', 'title' => ''], + 'DetailInfo' => [ + 'description' => 'The table details.', + 'type' => 'object', + 'properties' => [ + 'IndexList' => [ + 'description' => 'The index list.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'IndexColumns' => [ + 'description' => 'A list of index columns.', + 'type' => 'array', + 'items' => ['description' => 'An index column.', 'type' => 'string', 'example' => 'id', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'IndexName' => ['description' => 'The index name.', 'type' => 'string', 'example' => 'PRIMARY', 'title' => ''], + 'Unique' => ['description' => 'Specifies whether the index is unique. Valid values:'."\n" + ."\n" + .'- `true`: The index is unique.'."\n" + ."\n" + .'- `false`: The index is not unique.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'IndexType' => ['description' => 'The type of index, such as `Primary`, `Unique`, or `Normal`.', 'type' => 'string', 'example' => 'Primary', 'title' => ''], + 'IndexId' => ['description' => 'The index ID.', 'type' => 'string', 'example' => '123', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'CreateTime' => [ - 'description' => 'The time when the SQL task was created.'."\n", - 'type' => 'string', - 'example' => '2021-01-14 10:00:00', + 'title' => '', + 'example' => '', + ], + 'ColumnList' => [ + 'description' => 'The column list.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ColumnName' => ['description' => 'The column name.', 'type' => 'string', 'example' => 'id', 'title' => ''], + 'Description' => ['description' => 'The column description.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'DataScale' => ['description' => 'The scale of the column, which is the number of digits to the right of the decimal point.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'DataPrecision' => ['description' => 'The precision of the column, which is the total number of digits in a numeric value.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'ColumnType' => ['description' => 'The data type of the column, such as `Bigint`, `Int`, or `Varchar`.', 'type' => 'string', 'example' => 'bigint(20) unsigned', 'title' => ''], + 'AutoIncrement' => ['description' => 'Specifies whether the column auto-increments. Valid values:'."\n" + ."\n" + .'- `true`: The column auto-increments.'."\n" + ."\n" + .'- `false`: The column does not auto-increment.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Position' => ['description' => 'The position of the column in the table.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Nullable' => ['description' => 'Specifies whether the column can contain null values. Valid values:'."\n" + ."\n" + .'- `true`: The column can contain null values.'."\n" + ."\n" + .'- `false`: The column cannot contain null values.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ColumnId' => ['description' => 'The column ID.', 'type' => 'string', 'example' => '191234849', 'title' => ''], + 'DataLength' => ['description' => 'The length of the data in the column.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'TotalCount' => [ - 'description' => 'The total number of SQL tasks.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'ErrorCode' => ['description' => 'The error code that is returned when an error occurs.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned when an error occurs.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Specifies whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C1D39814-9808-47F8-AFE0-AF167239AC9B\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DataCronClearTaskDetailList\\": [\\n {\\n \\"DBTaskGroupId\\": 432523,\\n \\"jobStatus\\": \\"SUCCESS\\",\\n \\"ActualAffectRows\\": 1,\\n \\"CreateTime\\": \\"2021-01-14 10:00:00\\"\\n }\\n ],\\n \\"TotalCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<GetDataCronClearTaskDetailListResponse>\\n <RequestId>C1D39814-9808-47F8-AFE0-AF167239AC9B</RequestId>\\n <Success>true</Success>\\n <DataCronClearTaskDetailList>\\n <DBTaskGroupId>432523</DBTaskGroupId>\\n <jobStatus>SUCCESS</jobStatus>\\n <ActualAffectRows>1</ActualAffectRows>\\n <CreateTime>2021-01-14 10:00:00</CreateTime>\\n </DataCronClearTaskDetailList>\\n <TotalCount>1</TotalCount>\\n</GetDataCronClearTaskDetailListResponse>","errorExample":""}]', - 'title' => 'GetDataCronClearTaskDetailList', - ], - 'GetDataCorrectRollbackFile' => [ - 'summary' => 'Queries the download URL of the rollback attachment submitted along with a data change ticket.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E881CB2F-DE42-42E5-90EB-8B3173DCB9B9\\",\\n \\"DetailInfo\\": {\\n \\"IndexList\\": [\\n {\\n \\"IndexColumns\\": [\\n \\"id\\"\\n ],\\n \\"IndexName\\": \\"PRIMARY\\",\\n \\"Unique\\": false,\\n \\"IndexType\\": \\"Primary\\",\\n \\"IndexId\\": \\"123\\"\\n }\\n ],\\n \\"ColumnList\\": [\\n {\\n \\"ColumnName\\": \\"id\\",\\n \\"Description\\": \\"test\\",\\n \\"DataScale\\": 0,\\n \\"DataPrecision\\": 0,\\n \\"ColumnType\\": \\"bigint(20) unsigned\\",\\n \\"AutoIncrement\\": true,\\n \\"Position\\": \\"1\\",\\n \\"Nullable\\": false,\\n \\"ColumnId\\": \\"191234849\\",\\n \\"DataLength\\": 0\\n }\\n ]\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetMetaTableDetailInfo', + 'description' => 'Only database instances in the Security Collaboration control mode can call this API.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMetaTableDetailInfo'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetMetaTableDetailInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetOnlineDDLProgress' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22084,92 +15755,103 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '51****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'JobDetailId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the OnlineDDL SQL task details. You can call the [ListDBTaskSQLJobDetail](~~207073~~) operation to obtain the task detail ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '15***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '3CDB8601-AD74-4A47-8114-08E08CD6****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'FileUrl' => [ - 'description' => 'The download URL of the attachment.'."\n", - 'type' => 'string', - 'example' => 'https://dmsxxx', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'OnlineDDLTaskDetail' => [ + 'description' => 'The details of the task.'."\n", + 'type' => 'object', + 'properties' => [ + 'JobStatus' => ['description' => 'The state of the task. Valid values:'."\n" + ."\n" + .'* **INIT**: The task is being initialized.'."\n" + .'* **SUCCESS**: The task is complete.'."\n" + .'* **RUNNING**: The task is being executed.'."\n" + .'* **WAITING_CUTOVER**: The task is waiting for cut-over.'."\n" + .'* **RESTARTING**: The task is restarting.'."\n" + .'* **PAUSE**: The task is suspended.'."\n" + .'* **UNSUPPORTED**: The task is not supported.'."\n" + .'* **CANCELED**: The task is canceled.'."\n" + .'* **FAIL**: The task failed.'."\n" + .'* **INTERRUPT**: The task is interrupted.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'StatusDesc' => ['description' => 'The description of the task status.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'DelaySeconds' => ['description' => 'The replay latency of DMS. Unit: seconds. The replay latency is the period of time that is taken to replay the binary logs of the table to the temporary table. The latency does not indicate the data migration latency between a primary database and a secondary database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'CopyTotal' => ['description' => 'The estimated total number of rows of the data. The value is obtained from the statistical data in the information_schema database. In most cases, the estimated total number of rows is smaller than the actual number of rows in a table.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'CopyCount' => ['description' => 'The actual amount of data replicated from the original table in the lock-free change operation.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '9', 'title' => ''], + 'ProgressRatio' => ['description' => 'The estimated execution progress. The actual progress is subject to the task status.'."\n", 'type' => 'string', 'example' => '90%', 'title' => ''], + 'CutoverLockTimeSeconds' => ['description' => 'The maximum period of time that a table can be locked during cut-over. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'CutoverFailRetryTimes' => ['description' => 'The number of retries when the cut-over fails.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'CleanStrategy' => ['description' => 'The cleanup policy of the original table after the cut-over. Valid values:'."\n" + ."\n" + .'* **DROP**: Invalid original tables are deleted.'."\n" + .'* **MOVE**: Invalid original tables are moved to the test database. You can delete the tables manually.'."\n" + .'* **NOTHING**: Invalid original tables are retained in the original database. You can delete the tables manually.'."\n", 'type' => 'string', 'example' => 'DROP', 'title' => ''], + 'CopyChunkSize' => ['description' => 'The size of each chunk that is used to replicate data. This parameter is used to specify the size of each chunk. A larger chunk size increases the replication efficiency and decreases the business performance.'."\n" + ."\n" + .'> During full replication, the original table is divided into N small chunks and each chunk is replicated to the temporary table one by one. By default, DMS dynamically adjusts the size of each chunk.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'CopyChunkMode' => ['description' => 'The policy of full replication. Valid values:'."\n" + ."\n" + .'* **AUTO**: DMS dynamically adjusts the chunk size based on the performance of the database. Tables are locked for less than 1.5 seconds during a single replication operation.'."\n" + .'* **RUNNING**: DMS uses the specified value of the CopyChunkSize parameter. The valid value of the CopyChunkSize parameter ranges from 1 to 60000. If you set this parameter to RUNNING, you must specify the CopyChunkSize parameter.'."\n", 'type' => 'string', 'example' => 'AUTO', 'title' => ''], + 'CutoverWindowStartTime' => ['description' => 'The beginning of the time window of the cut-over operation. Default value: 00:00:00. This parameter controls the time window of the cut-over. Cut-over can be performed only when the cut-over conditions are met and the time is within the specified time window. If the time is not within the time window, the cut-over operation is not performed until the time reaches the beginning of the time window.'."\n", 'type' => 'string', 'example' => '12:00:00', 'title' => ''], + 'CutoverWindowEndTime' => ['description' => 'The end of the time window of the cut-over operation. This value is at least 30 minutes later than the CutoverWindowStartTime parameter. Default value: 23:59:59'."\n", 'type' => 'string', 'example' => '13:00:00', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3CDB8601-AD74-4A47-8114-08E08CD6****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"FileUrl\\": \\"https://dmsxxx\\"\\n}","errorExample":""},{"type":"xml","example":"<GetDataCorrectRollbackFileResponse>\\n <RequestId>3CDB8601-AD74-4A47-8114-08E08CD6****</RequestId>\\n <Success>true</Success>\\n <FileUrl>https://dmsxxx</FileUrl>\\n</GetDataCorrectRollbackFileResponse>","errorExample":""}]', - 'title' => 'GetDataCorrectRollbackFile', - ], - 'GetDataCorrectBackupFiles' => [ - 'summary' => 'Obtains the download URL of the backup file for the specified ticket.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetOnlineDDLProgress', + 'summary' => 'Queries the details and progress of an OnlineDDL task.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetOnlineDDLProgress', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"OnlineDDLTaskDetail\\": {\\n \\"JobStatus\\": \\"SUCCESS\\",\\n \\"StatusDesc\\": \\"Success\\",\\n \\"DelaySeconds\\": 0,\\n \\"CopyTotal\\": 10,\\n \\"CopyCount\\": 9,\\n \\"ProgressRatio\\": \\"90%\\",\\n \\"CutoverLockTimeSeconds\\": 2,\\n \\"CutoverFailRetryTimes\\": 3,\\n \\"CleanStrategy\\": \\"DROP\\",\\n \\"CopyChunkSize\\": 1000,\\n \\"CopyChunkMode\\": \\"AUTO\\",\\n \\"CutoverWindowStartTime\\": \\"12:00:00\\",\\n \\"CutoverWindowEndTime\\": \\"13:00:00\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetOnlineDDLProgressResponse>\\n <RequestId>34E01EDD-6A16-4CF0-9541-C644D1BE01AA</RequestId>\\n <Success>true</Success>\\n <OnlineDDLTaskDetail>\\n <JobStatus>SUCCESS</JobStatus>\\n <StatusDesc>Success</StatusDesc>\\n <DelaySeconds>0</DelaySeconds>\\n <CopyTotal>10</CopyTotal>\\n <CopyCount>9</CopyCount>\\n <ProgressRatio>90</ProgressRatio>\\n <CutoverLockTimeSeconds>2</CutoverLockTimeSeconds>\\n <CutoverFailRetryTimes>3</CutoverFailRetryTimes>\\n <CleanStrategy>DROP</CleanStrategy>\\n <CopyChunkSize>1000</CopyChunkSize>\\n <CopyChunkMode>AUTO</CopyChunkMode>\\n <CutoverWindowStartTime>12:00:00</CutoverWindowStartTime>\\n <CutoverWindowEndTime>13:00:00</CutoverWindowEndTime>\\n </OnlineDDLTaskDetail>\\n</GetOnlineDDLProgressResponse>","errorExample":""}]', + ], + 'GetOpLog' => [ + 'summary' => 'Queries the details of operation logs that are generated in a specified period of time.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22177,48 +15859,76 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '16679', - 'abilityTreeNodes' => [ - 'FEATUREdmsILBT4A', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'OrderId', + 'name' => 'Module', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '4200000', - 'default' => '', - ], + 'schema' => ['description' => 'The functional module for which you want to query operation logs. If you do not specify this parameter, operation logs for all functional modules are returned. Valid values:'."\n" + ."\n" + .'* **PERMISSION**: permissions'."\n" + .'* **OWNER**: data owner'."\n" + .'* **SQL_CONSOLE**: data query'."\n" + .'* **SQL_CONSOLE_EXPORT**: query result export'."\n" + .'* **DATA_CHANGE**: data change'."\n" + .'* **DATA_EXPORT**: data export'."\n" + .'* **SQL_REVIEW**: SQL review'."\n" + .'* **DT_SYNC**: database and table synchronization'."\n" + .'* **DT_DETAIL**: database and table details'."\n" + .'* **DB_TASK**: task management'."\n" + .'* **INSTANCE_MANAGE**: instance management'."\n" + .'* **USER_MANAGE**: user management'."\n" + .'* **SECURITY_RULE**: security rules'."\n" + .'* **CONFIG_MANAGE**: configuration management'."\n" + .'* **RESOURCE_AUTH**: resource authorization'."\n" + .'* **ACCESS_WHITE_IP**: access IP address whitelist'."\n" + .'* **NDDL**: schema design'."\n" + .'* **DSQL_CONSOLE**: cross-database data query'."\n" + .'* **DSQL_CONSOLE_EXPORT**: cross-database query result export'."\n" + .'* **DATA_TRACT**: data tracking'."\n" + .'* **DATA_QUALITY**: data quality'."\n" + .'* **DATALINK_MANAGE** :DBLink management'."\n" + .'* **DATASEC_MANAGE**: sensitive data management'."\n" + .'* **SELL**: sales'."\n", 'type' => 'string', 'required' => false, 'example' => 'SECURITY_RULE', 'title' => ''], ], [ - 'name' => 'ActionDetail', + 'name' => 'StartTime', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are required to perform the operation. You do not need to specify this parameter.'."\n", - 'type' => 'object', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-03-23 10:00:00', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. Specify the time in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-03-29 10:00:00', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. Valid values:'."\n" + ."\n" + .'* 30'."\n" + .'* 50'."\n" + .'* 100'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '30', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. Pages start from page 1.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'UserNick', + 'in' => 'query', + 'schema' => ['description' => 'UserNick.', 'type' => 'string', 'required' => false, 'example' => 'test_name', 'title' => ''], + ], + [ + 'name' => 'DatabaseName', + 'in' => 'query', + 'schema' => ['description' => 'DatabaseName.', 'type' => 'string', 'required' => false, 'example' => 'dmstest@rm-bp1qb97d4b****.mysql.rds.aliyuncs.com:3306【poc_dev】', 'title' => ''], ], ], 'responses' => [ @@ -22226,61 +15936,110 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4AFF4109-FEFB-44E8-96A3-923B1FA8C46E', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'DataCorrectBackupFiles' => [ + 'TotalCount' => ['description' => 'The total number of operation logs that are returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '47D56208-DB1D-4FD3-BE32-300E43185488', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'OpLogDetails' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'FileUrl' => [ - 'description' => 'The download URL of the backup file for the ticket.'."\n", + 'OpLogDetail' => [ + 'description' => 'The details of the operation log.'."\n", 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://xxx.oss-cn-hangzhou.aliyuncs.com/xxx.zip', + 'description' => 'The details of the operation log.'."\n", + 'type' => 'object', + 'properties' => [ + 'Module' => ['description' => 'The functional module for which the operation log is queried.'."\n", 'type' => 'string', 'example' => 'Security rule', 'title' => ''], + 'Database' => ['description' => 'The endpoint of the database instance.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* This parameter is valid only for database instances of the LocalInstance type.'."\n" + ."\n" + .'* This parameter is valid only for operations on the functional modules related to tasks.'."\n", 'type' => 'string', 'example' => 'dmstest@rm-bp1qb97d4b****.mysql.rds.aliyuncs.com:3306【poc_dev】', 'title' => ''], + 'UserId' => ['description' => 'The ID of the Alibaba Cloud account.'."\n", 'type' => 'string', 'example' => '22275482072787****', 'title' => ''], + 'OpUserId' => ['description' => 'The ID of the user who performed the operation.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '51****', 'title' => ''], + 'OpContent' => ['description' => 'The details of the operation.'."\n", 'type' => 'string', 'example' => 'SELECT * FROM `orders` \\n LIMIT 20', 'title' => ''], + 'UserNick' => ['description' => 'The display name of the user.'."\n", 'type' => 'string', 'example' => 'test_name', 'title' => ''], + 'OrderId' => ['description' => 'The ID of the ticket or task.'."\n" + ."\n" + .'> This parameter is valid only for operations on the functional modules related to tasks and the task management module in system management.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '509****', 'title' => ''], + 'OpTime' => ['description' => 'The time when the operation was performed.'."\n", 'type' => 'string', 'example' => '2022-03-28 16:45:19', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4AFF4109-FEFB-44E8-96A3-923B1FA8C46E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"DataCorrectBackupFiles\\": {\\n \\"FileUrl\\": [\\n \\"https://xxx.oss-cn-hangzhou.aliyuncs.com/xxx.zip\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetDataCorrectBackupFilesResponse>\\n <DataCorrectBackupFiles>\\n <FileUrl>https://xxx.oss-cn-hangzhou.aliyuncs.com/xxx.zip</FileUrl>\\n </DataCorrectBackupFiles>\\n <RequestId>4AFF4109-FEFB-44E8-96A3-923B1FA8C46E</RequestId>\\n <Success>true</Success>\\n</GetDataCorrectBackupFilesResponse>","errorExample":""}]', - 'title' => 'GetDataCorrectBackupFiles', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"47D56208-DB1D-4FD3-BE32-300E43185488\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"OpLogDetails\\": {\\n \\"OpLogDetail\\": [\\n {\\n \\"Module\\": \\"Security rule\\",\\n \\"Database\\": \\"dmstest@rm-bp1qb97d4b****.mysql.rds.aliyuncs.com:3306【poc_dev】\\",\\n \\"UserId\\": \\"22275482072787****\\",\\n \\"OpUserId\\": 0,\\n \\"OpContent\\": \\"SELECT * FROM `orders` \\\\\\\\n LIMIT 20\\",\\n \\"UserNick\\": \\"test_name\\",\\n \\"OrderId\\": 0,\\n \\"OpTime\\": \\"2022-03-28 16:45:19\\"\\n }\\n ]\\n },\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'GetOpLog', + 'description' => 'Prerequisites: You are an administrator of Data Management (DMS) or a security administrator. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to obtain your user role from the RoleIdList parameter that is returned.'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetDataCorrectOrderDetail' => [ - 'summary' => 'Queries the information about a data change ticket in Data Management (DMS).', - 'methods' => [ - 'post', - 'get', + 'extraInfo' => '## SDK sample code'."\n" + ."\n" + .'For more information about how to call this operation by using an SDK, see [Alibaba Cloud SDK for Python](~~315437~~).'."\n" + ."\n" + .'Sample code:'."\n" + ."\n" + .' from aliyunsdkcore.client import AcsClient'."\n" + .' from aliyunsdkdms_enterprise.request.v20181101.GetOpLogRequest import GetOpLogRequest'."\n" + .' client = AcsClient('."\n" + .' "<your-access-key-id>",'."\n" + .' "<your-access-key-secret>",'."\n" + .' "<your-region-id>"'."\n" + .' )'."\n" + .' request = GetOpLogRequest()'."\n" + .' request.set_Tid("The tenant ID of your enterprise")'."\n" + .' request.set_StartTime("2018-11-20 00:00:00")'."\n" + .' request.set_EndTime("2018-11-23 00:00:00")'."\n" + .' request.set_PageNumber(1)'."\n" + .' request.set_PageSize(50)'."\n" + .' response = client.do_action_with_exception(request)'."\n" + .' print response'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOpLog'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetOpLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetOrderAttachmentFile' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22288,443 +16047,192 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '12557', - 'abilityTreeNodes' => [ - 'FEATUREdmsILBT4A', - 'FEATUREdms1AAQ1Q', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ + 'name' => 'OrderId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '51****', 'title' => ''], + ], + [ 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned. Take note of the following rules:'."\n" + ."\n" + .'* The **ErrorCode** parameter is not returned if the request is successful.'."\n" + .'* The **ErrorCode** parameter is returned if the request fails. For more information, see the **Error codes** section of this topic.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'FileUrl' => ['description' => 'The download URL of the attachment.'."\n", 'type' => 'string', 'example' => 'https://dmsxxx', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'title' => 'GetOrderAttachmentFile', + 'summary' => 'Queries the download URL of the attachment of a ticket.', + 'description' => '仅当工单创建时上传了附件,才可通过此接口获取附件下载地址。'."\n" + ."\n" + .'> 您可通过调用[GetOrderBaseInfo](~~465868~~)接口,以AttachmentKey参数是否有返回值来判断工单创建时是否上传了附件。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetOrderAttachmentFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"FileUrl\\": \\"https://dmsxxx\\"\\n}","errorExample":""},{"type":"xml","example":"<GetOrderAttachmentFileResponse>\\n <RequestId>FE8EE2F1-4880-46BC-A704-5CF63EAF9A04</RequestId>\\n <Success>true</Success>\\n <FileUrl>https://dmsxxx</FileUrl>\\n</GetOrderAttachmentFileResponse>","errorExample":""}]', + ], + 'GetOrderBaseInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '-1', 'title' => ''], + ], [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '420****', - ], + 'schema' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '12345', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', - ], - 'DataCorrectOrderDetail' => [ - 'description' => 'The information about the data change ticket.'."\n", + 'OrderBaseInfo' => [ + 'description' => 'The basic information about the ticket.'."\n", 'type' => 'object', 'properties' => [ - 'PreCheckDetail' => [ + 'RelatedUserNickList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'TaskCheckDO' => [ - 'description' => 'The precheck details of the ticket.'."\n", + 'UserNicks' => [ + 'description' => 'The nicknames of the operators that are related to the ticket.'."\n", 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'UserTip' => [ - 'description' => 'The message that appears when a check step is executed.'."\n", - 'type' => 'string', - 'example' => 'tip messsage', - ], - 'CheckStatus' => [ - 'description' => 'The state of the precheck. Valid values:'."\n" - ."\n" - .'* **WAITING**: The ticket is pending precheck.'."\n" - .'* **RUNNING**: The ticket is being prechecked.'."\n" - .'* **SUCCESS**: The ticket passes the precheck.'."\n" - .'* **FAIL**: The ticket fails the precheck.'."\n", - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'CheckStep' => [ - 'description' => 'The check step of the precheck. Valid values:'."\n" - ."\n" - .'* **SQL_PARSE**: The system checks the syntax of the SQL statement.'."\n" - .'* **SQL_TYPE_CHECK**: The system checks the type of the SQL statement.'."\n" - .'* **PERMISSION_CHECK**: The system checks the permissions required for the data change.'."\n" - .'* **ROW_CHECK**: The system checks the number of affected rows.'."\n", - 'type' => 'string', - 'example' => 'PERMISSION_CHECK', - ], - ], - ], - ], - ], - ], - 'OrderDetail' => [ - 'description' => 'The details of the ticket.', - 'type' => 'object', - 'properties' => [ - 'RbSQL' => [ - 'description' => 'The SQL statements used to roll back the data change.', - 'type' => 'string', - 'example' => 'empty', - ], - 'RbAttachmentName' => [ - 'description' => 'The name of the attachment that contains the SQL statements used to roll back the data change.', - 'type' => 'string', - 'example' => 'test', - ], - 'Classify' => [ - 'description' => 'The category of the reason for the data change.', - 'type' => 'string', - 'example' => 'test', - ], - 'ExeSQL' => [ - 'description' => 'The executed SQL statements.', - 'type' => 'string', - 'example' => 'update t1 set name = \'xxx\' where id <= 100', - ], - 'EstimateAffectRows' => [ - 'description' => 'The estimated number of affected rows.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'RbSQLType' => [ - 'description' => 'The format of the SQL statements used to roll back the data change. Valid values:'."\n" - ."\n" - .'- **TEXT**: text'."\n" - .'- **ATTACHMENT**: attachment', - 'type' => 'string', - 'example' => 'text', - ], - 'ActualAffectRows' => [ - 'description' => 'The number of affected rows that is obtained by the precheck.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'IgnoreAffectRows' => [ - 'description' => 'Indicates whether the precheck result is ignored. Valid values:'."\n" - ."\n" - .'- **true**: The precheck result is ignored.'."\n" - .'- **false**: The precheck result is not ignored.', - 'type' => 'boolean', - 'example' => 'false', - ], - 'AttachmentName' => [ - 'description' => 'The name of the attachment that contains the SQL statements used to change data.', - 'type' => 'string', - 'example' => 'xxx', - ], - 'SqlType' => [ - 'description' => 'The format of the SQL statements used to change data. Valid values:'."\n" - ."\n" - .'- **TEXT**: text'."\n" - .'- **ATTACHMENT**: attachment', - 'type' => 'string', - 'example' => 'text', - ], - 'IgnoreAffectRowsReason' => [ - 'description' => 'The reason why the precheck result is ignored.', - 'type' => 'string', - 'example' => 'test', + 'items' => ['description' => 'The nickname of the operator that is related to the ticket.'."\n", 'type' => 'string', 'example' => 'nickname', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'DatabaseList' => [ + 'Comment' => ['description' => 'The remarks of the ticket.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the ticket was created.'."\n", 'type' => 'string', 'example' => '2019-10-10 00:00:00', 'title' => ''], + 'Committer' => ['description' => 'The applicant.'."\n", 'type' => 'string', 'example' => 'xxx', 'title' => ''], + 'WorkflowInstanceId' => ['description' => 'The ID of the approval process.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'CommitterId' => ['description' => 'The ID of the applicant. Note: The ID is different from the Alibaba Cloud account ID of the applicant.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'LastModifyTime' => ['description' => 'The time when the ticket was last modified.'."\n", 'type' => 'string', 'example' => '2019-10-10 00:00:00', 'title' => ''], + 'StatusCode' => ['description' => 'The status code of the ticket. Valid values:'."\n" + ."\n" + .'* **new**: The ticket is created.'."\n" + .'* **toaudit**: The ticket is being reviewed.'."\n" + .'* **Approved**: The ticket is approved.'."\n" + .'* **reject**: The ticket is rejected.'."\n" + .'* **processing**: The ticket is being executed.'."\n" + .'* **success**: The ticket is executed.'."\n" + .'* **closed**: The ticket is closed.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], + 'RelatedUserList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Database' => [ - 'description' => 'The information about the database in which data is changed.'."\n", + 'UserIds' => [ + 'description' => 'The IDs of the operators that are related to the ticket.'."\n", 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The database ID.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1860****', - ], - 'DbType' => [ - 'description' => 'The engine of the database.'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true.**: The database is a logical database.'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'xxx@xxx:3306', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database belongs. Valid values:'."\n" - ."\n" - .'* product: production environment.'."\n" - .'* dev: development environment.'."\n" - .'* pre: pre-release environment.'."\n" - .'* test: test environment.'."\n" - .'* sit: system integration testing (SIT) environment'."\n" - .'* uat: user acceptance testing (UAT) environment.'."\n" - .'* pet: stress testing environment.'."\n" - .'* stag: staging environment.'."\n", - 'type' => 'string', - 'example' => 'product', - ], - ], - ], - ], - ], - ], - 'Status' => [ - 'description' => 'The specific state of the data change ticket. Valid values:'."\n" - ."\n" - .'> The state of the ticket is not exactly equivalent to the status code for the ticket. To query the status code of the ticket, you can call the [GetOrderBaseInfo](~~465868~~) operation and check the value of StatusCode in the response.'."\n" - ."\n" - .'* **new**: The ticket is created.'."\n" - .'* **precheck**: The ticket is in the pre-check phase.'."\n" - .'* **precheckFailed**: The ticket failed to pass the precheck.'."\n" - .'* **precheck_success**: The ticket passes the precheck and waits to be submitted for approval.'."\n" - .'* **toaudit**: The ticket is being reviewed.'."\n" - .'* **Approved**: The ticket is approved.'."\n" - .'* **reject**: The ticket is rejected.'."\n" - .'* **waiting**: The task is submitted and waits to be scheduled.'."\n" - .'* **processing**: The task is being executed.'."\n" - .'* **Success**: The task is successful.'."\n", - 'type' => 'string', - 'example' => 'approved', - ], - 'ExecMode' => [ - 'description' => 'The execution mode of the ticket after the ticket is approved. Valid values:'."\n" - ."\n" - .'- **COMMITOR**: The data change is performed by the user who submits the ticket.'."\n" - .'- **AUTO**: The data change is automatically performed after the ticket is approved.'."\n" - .'- **LAST_AUDITOR**: The data change is performed by the last approver of the ticket.', - 'type' => 'string', - 'example' => 'COMMITOR', - ], - 'ConfigDetail' => [ - 'description' => 'The configurations of the ticket. This parameter is used to store the configuration information specific to a data change ticket type.'."\n", - 'type' => 'object', - 'properties' => [ - 'DetailType' => [ - 'description' => 'The type of the ticket. Valid values:'."\n" - ."\n" - .'* COMMON: regular data change.'."\n" - .'* CHUNK_DML: lock-free data change.'."\n" - .'* BIG_FILE: large data import.'."\n" - .'* CRON_CLEAR_DATA: historical data cleanup.'."\n" - .'* PROCEDURE: programmable object change.'."\n", - 'type' => 'string', - 'example' => 'BIG_FILE', - ], - 'FileType' => [ - 'description' => 'The type of the file to be imported. This parameter is valid if the value of DetailType is BIG_FILE. Valid values:'."\n" - ."\n" - .'* **SQL**: an SQL file.'."\n" - .'* **CSV**: a CSV file.'."\n" - .'* **EXCEL**: an Excel file.'."\n" - .'* **JSON**: a JSON file, which is supported only by MongoDB databases.'."\n", - 'type' => 'string', - 'example' => 'CSV', - ], - 'CsvTableName' => [ - 'description' => 'The name of the table to which data is to be imported. This parameter is valid only if the value of DetailType is BIG_FILE. If the value of FileType is SQL, this parameter is empty.'."\n", - 'type' => 'string', - 'example' => 'tb_import_tb_name', - ], - 'FileEncoding' => [ - 'description' => 'The encoding method of the file. This parameter may be empty, which indicates the value of AUTO. Valid values:'."\n" - ."\n" - .'* **AUTO**: automatic identification.'."\n" - .'* **UTF-8**: UTF-8 encoding.'."\n" - .'* **GBK**: GBK encoding.'."\n" - .'* **ISO-8859-1**: ISO-8859-1 encoding.'."\n", - 'type' => 'string', - 'example' => 'UTF-8', - ], - 'Cron' => [ - 'description' => 'Indicates whether the task is a scheduled task for historical data cleanup. This parameter is a reserved parameter and is valid only if the value of DetailType is CRON_CLEAR_DATA.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'CronCallTimes' => [ - 'description' => 'The number of times the scheduled task is run. This parameter is valid only if the value of DetailType is CRON_CLEAR_DATA.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CronFormat' => [ - 'description' => 'The CRON expression of the scheduled task. This parameter is valid only if the value of DetailType is CRON_CLEAR_DATA.'."\n", - 'type' => 'string', - 'example' => '0 0 2 * * ?', - ], - 'Duration' => [ - 'description' => 'The execution duration of the scheduled task. Unit: hour. This parameter is valid only if the value of DetailType is CRON_CLEAR_DATA. If the value is greater than 0, an execution duration is set.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CronStatus' => [ - 'description' => 'The state of the scheduled task. If this parameter is empty, the task is not run. Valid values:'."\n" - ."\n" - .'* PAUSE: The task is suspended.'."\n" - .'* WAITING: The task is waiting to be run.'."\n" - .'* SUCCESS: The task is run.'."\n", - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'CronLastCallStartTime' => [ - 'description' => 'The time when the task was last run.'."\n", - 'type' => 'string', - 'example' => '2024-04-19 02:00:00.0', - ], - 'CronNextCallTime' => [ - 'description' => 'The time when the task is run next time. This parameter is returned only if the value of CronStatus is SUCCESS.'."\n", - 'type' => 'string', - 'example' => '2024-04-19 02:00:00'."\n", - ], - 'CurrentTaskId' => [ - 'description' => 'The ID of the current data change task. This is a reserved parameter and can be ignored.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '13***', - ], - 'ImportExtConfig' => [ - 'description' => 'The additional configuration information about data import. This parameter is valid if the value of DetailType is BIG_FILE.'."\n", - 'type' => 'object', - 'properties' => [ - 'InsertType' => [ - 'description' => 'The mode in which data is to be imported to the destination table. Valid values:'."\n" - ."\n" - .'* **INSERT**: The database checks the primary key during data insertion. If the primary key is duplicated, an error is reported.'."\n" - .'* **INSERT_IGNORE**: If the imported data contains data records that are the same as those in the destination table, the new data records are ignored.'."\n" - .'* **REPLACE_INTO**: If the imported data contains a row that has the same value for the primary key or unique index as an existing row in the destination table, the system deletes the existing row and inserts the new row into the destination table.'."\n" - ."\n" - .'> This parameter is valid if the value of FileType is CSV or EXCEL.'."\n", - 'type' => 'string', - 'example' => 'INSERT', - ], - 'CsvFirstRowIsColumnDef' => [ - 'description' => 'Indicates whether the first row of the CSV file contains field names. Valid values:'."\n" - ."\n" - .'* **true**: The first row in the CSV file contains field names.'."\n" - .'* **false**: The first row in the CSV file contains data.'."\n" - ."\n" - .'> This parameter is valid if the value of **FileType** is **CSV** or **EXCEL**.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'IgnoreError' => [ - 'description' => 'Indicates whether an error that occurs is ignored. Valid values:'."\n" - ."\n" - .'* **true**: If an error occurs when SQL statements are being executed, DMS skips the current SQL statement and continues to execute subsequent SQL statements.'."\n" - .'* **false**: If an error occurs when SQL statements are being executed, DMS stops executing subsequent SQL statements.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ImportMode' => [ - 'description' => 'The import mode. Valid values:'."\n" - ."\n" - .'* **FAST_MODE**: fast mode. In the Execute step, the uploaded file is read and SQL statements are executed to import data to the specified destination database. Compared with the security mode, this mode can be used to import data in a less secure but more efficient manner.'."\n" - .'* **SAFE_MODE**: security mode. In the Precheck step, the uploaded file is parsed, and SQL statements or CSV file data is cached. In the Execute step, the cached SQL statements are read and executed to import data, or the cached CSV file data is read and imported to the specified destination database. Compared with the fast mode, this mode can be used to import data in a more secure but less efficient manner.'."\n", - 'type' => 'string', - 'example' => 'FAST_MODE', - ], - ], - ], - 'CronExtConfig' => [ - 'description' => 'The additional configuration information about historical data cleanup. This parameter is valid only if the value of DetailType is CRON_CLEAR_DATA.'."\n", - 'type' => 'object', - 'properties' => [ - 'OptimizeTableAfterEveryClearTimes' => [ - 'description' => 'Indicates whether the Periodically Optimize Table feature is enabled. Valid values:'."\n" - ."\n" - .'* **0** (default): The feature is disabled.'."\n" - .'* **A value greater than 0**: The feature is enabled. The value indicates the number of cleanups after which the system performs defragmentation.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CurrentClearTaskCount' => [ - 'description' => 'The number of times defragmentation is performed. This parameter is valid only if the value of OptimizeTableAfterEveryClearTimes is greater than 0.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], + 'items' => ['description' => 'The ID of the operator that is related to the ticket.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'WorkflowStatusDesc' => ['description' => 'The description of the approval process.'."\n", 'type' => 'string', 'example' => 'approved', 'title' => ''], + 'StatusDesc' => ['description' => 'The description of the status.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], + 'PluginType' => ['description' => 'The type of the ticket. For more information about the value of this parameter, see the request parameters of the [CreateOrder](~~465865~~) operation.'."\n", 'type' => 'string', 'example' => 'DC_COMMON', 'title' => ''], + 'OrderId' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], + 'AttachmentKey' => ['description' => 'The Key of the ticket attachment. This information is returned only when an attachment is uploaded when a ticket is created.', 'type' => 'string', 'example' => 'upload_order_info_856887_f356366f-f0f8-42fc-ba57-4a509303e814_18072d8a9bce876e3073bc655c2865f.png', 'title' => ''], + 'OriginAttachmentName' => ['description' => 'The original file name of the ticket attachment. This information is returned only when an attachment is uploaded when a ticket is created.', 'type' => 'string', 'example' => '18072d8a9bce876e3073bc655c2865f.png', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '7133DF67-5B25-460F-8285-C4CC93472C2F', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"DataCorrectOrderDetail\\": {\\n \\"PreCheckDetail\\": {\\n \\"TaskCheckDO\\": [\\n {\\n \\"UserTip\\": \\"tip messsage\\",\\n \\"CheckStatus\\": \\"SUCCESS\\",\\n \\"CheckStep\\": \\"PERMISSION_CHECK\\"\\n }\\n ]\\n },\\n \\"OrderDetail\\": {\\n \\"RbSQL\\": \\"empty\\",\\n \\"RbAttachmentName\\": \\"test\\",\\n \\"Classify\\": \\"test\\",\\n \\"ExeSQL\\": \\"update t1 set name = \'xxx\' where id <= 100\\",\\n \\"EstimateAffectRows\\": 100,\\n \\"RbSQLType\\": \\"text\\",\\n \\"ActualAffectRows\\": 100,\\n \\"IgnoreAffectRows\\": false,\\n \\"AttachmentName\\": \\"xxx\\",\\n \\"SqlType\\": \\"text\\",\\n \\"IgnoreAffectRowsReason\\": \\"test\\"\\n },\\n \\"DatabaseList\\": {\\n \\"Database\\": [\\n {\\n \\"DbId\\": 0,\\n \\"DbType\\": \\"mysql\\",\\n \\"Logic\\": false,\\n \\"SearchName\\": \\"xxx@xxx:3306\\",\\n \\"EnvType\\": \\"product\\"\\n }\\n ]\\n },\\n \\"Status\\": \\"approved\\",\\n \\"ExecMode\\": \\"COMMITOR\\",\\n \\"ConfigDetail\\": {\\n \\"DetailType\\": \\"BIG_FILE\\",\\n \\"FileType\\": \\"CSV\\",\\n \\"CsvTableName\\": \\"tb_import_tb_name\\",\\n \\"FileEncoding\\": \\"UTF-8\\",\\n \\"Cron\\": true,\\n \\"CronCallTimes\\": 0,\\n \\"CronFormat\\": \\"0 0 2 * * ?\\",\\n \\"Duration\\": 1,\\n \\"CronStatus\\": \\"SUCCESS\\",\\n \\"CronLastCallStartTime\\": \\"2024-04-19 02:00:00.0\\",\\n \\"CronNextCallTime\\": \\"2024-04-19 02:00:00\\\\n\\",\\n \\"CurrentTaskId\\": 0,\\n \\"ImportExtConfig\\": {\\n \\"InsertType\\": \\"INSERT\\",\\n \\"CsvFirstRowIsColumnDef\\": true,\\n \\"IgnoreError\\": false,\\n \\"ImportMode\\": \\"FAST_MODE\\"\\n },\\n \\"CronExtConfig\\": {\\n \\"OptimizeTableAfterEveryClearTimes\\": 0,\\n \\"CurrentClearTaskCount\\": 0\\n }\\n }\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetDataCorrectOrderDetailResponse>\\n <RequestId>427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D</RequestId>\\n <DataCorrectOrderDetail>\\n <PreCheckDetail>\\n <UserTip>tip messsage</UserTip>\\n <CheckStatus>SUCCESS</CheckStatus>\\n <CheckStep>PERMISSION_CHECK</CheckStep>\\n </PreCheckDetail>\\n <OrderDetail>\\n <RbSQL>empty</RbSQL>\\n <RbAttachmentName>test</RbAttachmentName>\\n <Classify>test</Classify>\\n <ExeSQL>update t1 set name = \'xxx\' where id <= 100</ExeSQL>\\n <EstimateAffectRows>100</EstimateAffectRows>\\n <RbSQLType>text</RbSQLType>\\n <ActualAffectRows>100</ActualAffectRows>\\n <IgnoreAffectRows>false</IgnoreAffectRows>\\n <AttachmentName>xxx</AttachmentName>\\n <SqlType>text</SqlType>\\n <IgnoreAffectRowsReason>test</IgnoreAffectRowsReason>\\n </OrderDetail>\\n <DatabaseList>\\n <DbId>1860****</DbId>\\n <DbType>mysql</DbType>\\n <Logic>false</Logic>\\n <SearchName>xxx@xxx:3306</SearchName>\\n <EnvType>product</EnvType>\\n </DatabaseList>\\n <Status>approved</Status>\\n <ExecMode>COMMITOR</ExecMode>\\n </DataCorrectOrderDetail>\\n <Success>true</Success>\\n</GetDataCorrectOrderDetailResponse>","errorExample":""}]', - 'title' => 'GetDataCorrectOrderDetail', + 'title' => 'GetOrderBaseInfo', + 'summary' => 'Queries the basic information about a ticket.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetDataCronClearConfig' => [ - 'summary' => 'Queries the scheduling configuration of a ticket for cleaning up historical data.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetOrderBaseInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderBaseInfo\\": {\\n \\"RelatedUserNickList\\": {\\n \\"UserNicks\\": [\\n \\"nickname\\"\\n ]\\n },\\n \\"Comment\\": \\"test\\",\\n \\"CreateTime\\": \\"2019-10-10 00:00:00\\",\\n \\"Committer\\": \\"xxx\\",\\n \\"WorkflowInstanceId\\": 1,\\n \\"CommitterId\\": 1,\\n \\"LastModifyTime\\": \\"2019-10-10 00:00:00\\",\\n \\"StatusCode\\": \\"success\\",\\n \\"RelatedUserList\\": {\\n \\"UserIds\\": [\\n \\"1\\"\\n ]\\n },\\n \\"WorkflowStatusDesc\\": \\"approved\\",\\n \\"StatusDesc\\": \\"success\\",\\n \\"PluginType\\": \\"DC_COMMON\\",\\n \\"OrderId\\": 12345,\\n \\"AttachmentKey\\": \\"upload_order_info_856887_f356366f-f0f8-42fc-ba57-4a509303e814_18072d8a9bce876e3073bc655c2865f.png\\",\\n \\"OriginAttachmentName\\": \\"18072d8a9bce876e3073bc655c2865f.png\\"\\n },\\n \\"RequestId\\": \\"7133DF67-5B25-460F-8285-C4CC93472C2F\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<OrderBaseInfo>\\n <Comment>test</Comment>\\n <CreateTime>2019-10-10 00:00:00</CreateTime>\\n <LastModifyTime>2019-10-10 00:00:00</LastModifyTime>\\n <OrderId>12345</OrderId>\\n <CommitterId>1</CommitterId>\\n <PluginType>DC_COMMON</PluginType>\\n <StatusCode>success</StatusCode>\\n <RelatedUserNickList>\\n <UserNicks>a,b,c</UserNicks>\\n </RelatedUserNickList>\\n <StatusDesc>success</StatusDesc>\\n <WorkflowStatusDesc>approved</WorkflowStatusDesc>\\n <WorkflowInstanceId>1</WorkflowInstanceId>\\n <Committer>xxx</Committer>\\n <RelatedUserList>\\n <UserIds>1,2,3</UserIds>\\n </RelatedUserList>\\n</OrderBaseInfo>\\n<RequestId>7133DF67-5B25-460F-8285-C4CC93472C2F</RequestId>\\n<ErrorCode>UnknownError</ErrorCode>\\n<ErrorMessage>UnknownError</ErrorMessage>\\n<Success>true</Success>","errorExample":""}]', + ], + 'GetOwnerApplyOrderDetail' => [ + 'summary' => 'Queries the details of the Database-OWNER, Table-OWNER, and Instance-OWNER tickets.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22732,142 +16240,118 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '420****', - ], + 'schema' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '730000', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '-1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '283C461F-11D8-48AA-B695-DF092DA32AF3', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'DataCronClearConfig' => [ - 'description' => 'Data configuration.', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CB784055-E8CB-4461-AB0B-483A1DA32BB5'], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'OwnerApplyOrderDetail' => [ + 'description' => 'The details of the ticket.'."\n", 'type' => 'object', 'properties' => [ - 'CronFormat' => [ - 'description' => 'The crontab expression that you can use to run the task at a specified time. For more information, see [Crontab expression](~~206581~~).'."\n", - 'type' => 'string', - 'example' => '0 0 23 ? * 7,1', - ], - 'Duration' => [ - 'description' => 'The execution duration of the task. Unit: hours. If the value is 0, it indicates the duration is not specified.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'CronStatus' => [ - 'description' => 'The status of the scheduled task. If this parameter is empty, it indicates the task is not run. Valid values:'."\n" - ."\n" - .'* PAUSE: The task is suspended.'."\n" - .'* WAITING: The task is waiting to be run.'."\n" - .'* SUCCESS: The task is complete.'."\n", - 'type' => 'string', - 'example' => 'PAUSE', - ], - 'CronCallTimes' => [ - 'description' => 'The number of times that the task is run.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'CronLastCallStartTime' => [ - 'description' => 'The time when the task was last run.'."\n", - 'type' => 'string', - 'example' => '2022-11-18 00:00:00', - ], - 'CronNextCallTime' => [ - 'description' => 'The time when the task is run next time. This parameter is displayed only when the status of the scheduled task is SUCCESS.'."\n", - 'type' => 'string', - 'example' => '2022-11-19 00:00:00', - ], - 'OptimizeTableAfterEveryClearTimes' => [ - 'description' => 'Specifies whether to enable automatic execution of the OPTIMIZE TABLE statement. Valid values:'."\n" - ."\n" - .'* 0: disables automatic execution'."\n" - .'* A number greater than 0: enables automatic execution. The number specifies the number of times that cleanup operations must be performed before the OPTIMIZE TABLE statement is automatically executed.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'CurrentClearTaskCount' => [ - 'description' => 'The number of times that the Optimize Table statement is automatically exeuted. This parameter is valid only when the value of the OptimizeTableAfterEveryClearTimes parameter is greater than 0.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', + 'ApplyType' => ['description' => 'The type of the submitted ticket. Valid values:'."\n" + ."\n" + .'* **INSTANCE**: the ticket that applies for the permissions to be an instance owner'."\n" + .'* **DB**: the ticket that applies for the permissions to be a database owner'."\n" + .'* **TABLE**: the ticket that applies for the permissions to be a table owner'."\n", 'type' => 'string', 'example' => 'DB', 'title' => ''], + 'Resources' => [ + 'description' => 'The details of the requested resource.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the resource.'."\n", + 'type' => 'object', + 'properties' => [ + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The instance is a logical database.'."\n" + .'* **false**: The instance is not a logical database.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TargetId' => ['description' => 'The ID of the resource.'."\n", 'type' => 'string', 'example' => '12345', 'title' => ''], + 'ResourceDetail' => [ + 'description' => 'The details of the resource.'."\n", + 'type' => 'object', + 'properties' => [ + 'SearchName' => ['description' => 'The search name of the resource.'."\n", 'type' => 'string', 'example' => 'yuyang[test]', 'title' => ''], + 'DbType' => ['description' => 'The type of the database engine.'."\n", 'type' => 'string', 'example' => 'MYSQL', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the instance belongs. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", 'type' => 'string', 'example' => 'PRODUCT', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.'."\n" + ."\n" + .'> : This parameter is returned when you submit a Database-OWNER ticket.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'OwnerIds' => [ + 'description' => 'The IDs of the original owners.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the owner.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '132453', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'OwnerNickNames' => [ + 'description' => 'The nicknames of the owners.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The nickname of the owner.'."\n", 'type' => 'string', 'example' => 'test_user', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"283C461F-11D8-48AA-B695-DF092DA32AF3\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DataCronClearConfig\\": {\\n \\"CronFormat\\": \\"0 0 23 ? * 7,1\\",\\n \\"Duration\\": \\"1\\",\\n \\"CronStatus\\": \\"SUCCESS\\",\\n \\"CronCallTimes\\": \\"2\\",\\n \\"CronLastCallStartTime\\": \\"2022-11-18 00:00:00\\",\\n \\"CronNextCallTime\\": \\"2022-11-19 00:00:00\\",\\n \\"OptimizeTableAfterEveryClearTimes\\": 0,\\n \\"CurrentClearTaskCount\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetDataCronClearConfigResponse>\\n <RequestId>283C461F-11D8-48AA-B695-DF092DA32AF3</RequestId>\\n <Success>true</Success>\\n <DataCronClearConfig>\\n <CronFormat>0 0 23 ? * 7,1</CronFormat>\\n <Duration>1</Duration>\\n <CronStatus>SUCCESS</CronStatus>\\n <CronCallTimes>2</CronCallTimes>\\n <CronLastCallStartTime>2022-11-18 00:00:00</CronLastCallStartTime>\\n <CronNextCallTime>2022-11-19 00:00:00</CronNextCallTime>\\n <OptimizeTableAfterEveryClearTimes>0</OptimizeTableAfterEveryClearTimes>\\n <CurrentClearTaskCount>0</CurrentClearTaskCount>\\n </DataCronClearConfig>\\n</GetDataCronClearConfigResponse>","errorExample":""}]', - 'title' => 'GetDataCronClearConfig', - ], - 'GetDataCorrectSQLFile' => [ - 'summary' => 'Queries the download URL of the SQL script for a data change task.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetOwnerApplyOrderDetail', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetOwnerApplyOrderDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CB784055-E8CB-4461-AB0B-483A1DA32BB5\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"OwnerApplyOrderDetail\\": {\\n \\"ApplyType\\": \\"DB\\",\\n \\"Resources\\": [\\n {\\n \\"Logic\\": true,\\n \\"TargetId\\": \\"12345\\",\\n \\"ResourceDetail\\": {\\n \\"SearchName\\": \\"yuyang[test]\\",\\n \\"DbType\\": \\"MYSQL\\",\\n \\"EnvType\\": \\"PRODUCT\\",\\n \\"TableName\\": \\"test\\",\\n \\"OwnerIds\\": [\\n 132453\\n ],\\n \\"OwnerNickNames\\": [\\n \\"test_user\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetOwnerApplyOrderDetailResponse>\\n <OwnerApplyOrderDetail>\\n <ApplyType>DB</ApplyType>\\n <Resources>\\n <ResourceDetail>\\n <SearchName>gp_toolkit@gp-bp18anxxxxxxxt48z.gpdb.rds.aliyuncs.com:3432</SearchName>\\n <OwnerNickNames>gctest</OwnerNickNames>\\n <EnvType>PRODUCT</EnvType>\\n <DbType>ADB_POSTGRESQL</DbType>\\n <OwnerIds>128000</OwnerIds>\\n </ResourceDetail>\\n <Logic>false</Logic>\\n <TargetId>116000</TargetId>\\n </Resources>\\n </OwnerApplyOrderDetail>\\n <RequestId>6976762B-AEA4-4EF0-9C42-46EC5477D780</RequestId>\\n <Success>true</Success>\\n</GetOwnerApplyOrderDetailResponse>","errorExample":""}]', + ], + 'GetPagedInstance' => [ + 'summary' => 'Queries the task information about a ticket.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22875,91 +16359,126 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'example' => '730000', - ], + 'schema' => ['description' => 'The ID of data archiving ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '868*****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '-1', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '283C461F-11D8-48AA-B695-DF092DA32AF3', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'FileUrl' => [ - 'description' => 'The download URL of the SQL script.'."\n", - 'type' => 'string', - 'example' => 'https://dmsxxx', + 'TraceId' => ['title' => 'Id of the request', 'description' => 'The trace ID, which is used to track the request.'."\n", 'type' => 'string', 'example' => '0a06e1e316757357507896067d3780'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'PageIndex' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID. You can use the request ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'Total' => ['description' => 'The total number of instances.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'Data' => [ + 'description' => 'The data returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'Instance' => [ + 'description' => 'The information about the task.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the task.'."\n", + 'type' => 'object', + 'properties' => [ + 'BusinessTime' => ['description' => 'The data timestamp of the task node.'."\n", 'type' => 'string', 'example' => '2023-05-14 16:00:57', 'title' => ''], + 'CheckStatus' => ['description' => 'The state of archived data verification. Valid values:'."\n" + ."\n" + .'* **0**: The verification was successful.'."\n" + .'* **1**: Inconsistent data was detected.'."\n" + .'* **2**: The verification was not performed.'."\n" + .'* **3**: The verification is in progress.'."\n" + .'* **4**: The verification was interrupted.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'DagId' => ['description' => 'The unique ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '33***', 'title' => ''], + 'Delete' => ['description' => 'Indicates whether the source data is deleted. Valid values:'."\n" + ."\n" + .'* **true**: deletes the jobs in the application group.'."\n" + .'* **false**'."\n", 'type' => 'string', 'example' => 'false', 'title' => ''], + 'EndTime' => ['description' => 'The time when the task ended.'."\n", 'type' => 'string', 'example' => '2023-04-23 10:23:20', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the task flow was created.'."\n", 'type' => 'string', 'example' => '2023-03-28 10:50:45', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the task flow was last modified.'."\n", 'type' => 'string', 'example' => '2023-04-18 15:28:16', 'title' => ''], + 'HistoryDagId' => ['description' => 'The ID of the historical task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '68***', 'title' => ''], + 'Id' => ['description' => 'The task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '24****', 'title' => ''], + 'LastRunningContext' => ['description' => 'The context of the last execution of the task flow.'."\n", 'type' => 'string', 'example' => '{”nodes":[11***,11***]"}', 'title' => ''], + 'Msg' => ['description' => 'The details of the current task execution.'."\n", 'type' => 'string', 'example' => '”归档任务日志:xxxx“', 'title' => ''], + 'Status' => ['description' => 'The state of the archiving task.'."\n" + ."\n" + .'* **0**: Pending.'."\n" + .'* **1**: Running.'."\n" + .'* **2**: Paused.'."\n" + .'* **3**: Failed.'."\n" + .'* **4**: Succeeded.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'TaskType' => ['description' => 'The task type. Valid values:'."\n" + ."\n" + .'* **1**: data archiving'."\n" + .'* **2**: archived data restoration'."\n" + .'* **3**: archived data verification'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'TenantId' => ['description' => 'The ID of the tenant.'."\n", 'type' => 'string', 'example' => '34***', 'title' => ''], + 'TriggerType' => ['description' => 'The mode in which the task flow is triggered. Valid values:'."\n" + ."\n" + .'* **0**: The task flow was triggered based on a schedule.'."\n" + .'* **1**: The task flow was manually triggered.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Version' => ['description' => 'The version number.'."\n", 'type' => 'string', 'example' => '13***', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"283C461F-11D8-48AA-B695-DF092DA32AF3\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"FileUrl\\": \\"https://dmsxxx\\"\\n}","errorExample":""},{"type":"xml","example":"<GetDataCorrectSQLFileResponse>\\n <FileUrl>https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/uplJMIpQ%3D</FileUrl>\\n <RequestId>386EAA20-67FB-4D06-B7BF-2ABA11241185</RequestId>\\n <Success>true</Success>\\n</GetDataCorrectSQLFileResponse>","errorExample":""}]', - 'title' => 'GetDataCorrectSQLFile', - 'description' => 'This operation applies to [regular data change](~~58419~~) and [batch data import](~~144643~~).'."\n", - ], - 'ListDataCorrectPreCheckSQL' => [ - 'summary' => 'Queries the information about SQL statements that are involved in the precheck of a data change ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TraceId\\": \\"0a06e1e316757357507896067d3780\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"PageIndex\\": 1,\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"PageSize\\": 10,\\n \\"Total\\": 2,\\n \\"Data\\": {\\n \\"Instance\\": [\\n {\\n \\"BusinessTime\\": \\"2023-05-14 16:00:57\\",\\n \\"CheckStatus\\": 3,\\n \\"DagId\\": 0,\\n \\"Delete\\": \\"false\\",\\n \\"EndTime\\": \\"2023-04-23 10:23:20\\",\\n \\"GmtCreate\\": \\"2023-03-28 10:50:45\\",\\n \\"GmtModified\\": \\"2023-04-18 15:28:16\\",\\n \\"HistoryDagId\\": 0,\\n \\"Id\\": 0,\\n \\"LastRunningContext\\": \\"{”nodes\\\\\\":[11***,11***]\\\\\\"}\\",\\n \\"Msg\\": \\"”归档任务日志:xxxx“\\",\\n \\"Status\\": 1,\\n \\"TaskType\\": 1,\\n \\"TenantId\\": \\"34***\\",\\n \\"TriggerType\\": 1,\\n \\"Version\\": \\"13***\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'GetPagedInstance', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetPagedInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetPermApplyOrderDetail' => [ + 'summary' => 'Invoke GetPermApplyOrderDetail to obtain the ticket details of a permission request. ', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22968,172 +16487,214 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], ], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the data change ticket. You can call the [ListOrders](~~144643~~) operation to query the ID of the data change ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '453****', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'DbId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database. The database can be a physical database or a logical database.'."\n" - ."\n" - .'* To query the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" - .'* To query the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1930****', - ], + 'schema' => ['description' => 'The ticket ID. You can call the [ListOrders](~~465867~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '73****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The schema of response information.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '31853A2B-DC9D-5B39-8492-D2AC8BCF550E', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'PreCheckSQLList' => [ - 'description' => 'The precheck information about SQL statements.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CheckSQL' => [ - 'description' => 'The SQL statement.'."\n", - 'type' => 'string', - 'example' => 'OPTIMIZE TABLE `Text_TableNames`', - ], - 'AffectRows' => [ - 'description' => 'The estimated number of affected rows.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'DbId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1930****', - ], - 'SQLReviewQueryKey' => [ - 'description' => 'The key that is used to query the details of optimization suggestions. You can call the [GetSQLReviewOptimizeDetail](~~265977~~) operation to query the details of optimization suggestions based on the key.'."\n", - 'type' => 'string', - 'example' => 'b9e771fc6ec247dea6d06a32c777****', - ], - 'SqlReviewStatus' => [ - 'description' => 'The review status of the SQL statement. Valid values:'."\n" - ."\n" - .'* **WAITING**: The SQL statement is pending for review.'."\n" - .'* **RUNNING**: The SQL statement is being reviewed.'."\n" - .'* **IGNORE**: The SQL statement review is skipped.'."\n" - .'* **PASS**: The SQL statement passed the review.'."\n" - .'* **BLOCK**: The SQL statement failed the review.'."\n", - 'type' => 'string', - 'example' => 'WAITING', - ], - 'SqlType' => [ - 'description' => 'The type of the SQL statement, such as DELETE, UPDATE, or ALTER_TABLE.'."\n", - 'type' => 'string', - 'example' => 'OPTIMIZE', - ], - 'TableNames' => [ - 'description' => 'The name of the table whose data is changed.'."\n", - 'type' => 'string', - 'example' => 'Text_TableNames', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'A4C4499E-5AC2-4318-9FCF-03E426781A04'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'PermApplyOrderDetail' => [ + 'description' => 'The details of the permission application ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'Resources' => [ + 'description' => 'The list of resources.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the resource.'."\n", + 'type' => 'object', + 'properties' => [ + 'DatabaseInfo' => [ + 'description' => 'The information about the database.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The database ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'DbType' => ['description' => 'The type of the database engine.'."\n", 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'SearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'example' => 'test@xxxx:3306[test]', 'title' => ''], + 'OwnerIds' => [ + 'description' => 'The IDs of the owners of the database.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the owner of the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'OwnerNickNames' => [ + 'description' => 'The nicknames of the owners of the database.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The nickname of the owner of the database.'."\n", 'type' => 'string', 'example' => 'test_user', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'EnvType' => ['description' => 'The type of the environment to which the instance belongs. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", 'type' => 'string', 'example' => 'product', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TableInfo' => [ + 'description' => 'The information about the table.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'test_tb', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColumnInfo' => [ + 'description' => 'The information about the column.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'test_tb', 'title' => ''], + 'ColumnName' => ['description' => 'The name of the column.'."\n", 'type' => 'string', 'example' => 'test_col', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InstanceInfo' => [ + 'description' => 'The information about the instance.'."\n", + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => '12345', 'title' => ''], + 'SearchName' => ['description' => 'The name that is used to search for the instance.'."\n", 'type' => 'string', 'example' => 'xxxx:3306', 'title' => ''], + 'DbType' => ['description' => 'The type of the database engine.'."\n", 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the instance belongs. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", 'type' => 'string', 'example' => 'product', 'title' => ''], + 'Host' => ['description' => 'The endpoint of the instance.'."\n", 'type' => 'string', 'example' => 'xxxx', 'title' => ''], + 'Port' => ['description' => 'The port that is used to connect to the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3306', 'title' => ''], + 'OwnerIds' => [ + 'description' => 'The IDs of the owners of the instance.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the owner of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'OwnerNickName' => [ + 'description' => 'The nicknames of the owners of the instance.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The nickname of the owner of the instance.'."\n", 'type' => 'string', 'example' => 'test_owner', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'DbaId' => ['description' => 'The ID of the database administrator (DBA) of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123****', 'title' => ''], + 'DbaNickName' => ['description' => 'The nickname of the DBA of the instance.'."\n", 'type' => 'string', 'example' => 'test_dba', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RowInfo' => [ + 'description' => 'Row-level permission request, including detailed information about the affected rows. ', + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'Database ID (DatabaseId). Databases are classified into physical databases and logical databases: '."\n" + .'- Physical database ID: You can invoke the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) API to obtain this value. '."\n" + .'- Logical database ID: You can invoke the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) API to obtain this value. ', 'type' => 'integer', 'format' => 'int64', 'example' => '69256456', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values: '."\n" + .'- **true**: Yes '."\n" + .'- **false**: No ', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'SchemaName' => ['description' => 'Database name. ', 'type' => 'string', 'example' => 'testdb003', 'title' => ''], + 'TableName' => ['description' => 'Table name. ', 'type' => 'string', 'example' => 'ods_qr_dms_vehicleorder_df', 'title' => ''], + 'ColumnName' => ['description' => 'Field name. ', 'type' => 'string', 'example' => 'xrxs_xid', 'title' => ''], + 'MatchMode' => ['description' => 'Matching mode. Valid values and their descriptions are as follows: '."\n" + .'- EQ: exact match '."\n" + .'- LIKE: fuzzy matching', 'type' => 'string', 'example' => 'EQ', 'title' => ''], + 'RowGroupId' => ['description' => 'Row control group ID. ', 'type' => 'integer', 'format' => 'int64', 'example' => '123434', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RowValueInfo' => [ + 'description' => 'Row-level permission request; row value information. ', + 'type' => 'object', + 'properties' => [ + 'RowValue' => ['description' => 'Row value. ', 'type' => 'string', 'example' => 'test_value', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'PermType' => ['description' => 'The type of the permissions that you apply for. Valid values:'."\n" + ."\n" + .'* **1**: the permissions to query information.'."\n" + .'* **2**: the permissions to export information.'."\n" + .'* **3**: the permissions to query and export information.'."\n" + .'* **4**: the permissions to modify information.'."\n" + .'* **5**: the permissions to query and modify information.'."\n" + .'* **6**: the permissions to export and modify information.'."\n" + .'* **7**: the permissions to query, export, and modify information.'."\n" + .'* **8**: the permissions to log on to the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '7', 'title' => ''], + 'Seconds' => ['description' => 'The validity duration of the permissions. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3600', 'title' => ''], + 'ApplyType' => ['description' => 'The type of objects on which you apply for permissions. Valid values:'."\n" + ."\n" + .'* **DB**: database'."\n" + .'* **TAB**: table'."\n" + .'* **COL**: column'."\n" + .'* **INSTANT**: instance'."\n", 'type' => 'string', 'example' => 'DB', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31853A2B-DC9D-5B39-8492-D2AC8BCF550E\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"PreCheckSQLList\\": [\\n {\\n \\"CheckSQL\\": \\"OPTIMIZE TABLE `Text_TableNames`\\",\\n \\"AffectRows\\": 0,\\n \\"DbId\\": 0,\\n \\"SQLReviewQueryKey\\": \\"b9e771fc6ec247dea6d06a32c777****\\",\\n \\"SqlReviewStatus\\": \\"WAITING\\",\\n \\"SqlType\\": \\"OPTIMIZE\\",\\n \\"TableNames\\": \\"Text_TableNames\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListDataCorrectPreCheckSQLResponse>\\n <RequestId>31853A2B-DC9D-5B39-8492-D2AC8BCF550E</RequestId>\\n <PreCheckSQLList>\\n <CheckSQL>OPTIMIZE TABLE `Text_TableNames`</CheckSQL>\\n <SqlReviewStatus>WAITING</SqlReviewStatus>\\n <TableNames>`Text_TableNames`,</TableNames>\\n <DbId>1930****</DbId>\\n <SqlType>OPTIMIZE</SqlType>\\n <AffectRows>0</AffectRows>\\n </PreCheckSQLList>\\n <Success>true</Success>\\n</ListDataCorrectPreCheckSQLResponse>","errorExample":""}]', - 'title' => 'ListDataCorrectPreCheckSQL', - 'description' => 'For more information about the Normal Data Modify feature, see [Change regular data](~~58419~~).'."\n", - ], - 'ListDataCorrectPreCheckDB' => [ - 'summary' => 'Queries the databases that are involved in the precheck of a data change ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A4C4499E-5AC2-4318-9FCF-03E426781A04\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"PermApplyOrderDetail\\": {\\n \\"Resources\\": [\\n {\\n \\"DatabaseInfo\\": {\\n \\"DbId\\": 12345,\\n \\"Logic\\": false,\\n \\"DbType\\": \\"MySQL\\",\\n \\"SearchName\\": \\"test@xxxx:3306[test]\\",\\n \\"OwnerIds\\": [\\n 12345\\n ],\\n \\"OwnerNickNames\\": [\\n \\"test_user\\"\\n ],\\n \\"EnvType\\": \\"product\\"\\n },\\n \\"TableInfo\\": {\\n \\"TableName\\": \\"test_tb\\"\\n },\\n \\"ColumnInfo\\": {\\n \\"TableName\\": \\"test_tb\\",\\n \\"ColumnName\\": \\"test_col\\"\\n },\\n \\"InstanceInfo\\": {\\n \\"InstanceId\\": \\"12345\\",\\n \\"SearchName\\": \\"xxxx:3306\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"EnvType\\": \\"product\\",\\n \\"Host\\": \\"xxxx\\",\\n \\"Port\\": 3306,\\n \\"OwnerIds\\": [\\n 12345\\n ],\\n \\"OwnerNickName\\": [\\n \\"test_owner\\"\\n ],\\n \\"DbaId\\": 0,\\n \\"DbaNickName\\": \\"test_dba\\"\\n },\\n \\"RowInfo\\": {\\n \\"DbId\\": 69256456,\\n \\"Logic\\": false,\\n \\"SchemaName\\": \\"testdb003\\",\\n \\"TableName\\": \\"ods_qr_dms_vehicleorder_df\\",\\n \\"ColumnName\\": \\"xrxs_xid\\",\\n \\"MatchMode\\": \\"EQ\\",\\n \\"RowGroupId\\": 123434\\n },\\n \\"RowValueInfo\\": {\\n \\"RowValue\\": \\"test_value\\"\\n }\\n }\\n ],\\n \\"PermType\\": 7,\\n \\"Seconds\\": 3600,\\n \\"ApplyType\\": \\"DB\\"\\n }\\n}","type":"json"}]', + 'title' => 'Obtain the details of a ticket for requesting operation permission ', + 'description' => 'This API is applicable for obtaining permissions for: **database-permission**, **table-permission**, and **sensitive column-permission**. ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetPermApplyOrderDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetPhysicalDatabase' => [ + 'summary' => 'Queries the details of a physical database.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23141,475 +16702,356 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrderId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket for the data change.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '432****', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n" - ."\n" - .'Valid values: an integer that is greater than 0.'."\n" - ."\n" - .'Default value: 1.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The ID of the physical database. You can call the [SearchDatabase](~~141876~~) operation to obtain the ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '43153', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '4321****', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The data returned.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '95A972AF-FAED-4768-9360-7C0DF5D594D0', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'PreCheckDBList' => [ - 'description' => 'The information about the databases that are involved in the precheck.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '43***', - ], - 'SearchName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'test@localhost:3306', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', 'title' => ''], + 'Database' => [ + 'description' => 'The information about the physical database.'."\n", + 'type' => 'object', + 'properties' => [ + 'DatabaseId' => ['description' => 'The ID of the physical database.'."\n", 'type' => 'string', 'example' => '43125312', 'title' => ''], + 'Host' => ['description' => 'The endpoint that is used to connect to the database.'."\n", 'type' => 'string', 'example' => 'rm-xxxab3r272.mysql.rds.aliyuncs.com', 'title' => ''], + 'CatalogName' => ['description' => 'The name of the catalog to which the database belongs.'."\n" + ."\n" + .'> : If the database is a PostgreSQL database, the name of the database is displayed.'."\n", 'type' => 'string', 'example' => 'def', 'title' => ''], + 'DbaName' => ['description' => 'The nickname of the database administrator (DBA) in the destination database.'."\n", 'type' => 'string', 'example' => 'dmstest', 'title' => ''], + 'State' => ['description' => 'The state of the database. Valid values:'."\n" + ."\n" + .'* **NORMAL**: The database is normal.'."\n" + .'* **DISABLE**: The database is disabled.'."\n" + .'* **OFFLINE**: The database is unpublished.'."\n" + .'* **NOT_EXIST**: The database does not exist.'."\n", 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], + 'DbaId' => ['description' => 'The user ID of the DBA in the destination database.'."\n", 'type' => 'string', 'example' => '43253', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the database.'."\n" + ."\n" + .'> : If the database is a PostgreSQL database, the name of the mode is displayed.'."\n", 'type' => 'string', 'example' => 'dmstest', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the destination database.'."\n", 'type' => 'string', 'example' => '43215325', 'title' => ''], + 'Port' => ['description' => 'The port that is used to connect to the database.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3306', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the database belongs. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", 'type' => 'string', 'example' => 'product', 'title' => ''], + 'Sid' => ['description' => 'The system ID (SID) of the database.'."\n" + ."\n" + .'> : The value of the parameter is returned only for Oracle databases.'."\n", 'type' => 'string', 'example' => 'def', 'title' => ''], + 'OwnerIdList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerIds' => [ + 'description' => 'The user IDs of the database owners.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The user ID of the database owner.'."\n", 'type' => 'string', 'example' => '43215325', 'title' => ''], + 'title' => '', + 'example' => '', + ], ], - 'SqlNum' => [ - 'description' => 'The number of SQL statements.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Encoding' => ['description' => 'The encoding format of the database.'."\n", 'type' => 'string', 'example' => 'utf8mb4', 'title' => ''], + 'DbType' => ['description' => 'The type of the database engine.'."\n", 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'OwnerNameList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerNames' => [ + 'description' => 'The nicknames of the database owners.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The nickname of the database owner.'."\n", 'type' => 'string', 'example' => 'dmstest', 'title' => ''], + 'title' => '', + 'example' => '', + ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'SearchName' => ['description' => 'The name that is used for searching the database.'."\n", 'type' => 'string', 'example' => 'dmstest@rm-xxxab3r272.mysql.rds.aliyuncs.com:3306', 'title' => ''], + 'InstanceAlias' => ['description' => 'The alias of the database instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"95A972AF-FAED-4768-9360-7C0DF5D594D0\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"PreCheckDBList\\": [\\n {\\n \\"DbId\\": 0,\\n \\"SearchName\\": \\"test@localhost:3306\\",\\n \\"SqlNum\\": 1\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListDataCorrectPreCheckDBResponse>\\n <RequestId>A793B353-2D13-47A3-AF45-53798FBD864F</RequestId>\\n <PreCheckDBList>\\n <SqlNum>1</SqlNum>\\n <SearchName>poc_dev@rm-uf61****1w0926d66.mysql.rds.aliyuncs.com:3306【poc_dev】</SearchName>\\n <DbId>8050000</DbId>\\n </PreCheckDBList>\\n <Success>true</Success>\\n</ListDataCorrectPreCheckDBResponse>","errorExample":""}]', - 'title' => 'ListDataCorrectPreCheckDB', - 'description' => 'For more information about the Normal Data Modify feature, see [Change regular data](~~58419~~).'."\n", - ], - 'ExecuteDataCorrect' => [ - 'summary' => 'Submits a ticket for data change.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetPhysicalDatabase', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetPhysicalDatabase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"Database\\": {\\n \\"DatabaseId\\": \\"43125312\\",\\n \\"Host\\": \\"rm-xxxab3r272.mysql.rds.aliyuncs.com\\",\\n \\"CatalogName\\": \\"def\\",\\n \\"DbaName\\": \\"dmstest\\",\\n \\"State\\": \\"NORMAL\\",\\n \\"DbaId\\": \\"43253\\",\\n \\"SchemaName\\": \\"dmstest\\",\\n \\"InstanceId\\": \\"43215325\\",\\n \\"Port\\": 3306,\\n \\"EnvType\\": \\"product\\",\\n \\"Sid\\": \\"def\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"43215325\\"\\n ]\\n },\\n \\"Encoding\\": \\"utf8mb4\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"dmstest\\"\\n ]\\n },\\n \\"SearchName\\": \\"dmstest@rm-xxxab3r272.mysql.rds.aliyuncs.com:3306\\",\\n \\"InstanceAlias\\": \\"test\\"\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetPhysicalDatabaseResponse>\\n <RequestId>4EE2B004-9131-44B7-B6EE-6151B6329F68</RequestId>\\n <Database>\\n <SearchName>film@rm-uf64e.mysql.rds.aliyuncs.com:3306</SearchName>\\n <InstanceId>1400000</InstanceId>\\n <Port>3306</Port>\\n <Encoding>utf8</Encoding>\\n <Host>rm-uf64e.mysql.rds.aliyuncs.com</Host>\\n <DatabaseId>7000000</DatabaseId>\\n <DbType>mysql</DbType>\\n <EnvType>dev</EnvType>\\n <DbaName>enlun00</DbaName>\\n <DbaId>260000</DbaId>\\n <State>NORMAL</State>\\n <CatalogName>def</CatalogName>\\n <OwnerNameList>\\n <OwnerNames>enlun</OwnerNames>\\n </OwnerNameList>\\n <SchemaName>film</SchemaName>\\n <OwnerIdList>\\n <OwnerIds>26000</OwnerIds>\\n </OwnerIdList>\\n </Database>\\n <Success>true</Success>\\n</GetPhysicalDatabaseResponse>","errorExample":""}]', + ], + 'GetProxy' => [ + 'summary' => 'Queries the details of a secure access proxy.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '16677', - 'abilityTreeNodes' => [ - 'FEATUREdmsILBT4A', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '3***', - ], - ], - [ - 'name' => 'OrderId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '406****', - ], - ], - [ - 'name' => 'ActionDetail', + 'name' => 'ProxyId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are required to perform the data change.'."\n" - ."\n" - .'```'."\n" - ."\n" - .'json'."\n" - .'"actionDetail" : {'."\n" - .' "startTime" :"2021-07-01 00:00:00", // Specify the start time to change data. If you want to immediately change data, you do not need to set this parameter. '."\n" - .' "endTime" : "2021-07-01 01:00:00", // Specify the end time to change data. If you want to immediately change data, you do not need to set this parameter. '."\n" - .' "transaction" : false, // Specify whether to change data as a transaction. '."\n" - .' "backupData" : true // Specify whether to back up data. '."\n" - .' }'."\n" - .'```'."\n", - 'type' => 'object', - 'required' => false, - 'example' => '{ "startTime" : "2021-07-01 00:00:00", "endTime" : "2021-07-01 01:00:00", "transaction" : false, "backupData" : true }', - ], + 'schema' => ['description' => 'The ID of the secure access proxy. You can call the [ListProxies](~~295371~~) operation to query the ID of the secure access proxy.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '4**', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account that is used to call the API operation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '21400447956867****'."\n", - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'EADDA791-2809-58CE-A303-743A77FF****', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'Unknown server error', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F49D4598-2B3C-5723-865E-2CCB818E****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'The condition cannot be empty!', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ProxyId' => ['description' => 'The ID of the secure access proxy.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4**', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who enabled the secure access proxy feature.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], + 'CreatorName' => ['description' => 'The nickname of the user who enabled the secure access proxy feature.'."\n", 'type' => 'string', 'example' => 'test_name', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '183****', 'title' => ''], + 'PrivateEnable' => ['description' => 'Indicates whether the internal endpoint was enabled. Default value: **true**.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'PrivateHost' => ['description' => 'The internal endpoint.'."\n", 'type' => 'string', 'example' => 'dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com', 'title' => ''], + 'PublicEnable' => ['description' => 'Indicates whether the public endpoint was enabled. Valid values:'."\n" + ."\n" + .'* **true**: The public endpoint was enabled.'."\n" + .'* **false**: The public endpoint was disabled.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'PublicHost' => ['description' => 'The public endpoint. A public endpoint is returned no matter whether the public endpoint is enabled or disabled.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If the value of the PublicEnable parameter is **true**, a valid public endpoint that can be resolved by using Alibaba Cloud DNS is returned.'."\n" + ."\n" + .'* If the value of the PublicEnable parameter is **false**, an invalid public endpoint that cannot be resolved by using Alibaba Cloud DNS is returned.'."\n", 'type' => 'string', 'example' => 'dphzmy-5j8oimjsz6zed7k****.proxy.dms.aliyuncs.com', 'title' => ''], + 'HttpsPort' => ['description' => 'The port number used by the HTTPS protocol.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '443', 'title' => ''], + 'ProtocolType' => ['title' => '', 'description' => 'The protocol type of the database. Example: MYSQL.'."\n", 'type' => 'string', 'example' => 'MYSQL'], + 'ProtocolPort' => ['title' => '', 'description' => 'The port number used by the protocol.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3306'], + 'RegionId' => ['title' => '', 'description' => 'The ID of the region in which the instance resides.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EADDA791-2809-58CE-A303-743A77FF****\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"Unknown server error\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ExecuteDataCorrectResponse>\\n <RequestId>EADDA791-2809-58CE-A303-743A77FF****</RequestId>\\n <Success>true</Success>\\n</ExecuteDataCorrectResponse>","errorExample":""}]', - 'title' => 'ExecuteDataCorrect', - ], - 'RetryDataCorrectPreCheck' => [ - 'summary' => 'Reruns the precheck for a data change ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetProxy', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F49D4598-2B3C-5723-865E-2CCB818E****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"The condition cannot be empty!\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ProxyId\\": 0,\\n \\"CreatorId\\": 0,\\n \\"CreatorName\\": \\"test_name\\",\\n \\"InstanceId\\": 0,\\n \\"PrivateEnable\\": true,\\n \\"PrivateHost\\": \\"dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com\\",\\n \\"PublicEnable\\": true,\\n \\"PublicHost\\": \\"dphzmy-5j8oimjsz6zed7k****.proxy.dms.aliyuncs.com\\",\\n \\"HttpsPort\\": 443,\\n \\"ProtocolType\\": \\"MYSQL\\",\\n \\"ProtocolPort\\": 3306,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n}","errorExample":""},{"type":"xml","example":"<GetProxyResponse>\\n <PublicHost>dphzmy-5j8oimjsz6zed7k****.proxy.dms.aliyuncs.com</PublicHost>\\n <PrivateHost>dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com</PrivateHost>\\n <RequestId>F49D4598-2B3C-5723-865E-2CCB818E****</RequestId>\\n <InstanceId>183****</InstanceId>\\n <ProxyId>4**</ProxyId>\\n <CreatorId>12****</CreatorId>\\n <Success>true</Success>\\n <MysqlPort>3306</MysqlPort>\\n <CreatorName>test_name</CreatorName>\\n <HttpsPort>443</HttpsPort>\\n</GetProxyResponse>","errorExample":""}]', + ], + 'GetProxyAccess' => [ + 'summary' => 'Queries the authorization information about the secure access proxy feature.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsILBT4A', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'ProxyAccessId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the data change ticket. You can call the [ListOrders](~~144643~~) operation to query the ID of the data change ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '414****', - ], + 'schema' => ['description' => 'The ID that Data Management (DMS) generates after the user is authorized to enable the secure access proxy feature for an instance. The ID is unique in DMS. You can call the [ListProxyAccesses](~~295386~~) operation to query the ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], - ], - [ - 'name' => 'RealLoginUserUid', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5BC081C7-5F77-5C92-9758-E1ED17CA****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'OrderId is mandatory for this action.', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'MissingOrderId', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '3CDB8601-AD74-4A47-8114-08E08CD6****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'The specified user not exists.', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UserNotExist', 'title' => ''], + 'ProxyAccess' => [ + 'description' => 'The authorization information about the secure access proxy feature.'."\n", + 'type' => 'object', + 'properties' => [ + 'ProxyAccessId' => ['description' => 'The ID that DMS generates after the user is authorized to enable the secure access proxy feature for an instance. The ID is unique in DMS. You can call the [ListProxyAccesses](~~295386~~) operation to query the ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2002', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the user is authorized to enable the secure access proxy feature for an instance.'."\n", 'type' => 'string', 'example' => '1643034647', 'title' => ''], + 'AccessId' => ['description' => 'The username of the database account that is authorized to enable the secure access proxy feature for an instance.'."\n", 'type' => 'string', 'example' => 'hObpgEXoca42q***', 'title' => ''], + 'OriginInfo' => ['description' => 'The method that is used to authorize the user to enable the secure access proxy feature for an instance. Valid values:'."\n" + ."\n" + .'* **Authorization by the Alibaba Cloud Account ()**: The information in the parentheses () indicates the ID of the Alibaba Cloud account.'."\n" + .'* **Authorization by submitting the ticket ()**:The information in the parentheses () indicates the number of the ticket that the user submits to apply for permissions.'."\n", 'type' => 'string', 'example' => 'Owner authorization (29490401597700****)', 'title' => ''], + 'IndepAccount' => ['description' => 'The username of the independent database account.'."\n", 'type' => 'string', 'example' => '***', 'title' => ''], + 'UserId' => ['description' => 'The ID of the user.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12***', 'title' => ''], + 'UserUid' => ['description' => 'The ID of the Alibaba Cloud account.'."\n", 'type' => 'string', 'example' => '25936669186260****', 'title' => ''], + 'UserName' => ['description' => 'The nickname of the user.'."\n", 'type' => 'string', 'example' => 'user', 'title' => ''], + 'ProxyId' => ['description' => 'The ID of the secure access proxy.'."\n" + ."\n" + .'> You can call the [ListProxies](~~295371~~) operation to query the ID of the secure access proxy.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1905', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance for which the secure access proxy feature is enabled.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1922545', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5BC081C7-5F77-5C92-9758-E1ED17CA****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"OrderId is mandatory for this action.\\",\\n \\"ErrorCode\\": \\"MissingOrderId\\"\\n}","errorExample":""},{"type":"xml","example":"<RetryDataCorrectPreCheckResponse>\\n <RequestId>5BC081C7-5F77-5C92-9758-E1ED17CA****</RequestId>\\n <Success>true</Success>\\n</RetryDataCorrectPreCheckResponse>","errorExample":""}]', - 'title' => 'RetryDataCorrectPreCheck', - ], - 'RestartDataCorrectSQLJob' => [ - 'summary' => 'Reruns a failed SQL task for data change.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3CDB8601-AD74-4A47-8114-08E08CD6****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"The specified user not exists.\\",\\n \\"ErrorCode\\": \\"UserNotExist\\",\\n \\"ProxyAccess\\": {\\n \\"ProxyAccessId\\": 2002,\\n \\"GmtCreate\\": \\"1643034647\\",\\n \\"AccessId\\": \\"hObpgEXoca42q***\\",\\n \\"OriginInfo\\": \\"Owner authorization (29490401597700****)\\",\\n \\"IndepAccount\\": \\"***\\",\\n \\"UserId\\": 0,\\n \\"UserUid\\": \\"25936669186260****\\",\\n \\"UserName\\": \\"user\\",\\n \\"ProxyId\\": 1905,\\n \\"InstanceId\\": 1922545\\n }\\n}","type":"json"}]', + 'title' => 'GetProxyAccess', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProxyAccess'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetProxyAccess', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetRuleNumLimitOfSLA' => [ + 'summary' => 'Queries the maximum number of custom service-level agreement (SLA) rules for task orchestration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsILBT4A', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrderId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the data change ticket. You can call the [ListOrders](~~144643~~) operation to query the ID of the data change ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '453****', - ], - ], - [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the rerun operation. Valid values:'."\n" - ."\n" - .'* **ALL**: reruns all SQL tasks.'."\n" - .'* **SINGLE**: reruns a single SQL task.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ALL', - 'enum' => [ - 'ALL', - 'SINGLE', - ], - ], - ], - [ - 'name' => 'JobId', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the SQL task. You can call the [GetDataCorrectTaskDetail](~~208481~~) and [ListDBTaskSQLJob](~~207049~~) operations to obtain the value of this parameter.'."\n" - ."\n" - .'If the Type parameter is set to SINGLE, you must pass the value of the JobId parameter to confirm the ID of the SQL task that you want to rerun.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '43253', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '11****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], - ], - [ - 'name' => 'RealLoginUserUid', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '809B52F2-CD2B-53DA-88C8-F7042787E673', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'D05B3EE1-B6D3-5B17-8CA6-A8054828E5B2', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RuleNumLimit' => ['description' => 'The maximum number of SLA rules.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"809B52F2-CD2B-53DA-88C8-F7042787E673\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","errorExample":""},{"type":"xml","example":"<RestartDataCorrectSQLJobResponse>\\n <RequestId>809B52F2-CD2B-53DA-88C8-F7042787E673</RequestId>\\n <Success>true</Success>\\n</RestartDataCorrectSQLJobResponse>","errorExample":""}]', - 'title' => 'RestartDataCorrectSQLJob', - ], - 'ListDataImportSQLPreCheckDetail' => [ - 'summary' => 'Queries the precheck information of SQL statements used for data import in a ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetRuleNumLimitOfSLA', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetRuleNumLimitOfSLA', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D05B3EE1-B6D3-5B17-8CA6-A8054828E5B2\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"RuleNumLimit\\": 12\\n}","errorExample":""},{"type":"xml","example":"<GetRuleNumLimitOfSLAResponse>\\n <RequestId>8EE72AAA-88DE-5747-A63B-43887BFE5480</RequestId>\\n <RuleNumLimit>20</RuleNumLimit>\\n <Success>true</Success>\\n</GetRuleNumLimitOfSLAResponse>","errorExample":""}]', + ], + 'GetSQLReviewCheckResultStatus' => [ + 'summary' => 'Queries the result of an SQL review.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23617,192 +17059,236 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '11****', - ], + 'schema' => ['description' => 'The ID of the ticket. You can obtain the ticket ID from the response parameters of the [CreateSQLReviewOrder](~~257777~~) operation.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'exclusiveMaximum' => false, 'minimum' => '1', 'example' => '123321', 'title' => ''], ], [ - 'name' => 'SqlType', + 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The type of the SQL statement. Valid values:'."\n" - ."\n" - .'* **SELECT**'."\n" - .'* **INSERT**'."\n" - .'* **DELETE**'."\n" - .'* **CREATE_TABLE**'."\n" - ."\n" - .'> You can log on to the Data Management (DMS) console and choose **Security and Specifications** > **Operation Audit** in the top navigation bar to view more types of SQL statements.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'INSERT', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'CheckResultStatus' => [ + 'description' => 'The result of the SQL review.'."\n", + 'type' => 'object', + 'properties' => [ + 'TotalSQLCount' => ['description' => 'The total number of SQL statements.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'CheckedCount' => ['description' => 'The number of SQL statements that were reviewed.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'CheckStatusResult' => [ + 'description' => 'The result of the SQL status check.'."\n", + 'type' => 'object', + 'properties' => [ + 'New' => ['description' => 'The number of SQL statements to be reviewed.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Unknown' => ['description' => 'The number of abnormal SQL statements.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'CheckNotPass' => ['description' => 'The number of SQL statements that failed to pass the review.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'CheckPass' => ['description' => 'The number of SQL statements that passed the review.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'title' => ''], + 'ForcePass' => ['description' => 'The number of SQL statements that passed the manual review.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'ForceNotPass' => ['description' => 'The number of SQL statements that failed to pass the manual review.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SQLReviewResult' => [ + 'description' => 'The optimization suggestion for SQL statements.'."\n", + 'type' => 'object', + 'properties' => [ + 'MustImprove' => ['description' => 'The number of SQL statements that must be modified.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'PotentialIssue' => ['description' => 'The number of SQL statements that have potential issues.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'SuggestImprove' => ['description' => 'The number of SQL statements that can be modified.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'UseDmsToolkit' => ['description' => 'The number of SQL statements that can be used for lock-free schema changes.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'UseDmsDmlUnlock' => ['description' => 'The number of SQL statements that can be used for lock-free data changes.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'TableIndexSuggest' => ['description' => 'The number of SQL statements that can use indexes.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'GetSQLReviewCheckResultStatus', + 'description' => 'For more information about the SQL review feature, see [SQL review](~~60374~~).'."\n", + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'StatusCode', - 'in' => 'query', - 'schema' => [ - 'description' => 'The state of the ticket. If you leave this parameter empty, all the states are queried by default. Valid values:'."\n" - ."\n" - .'* **INIT**: The ticket is being initialized.'."\n" - .'* **RUNNING**: The ticket is in progress.'."\n" - .'* **SUCCESS**: The ticket is complete.'."\n" - .'* **TIMEOUT**: The ticket is skipped due to timeout.'."\n" - .'* **FAIL**: The ticket fails.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SUCCESS', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetSQLReviewCheckResultStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"CheckResultStatus\\": {\\n \\"TotalSQLCount\\": 10,\\n \\"CheckedCount\\": 10,\\n \\"CheckStatusResult\\": {\\n \\"New\\": 0,\\n \\"Unknown\\": 0,\\n \\"CheckNotPass\\": 1,\\n \\"CheckPass\\": 8,\\n \\"ForcePass\\": 1,\\n \\"ForceNotPass\\": 0\\n },\\n \\"SQLReviewResult\\": {\\n \\"MustImprove\\": 1,\\n \\"PotentialIssue\\": 0,\\n \\"SuggestImprove\\": 3,\\n \\"UseDmsToolkit\\": 0,\\n \\"UseDmsDmlUnlock\\": 0,\\n \\"TableIndexSuggest\\": 2\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetSQLReviewCheckResultStatusResponse>\\n <RequestId>E1ABE358-14A0-4DFA-9776-1A3CB59192DF</RequestId>\\n <CheckResultStatus>\\n <SQLReviewResult>\\n <TableIndexSuggest>1</TableIndexSuggest>\\n <MustImprove>1</MustImprove>\\n <SuggestImprove>1</SuggestImprove>\\n <PotentialIssue>2</PotentialIssue>\\n </SQLReviewResult>\\n <TotalSQLCount>4</TotalSQLCount>\\n <CheckedCount>4</CheckedCount>\\n <CheckStatusResult>\\n <CheckNotPass>1</CheckNotPass>\\n <CheckPass>3</CheckPass>\\n </CheckStatusResult>\\n </CheckResultStatus>\\n <Success>true</Success>\\n</GetSQLReviewCheckResultStatusResponse>","errorExample":""}]', + ], + 'GetSQLReviewOptimizeDetail' => [ + 'summary' => 'Queries the details of optimization suggestions. The operation applies only to the tickets for the data changes and SQL review.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageNumer', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Pages start from page 1.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'SQLReviewQueryKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The key that is used to query the details of optimization suggestions. You can call the [ListSQLReviewOriginSQL](~~257870~~) operation to query the key.'."\n", 'type' => 'string', 'required' => true, 'example' => 'a57e54ec5433475ea3082d882fdb****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '31853A2B-DC9D-5B39-8492-D2AC8BCF550E', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'PreCheckSQLDetailList' => [ - 'description' => 'The precheck information of SQL statements.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The precheck information of the SQL statement.'."\n", - 'type' => 'object', - 'properties' => [ - 'SqlId' => [ - 'description' => 'The SQL ID, which indicates the sequence number of the SQL statement. The number starts with 1.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'SqlType' => [ - 'description' => 'The type of the SQL statement, such as DELETE, UPDATE, or ALTER_TABLE.'."\n", - 'type' => 'string', - 'example' => 'INSERT', - ], - 'StatusCode' => [ - 'description' => 'The state of the ticket. Valid values:'."\n" - ."\n" - .'* **INIT**: The ticket was being initialized.'."\n" - .'* **RUNNING**: The ticket was in progress.'."\n" - .'* **SUCCESS**: The ticket was complete.'."\n" - .'* **TIMEOUT**: The ticket was skipped due to timeout.'."\n" - .'* **FAIL**: The ticket failed.'."\n", - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'Skip' => [ - 'description' => 'Indicates whether the precheck of the SQL statement was skipped. Valid values:'."\n" + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'OptimizeDetail' => [ + 'description' => 'The details of optimization suggestions for SQL statements.'."\n", + 'type' => 'object', + 'properties' => [ + 'QueryKey' => ['description' => 'The key that is used to query the details of optimization suggestions.'."\n", 'type' => 'string', 'example' => 'a57e54ec5433475ea3082d882fdb****', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance to which the database belongs.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '123321', 'title' => ''], + 'DbId' => ['description' => 'The ID of the database.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '111222', 'title' => ''], + 'SqlType' => ['description' => 'The type of the SQL statement. Valid values: DELETE, UPDATE, and ALTER_TABLE.'."\n", 'type' => 'string', 'example' => 'UPDATE', 'title' => ''], + 'QualityResult' => [ + 'description' => 'The quality of the SQL statement.'."\n", + 'type' => 'object', + 'properties' => [ + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'syntax error', 'title' => ''], + 'Results' => [ + 'description' => 'The review results based on rules.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RuleName' => ['description' => 'The name of the rule. For more information, see [SQL review optimization](~~194114~~).'."\n", 'type' => 'string', 'example' => 'SELECT_SUGGEST_ASSIGN_WHERE', 'title' => ''], + 'Feedback' => ['description' => 'The optimization suggestion for the SQL statement. Valid values:'."\n" + ."\n" + .'* **MUST_IMPROVE**: The SQL statement must be improved.'."\n" + .'* **POTENTIAL_ISSUE**: The SQL statement contains potential issues.'."\n" + .'* **SUGGEST_IMPROVE**: We recommend that you improve the SQL statement.'."\n" + .'* **USEDMSTOOLKIT**: We recommend that you change schemas without locking tables.'."\n" + .'* **USEDMSDML_UNLOCK**: We recommend that you change data without locking tables.'."\n" + .'* **TABLEINDEXSUGGEST**: We recommend that you use SQL statements that use indexes.'."\n", 'type' => 'string', 'example' => 'MUST_IMPROVE', 'title' => ''], + 'Comments' => ['description' => 'The comment that is specified when you create the SQL review rule. For more information, see [SQL review optimization](~~194114~~).'."\n", 'type' => 'string', 'example' => 'XXX business rules: Queries must include where conditions.', 'title' => ''], + 'Messages' => [ + 'description' => 'The review results.'."\n", + 'type' => 'array', + 'items' => ['description' => 'audit information.', 'type' => 'string', 'example' => 'xxx表不存在', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'Scripts' => [ + 'description' => 'The SQL script for data changes.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OpType' => ['description' => 'The purpose of the SQL script. The value is set to AddIndex.'."\n", 'type' => 'string', 'example' => 'AddIndex', 'title' => ''], + 'Content' => ['description' => 'The content of the SQL script.'."\n", 'type' => 'string', 'example' => 'alter table xxx add index idx_xx(yyy);', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'xxx', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RuleType' => ['description' => 'The type of the SQL review rule. Valid values:'."\n" + ."\n" + .'* **REVIEW**: a rule that is used to review SQL statements based on standards.'."\n" + .'* **OPTIMIZE**: a rule that is used to provide optimization suggestions.'."\n", 'type' => 'string', 'example' => 'REVIEW', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'OccurError' => ['description' => 'Indicates whether an error occurs. Valid values:'."\n" ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', + .'* **true**: An error occurs.'."\n" + .'* **false**: No error occurs.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], - ], - 'TotalCount' => [ - 'description' => 'The number of SQL statements.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31853A2B-DC9D-5B39-8492-D2AC8BCF550E\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"PreCheckSQLDetailList\\": [\\n {\\n \\"SqlId\\": 1,\\n \\"SqlType\\": \\"INSERT\\",\\n \\"StatusCode\\": \\"SUCCESS\\",\\n \\"Skip\\": true\\n }\\n ],\\n \\"TotalCount\\": 1\\n}","type":"json"}]', - 'title' => 'ListDataImportSQLPreCheckDetail', - 'description' => 'You can call this operation only if the data is imported in security mode in your data import ticket.'."\n", - ], - 'ListDataImportSQLType' => [ - 'summary' => 'Queries the types of SQL statements used for data import in a ticket.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"OptimizeDetail\\": {\\n \\"QueryKey\\": \\"a57e54ec5433475ea3082d882fdb****\\",\\n \\"InstanceId\\": 123321,\\n \\"DbId\\": 111222,\\n \\"SqlType\\": \\"UPDATE\\",\\n \\"QualityResult\\": {\\n \\"ErrorMessage\\": \\"syntax error\\",\\n \\"Results\\": [\\n {\\n \\"RuleName\\": \\"SELECT_SUGGEST_ASSIGN_WHERE\\",\\n \\"Feedback\\": \\"MUST_IMPROVE\\",\\n \\"Comments\\": \\"XXX business rules: Queries must include where conditions.\\",\\n \\"Messages\\": [\\n \\"xxx表不存在\\"\\n ],\\n \\"Scripts\\": [\\n {\\n \\"OpType\\": \\"AddIndex\\",\\n \\"Content\\": \\"alter table xxx add index idx_xx(yyy);\\",\\n \\"TableName\\": \\"xxx\\"\\n }\\n ],\\n \\"RuleType\\": \\"REVIEW\\"\\n }\\n ],\\n \\"OccurError\\": false\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'GetSQLReviewOptimizeDetail', + 'description' => 'For more information about the SQL review feature, see [SQL review](~~60374~~).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSQLReviewOptimizeDetail'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetSQLReviewOptimizeDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetStandardGroup' => [ + 'summary' => 'Queries the information about security rule sets of a tenant. The information includes the name and description of security rules, and instances associated with security rules.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23810,100 +17296,84 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '420****', - ], + 'schema' => ['title' => '', 'description' => 'The security rule set ID. You can call the [ListStandardGroups](~~465940~~) operation to obtain the ID of the security rule set.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '242***'], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '23****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'E5EE2B9E-2F95-57FA-B284-CB441CEE49D6', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'SqlTypeResult' => [ - 'description' => 'The types of SQL statements.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The type of the SQL statement, such as DELETE, UPDATE, or INSERT.'."\n", - 'type' => 'string', - 'example' => 'INSERT', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'BF7E9543-F431-566A-991A-B5C493EA36C3'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError'."\n", 'title' => ''], + 'StandardGroup' => [ + 'description' => 'The information about the security rule set.'."\n", + 'type' => 'object', + 'properties' => [ + 'GroupName' => ['title' => '', 'description' => 'The name of the security rule set.'."\n", 'type' => 'string', 'example' => 'poc_test'], + 'Description' => ['description' => 'The description of the security rule set.'."\n", 'type' => 'string', 'example' => 'Production environment test rule', 'title' => ''], + 'DbType' => ['description' => 'The engine type.'."\n", 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'LastMenderId' => ['description' => 'The ID of the user who last modified the security rules.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '513***', 'title' => ''], + 'GroupMode' => ['description' => 'The control mode. Valid values:'."\n" + ."\n" + .'* **NONE_CONTROL**: Flexible Management'."\n" + .'* **STABLE**: Stable Change'."\n" + .'* **COMMON**: Security Collaboration'."\n", 'type' => 'string', 'example' => 'COMMON', 'title' => ''], + 'GroupId' => ['description' => 'The ID of the security rule set.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '41****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5EE2B9E-2F95-57FA-B284-CB441CEE49D6\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"SqlTypeResult\\": [\\n \\"INSERT\\"\\n ]\\n}","type":"json"}]', - 'title' => 'ListDataImportSQLType', - 'description' => 'You can call this operation only if the data is imported in security mode in your data import ticket.'."\n", - ], - 'GetDataImportSQL' => [ - 'summary' => 'Queries the SQL statements used for data import in a ticket.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF7E9543-F431-566A-991A-B5C493EA36C3\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\\\n\\",\\n \\"StandardGroup\\": {\\n \\"GroupName\\": \\"poc_test\\",\\n \\"Description\\": \\"Production environment test rule\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"LastMenderId\\": 0,\\n \\"GroupMode\\": \\"COMMON\\",\\n \\"GroupId\\": 0\\n }\\n}","type":"json"}]', + 'title' => 'GetStandardGroup', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetStandardGroup'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetStandardGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetStructSyncExecSqlDetail' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23911,597 +17381,516 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '14****', - ], + 'schema' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '342153', 'title' => ''], ], [ - 'name' => 'SqlId', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The SQL ID. You can call the ListDataImportSQLPreCheckDetail operation to query the SQL ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '15****', - ], + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '200', 'minimum' => '1', 'example' => '20', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", + 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'B43AD641-49C2-5299-9E06-1B37EC1B****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'SQLDetail' => [ - 'description' => 'The details of SQL statements.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '1810E635-A2D7-428B-BAA9-85DAEB9B1A77'], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'StructSyncExecSqlDetail' => [ + 'description' => 'The details of the SQL statements.'."\n", 'type' => 'object', 'properties' => [ - 'ExecSql' => [ - 'description' => 'The SQL script.'."\n", - 'type' => 'string', - 'example' => 'insert into t1 values (1);', - ], + 'TotalSqlCount' => ['description' => 'The total number of SQL statements.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'ExecSql' => ['description' => 'The SQL statements that are executed.'."\n", 'type' => 'string', 'example' => '/* origin table[helloz_bak] exist, target table[helloz_bak] not exist */\\n/* generate [helloz_bak] create table sql */\\ncreate table `helloz_bak`(\\n\\t`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT \'主键\',\\n\\t`gmt_create` datetime NOT NULL COMMENT \'创建时间\',\\n\\t`gmt_modified` datetime NOT NULL COMMENT \'修改时间\',\\n\\t`num` int(11) NOT NULL COMMENT \'编号\',\\n\\t`addr` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT \'地址\',\\n\\tPRIMARY KEY (`id`)\\n)\\nDEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci\\nCOMMENT=\'test\'\\n\\n;', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'GetStructSyncExecSqlDetail', + 'summary' => 'Queries the SQL statements that are involved in a schema synchronization ticket.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetStructSyncExecSqlDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B43AD641-49C2-5299-9E06-1B37EC1B****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"SQLDetail\\": {\\n \\"ExecSql\\": \\"insert into t1 values (1);\\"\\n }\\n}","type":"json"}]', - 'title' => 'GetDataImportSQL', - 'description' => 'You can call this operation only if the data is imported in security mode in your data import ticket.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1810E635-A2D7-428B-BAA9-85DAEB9B1A77\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"StructSyncExecSqlDetail\\": {\\n \\"TotalSqlCount\\": 1,\\n \\"ExecSql\\": \\"/* origin table[helloz_bak] exist, target table[helloz_bak] not exist */\\\\\\\\n/* generate [helloz_bak] create table sql */\\\\\\\\ncreate table `helloz_bak`(\\\\\\\\n\\\\\\\\t`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT \'主键\',\\\\\\\\n\\\\\\\\t`gmt_create` datetime NOT NULL COMMENT \'创建时间\',\\\\\\\\n\\\\\\\\t`gmt_modified` datetime NOT NULL COMMENT \'修改时间\',\\\\\\\\n\\\\\\\\t`num` int(11) NOT NULL COMMENT \'编号\',\\\\\\\\n\\\\\\\\t`addr` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT \'地址\',\\\\\\\\n\\\\\\\\tPRIMARY KEY (`id`)\\\\\\\\n)\\\\\\\\nDEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci\\\\\\\\nCOMMENT=\'test\'\\\\\\\\n\\\\\\\\n;\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', ], - 'SkipDataCorrectRowCheck' => [ - 'summary' => 'Skips the verification on the number of rows in the precheck for data change.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetStructSyncJobAnalyzeResult' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsILBT4A', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '420****', - ], + 'schema' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1342355', 'title' => ''], ], [ - 'name' => 'Reason', + 'name' => 'CompareType', 'in' => 'query', - 'schema' => [ - 'description' => 'The reason for skipping the verification on the number of rows in the precheck for data change.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'save test time', - ], + 'schema' => ['description' => 'The type of the comparison. Valid values:'."\n" + ."\n" + .'* **CREATE_TABLE**: compares the created tables.'."\n" + .'* **ALTER_TABLE**: compares the modified tables.'."\n" + .'* **EQUAL_TABLE**: compares the identical tables.'."\n" + .'* **PASS_TABLE**: compares the tables that are skipped during schema synchronization.'."\n" + .'* **NOT_COMPARE**: does not compare tables.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CREATE_TABLE', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '200', 'minimum' => '1', 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '1810E635-A2D7-428B-BAA9-85DAEB9B1A77'], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'StructSyncJobAnalyzeResult' => [ + 'description' => 'The analysis result of the schema synchronization task.'."\n", + 'type' => 'object', + 'properties' => [ + 'SummaryList' => [ + 'description' => 'The statistics on the analysis results.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The statistics on an analysis result.'."\n", + 'type' => 'object', + 'properties' => [ + 'CompareType' => ['description' => 'The type of the comparison. Valid values:'."\n" + ."\n" + .'* **CREATE_TABLE**: compares the created tables.'."\n" + .'* **ALTER_TABLE**: compares the modified tables.'."\n" + .'* **EQUAL_TABLE**: compares the identical tables.'."\n" + .'* **PASS_TABLE**: compares the tables that are skipped during schema synchronization.'."\n" + .'* **NOT_COMPARE**: does not compare tables.'."\n", 'type' => 'string', 'example' => 'CREATE_TABLE', 'title' => ''], + 'Count' => ['description' => 'The number of tables.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'ResultList' => [ + 'description' => 'The details of the analysis results.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of an analysis result.'."\n", + 'type' => 'object', + 'properties' => [ + 'SourceTableName' => ['description' => 'The name of the source table.'."\n", 'type' => 'string', 'example' => 'helloz_bak', 'title' => ''], + 'TargetTableName' => ['description' => 'The name of the destination table.'."\n", 'type' => 'string', 'example' => 'helloz_bak', 'title' => ''], + 'Script' => ['description' => 'The SQL script.'."\n", 'type' => 'string', 'example' => '/* origin table[helloz_bak] exist, target table[helloz_bak] not exist */\\n/* generate [helloz_bak] create table sql */\\ncreate table `helloz_bak`(\\n\\t`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT \'主键\',\\n\\t`gmt_create` datetime NOT NULL COMMENT \'创建时间\',\\n\\t`gmt_modified` datetime NOT NULL COMMENT \'修改时间\',\\n\\t`num` int(11) NOT NULL COMMENT \'编号\',\\n\\t`addr` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT \'地址\',\\n\\tPRIMARY KEY (`id`)\\n)\\nDEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci\\nCOMMENT=\'test\'\\n\\n;', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","type":"json"}]', - 'title' => 'SkipDataCorrectRowCheck', - ], - 'CreateProcCorrectOrder' => [ - 'summary' => 'Creates a programmable object ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetStructSyncJobAnalyzeResult', + 'summary' => 'Queries the analysis result of a schema synchronization task.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetStructSyncJobAnalyzeResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1810E635-A2D7-428B-BAA9-85DAEB9B1A77\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"StructSyncJobAnalyzeResult\\": {\\n \\"SummaryList\\": [\\n {\\n \\"CompareType\\": \\"CREATE_TABLE\\",\\n \\"Count\\": 1\\n }\\n ],\\n \\"ResultList\\": [\\n {\\n \\"SourceTableName\\": \\"helloz_bak\\",\\n \\"TargetTableName\\": \\"helloz_bak\\",\\n \\"Script\\": \\"/* origin table[helloz_bak] exist, target table[helloz_bak] not exist */\\\\\\\\n/* generate [helloz_bak] create table sql */\\\\\\\\ncreate table `helloz_bak`(\\\\\\\\n\\\\\\\\t`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT \'主键\',\\\\\\\\n\\\\\\\\t`gmt_create` datetime NOT NULL COMMENT \'创建时间\',\\\\\\\\n\\\\\\\\t`gmt_modified` datetime NOT NULL COMMENT \'修改时间\',\\\\\\\\n\\\\\\\\t`num` int(11) NOT NULL COMMENT \'编号\',\\\\\\\\n\\\\\\\\t`addr` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT \'地址\',\\\\\\\\n\\\\\\\\tPRIMARY KEY (`id`)\\\\\\\\n)\\\\\\\\nDEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci\\\\\\\\nCOMMENT=\'test\'\\\\\\\\n\\\\\\\\n;\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + ], + 'GetStructSyncJobDetail' => [ + 'summary' => 'Queries the information of a schema synchronization task.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsILBT4A', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Comment', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The remarks of the ticket.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '4324321', 'title' => ''], ], [ - 'name' => 'RelatedUserList', + 'name' => 'Tid', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The operators that are related to the ticket.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the operator that is related to the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1342**', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], - [ - 'name' => 'Param', - 'in' => 'query', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The parameters of the ticket.'."\n", + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'Classify' => [ - 'description' => 'The reason for the programmable object change.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'DbItemList' => [ - 'description' => 'The information about the database.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the database.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The database ID. Databases are divided into physical databases and logical databases.'."\n" - ."\n" - .'* To query the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" - .'* To query the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '19721978', - ], - 'Logic' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'required' => true, - 'example' => 'false', - ], - ], - 'required' => false, - ], - 'required' => true, - ], - 'RollbackSQL' => [ - 'description' => 'The SQL statements for rolling back the data change.'."\n" - ."\n" - .'> This parameter is required if you set the **RollbackSqlType** parameter to **TEXT**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'empty', - ], - 'RollbackAttachmentName' => [ - 'description' => 'The key of the attachment that contains the SQL statements used to roll back the data change. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key from the value of AttachmentKey.'."\n" - ."\n" - .'> This parameter is required if you set **RollbackSqlType** to **ATTACHMENT**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_rollback.sql', - ], - 'RollbackSqlType' => [ - 'description' => 'The format of the SQL statements used to roll back the data change. Valid values:'."\n" - ."\n" - .'* **TEXT**'."\n" - .'* **ATTACHMENT**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEXT', - 'enum' => [ - 'TEXT', - 'ATTACHMENT', - ], - ], - 'ExecSQL' => [ - 'description' => 'The SQL statements for data change.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'example' => 'DELIMITER ///'."\n" - .'CREATE PROCEDURE GetAllProducts()'."\n" - .'BEGIN'."\n" - .'SELECT * FROM base_user;'."\n" - .'END ///', - ], - 'ExecMode' => [ - 'description' => 'The mode in which the data change ticket is executed after the ticket is approved. Valid values:'."\n" - ."\n" - .'* **COMMITOR**: The ticket is executed by the user who submits the ticket.'."\n" - .'* **AUTO**: The ticket is automatically executed after the ticket is approved.'."\n" - .'* **LAST_AUDITOR**: The ticket is executed by the last approver of the ticket.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'COMMITOR', - 'default' => 'COMMITOR', - 'enum' => [ - 'COMMITOR', - 'AUTO', - 'LAST_AUDITOR', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '48602B78-0DDF-414C-8688-70CAB6070115'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'StructSyncJobDetail' => [ + 'description' => 'The details of the schema synchronization task.'."\n", + 'type' => 'object', + 'properties' => [ + 'JobStatus' => ['description' => 'The status of the task. Valid values:'."\n" + ."\n" + .'* **NEW**: The task was created.'."\n" + .'* **COMPARING**: The schemas of tables were being compared.'."\n" + .'* **COMPARE_BREAK**: The schema comparison was interrupted.'."\n" + .'* **COMPARE_FINISH**: The comparison was finished.'."\n" + .'* **NOT_SCRIPTS**: The comparison was finished but no executable script was available.'."\n" + .'* **SUBMITED_DBTASK**: The task was submitted.'."\n" + .'* **DBTASK_SUCCESS**: The task was complete.'."\n" + .'* **SUBMITED_WORKFLOW**: The ticket was submitted.'."\n" + .'* **WORKFLOW_SUCCESS**: The ticket was approved.'."\n", 'type' => 'string', 'example' => 'DBTASK_SUCCESS', 'title' => ''], + 'Message' => ['description' => 'The description of the task.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'TableAnalyzed' => ['description' => 'The number of tables that have been analyzed.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'TableCount' => ['description' => 'The total number of tables.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'SqlCount' => ['description' => 'The total number of SQL statements.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'ExecuteCount' => ['description' => 'The number of SQL statements that have been executed.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'SecurityRule' => ['description' => 'The type of security rule. Valid values:'."\n" + ."\n" + .'* **CANNOT_SYNC**: Synchronization cannot be performed.'."\n" + .'* **WITH_APPROVE**: The schema synchronization can be performed after the ticket is approved. You can call the [SubmitStructSyncOrderApproval](~~206166~~) operation to submit the ticket for approval.'."\n" + .'* **WITHOUT_APPROVE**: The schema synchronization can be performed without approval.'."\n", 'type' => 'string', 'example' => 'WITHOUT_APPROVE', 'title' => ''], + 'DBTaskGroupId' => ['description' => 'The ID of the SQL task group.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], - 'required' => true, + 'example' => '', ], ], + ], + 'title' => 'GetStructSyncJobDetail', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'AttachmentKey', - 'in' => 'query', - 'schema' => [ - 'description' => 'The key of the attachment for the ticket. The attachment provides more instructions for this operation.'."\n" - ."\n" - .'You can call the [GetUserUploadFileJob](~~206069~~) operation to query the key of the attachment.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'order_attachment.txt', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetStructSyncJobDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"48602B78-0DDF-414C-8688-70CAB6070115\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"StructSyncJobDetail\\": {\\n \\"JobStatus\\": \\"DBTASK_SUCCESS\\",\\n \\"Message\\": \\"test\\",\\n \\"TableAnalyzed\\": 2,\\n \\"TableCount\\": 2,\\n \\"SqlCount\\": 1,\\n \\"ExecuteCount\\": 1,\\n \\"SecurityRule\\": \\"WITHOUT_APPROVE\\",\\n \\"DBTaskGroupId\\": 12345\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + ], + 'GetStructSyncOrderDetail' => [ + 'summary' => 'Queries the details of a schema synchronization ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'OrderId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '43****', 'title' => ''], + ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '4***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'CreateOrderResult' => [ - 'description' => 'The ticket IDs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12*****', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'StructSyncOrderDetail' => [ + 'description' => 'The details of the schema synchronization ticket.'."\n", + 'type' => 'object', + 'properties' => [ + 'SourceDatabaseInfo' => [ + 'description' => 'The information about the source database.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the source database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '432532', 'title' => ''], + 'SearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'DbType' => ['description' => 'The type of the database engine.'."\n", 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the database instance belongs. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", 'type' => 'string', 'example' => 'dev', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is not a logical database'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TargetDatabaseInfo' => [ + 'description' => 'The information about the destination database.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the destination database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '432543', 'title' => ''], + 'SearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'DbType' => ['description' => 'The type of the database engine.'."\n", 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the database instance belongs. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", 'type' => 'string', 'example' => 'dev', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is not a logical database'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceType' => ['description' => 'The schema version of the source database. Valid values:'."\n" + ."\n" + .'* **DATASOURCE**: the default latest version of the system'."\n" + .'* **VERSION**: a previous schema version that you manually specify'."\n", 'type' => 'string', 'example' => 'VERSION', 'title' => ''], + 'SourceVersionInfo' => [ + 'description' => 'The version information about the source instance.'."\n" + ."\n" + .'> This parameter is displayed only when the value of the **SourceType** parameter is **VERSION**.'."\n", + 'type' => 'object', + 'properties' => [ + 'VersionId' => ['description' => 'The version number.'."\n", 'type' => 'string', 'example' => 'e179bbb8163dcdcfacda24858bedb4d8006ae2b8', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TargetType' => ['description' => 'The schema version of the destination database. Valid values:'."\n" + ."\n" + .'* **DATASOURCE**: the default latest version of the system'."\n" + .'* **VERSION**: a previous schema version that you manually specify'."\n", 'type' => 'string', 'example' => 'DATASOURCE', 'title' => ''], + 'TargetVersionInfo' => [ + 'description' => 'The version information about the destination instance.'."\n" + ."\n" + .'> This parameter is displayed only when the value of the **SourceType** parameter is **VERSION**.'."\n", + 'type' => 'object', + 'properties' => [ + 'VersionId' => ['description' => 'The version number.'."\n", 'type' => 'string', 'example' => 'e179bbb8163dcdcfacda24858bedb4d8006ae2b8', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TableInfoList' => [ + 'description' => 'The information about the table whose schema you want to synchronize.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The table whose schema you want to synchronize.'."\n", + 'type' => 'object', + 'properties' => [ + 'SourceTableName' => ['description' => 'The name of the table whose schema you want to synchronize.'."\n", 'type' => 'string', 'example' => 'test_tbl', 'title' => ''], + 'TargetTableName' => ['description' => 'The name of the table to which you want to synchronize the schema of a table.'."\n", 'type' => 'string', 'example' => 'test_tbl', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'IgnoreError' => ['description' => 'Indicates whether to skip errors. Valid values:'."\n" + ."\n" + .'* **true**: skips the error and continues to execute SQL statements.'."\n" + .'* **false**: stops executing SQL statements.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","type":"json"}]', - 'title' => 'CreateProcCorrectOrder', - 'description' => 'You can call this API operation only for database instances that are managed in Security Collaboration mode.'."\n", - ], - 'CreatePublishGroupTask' => [ - 'summary' => 'Executes a schema design ticket.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetStructSyncOrderDetail', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetStructSyncOrderDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"StructSyncOrderDetail\\": {\\n \\"SourceDatabaseInfo\\": {\\n \\"DbId\\": 432532,\\n \\"SearchName\\": \\"test\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"EnvType\\": \\"dev\\",\\n \\"Logic\\": false\\n },\\n \\"TargetDatabaseInfo\\": {\\n \\"DbId\\": 432543,\\n \\"SearchName\\": \\"test\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"EnvType\\": \\"dev\\",\\n \\"Logic\\": false\\n },\\n \\"SourceType\\": \\"VERSION\\",\\n \\"SourceVersionInfo\\": {\\n \\"VersionId\\": \\"e179bbb8163dcdcfacda24858bedb4d8006ae2b8\\"\\n },\\n \\"TargetType\\": \\"DATASOURCE\\",\\n \\"TargetVersionInfo\\": {\\n \\"VersionId\\": \\"e179bbb8163dcdcfacda24858bedb4d8006ae2b8\\"\\n },\\n \\"TableInfoList\\": [\\n {\\n \\"SourceTableName\\": \\"test_tbl\\",\\n \\"TargetTableName\\": \\"test_tbl\\"\\n }\\n ],\\n \\"IgnoreError\\": false\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetStructSyncOrderDetailResponse>\\n <RequestId>CA4E966B-1A57-4230-B0BB-CBB9CAF2CEDC</RequestId>\\n <StructSyncOrderDetail>\\n <SourceDatabaseInfo>\\n <SearchName>poc_dev@rm-uxxxxx.mysql.rds.aliyuncs.com:3306</SearchName>\\n <DbId>800000</DbId>\\n <Logic>false</Logic>\\n <EnvType>dev</EnvType>\\n <DbType>mysql</DbType>\\n </SourceDatabaseInfo>\\n <SourceType>DATASOURCE</SourceType>\\n <TargetType>DATASOURCE</TargetType>\\n <IgnoreError>false</IgnoreError>\\n <TargetDatabaseInfo>\\n <SearchName>film@rm-uf64xxxxe.mysql.rds.aliyuncs.com:3306</SearchName>\\n <DbId>700000</DbId>\\n <Logic>false</Logic>\\n <EnvType>dev</EnvType>\\n <DbType>mysql</DbType>\\n </TargetDatabaseInfo>\\n <TableInfoList>\\n <SourceTableName>*</SourceTableName>\\n <TargetTableName>*</TargetTableName>\\n </TableInfoList>\\n </StructSyncOrderDetail>\\n <Success>true</Success>\\n</GetStructSyncOrderDetailResponse>","errorExample":""}]', + ], + 'GetTableColumnList' => [ + 'summary' => 'Retrieves the details for each column in a table, including metadata, business descriptions, and security level.', + 'description' => 'Retrieves detailed information for each column in a table. This operation returns the metadata (such as type, nullable, and auto-increment), business description, associated terms, data standards, security level, and index information.', + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], - ], - [ - 'name' => 'OrderId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket.'."\n" - ."\n" - .'> : You can create a schema design ticket in the DMS console. For more information, see [Design schemas](~~69711~~). You can also create a schema design ticket by calling the [CreateOrder](~~144649~~) operation and obtain the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '142435', - ], - ], - [ 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database for which the schema design is executed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '12345', - ], - ], - [ - 'name' => 'Logic', - 'in' => 'query', - 'schema' => [ - 'description' => 'Indicates whether the database is a logical database.'."\n", - 'type' => 'boolean', - 'required' => true, - 'docRequired' => true, - 'example' => 'false', - ], - ], - [ - 'name' => 'PublishStrategy', - 'in' => 'query', - 'schema' => [ - 'description' => 'The policy to execute the schema design ticket. Valid values:'."\n" - ."\n" - .'* IMMEDIATELY: immediately executes the schema design ticket.'."\n" - .'* REGULARLY: executes the schema design ticket at a scheduled time.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'IMMEDIATELY', - 'enum' => [ - 'IMMEDIATELY', - 'REGULARLY', - ], - ], + 'schema' => ['description' => 'The ID of the database. Call the [ListDatabases](~~141873~~) operation to obtain this ID.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1***', 'title' => ''], ], [ - 'name' => 'PlanTime', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The time to execute the schema design ticket.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2019-10-10 00:00:00', - ], + 'schema' => ['description' => 'The name of the table.', 'type' => 'string', 'required' => true, 'example' => 'order_info', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'description' => '成功返回', 'schema' => [ 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'description' => 'The ID of the job.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '413452', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" + ."\n" + .'- **true**: The request succeeded.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => ['description' => 'The details of a column.', '$ref' => '#/components/schemas/ColumnKnowledgeVO', 'example' => 'true', 'title' => ''], + 'title' => '', + 'description' => 'An array of column details.', + 'example' => '', ], ], + 'title' => '', + 'description' => 'The response body.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": 0,\\n \\"RequestId\\": \\"28A1B16E-8CC7-51C3-A298-B8FC79AEB0A0\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'CreatePublishGroupTask', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListDDLPublishRecords' => [ - 'summary' => 'Queries the publishing details of a schema design ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetTableColumnList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": [\\n {\\n \\"TableId\\": 0,\\n \\"ColumnId\\": 0,\\n \\"ColumnName\\": \\"\\",\\n \\"Position\\": 0,\\n \\"ColumnType\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"AssetDescription\\": \\"\\",\\n \\"Title\\": \\"\\",\\n \\"AssetModifiedGmt\\": \\"\\",\\n \\"LevelType\\": \\"\\",\\n \\"Level\\": 0,\\n \\"HotLevel\\": 0,\\n \\"Nullable\\": false,\\n \\"AutoIncrement\\": false,\\n \\"ColumnKeyType\\": \\"\\",\\n \\"UserSensitivityLevel\\": \\"\\",\\n \\"Plain\\": false,\\n \\"SecurityLevel\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetTableDBTopology' => [ + 'summary' => 'Queries the topology of a data table.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24509,271 +17898,144 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdms867K9R', - ], - 'autoTest' => false, - 'notSupportAutoTestReason' => '结构设计功能为重页面编辑态控制台功能,无完整API,无法完成自动化测试', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket.'."\n" - ."\n" - .'> You can create a schema design ticket in the Data Management (DMS) console. For more information, see [Design schemas](~~69711~~). You can also call the [CreateOrder](~~144649~~) operation to create a schema design ticket and obtain the ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3214325', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'TableGuid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, log on to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The GUID of the table in DMS.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If the database to which the table belongs is a logical database, you can call the [ListLogicTables](~~141875~~) operation to obtain the GUID. The value of the ReturnGuid parameter must be set to true.'."\n" + ."\n" + .'* If the database to which the table belongs is a physical database, you can call the [ListTables](~~141878~~) operation to obtain the GUID. The value of the ReturnGuid parameter must be set to true.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'IDB_L_9032.db-test.yuyang_test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A1549FB0-D4B8-4140-919F-17322C1072B8', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'DDLPublishRecordList' => [ - 'description' => 'The details of the publishing records.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The publishing record.'."\n", - 'type' => 'object', - 'properties' => [ - 'AuditStatus' => [ - 'description' => 'The approval state of the ticket. Valid values:'."\n" - ."\n" - .'* **EXEMPT_PASS**: The ticket passes without approval.'."\n" - .'* **TO_AUDIT**: The ticket is pending for approval.'."\n" - .'* **CANCEL**: The ticket is canceled.'."\n" - .'* **SUCCESS**: The ticket is approved.'."\n" - .'* **FAIL**: The ticket fails to pass the approval.'."\n", - 'type' => 'string', - 'example' => 'CANCEL', - ], - 'AuditExpireTime' => [ - 'description' => 'The time when the approval expires.'."\n", - 'type' => 'string', - 'example' => '2020-12-14 20:52:38', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who creates the ticket. You can obtain the user ID by calling the [GetUser](~~147098~~) operation and querying the value of the UserId parameter. The value is not the unique ID (UID) of the Alibaba Cloud account.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1423', - ], - 'Finality' => [ - 'description' => 'Indicates whether the approval is terminated. Valid values:'."\n" - ."\n" - .'* **true**: The approval is terminated.'."\n" - .'* **false**: The approval is not terminated.'."\n" - ."\n" - .'> Multiple reasons can terminate the approval. For example, you withdraw the application or your ticket is not approved before the specified time.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'FinalityReason' => [ - 'description' => 'The reason for the termination.'."\n", - 'type' => 'string', - 'example' => 'CANCEL', - ], - 'PublishStatus' => [ - 'description' => 'The publishing state of the ticket. Valid values:'."\n" - ."\n" - .'* **START**: The ticket is created.'."\n" - .'* **ANALYZE**: The ticket is under analysis.'."\n" - .'* **AUDIT**: The ticket is under approval.'."\n" - .'* **DISPATCH**: A task is generated for the ticket.'."\n" - .'* **SUCCESS**: The task is successful.'."\n", - 'type' => 'string', - 'example' => 'AUDIT', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the operation. Valid values:'."\n" - ."\n" - .'* **NONE_RISK**: The operation does not have risks.'."\n" - .'* **LOW_RISK**: The operation is at low risk.'."\n" - .'* **MIDDLE_RISK**: The operation is at medium risk.'."\n" - .'* **HIGH_RISK**: The operation is at high risk.'."\n", - 'type' => 'string', - 'example' => 'LOW_RISK', - ], - 'StatusDesc' => [ - 'description' => 'The description of the publishing state.'."\n", - 'type' => 'string', - 'example' => 'CANCEL', - ], - 'WorkflowInstanceId' => [ - 'description' => 'The ID of the approval process.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '432153', - ], - 'Comment' => [ - 'title' => '发布备注', - 'description' => 'Release remarks.', - 'type' => 'string', - 'example' => 'Release remarks', - ], - 'PublishTaskInfoList' => [ - 'description' => 'The list of publishing tasks.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the publishing task.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4325', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: the database is not a logical database.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'PlanTime' => [ - 'description' => 'The time to publish the ticket.'."\n", - 'type' => 'string', - 'example' => '2020-12-14 20:52:38', - ], - 'PublishStrategy' => [ - 'description' => 'The publishing policy. Valid values:'."\n" - ."\n" - .'* **IMMEDIATELY**: immediately publishes the ticket.'."\n" - .'* **REGULARLY**: publishes the ticket at a scheduled time.'."\n", - 'type' => 'string', - 'example' => 'IMMEDIATELY', - ], - 'StatusDesc' => [ - 'description' => 'The description of the state.'."\n", - 'type' => 'string', - 'example' => 'NONE', - ], - 'TaskJobStatus' => [ - 'description' => 'The state of the task.'."\n", - 'type' => 'string', - 'example' => 'NONE', - ], - 'PublishJobList' => [ - 'description' => 'The list of the publishing tasks.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the publishing task.'."\n", - 'type' => 'object', - 'properties' => [ - 'ExecuteCount' => [ - 'description' => 'The number of SQL statements that are executed.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Scripts' => [ - 'description' => 'The script for data changes.'."\n", - 'type' => 'string', - 'example' => 'ALTER TABLE test_toolkit_rename_table_after_rename MODIFY COLUMN gmt_modified datetime NOT NULL', - ], - 'TableName' => [ - 'description' => 'The name of the table after the change.'."\n", - 'type' => 'string', - 'example' => 'test_toolkit_rename_table_after_rename', - ], - 'StatusDesc' => [ - 'description' => 'The description of the state.'."\n", - 'type' => 'string', - 'example' => 'NONE', - ], - 'TaskJobStatus' => [ - 'description' => 'The state of the publishing task. Valid values:'."\n" - ."\n" - .'* **NONE**: The state of the task is unknown.'."\n" - .'* **SUCCESS**: The task is successful.'."\n" - .'* **FAIL**: The task fails.'."\n", - 'type' => 'string', - 'example' => 'NONE', - ], - 'DBTaskGroupId' => [ - 'description' => 'The ID of the SQL task group.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '423515', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '853F7FD4-D922-4EFB-931C-D253EF159E06', 'title' => ''], + 'DBTopology' => [ + 'description' => 'The topology of the data table.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableName' => ['description' => 'The name of the table.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If a logical table is queried, the name of the logical table is returned.'."\n" + ."\n" + .'* If a physical table is queried, the name of the physical table is returned.'."\n", 'type' => 'string', 'example' => 'yuyang_test', 'title' => ''], + 'DataSourceList' => [ + 'description' => 'The data sources.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The schema of the response.'."\n", + 'type' => 'object', + 'properties' => [ + 'Sid' => ['description' => 'The system ID (SID) of the data source.'."\n", 'type' => 'string', 'example' => 'def', 'title' => ''], + 'Host' => ['description' => 'The endpoint of the data source.'."\n", 'type' => 'string', 'example' => 'xxx.mysql.polardb.rds.aliyuncs.com', 'title' => ''], + 'DbType' => ['description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'DatabaseList' => [ + 'description' => 'The physical databases.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The schema of the response.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the database.'."\n", 'type' => 'string', 'example' => '489347', 'title' => ''], + 'DbName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'db-test', 'title' => ''], + 'DbType' => ['description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'TableList' => [ + 'description' => 'The physical tables.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The schema of the response.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableName' => ['description' => 'The name of the physical table.'."\n", 'type' => 'string', 'example' => '151977812', 'title' => ''], + 'TableType' => ['description' => 'The type of the table. This is a reserved parameter.'."\n", 'type' => 'string', 'example' => 'yuyang_test_0000', 'title' => ''], + 'TableId' => ['description' => 'The ID of the table.'."\n", 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'EnvType' => ['description' => 'The type of the environment to which the database belongs. Valid values:'."\n" + ."\n" + .'* **product**: production environment'."\n" + .'* **dev**: development environment'."\n" + .'* **pre**: pre-release environment'."\n" + .'* **test**: test environment'."\n" + .'* **sit**: system integration testing (SIT) environment'."\n" + .'* **uat**: user acceptance testing (UAT) environment'."\n" + .'* **pet**: stress testing environment'."\n" + .'* **stag**: staging environment'."\n" + ."\n" + .'> For more information, see [Change the environment type of an instance](~~163309~~).'."\n", 'type' => 'string', 'example' => 'pre', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'Port' => ['description' => 'The port that is used to connect to the data source.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3306', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'TableGuid' => ['description' => 'The GUID of the table in DMS.'."\n", 'type' => 'string', 'example' => 'IDB_L_9032.db-test.yuyang_test', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'GetTableDBTopology', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTableDBTopology', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A1549FB0-D4B8-4140-919F-17322C1072B8\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DDLPublishRecordList\\": [\\n {\\n \\"AuditStatus\\": \\"CANCEL\\",\\n \\"AuditExpireTime\\": \\"2020-12-14 20:52:38\\",\\n \\"CreatorId\\": 1423,\\n \\"Finality\\": true,\\n \\"FinalityReason\\": \\"CANCEL\\",\\n \\"PublishStatus\\": \\"AUDIT\\",\\n \\"RiskLevel\\": \\"LOW_RISK\\",\\n \\"StatusDesc\\": \\"CANCEL\\",\\n \\"WorkflowInstanceId\\": 432153,\\n \\"Comment\\": \\"发布备注\\",\\n \\"PublishTaskInfoList\\": [\\n {\\n \\"DbId\\": 4325,\\n \\"Logic\\": false,\\n \\"PlanTime\\": \\"2020-12-14 20:52:38\\",\\n \\"PublishStrategy\\": \\"IMMEDIATELY\\",\\n \\"StatusDesc\\": \\"NONE\\",\\n \\"TaskJobStatus\\": \\"NONE\\",\\n \\"PublishJobList\\": [\\n {\\n \\"ExecuteCount\\": 0,\\n \\"Scripts\\": \\"ALTER TABLE test_toolkit_rename_table_after_rename MODIFY COLUMN gmt_modified datetime NOT NULL\\",\\n \\"TableName\\": \\"test_toolkit_rename_table_after_rename\\",\\n \\"StatusDesc\\": \\"NONE\\",\\n \\"TaskJobStatus\\": \\"NONE\\",\\n \\"DBTaskGroupId\\": 423515\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListDDLPublishRecordsResponse>\\n <RequestId>A1549FB0-D4B8-4140-919F-17322C1072B8</RequestId>\\n <Success>true</Success>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <ErrorCode>UnknownError</ErrorCode>\\n <DDLPublishRecordList>\\n <AuditStatus>CANCEL</AuditStatus>\\n <AuditExpireTime>2020-12-14 20:52:38</AuditExpireTime>\\n <CreatorId>1423</CreatorId>\\n <Finality>true</Finality>\\n <FinalityReason>CANCEL</FinalityReason>\\n <PublishStatus>AUDIT</PublishStatus>\\n <RiskLevel>LOW_RISK</RiskLevel>\\n <StatusDesc>CANCEL</StatusDesc>\\n <WorkflowInstanceId>432153</WorkflowInstanceId>\\n <Comment>我是发布备注</Comment>\\n <PublishTaskInfoList>\\n <DbId>4325</DbId>\\n <Logic>false</Logic>\\n <PlanTime>2020-12-14 20:52:38</PlanTime>\\n <PublishStrategy>IMMEDIATELY</PublishStrategy>\\n <StatusDesc>NONE</StatusDesc>\\n <TaskJobStatus>NONE</TaskJobStatus>\\n <PublishJobList>\\n <ExecuteCount>0</ExecuteCount>\\n <Scripts>ALTER TABLE test_toolkit_rename_table_after_rename MODIFY COLUMN gmt_modified datetime NOT NULL</Scripts>\\n <TableName>test_toolkit_rename_table_after_rename</TableName>\\n <StatusDesc>NONE</StatusDesc>\\n <TaskJobStatus>NONE</TaskJobStatus>\\n <DBTaskGroupId>423515</DBTaskGroupId>\\n </PublishJobList>\\n </PublishTaskInfoList>\\n </DDLPublishRecordList>\\n</ListDDLPublishRecordsResponse>","errorExample":""}]', - 'title' => 'ListDDLPublishRecords', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"853F7FD4-D922-4EFB-931C-D253EF159E06\\",\\n \\"DBTopology\\": {\\n \\"TableName\\": \\"yuyang_test\\",\\n \\"DataSourceList\\": [\\n {\\n \\"Sid\\": \\"def\\",\\n \\"Host\\": \\"xxx.mysql.polardb.rds.aliyuncs.com\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"DatabaseList\\": [\\n {\\n \\"DbId\\": \\"489347\\",\\n \\"DbName\\": \\"db-test\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"TableList\\": [\\n {\\n \\"TableName\\": \\"151977812\\",\\n \\"TableType\\": \\"yuyang_test_0000\\",\\n \\"TableId\\": \\"NORMAL\\"\\n }\\n ],\\n \\"EnvType\\": \\"pre\\"\\n }\\n ],\\n \\"Port\\": 3306\\n }\\n ],\\n \\"TableGuid\\": \\"IDB_L_9032.db-test.yuyang_test\\"\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetTableDBTopologyResponse>\\n <RequestId>78F78156-2BBE-414A-8A9D-BE61CF6FA60F</RequestId>\\n <DBTopology>\\n <TableName>big_table</TableName>\\n <TableGuid>IDB_270000001.film.big_table</TableGuid>\\n <DataSourceList>\\n <DatabaseList>\\n <DbId>4000000</DbId>\\n <DbName>film</DbName>\\n <TableList>\\n <TableId>200000000</TableId>\\n <TableName>big_table</TableName>\\n <TableType>NORMAL</TableType>\\n </TableList>\\n <EnvType>product</EnvType>\\n <DbType>mysql</DbType>\\n </DatabaseList>\\n <Port>3306</Port>\\n <Host>rm-uf000000z0000002l.mysql.rds.aliyuncs.com</Host>\\n <DbType>mysql</DbType>\\n </DataSourceList>\\n </DBTopology>\\n <Success>true</Success> \\n</GetTableDBTopologyResponse>","errorExample":""}]', ], 'GetTableDesignProjectFlow' => [ 'summary' => 'Queries the information about a schema design ticket, such as the current node of the ticket, whether the ticket can be returned to the schema design node, and the publishing strategy.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24786,9 +18048,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '219318', - 'abilityTreeNodes' => [ - 'FEATUREdms867K9R', - ], + 'abilityTreeNodes' => ['FEATUREdms867K9R'], 'autoTest' => false, 'notSupportAutoTestReason' => '结构设计功能相关API不全无法构造完整测试用例进行自动化测试', ], @@ -24796,29 +18056,14 @@ [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'title' => '工单号', - 'description' => 'The ID of the schema design ticket. You can call the [ListOrders](~~144643~~) operation to obtain the ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '95****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the schema design ticket. You can call the [ListOrders](~~144643~~) operation to obtain the ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '95****'], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -24828,30 +18073,13 @@ 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], 'ProjectFlow' => [ 'description' => 'The information about the schema design process.'."\n", 'type' => 'object', @@ -24862,98 +18090,80 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'NodeRole' => [ - 'description' => 'The role of the node in the process.'."\n" - ."\n" - .'* START: The ticket was created.'."\n" - .'* DESIGN: The schema is being created.'."\n" - .'* PUBLISH: The schema is published.'."\n" - .'* END: The ticket is complete.'."\n", - 'type' => 'string', - 'example' => 'DESIGN', - ], - 'NodeTitle' => [ - 'description' => 'The title of the node.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'Position' => [ - 'description' => 'The position of the node in the process. The value starts from 1.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PublishAnchor' => [ - 'description' => 'Indicates whether the node is the anchor node. A schema design process has only one anchor node, on which the schema is published. After the schema is published on the anchor node, a post-publish image is generated and the DDL metadata lock is released.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'BackToDesign' => [ - 'description' => 'Indicates whether the ticket can be returned to the schema design node. Valid values:'."\n" - ."\n" - .'* **1**: The ticket can be returned to the schema design node.'."\n" - .'* **0**: The ticket cannot be returned to the schema design node. This value can be returned only for the PUBLISH node.'."\n", - 'type' => 'boolean', - 'example' => '1', - ], - 'CanSkip' => [ - 'description' => 'Indicates whether the current node can be skipped. Valid values:'."\n" - ."\n" - .'* **1**: The current node can be skipped.'."\n" - .'* **0**: The current node cannot be skipped. This value can be returned only for the PUBLISH node.'."\n", - 'type' => 'boolean', - 'example' => '0', - ], + 'NodeRole' => ['description' => 'The role of the node in the process.'."\n" + ."\n" + .'* START: The ticket was created.'."\n" + .'* DESIGN: The schema is being created.'."\n" + .'* PUBLISH: The schema is published.'."\n" + .'* END: The ticket is complete.'."\n", 'type' => 'string', 'example' => 'DESIGN', 'title' => ''], + 'NodeTitle' => ['description' => 'The title of the node.'."\n", 'type' => 'string', 'example' => 'Design phase', 'title' => ''], + 'Position' => ['description' => 'The position of the node in the process. The value starts from 1.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PublishAnchor' => ['description' => 'Indicates whether the node is the anchor node. A schema design process has only one anchor node, on which the schema is published. After the schema is published on the anchor node, a post-publish image is generated and the DDL metadata lock is released.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'BackToDesign' => ['description' => 'Indicates whether the ticket can be returned to the schema design node. Valid values:'."\n" + ."\n" + .'* **1**: The ticket can be returned to the schema design node.'."\n" + .'* **0**: The ticket cannot be returned to the schema design node. This value can be returned only for the PUBLISH node.'."\n", 'type' => 'boolean', 'example' => '1', 'title' => ''], + 'CanSkip' => ['description' => 'Indicates whether the current node can be skipped. Valid values:'."\n" + ."\n" + .'* **1**: The current node can be skipped.'."\n" + .'* **0**: The current node cannot be skipped. This value can be returned only for the PUBLISH node.'."\n", 'type' => 'boolean', 'example' => '0', 'title' => ''], 'PublishStrategies' => [ 'description' => 'The available publishing strategies.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The publishing strategy.'."\n" - ."\n" - .'* **IMMEDIATELY**: immediately publish the schema.'."\n" - .'* **REGULARLY**: publish the schema at the scheduled time.'."\n", - 'type' => 'string', - 'example' => 'IMMEDIATELY', - ], + 'items' => ['description' => 'The publishing strategy.'."\n" + ."\n" + .'* **IMMEDIATELY**: immediately publish the schema.'."\n" + .'* **REGULARLY**: publish the schema at the scheduled time.'."\n", 'type' => 'string', 'example' => 'IMMEDIATELY', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'CurrentPosition' => [ - 'description' => 'The position of the current node in the process.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RuleName' => [ - 'description' => 'The name of the security rule set that is applied to the schema design ticket.'."\n", - 'type' => 'string', - 'example' => 'mysql default', - ], - 'RuleComment' => [ - 'description' => 'The description of the security rule set that is applied to the schema design ticket.'."\n", - 'type' => 'string', - 'example' => 'mysq_test', - ], + 'CurrentPosition' => ['description' => 'The position of the current node in the process.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'RuleName' => ['description' => 'The name of the security rule set that is applied to the schema design ticket.'."\n", 'type' => 'string', 'example' => 'mysql default', 'title' => ''], + 'RuleComment' => ['description' => 'The description of the security rule set that is applied to the schema design ticket.'."\n", 'type' => 'string', 'example' => 'MySQL default rule set', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ProjectFlow\\": {\\n \\"FlowNodeArray\\": [\\n {\\n \\"NodeRole\\": \\"DESIGN\\",\\n \\"NodeTitle\\": \\"设计阶段\\",\\n \\"Position\\": 1,\\n \\"PublishAnchor\\": false,\\n \\"BackToDesign\\": true,\\n \\"CanSkip\\": true,\\n \\"PublishStrategies\\": [\\n \\"IMMEDIATELY\\"\\n ]\\n }\\n ],\\n \\"CurrentPosition\\": 2,\\n \\"RuleName\\": \\"mysql default\\",\\n \\"RuleComment\\": \\"mysql缺省规则集\\"\\n }\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ProjectFlow\\": {\\n \\"FlowNodeArray\\": [\\n {\\n \\"NodeRole\\": \\"DESIGN\\",\\n \\"NodeTitle\\": \\"Design phase\\",\\n \\"Position\\": 1,\\n \\"PublishAnchor\\": false,\\n \\"BackToDesign\\": true,\\n \\"CanSkip\\": true,\\n \\"PublishStrategies\\": [\\n \\"IMMEDIATELY\\"\\n ]\\n }\\n ],\\n \\"CurrentPosition\\": 2,\\n \\"RuleName\\": \\"mysql default\\",\\n \\"RuleComment\\": \\"MySQL default rule set\\"\\n }\\n}","type":"json"}]', 'title' => 'GetTableDesignProjectFlow', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTableDesignProjectFlow'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTableDesignProjectFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], ], 'GetTableDesignProjectInfo' => [ 'summary' => 'Queries the information about the project and change base database of a schema design ticket, such as the state of the ticket, the ID of the user who created the ticket, and the name and ID of the change base database.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24966,9 +18176,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '219310', - 'abilityTreeNodes' => [ - 'FEATUREdms867K9R', - ], + 'abilityTreeNodes' => ['FEATUREdms867K9R'], 'autoTest' => false, 'notSupportAutoTestReason' => '结构设计功能为重页面编辑态控制台功能,无完整API,无法完成自动化测试', ], @@ -24976,29 +18184,14 @@ [ 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'title' => '工单号', - 'description' => 'The ID of the schema design ticket. You can call the [ListOrders](~~465867~~) operation to obtain the ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '95****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the schema design ticket. You can call the [ListOrders](~~465867~~) operation to obtain the ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '95****'], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -25008,831 +18201,530 @@ 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '48778434-5796-571A-8455-A59146588401', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '48778434-5796-571A-8455-A59146588401'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], 'ProjectInfo' => [ 'description' => 'The information about the schema design project.'."\n", 'type' => 'object', 'properties' => [ - 'OrderId' => [ - 'description' => 'The ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '95****', - ], - 'ProjectId' => [ - 'description' => 'The project ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], - 'GmtCreate' => [ - 'description' => 'The time when the ticket was created.'."\n", - 'type' => 'string', - 'example' => '2024-04-23 02:57:01', - ], - 'GmtModified' => [ - 'description' => 'The time when the ticket was last modified.'."\n", - 'type' => 'string', - 'example' => '2024-04-23 02:57:01', - ], - 'Status' => [ - 'description' => 'The state of the schema design project. Valid values:'."\n" - ."\n" - .'* **DESIGN**: The schema is being designed.'."\n" - .'* **PUBLISHED**: The schema is published.'."\n" - .'* **CLOSE**: The ticket is closed.'."\n", - 'type' => 'string', - 'example' => 'DESIGN', - ], - 'Title' => [ - 'description' => 'The name of the schema design project.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Description' => [ - 'description' => 'The description of the schema design project.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who created the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '71****', - ], + 'OrderId' => ['description' => 'The ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '95****', 'title' => ''], + 'ProjectId' => ['description' => 'The project ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the ticket was created.'."\n", 'type' => 'string', 'example' => '2024-04-23 02:57:01', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the ticket was last modified.'."\n", 'type' => 'string', 'example' => '2024-04-23 02:57:01', 'title' => ''], + 'Status' => ['description' => 'The state of the schema design project. Valid values:'."\n" + ."\n" + .'* **DESIGN**: The schema is being designed.'."\n" + .'* **PUBLISHED**: The schema is published.'."\n" + .'* **CLOSE**: The ticket is closed.'."\n", 'type' => 'string', 'example' => 'DESIGN', 'title' => ''], + 'Title' => ['description' => 'The name of the schema design project.'."\n", 'type' => 'string', 'example' => 'User growth campaign', 'title' => ''], + 'Description' => ['description' => 'The description of the schema design project.'."\n", 'type' => 'string', 'example' => 'Test', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who created the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '71****', 'title' => ''], 'BaseDatabase' => [ 'description' => 'The information about the change base database of the schema design ticket.'."\n", 'type' => 'object', 'properties' => [ - 'SearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'schema_name@127.0.XX.XX', - ], - 'SchemaName' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'example' => 'bk_atc020', - ], - 'DbId' => [ - 'description' => 'The database ID.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '11****', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Alias' => [ - 'description' => 'The alias of the database instance.'."\n", - 'type' => 'string', - 'example' => 'poc_test', - ], - 'EnvType' => [ - 'description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" - ."\n" - .'* **product**: production environment.'."\n" - .'* **dev**: development environment.'."\n" - .'* **pre**: pre-release environment.'."\n" - .'* **test**: test environment.'."\n" - .'* **sit**: system integration testing (SIT) environment.'."\n" - .'* **uat**: user acceptance testing (UAT) environment.'."\n" - .'* **pet**: stress testing environment.'."\n" - .'* **stag**: staging environment.'."\n", - 'type' => 'string', - 'example' => 'dev', - ], - 'DbType' => [ - 'description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'example' => 'POLARDB', - ], + 'SearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'example' => 'schema_name@127.0.XX.XX', 'title' => ''], + 'SchemaName' => ['description' => 'The database name.'."\n", 'type' => 'string', 'example' => 'bk_atc020', 'title' => ''], + 'DbId' => ['description' => 'The database ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '11****', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Alias' => ['description' => 'The alias of the database instance.'."\n", 'type' => 'string', 'example' => 'Core transaction database', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" + ."\n" + .'* **product**: production environment.'."\n" + .'* **dev**: development environment.'."\n" + .'* **pre**: pre-release environment.'."\n" + .'* **test**: test environment.'."\n" + .'* **sit**: system integration testing (SIT) environment.'."\n" + .'* **uat**: user acceptance testing (UAT) environment.'."\n" + .'* **pet**: stress testing environment.'."\n" + .'* **stag**: staging environment.'."\n", 'type' => 'string', 'example' => 'dev', 'title' => ''], + 'DbType' => ['description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'example' => 'POLARDB', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"48778434-5796-571A-8455-A59146588401\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ProjectInfo\\": {\\n \\"OrderId\\": 0,\\n \\"ProjectId\\": 0,\\n \\"GmtCreate\\": \\"2024-04-23 02:57:01\\",\\n \\"GmtModified\\": \\"2024-04-23 02:57:01\\",\\n \\"Status\\": \\"DESIGN\\",\\n \\"Title\\": \\"用户增长战役\\",\\n \\"Description\\": \\"测试\\",\\n \\"CreatorId\\": 0,\\n \\"BaseDatabase\\": {\\n \\"SearchName\\": \\"schema_name@127.0.XX.XX\\",\\n \\"SchemaName\\": \\"bk_atc020\\",\\n \\"DbId\\": 0,\\n \\"Logic\\": false,\\n \\"Alias\\": \\"核心交易库\\",\\n \\"EnvType\\": \\"dev\\",\\n \\"DbType\\": \\"POLARDB\\"\\n }\\n }\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"48778434-5796-571A-8455-A59146588401\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ProjectInfo\\": {\\n \\"OrderId\\": 0,\\n \\"ProjectId\\": 0,\\n \\"GmtCreate\\": \\"2024-04-23 02:57:01\\",\\n \\"GmtModified\\": \\"2024-04-23 02:57:01\\",\\n \\"Status\\": \\"DESIGN\\",\\n \\"Title\\": \\"User growth campaign\\",\\n \\"Description\\": \\"Test\\",\\n \\"CreatorId\\": 0,\\n \\"BaseDatabase\\": {\\n \\"SearchName\\": \\"schema_name@127.0.XX.XX\\",\\n \\"SchemaName\\": \\"bk_atc020\\",\\n \\"DbId\\": 0,\\n \\"Logic\\": false,\\n \\"Alias\\": \\"Core transaction database\\",\\n \\"EnvType\\": \\"dev\\",\\n \\"DbType\\": \\"POLARDB\\"\\n }\\n }\\n}","type":"json"}]', 'title' => 'GetTableDesignProjectInfo', - ], - 'CreateDatabaseExportOrder' => [ - 'summary' => 'Creates a database export ticket.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTableDesignProjectInfo'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTableDesignProjectInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetTableInstructions' => [ + 'summary' => 'Retrieves usage instructions and business context for a table, including its business description, summary, and related assets.', + 'description' => 'Retrieves usage instructions and business context for a table. This operation returns an AI-enhanced business description, a table summary, and a list of related assets. This information helps you find tables semantically and understand their usage.', + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsPWN318', - ], + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ParentId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the parent ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => ' 877****', - ], - ], - [ - 'name' => 'Comment', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The purpose or objective of the ticket. This parameter helps reduce unnecessary communication.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'document_test', - ], + 'schema' => ['description' => 'The ID of the database. You can call the [ListDatabases](~~141873~~) API to obtain this ID.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1***', 'title' => ''], ], [ - 'name' => 'AttachmentKey', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The key of the attachment that provides more instructions for the ticket. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'order_attachment.txt', - ], + 'schema' => ['description' => 'The table name.', 'type' => 'string', 'required' => true, 'example' => 'order_info', 'title' => ''], ], - [ - 'name' => 'PluginParam', - 'in' => 'query', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ + 'description' => '成功返回', 'schema' => [ - 'description' => 'The parameters of the ticket.'."\n", 'type' => 'object', 'properties' => [ - 'Classify' => [ - 'description' => 'The reason for the database export.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'document_test', - ], - 'DbId' => [ - 'description' => 'The database ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '17****', - ], - 'InstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '137****', - ], - 'Logic' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', - ], - 'Config' => [ - 'description' => 'The configurations for database export.'."\n", - 'type' => 'object', - 'properties' => [ - 'SQLExtOption' => [ - 'description' => 'The extension options of the SQL script. You can leave this parameter empty.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The extension option of the SQL script. Valid values:'."\n" - ."\n" - .'* **DROP**: A DROP TABLE statement is generated before the CREATE statement.'."\n" - .'* **TRUNCATE**: A TRUNCATE TABLE statement is generated before an INSERT statement.'."\n" - .'* **COMPRESS**: The values to be inserted by an INSERT statement is compressed to 5 MB.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DROP', - ], - 'required' => true, - ], - 'DataOption' => [ - 'description' => 'The export options for big data. The options are used to filter the big data to be exported. You can leave this parameter empty.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The export option for big data. Valid values:'."\n" - ."\n" - .'* **BLOB**: exports big data of types such as BLOG and TINYBLOB.'."\n" - .'* **TEXT**: exports big data of types such as TEXT and TINYTEXT.'."\n" - .'* **BINARY**: exports big data of types such as BINARY and VARBINARY.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BLOB', - ], - 'required' => true, - ], - 'ExportContent' => [ - 'description' => 'The type of data that you want to export. Valid values:'."\n" - ."\n" - .'* **DATA**: The data of the database is exported.'."\n" - .'* **STRUCT**: The schema of the database is exported.'."\n" - .'* **DATA_STRUCT**: The data and schema of the database are exported.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'DATA', - ], - 'ExportTypes' => [ - 'description' => 'The types of schemas that you want to export.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The type of schema that you want to export. Valid values:'."\n" - ."\n" - .'* **PROCEDURE**'."\n" - .'* **FUNCTION**'."\n" - .'* **TRIGGER**'."\n" - .'* **VIEW**'."\n" - .'* **EVENT**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PROCEDURE', - ], - 'required' => false, - ], - 'SelectedTables' => [ - 'description' => 'The tables that you want to export.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The table that you want to export.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dmstest_table', - ], - 'required' => false, - ], - 'Tables' => [ - 'description' => 'The conditions used to filter the tables to be exported.'."\n", - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'description' => 'The condition used to filter the tables to be exported.'."\n", - 'example' => 'where 1=1', - ], - ], - 'TargetOption' => [ - 'description' => 'The format in which the database is exported. Valid values:'."\n" - ."\n" - .'* **SQL**'."\n" - .'* **CSV**'."\n" - .'* **XLSX**'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'SQL', - ], - ], - 'required' => true, - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test@xxx.xxx.xxx.xxx:3306', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" + ."\n" + .'- **true**: The request succeeded.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => ['description' => 'The retrieved table instructions.', 'required' => true, '$ref' => '#/components/schemas/TableInstructionsVO', 'example' => '1001', 'title' => ''], ], - 'required' => true, + 'title' => '', + 'description' => 'The response parameters.', + 'example' => '', ], ], + ], + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetTableInstructions', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"DbId\\": 0,\\n \\"DbType\\": \\"\\",\\n \\"TableName\\": \\"\\",\\n \\"AssetDescription\\": \\"\\",\\n \\"Summary\\": \\"\\",\\n \\"AssetCreatedGmt\\": \\"\\",\\n \\"AssetModifiedGmt\\": \\"\\"\\n }\\n}","type":"json"}]', + ], + 'GetTableKnowledgeDetails' => [ + 'summary' => 'Retrieves the asset knowledge details for a table, including its metadata, business description, and a list of fields.', + 'description' => 'Retrieves the asset knowledge details for a table. The response includes the table\'s basic metadata, an AI-enhanced business description, summary information, and a list of field details.', + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'RelatedUserList', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'DbId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The stakeholders involved in this operation.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The user ID of the stakeholder. The stakeholders involved in this export. All the specified stakeholders can view the ticket details and take part in the approval process. Irrelevant users other than Data Management (DMS) administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2452345113****', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The ID of the database. To obtain this ID, call the [ListDatabases](~~141873~~) API.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The name of the table.', 'type' => 'string', 'required' => true, 'example' => 'order_info', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'description' => '成功返回', 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'CreateOrderResult' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'CreateOrderResult' => [ - 'description' => 'The information about the ticket.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12***', - ], - ], - ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => ['description' => 'The response data.', 'required' => true, '$ref' => '#/components/schemas/TableKnowledgeVO', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'description' => 'The response body.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": {\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'CreateDatabaseExportOrder', - ], - 'CreateDataExportOrder' => [ - 'summary' => 'Creates a ticket to export an SQL result set.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetTableKnowledgeDetails', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TableId\\": 0,\\n \\"TableName\\": \\"\\",\\n \\"DbId\\": 0,\\n \\"DbName\\": \\"\\",\\n \\"DbType\\": \\"\\",\\n \\"InstanceId\\": 0,\\n \\"InstanceName\\": \\"\\",\\n \\"SchemaName\\": \\"\\",\\n \\"EnvType\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"AssetDescription\\": \\"\\",\\n \\"Summary\\": \\"\\",\\n \\"Title\\": \\"\\",\\n \\"AssetCreatedGmt\\": \\"\\",\\n \\"AssetModifiedGmt\\": \\"\\",\\n \\"Size\\": 0,\\n \\"NumRows\\": 0,\\n \\"Level\\": 0,\\n \\"HotLevel\\": 0,\\n \\"LevelType\\": \\"\\",\\n \\"Logic\\": false\\n }\\n}","type":"json"}]', + ], + 'GetTableKnowledgeInfo' => [ + 'summary' => 'Gets metadata knowledge for a specified GUID.', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '174313', - 'abilityTreeNodes' => [ - 'FEATUREdmsPWN318', - ], + 'abilityTreeCode' => '249769', + 'abilityTreeNodes' => ['FEATUREdms90TD19'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ParentId', + 'name' => 'TableSchemaName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the parent ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '877****', - ], + 'schema' => ['description' => 'The schema name of the table, which is required only for SQL Server instances.', 'type' => 'string', 'required' => false, 'example' => 'dbo', 'title' => ''], ], [ - 'name' => 'Comment', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The purpose or objective of the ticket. This parameter helps reduce unnecessary communication.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'business_test', - ], + 'schema' => ['description' => 'The ID of the physical database. You can call the [SearchDatabase](~~141876~~) operation to obtain the ID.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '325', 'title' => ''], ], [ - 'name' => 'AttachmentKey', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The key of the attachment that provides more instructions for the ticket. You can call the [GetUserUploadFileJob](~~206069~~) operation to obtain the attachment key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'order_attachment.txt', - ], + 'schema' => ['description' => 'The name of the table.', 'type' => 'string', 'required' => true, 'example' => 'table_name', 'title' => ''], ], - [ - 'name' => 'RelatedUserList', - 'in' => 'query', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The stakeholders involved in this operation.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The user ID of the stakeholder. This ID is a user ID and is not the ID of an Alibaba Cloud account. The stakeholders involved in this export. All the specified stakeholders can view the ticket details and take part in the approval process. Irrelevant users other than Data Management (DMS) administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2452345113****', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID. You can use the request ID to query logs and troubleshoot issues.', 'type' => 'string', 'title' => '', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Table' => ['description' => 'The information about the table.', '$ref' => '#/components/schemas/TableKnowledgeInfo', 'example' => 'bill_orders', 'title' => ''], ], - 'required' => false, + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetTableKnowledgeInfo', + 'description' => 'This API can be called only for database instances that are enabled for security hosting.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [ [ - 'name' => 'PluginParam', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters of the ticket.'."\n", - 'type' => 'object', - 'properties' => [ - 'AffectRows' => [ - 'description' => 'The estimated number of data rows to be affected.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], - 'Classify' => [ - 'description' => 'The reason for the export ticket.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], - 'InstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '132****', - ], - 'DbId' => [ - 'description' => 'The database ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '18****', - ], - 'Logic' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n" - ."\n" - .'> If you set this parameter to **true**, the database that you specify must be a logical database.'."\n", - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', - ], - 'IgnoreAffectRows' => [ - 'description' => 'Specifies whether to skip verification. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', - ], - 'IgnoreAffectRowsReason' => [ - 'description' => 'The reason for skipping verification. This parameter is required if you set IgnoreAffectRows to true.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Test only, does not affect the business, and does not require verification.', - ], - 'ExeSQL' => [ - 'description' => 'The SQL statements that can be executed.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'SELECT * FROM DMS_test'."\n" - .' LIMIT 20;', - ], - 'Watermark' => [ - 'description' => 'The information about the watermarks.'."\n", - 'type' => 'object', - 'properties' => [ - 'WatermarkTypes' => [ - 'description' => 'The methods in which the watermark is embedded.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The method in which the watermark is embedded. Valid values:'."\n" - ."\n" - .'* **DATA**: embeds identification information into data.'."\n" - .'* **FILE**: embeds identification information into files.'."\n" - ."\n" - .'For more information about watermarks, see [Use data watermarks](~~444281~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DATA', - ], - 'required' => false, - ], - 'Keys' => [ - 'description' => 'One or more primary keys or unique keys.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The primary keys or unique keys. Separate multiple keys with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ID', - ], - 'required' => false, - ], - 'ColumnName' => [ - 'description' => 'The field into which the watermark is to be embedded.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'user_number', - ], - 'DataWatermark' => [ - 'description' => 'The information to be embedded as a watermark into data.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'FileWatermark' => [ - 'description' => 'The information to be embedded as a watermark into files.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - 'required' => false, - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTableKnowledgeInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => true, ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Table\\": {\\n \\"TableName\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"AssetDescription\\": \\"\\",\\n \\"AssetModifiedGmt\\": \\"\\",\\n \\"Summary\\": \\"\\",\\n \\"ColumnList\\": [\\n {\\n \\"Description\\": \\"\\",\\n \\"ColumnType\\": \\"\\",\\n \\"AssetDescription\\": \\"\\",\\n \\"Position\\": 0,\\n \\"AssetModifiedGmt\\": \\"\\",\\n \\"ColumnName\\": \\"\\",\\n \\"Level\\": 0\\n }\\n ],\\n \\"Level\\": 0\\n }\\n}","type":"json"}]', + ], + 'GetTableTopology' => [ + 'summary' => 'Queries the topology of a table.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'TableGuid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The GUID of the table in Data Management (DMS).'."\n" + ."\n" + .'> '."\n" + .'> - You can call the [ListLogicTables](~~141875~~) operation with ReturnGuid set to true to query the GUIDs of logical tables in a specific logical database.'."\n" + .'> - You can call the [ListTables](~~141878~~) operation with ReturnGuid set to true to query the GUIDs of tables in a specific physical database.', 'type' => 'string', 'required' => true, 'example' => 'IDB_L_308302.yuyang_test.test_ch', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the Alibaba Cloud account that actually calls the API.', - 'type' => 'string', - 'required' => false, - 'example' => '21400447956867****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the "View information about the current tenant" section of the [Tenant information](~~181330~~) topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'CreateOrderResult' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F5ED6A40-F344-4C7D-A8F0-5685CA584CA7'], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'TableTopology' => [ + 'description' => 'The topology information.'."\n", 'type' => 'object', - 'itemNode' => true, 'properties' => [ - 'CreateOrderResult' => [ - 'description' => 'The content of the ticket.'."\n", + 'TableGuid' => ['description' => 'The GUID of the table in DMS.'."\n", 'type' => 'string', 'example' => 'IDB_L_308302.yuyang_test.test_ch', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'test_ch', 'title' => ''], + 'TableTopologyInfoList' => [ + 'description' => 'Information of the topology of the table.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '819****', + 'description' => 'Information of the topology of the table.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableNameList' => ['description' => 'The names of tables.'."\n" + ."\n" + .'> The table names are separated by commas (,).'."\n", 'type' => 'string', 'example' => 'test_ch_0000,test_ch_0001,test_ch_0002,test_ch_0003,test_ch_0004,test_ch_0005', 'title' => ''], + 'TableNameExpr' => ['description' => 'The expression of the names of logical tables.'."\n" + ."\n" + .'**'."\n" + ."\n" + .'**Description** This parameter is not returned for physical tables.', 'type' => 'string', 'example' => 'test_ch_[0000-0005]', 'title' => ''], + 'TableCount' => ['description' => 'The number of tables.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '6', 'title' => ''], + 'DbId' => ['description' => 'The ID of the physical database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '43215', 'title' => ''], + 'DbSearchName' => ['description' => 'The name that is used to search for the database.'."\n" + .'> We recommend that you do not use this parameter for business development. The format of the parameter value may be modified in later versions.', 'type' => 'string', 'example' => 'yuyang_test@localhost:3306[yuyang_test_dev]', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance to which the physical database belongs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4325325', 'title' => ''], + 'RegionId' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceResourceId' => ['description' => 'The ID of the resource related to the instance. The resource corresponds with the database instance type returned in the InstanceSource parameter.'."\n" + ."\n" + .'* **RDS**:The ID of the ApsaraDB RDS instance.'."\n" + .'* **ECS_OWN**: The ID of the Elastic Compute Service (ECS) instance.'."\n" + .'* **PUBLIC_OWN**: This parameter is left empty for self-managed database instances that are connected over the Internet.'."\n" + .'* **VPC_ID**:The ID of the virtual private cloud (VPC).'."\n" + .'* **GATEWAY**: The ID of the database gateway.'."\n", 'type' => 'string', 'example' => 'rm-xxx', 'title' => ''], + 'InstanceSource' => ['description' => 'The type of the database instance. Valid values:'."\n" + ."\n" + .'* **RDS**: an ApsaraDB RDS instance.'."\n" + .'* **ECS_OWN**: a self-managed database that is deployed on an ECS instance'."\n" + .'* **PUBLIC_OWN**: a self-managed database instance that is connected over the Internet.'."\n" + .'* **VPC_ID**: a self-managed database instance in a VPC that is connected over Express Connect circuits.'."\n" + .'* **GATEWAY**: a database instance connected by using a database gateway.'."\n", 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'DbName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'yuyang_test', 'title' => ''], + 'DbType' => ['description' => 'The database engine.'."\n", 'type' => 'string', 'example' => 'mysql', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'Logic' => ['description' => 'Indicates whether the table is a logical table. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": {\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'CreateDataExportOrder', - ], - 'ExecuteDataExport' => [ - 'summary' => 'Executes a data export ticket.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetTableTopology', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTableTopology', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F5ED6A40-F344-4C7D-A8F0-5685CA584CA7\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"TableTopology\\": {\\n \\"TableGuid\\": \\"IDB_L_308302.yuyang_test.test_ch\\",\\n \\"TableName\\": \\"test_ch\\",\\n \\"TableTopologyInfoList\\": [\\n {\\n \\"TableNameList\\": \\"test_ch_0000,test_ch_0001,test_ch_0002,test_ch_0003,test_ch_0004,test_ch_0005\\",\\n \\"TableNameExpr\\": \\"test_ch_[0000-0005]\\",\\n \\"TableCount\\": 6,\\n \\"DbId\\": 43215,\\n \\"DbSearchName\\": \\"yuyang_test@localhost:3306[yuyang_test_dev]\\",\\n \\"InstanceId\\": 4325325,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceResourceId\\": \\"rm-xxx\\",\\n \\"InstanceSource\\": \\"RDS\\",\\n \\"DbName\\": \\"yuyang_test\\",\\n \\"DbType\\": \\"mysql\\"\\n }\\n ],\\n \\"Logic\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTableTopologyResponse>\\n <RequestId>7A7F0E34-8E21-4CF7-93C8-27212B122145</RequestId>\\n <TableTopology>\\n <TableName>big_table</TableName>\\n <TableGuid>IDB_279000000.film.big_table</TableGuid>\\n <Logic>false</Logic>\\n <TableTopologyInfoList>\\n <DbSearchName>film@rm-uf00000000240000l.mysql.rds.aliyuncs.com:3306【nissi go】</DbSearchName>\\n <InstanceSource>RDS</InstanceSource>\\n <InstanceResourceId>rm-uf00000000240000l</InstanceResourceId>\\n <InstanceId>1000000</InstanceId>\\n <TableNameList>big_table</TableNameList>\\n <TableCount>1</TableCount>\\n <DbId>4000000</DbId>\\n <DbName>film</DbName>\\n <RegionId>cn-shanghai</RegionId>\\n <DbType>mysql</DbType>\\n </TableTopologyInfoList>\\n </TableTopology>\\n <Success>true</Success> \\n</GetTableTopologyResponse>","errorExample":""}]', + ], + 'GetTask' => [ + 'summary' => 'Queries the configurations, including time variables, of a specified task node based on the task node ID.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '16678', - 'abilityTreeNodes' => [ - 'FEATUREdmsPWN318', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], - ], - [ - 'name' => 'OrderId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1234', - ], - ], - [ - 'name' => 'ActionDetail', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are required to perform the operation. Sample code:'."\n" - ."\n" - .'```json'."\n" - .'{'."\n" - .' "mode" : "FAST", // The mode in which data is exported. Default value: FAST. A value of NORMAL specifies that the export task can be terminated during the export. "encoding" : "UTF8", // The encoding format. "startTime" : "2022-12-22 00:00:00", // The point in time at which data export starts. "transaction" : false, // Specifies whether to enable transactions. "fileType" : "SQL" // The format of the exported file.}'."\n" - .'```'."\n" - ."\n" - .'> You can also set mode, encoding, and fileType to the following values:'."\n" - ."\n" - .'* mode: NORMAL'."\n" - ."\n" - .'* encoding: UTF8MB4, GB2312, ISO\\_8859\\_1, GBK, LATAIN1, or CP1252'."\n" - ."\n" - .'* fileType: XLSX, CSV, JSON, or TXT'."\n", - 'type' => 'object', - 'required' => false, - 'docRequired' => true, - 'example' => '{ "fileType": "CSV", "encoding": "" }', - 'default' => '', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'example' => '3***', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'type' => 'integer', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account that is used to call the API operation.', - 'type' => 'string', - 'required' => false, - 'example' => '21400447956867****', - ], + 'schema' => ['description' => 'The ID of the task node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", 'docRequired' => true, 'example' => '51***', 'format' => 'int64', 'required' => true, 'type' => 'integer', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'type' => 'object', + 'description' => 'Schema of Response', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", 'example' => '7838266C-E17B-58F4-B072-4DC356B58258', 'type' => 'string', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'example' => 'UnknownError', 'type' => 'string', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'example' => 'UnknownError', 'type' => 'string', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'example' => 'true', 'type' => 'boolean', 'title' => ''], + 'Task' => [ + 'description' => 'The task node.'."\n", + 'properties' => [ + 'DagId' => ['description' => 'The ID of the task flow to which the node belongs.'."\n", 'example' => '7321', 'format' => 'int64', 'type' => 'integer', 'title' => ''], + 'NodeName' => ['description' => 'The name of the node.'."\n", 'example' => '跨库Spark SQL-1', 'type' => 'string', 'title' => ''], + 'NodeType' => ['description' => 'The type of the node. For more information about the valid values for this parameter, see [NodeType parameter](~~424705~~).'."\n", 'example' => 'SPARK_SQL', 'type' => 'string', 'title' => ''], + 'NodeContent' => ['description' => 'The configuration for the node.'."\n", 'example' => '{\\"dbList\\":[{\\"instanceId\\":177****}" }', 'type' => 'string', 'title' => ''], + 'TimeVariables' => ['description' => 'The time variables configured for the node.'."\n", 'example' => '{\\"variables\\":[{\\"name\\":\\"Today\\",\\"pattern\\":\\"yyyy-MM-dd|+1d\\"}]}', 'type' => 'string', 'title' => ''], + 'NodeConfig' => ['description' => 'The advanced configuration for the node.'."\n", 'example' => '{\\"dbId\\":39****,\\"dbType\\":\\"mysql\\",\\"locale\\":\\"zh\\",\\"sql\\":\\"/* 请确认以下SQL符合您的变更需求,务必确认无误后再提交执行 */\\\\n\\\\nCREATE TABLE IF NOT EXISTS `momo_weekGather` (\\\\n\\\\t`id` bigint AUTO_INCREMENT DEFAULT \'0\',\\\\n\\\\t`age` bit NULL,\\\\n\\\\t`action` varchar(150) NULL,\\\\n\\\\t`elapse_time` datetime NULL,\\\\n\\\\tPRIMARY KEY (`id`)\\\\n) ENGINE=InnoDB\\\\nDEFAULT CHARACTER SET=utf8;\\"}', 'type' => 'string', 'title' => ''], + 'NodeOutput' => ['description' => 'The output variables for the node. This parameter is available only for some types of nodes.'."\n", 'example' => '{ "outputs":[ "extractMethod":"json" , "variableName":"var", "description":"demo desc" } ] }', 'type' => 'string', 'title' => ''], + 'GraphParam' => ['description' => 'The position of the node on the Directed Acyclic Graph (DAG).'."\n", 'example' => '{"{\\"x\\":0,\\"y\\":0,\\"layoutType\\":\\"Horizontal\\"}", "id": 51***}', 'type' => 'string', 'title' => ''], + ], + 'type' => 'object', + 'title' => '', + 'example' => '', ], ], + 'type' => 'object', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RequestId>FE8EE2F1-4880-46BC-A704-5CF63EAF9A04</RequestId>\\n<Success>true</Success>","errorExample":""}]', - 'title' => 'ExecuteDataExport', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetDataExportPreCheckDetail' => [ - 'summary' => 'Queries the precheck details of an SQL result set export ticket.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7838266C-E17B-58F4-B072-4DC356B58258\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Task\\": {\\n \\"DagId\\": 7321,\\n \\"NodeName\\": \\"跨库Spark SQL-1\\",\\n \\"NodeType\\": \\"SPARK_SQL\\",\\n \\"NodeContent\\": \\"{\\\\\\\\\\\\\\"dbList\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":177****}\\\\\\" }\\",\\n \\"TimeVariables\\": \\"{\\\\\\\\\\\\\\"variables\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Today\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pattern\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"yyyy-MM-dd|+1d\\\\\\\\\\\\\\"}]}\\",\\n \\"NodeConfig\\": \\"{\\\\\\\\\\\\\\"dbId\\\\\\\\\\\\\\":39****,\\\\\\\\\\\\\\"dbType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"mysql\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"locale\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"zh\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sql\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/* 请确认以下SQL符合您的变更需求,务必确认无误后再提交执行 */\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\nCREATE TABLE IF NOT EXISTS `momo_weekGather` (\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`id` bigint AUTO_INCREMENT DEFAULT \'0\',\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`age` bit NULL,\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`action` varchar(150) NULL,\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`elapse_time` datetime NULL,\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\tPRIMARY KEY (`id`)\\\\\\\\\\\\\\\\n) ENGINE=InnoDB\\\\\\\\\\\\\\\\nDEFAULT CHARACTER SET=utf8;\\\\\\\\\\\\\\"}\\",\\n \\"NodeOutput\\": \\"{ \\\\\\"outputs\\\\\\":[ \\\\\\"extractMethod\\\\\\":\\\\\\"json\\\\\\" , \\\\\\"variableName\\\\\\":\\\\\\"var\\\\\\", \\\\\\"description\\\\\\":\\\\\\"demo desc\\\\\\" } ] }\\",\\n \\"GraphParam\\": \\"{\\\\\\"{\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"layoutType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Horizontal\\\\\\\\\\\\\\"}\\\\\\", \\\\\\"id\\\\\\": 51***}\\"\\n }\\n}","type":"json"},{"errorExample":"","example":"","type":"xml"}]', + 'title' => 'GetTask', + 'responseParamsDescription' => 'The value of TimeVariables is a JSON string. The following section provides an example of the TimeVariables value and describes the variables:'."\n" + ."\n" + .'```JSON'."\n" + .'{'."\n" + .' "variables":['."\n" + .' {'."\n" + .' "name":"var",// The name of the variable.'."\n" + .' /*'."\n" + .' Variable format'."\n" + .' As shown in the example, the date can have one or more offsets, including minutes (m), hours (h), days (d), weeks (w), months (M), or years (y). The offsets are optional, and you can specify the offsets in a different order than described here. '."\n" + .' */'."\n" + .' "pattern":"yyyy-MM-dd|+0d" '."\n" + .' },'."\n" + .' {'."\n" + .' "name":"test",'."\n" + .' "pattern":"yyyy-MM-dd|+0d"'."\n" + .' }'."\n" + .' ]'."\n" + .'}'."\n" + .'```'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + ], + 'GetTaskFlowGraph' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -25840,31 +18732,19 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '34****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15***', 'title' => ''], ], ], 'responses' => [ @@ -25872,86 +18752,118 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C1D39814-9808-47F8-AFE0-AF167239AC9B', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'PreCheckResult' => [ - 'description' => 'Indicates the result of the precheck task.'."\n", + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'D9D91166-A626-5F4E-9CA6-7AB10C59DBD8', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TaskFlowGraph' => [ + 'description' => 'The list of DAG variables of the task flow.'."\n", 'type' => 'object', 'properties' => [ - 'IgnoreAffectRows' => [ - 'description' => 'Specifies whether to skip verification. Valid values:'."\n" - ."\n" - .'- true'."\n" - .'- false', - 'type' => 'boolean', - 'example' => 'true', + 'DagName' => ['description' => 'The name of the task flow.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Nodes' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Node' => [ + 'description' => 'The node list of the task flow.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DagId' => ['description' => 'The ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '15***', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the node.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '44***', 'title' => ''], + 'NodeName' => ['description' => 'The name of the node.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'NodeType' => ['description' => 'The type of the node. For more information about the valid values for this parameter, see [NodeType parameter](~~424705~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => 'NORMAL_SQL', 'title' => ''], + 'NodeContent' => ['description' => 'The configuration of the node.'."\n", 'type' => 'string', 'example' => '{ODI3OTNRVC****UHVFT29"}', 'title' => ''], + 'TimeVariables' => ['description' => 'The time variables for the node.'."\n", 'type' => 'string', 'example' => '{\\"variables\\":[{\\"name\\":\\"Today\\",\\"pattern\\":\\"yyyy-MM-dd|+1d\\"}]}', 'title' => ''], + 'NodeConfig' => ['description' => 'The advanced configuration of the node.'."\n", 'type' => 'string', 'example' => '{\\"dbId\\":39****,\\"dbType\\":\\"mysql\\",\\"locale\\":\\"zh\\",\\"sql\\":\\"/* 请确认以下SQL符合您的变更需求,务必确认无误后再提交执行 */\\\\n\\\\nCREATE TABLE IF NOT EXISTS `momo_weekGather` (\\\\n\\\\t`id` bigint AUTO_INCREMENT DEFAULT \'0\',\\\\n\\\\t`age` bit NULL,\\\\n\\\\t`action` varchar(150) NULL,\\\\n\\\\t`elapse_time` datetime NULL,\\\\n\\\\tPRIMARY KEY (`id`)\\\\n) ENGINE=InnoDB\\\\nDEFAULT CHARACTER SET=utf8;\\"}', 'title' => ''], + 'GraphParam' => ['description' => 'The position of the node in the DAG.'."\n", 'type' => 'string', 'example' => '{\\"x\\":541,\\"y\\":322,\\"layoutType\\":\\"Horizontal\\"}', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'PreCheckDetailList' => [ + 'Edges' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'PreCheckDetailList' => [ - 'description' => 'The list of pre-check details.', + 'Edge' => [ + 'description' => 'The list of task flow edges.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'AffectRows' => [ - 'description' => 'The estimated number of data rows to be affected.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'SQL' => [ - 'description' => 'The SQL statement.'."\n", - 'type' => 'string', - 'example' => 'SELECT * FROM tmp_table LIMIT 1', - ], + 'DagId' => ['description' => 'The ID of the task flow.', 'type' => 'integer', 'format' => 'int64', 'example' => '15***', 'title' => ''], + 'Id' => ['description' => 'The ID of the task flow edge.', 'type' => 'integer', 'format' => 'int64', 'example' => '24***', 'title' => ''], + 'NodeEnd' => ['description' => 'The ID of the end node on the edge.', 'type' => 'integer', 'format' => 'int64', 'example' => '44***', 'title' => ''], + 'NodeFrom' => ['description' => 'The ID of the start node on the edge.', 'type' => 'integer', 'format' => 'int64', 'example' => '44***', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'Status' => ['description' => 'The status of the task flow. Valid values:'."\n" + ."\n" + .'- **0**: invalid'."\n" + .'- **1**: not scheduled'."\n" + .'- **2**: to be scheduled', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'CanEdit' => ['description' => 'Indicates whether the task flow is editable. Valid values:'."\n" + ."\n" + .'- **true**: editable'."\n" + .'- **false**: non-editable', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C1D39814-9808-47F8-AFE0-AF167239AC9B\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"PreCheckResult\\": {\\n \\"IgnoreAffectRows\\": true,\\n \\"PreCheckDetailList\\": {\\n \\"PreCheckDetailList\\": [\\n {\\n \\"AffectRows\\": 1,\\n \\"SQL\\": \\"SELECT * FROM tmp_table LIMIT 1\\"\\n }\\n ]\\n }\\n },\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'GetDataExportPreCheckDetail', - ], - 'GetDataExportDownloadURL' => [ - 'summary' => 'Queries the download URL of export results for a data export ticket.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetTaskFlowGraph', + 'summary' => 'Queries the Directed Acyclic Graph (DAG) of a task flow.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTaskFlowGraph', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D9D91166-A626-5F4E-9CA6-7AB10C59DBD8\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TaskFlowGraph\\": {\\n \\"DagName\\": \\"test\\",\\n \\"Nodes\\": {\\n \\"Node\\": [\\n {\\n \\"DagId\\": 0,\\n \\"NodeId\\": 0,\\n \\"NodeName\\": \\"test\\",\\n \\"NodeType\\": 0,\\n \\"NodeContent\\": \\"{ODI3OTNRVC****UHVFT29\\\\\\"}\\",\\n \\"TimeVariables\\": \\"{\\\\\\\\\\\\\\"variables\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Today\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pattern\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"yyyy-MM-dd|+1d\\\\\\\\\\\\\\"}]}\\",\\n \\"NodeConfig\\": \\"{\\\\\\\\\\\\\\"dbId\\\\\\\\\\\\\\":39****,\\\\\\\\\\\\\\"dbType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"mysql\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"locale\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"zh\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sql\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/* 请确认以下SQL符合您的变更需求,务必确认无误后再提交执行 */\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\nCREATE TABLE IF NOT EXISTS `momo_weekGather` (\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`id` bigint AUTO_INCREMENT DEFAULT \'0\',\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`age` bit NULL,\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`action` varchar(150) NULL,\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`elapse_time` datetime NULL,\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\tPRIMARY KEY (`id`)\\\\\\\\\\\\\\\\n) ENGINE=InnoDB\\\\\\\\\\\\\\\\nDEFAULT CHARACTER SET=utf8;\\\\\\\\\\\\\\"}\\",\\n \\"GraphParam\\": \\"{\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":541,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":322,\\\\\\\\\\\\\\"layoutType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Horizontal\\\\\\\\\\\\\\"}\\"\\n }\\n ]\\n },\\n \\"Edges\\": {\\n \\"Edge\\": [\\n {\\n \\"DagId\\": 0,\\n \\"Id\\": 0,\\n \\"NodeEnd\\": 0,\\n \\"NodeFrom\\": 0\\n }\\n ]\\n },\\n \\"Status\\": 2,\\n \\"CanEdit\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTaskFlowGraphResponse>\\n <RequestId>D9D91166-A626-5F4E-9CA6-7AB10C59DBD8</RequestId>\\n <TaskFlowGraph>\\n <Status>2</Status>\\n <DagName>testSpark</DagName>\\n <CanEdit>true</CanEdit>\\n <Edges>\\n </Edges>\\n <Nodes>\\n <Node>\\n <NodeName>Lindorm Spark-1</NodeName>\\n <TimeVariables>{\\"variables\\":[{\\"name\\":\\"my_bizdate\\",\\"pattern\\":\\"yyyy-MM-dd|+6d\\"}]}</TimeVariables>\\n <NodeType>LINDORM_SPARK</NodeType>\\n <NodeId>44***</NodeId>\\n <DagId>15***</DagId>\\n <NodeContent>ODI3OTNRVC****UHVFT29</NodeContent>\\n <GraphParam>{\\"x\\":254,\\"y\\":239,\\"layoutType\\":\\"Horizontal\\"}</GraphParam>\\n </Node>\\n <Node>\\n <NodeName>Lindorm Spark-2</NodeName>\\n <NodeType>LINDORM_SPARK</NodeType>\\n <NodeId>44***</NodeId>\\n <DagId>15***</DagId>\\n <GraphParam>{\\"x\\":538,\\"y\\":161,\\"layoutType\\":\\"Horizontal\\"}</GraphParam>\\n </Node>\\n <Node>\\n <NodeName>Lindorm Spark-3</NodeName>\\n <NodeType>LINDORM_SPARK</NodeType>\\n <NodeId>44***</NodeId>\\n <DagId>15***</DagId>\\n <GraphParam>{\\"x\\":541,\\"y\\":322,\\"layoutType\\":\\"Horizontal\\"}</GraphParam>\\n </Node>\\n </Nodes>\\n </TaskFlowGraph>\\n <Success>true</Success>\\n</GetTaskFlowGraphResponse>","errorExample":""}]', + ], + 'GetTaskFlowNotification' => [ + 'summary' => 'Queries the notification settings for task flows.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -25959,49 +18871,19 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '12558', - 'abilityTreeNodes' => [ - 'FEATUREdmsPWN318', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], - ], - [ - 'name' => 'OrderId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '546****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account that is used to call the API operation.', - 'type' => 'string', - 'required' => false, - 'example' => '21400447956867****', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15***', 'title' => ''], ], ], 'responses' => [ @@ -26009,74 +18891,61 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DownloadURLResult' => [ - 'description' => 'The details of the download URL of the file that records the export results for the ticket.'."\n", + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'F19D575F-EBEA-5683-AFA3-A8F6D9A7DE03', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Notification' => [ + 'description' => 'The notification settings specified by the user.'."\n", 'type' => 'object', 'properties' => [ - 'HasResult' => [ - 'description' => 'Indicates whether export results are available for download. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TipMessage' => [ - 'description' => 'The message that indicates an exception.'."\n", - 'type' => 'string', - 'example' => 'tip message', - ], - 'URL' => [ - 'description' => 'The download URL of the file that records the export results for the ticket.'."\n", - 'type' => 'string', - 'example' => 'https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip', - ], + 'DagNotificationFail' => ['description' => 'Indicates whether notifications for failed task flows are enabled. Valid values:'."\n" + ."\n" + .'* **true**: enabled'."\n" + .'* **false**: disabled'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DagNotificationSuccess' => ['description' => 'Indicates whether notifications for successful task flows are enabled. Valid values:'."\n" + ."\n" + .'* **true**: enabled'."\n" + .'* **false**: disabled'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DagNotificationSla' => ['description' => 'Indicates whether service level agreement (SLA) global notifications for task flows are enabled. Valid values:'."\n" + ."\n" + .'* **true**: enabled'."\n" + .'* **false**: disabled'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4BF24EA5-9013-4C85-AE68-6C23AF5E0097', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DownloadURLResult\\": {\\n \\"HasResult\\": true,\\n \\"TipMessage\\": \\"tip message\\",\\n \\"URL\\": \\"https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip\\"\\n },\\n \\"RequestId\\": \\"4BF24EA5-9013-4C85-AE68-6C23AF5E0097\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetDataExportDownloadURLResponse>\\n <DownloadURLResult>\\n <URL>https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip</URL>\\n <HasResult>true</HasResult>\\n </DownloadURLResult>\\n <RequestId>4BF24EA5-9013-4C85-AE68-6C23AF5E0097</RequestId>\\n <Success>true</Success>\\n</GetDataExportDownloadURLResponse>","errorExample":""}]', - 'title' => 'GetDataExportDownloadURL', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetDatabaseExportOrderDetail' => [ - 'summary' => 'Queries the details of a database export ticket.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetTaskFlowNotification', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTaskFlowNotification', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F19D575F-EBEA-5683-AFA3-A8F6D9A7DE03\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Notification\\": {\\n \\"DagNotificationFail\\": true,\\n \\"DagNotificationSuccess\\": true,\\n \\"DagNotificationSla\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTaskFlowNotificationResponse>\\n <RequestId>F19D575F-EBEA-5683-AFA3-A8F6D9A7DE03</RequestId>\\n <Success>true</Success>\\n <Notification>\\n <DagNotificationSuccess>true</DagNotificationSuccess>\\n <DagNotificationSla>true</DagNotificationSla>\\n <DagNotificationFail>true</DagNotificationFail>\\n </Notification>\\n</GetTaskFlowNotificationResponse>","errorExample":""}]', + ], + 'GetTaskInstanceRelation' => [ + 'summary' => 'Queries the task nodes of a task flow instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26086,33 +18955,25 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', 'title' => ''], ], [ - 'name' => 'OrderId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '821****', - ], + 'name' => 'DagInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the execution record of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to obtain the execution record ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '47****', 'title' => ''], + ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -26120,200 +18981,79 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'CFD8FE00-36D9-4C1B-940D-65A7B73D9066', - ], - 'DatabaseExportOrderDetail' => [ - 'description' => 'The details of the database export ticket.'."\n", + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '028BF827-3801-5869-8548-F4A039256304', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'NodeList' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'Id' => [ - 'description' => 'The ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '821****', - ], - 'Committer' => [ - 'description' => 'The user who submitted the ticket.'."\n", - 'type' => 'string', - 'example' => 'dmsuser', - ], - 'CommitterId' => [ - 'description' => 'The ID of the user who submitted the ticket. This ID is a user ID and is not the ID of an Alibaba Cloud account.'."\n", - 'type' => 'string', - 'example' => '12***', - ], - 'Comment' => [ - 'description' => 'The business background information of the database export ticket.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'test@xxx.xxx.xxx.xxx:3306', - ], - 'StatusDesc' => [ - 'description' => 'The status description of the ticket.'."\n", - 'type' => 'string', - 'example' => 'ticket approval', - ], - 'WorkflowStatusDesc' => [ - 'description' => 'The status description of the workflow.'."\n", - 'type' => 'string', - 'example' => 'ticket approval', - ], - 'KeyInfo' => [ - 'description' => 'The key information about the ticket.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The database ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2583****', - ], - 'DownloadURL' => [ - 'description' => 'The URL that is used to download the export result.'."\n", - 'type' => 'string', - 'example' => 'https://oss.xxx.com', - ], - 'AuditDate' => [ - 'description' => 'The time when the ticket was submitted.'."\n", - 'type' => 'string', - 'example' => '2023-04-13 13:44:59', - ], - 'Config' => [ - 'description' => 'The configuration information about the ticket.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbName' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'example' => 'dmstest', - ], - 'ExportContent' => [ - 'description' => 'The type of data that was exported. Valid values:'."\n" - ."\n" - .'* **DATA**: The data of the database was exported.'."\n" - .'* **STRUCT**: The schema of the database was exported.'."\n" - .'* **DATA_STRUCT**: The data and schema of the database were exported.'."\n", - 'type' => 'string', - 'example' => 'DATA', - ], - 'TargetOption' => [ - 'description' => 'The format in which the database was exported. Valid values:'."\n" - ."\n" - .'* **SQL**'."\n" - .'* **CSV**'."\n" - .'* **XLSX**'."\n", - 'type' => 'string', - 'example' => 'SQL', - ], - 'ExportTypes' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'ExportTypes' => [ - 'description' => 'The type of schema that was exported.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Valid values:'."\n" - ."\n" - .'* **PROCEDURE**'."\n" - .'* **FUNCTION**'."\n" - .'* **TRIGGER**'."\n" - .'* **VIEW**'."\n" - .'* **EVENT**'."\n", - 'type' => 'string', - 'example' => 'PROCEDURE', - ], - ], - ], - ], - 'SelectedTables' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SelectedTables' => [ - 'description' => 'The tables that were exported from the database.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The table name.'."\n", - 'type' => 'string', - 'example' => 'user_test', - ], - ], - ], - ], - 'SQLExtOption' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SQLExtOption' => [ - 'description' => 'The extension options of the SQL script.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Valid values:'."\n" - ."\n" - .'* **DROP**: A DROP TABLE statement is generated before the CREATE statement.'."\n" - .'* **TRUNCATE**: A TRUNCATE TABLE statement is generated before an INSERT statement.'."\n" - .'* **COMPRESS**: The values to be inserted by an INSERT statement is compressed to 5 MB.'."\n", - 'type' => 'string', - 'example' => 'DROP', - ], - ], - ], - ], - ], + 'Node' => [ + 'description' => 'The information about the nodes in the execution record of the task flow.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the execution record of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '14059', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the node.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '14059', 'title' => ''], + 'NodeName' => ['description' => 'The name of the node.'."\n", 'type' => 'string', 'example' => 'Spark SQL-1', 'title' => ''], + 'NodeType' => ['description' => 'The type of the node. For more information about the valid values for this parameter, see [NodeType parameter](~~424705~~).'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => 'SPARK_SQL', 'title' => ''], + 'BusinessTime' => ['description' => 'The business time of the node.'."\n", 'type' => 'string', 'example' => '2021-11-09 14:37:26', 'title' => ''], + 'Status' => ['description' => 'The status of the node. Valid values:'."\n" + ."\n" + .'* **0**: The node is waiting to be scheduled.'."\n" + .'* **1**: The node is running.'."\n" + .'* **2**: The node is suspended.'."\n" + .'* **3**: The node failed to run.'."\n" + .'* **4**: The node is run.'."\n" + .'* **5**: The node is complete.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'Message' => ['description' => 'The description of the task.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'ExecuteTime' => ['description' => 'The amount of time consumed for running the node. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '170655', 'title' => ''], + 'EndTime' => ['description' => 'The time when the execution of the task flow was complete. The time is displayed in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'example' => '2021-11-11 14:38:57', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'Log' => [ - 'description' => 'The execution logs.'."\n", - 'type' => 'string', - 'example' => '2023-04-12 14:58:32:015 Database Dump Start.'."\n" - .'2023-04-12 14:58:32:096 set server side query timeout, sql : set max_execution_time = 0', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'GetTaskInstanceRelation', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTaskInstanceRelation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CFD8FE00-36D9-4C1B-940D-65A7B73D9066\\",\\n \\"DatabaseExportOrderDetail\\": {\\n \\"Id\\": 0,\\n \\"Committer\\": \\"dmsuser\\",\\n \\"CommitterId\\": \\"12***\\",\\n \\"Comment\\": \\"测试\\",\\n \\"SearchName\\": \\"test@xxx.xxx.xxx.xxx:3306\\",\\n \\"StatusDesc\\": \\"工单审批中。\\",\\n \\"WorkflowStatusDesc\\": \\"工单审批中。\\",\\n \\"KeyInfo\\": {\\n \\"DbId\\": 0,\\n \\"DownloadURL\\": \\"https://oss.xxx.com\\",\\n \\"AuditDate\\": \\"2023-04-13 13:44:59\\",\\n \\"Config\\": {\\n \\"DbName\\": \\"dmstest\\",\\n \\"ExportContent\\": \\"DATA\\",\\n \\"TargetOption\\": \\"SQL\\",\\n \\"ExportTypes\\": {\\n \\"ExportTypes\\": [\\n \\"PROCEDURE\\"\\n ]\\n },\\n \\"SelectedTables\\": {\\n \\"SelectedTables\\": [\\n \\"user_test\\"\\n ]\\n },\\n \\"SQLExtOption\\": {\\n \\"SQLExtOption\\": [\\n \\"DROP\\"\\n ]\\n }\\n }\\n },\\n \\"Log\\": \\"2023-04-12 14:58:32:015 Database Dump Start.\\\\n2023-04-12 14:58:32:096 set server side query timeout, sql : set max_execution_time = 0\\"\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'GetDatabaseExportOrderDetail', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"028BF827-3801-5869-8548-F4A039256304\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"NodeList\\": {\\n \\"Node\\": [\\n {\\n \\"Id\\": 14059,\\n \\"NodeId\\": 14059,\\n \\"NodeName\\": \\"Spark SQL-1\\",\\n \\"NodeType\\": 0,\\n \\"BusinessTime\\": \\"2021-11-09 14:37:26\\",\\n \\"Status\\": 4,\\n \\"Message\\": \\"test\\",\\n \\"ExecuteTime\\": 170655,\\n \\"EndTime\\": \\"2021-11-11 14:38:57\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTaskInstanceRelationResponse>\\n <RequestId>028BF827-3801-5869-8548-F4A039256304</RequestId>\\n <Success>true</Success>\\n <NodeList>\\n <Id>14059</Id>\\n <NodeId>14059</NodeId>\\n <NodeName>Spark SQL-1</NodeName>\\n <NodeType>36</NodeType>\\n <BusinessTime>2021-11-09 14:37:26</BusinessTime>\\n <Status>4</Status>\\n <Message>test</Message>\\n <ExecuteTime>170655</ExecuteTime>\\n <EndTime>2021-11-11 14:38:57</EndTime>\\n </NodeList>\\n</GetTaskInstanceRelationResponse>","errorExample":""}]', ], - 'GetDataExportOrderDetail' => [ - 'summary' => 'Queries the information about a data export ticket.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetUser' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26321,39 +19061,22 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '12559', - 'abilityTreeNodes' => [ - 'FEATUREdmsPWN318', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'OrderId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ticket ID. You can call the [ListOrders](~~465867~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '123456', - ], + 'name' => 'Uid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the Alibaba Cloud account. You can view your UID by moving the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console.'."\n", 'type' => 'string', 'required' => false, 'example' => '22973492647626****', 'title' => ''], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the user. You can call the [ListUsers](~~141938~~) operation to query the ID of the user.'."\n", 'type' => 'string', 'required' => false, 'example' => '51****', 'title' => ''], ], ], 'responses' => [ @@ -26361,147 +19084,152 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', - ], - 'DataExportOrderDetail' => [ - 'description' => 'The information about the data export ticket.'."\n", + 'User' => [ + 'description' => 'The information about the user.'."\n", 'type' => 'object', 'properties' => [ - 'KeyInfo' => [ - 'description' => 'The status information.'."\n", + 'State' => ['description' => 'The status of the user. Valid values:'."\n" + ."\n" + .'* **NORMAL**: The user is normal.'."\n" + .'* **DISABLE**: The user is disabled.'."\n" + .'* **DELETE**: The user is deleted.'."\n", 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], + 'CurResultCount' => ['description' => 'The number of rows that are queried on the current day.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '28', 'title' => ''], + 'UserId' => ['description' => 'The ID of the user.'."\n", 'type' => 'string', 'example' => '51****', 'title' => ''], + 'LastLoginTime' => ['description' => 'The last point in time when the user logged on to the console.'."\n", 'type' => 'string', 'example' => '2021-11-08 11:26:21', 'title' => ''], + 'MaxResultCount' => ['description' => 'The maximum number of rows that can be queried on the current day.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''], + 'ParentUid' => ['description' => 'The UID of the Alibaba Cloud account of the user.'."\n" + ."\n" + .'> An Alibaba Cloud account can contain one or more RAM users.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '140692647406****', 'title' => ''], + 'RoleIdList' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'PreCheckId' => [ - 'description' => 'The precheck ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'JobStatus' => [ - 'description' => 'The state of the data export ticket. Valid values:'."\n" + 'RoleIds' => [ + 'description' => 'The list of role IDs.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the role that is assigned to the user. Valid values:'."\n" ."\n" - .'* **PRE_CHECKING**: The ticket was being prechecked.'."\n" - .'* **PRE_CHECK_SUCCESS**: The ticket passed the precheck.'."\n" - .'* **PRE_CHECK_FAIL**: The ticket failed to pass the prechecked.'."\n" - .'* **WAITING_APPLY_AUDIT**: The ticket was to be submitted for approval.'."\n" - .'* **APPLY_AUDIT_SUCCESS**: The ticket was submitted for approval.'."\n" - .'* **ENABLE_EXPORT**: The ticket was approved. Data can be exported.'."\n" - .'* **WAITING_EXPORT**: Data was to be scheduled for export.'."\n" - .'* **DOING_EXPORT**: Data was being exported.'."\n" - .'* **EXPORT_FAIL**: Data failed to be exported.'."\n" - .'* **EXPORT_SUCCESS**: Data was exported.'."\n", - 'type' => 'string', - 'example' => 'EXPORT_SUCCESS', - ], - 'JobId' => [ - 'description' => 'Export task ID.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1385****', + .'* **1**: a regular user role.'."\n" + .'* **2**: a database administrator (DBA) role.'."\n" + .'* **3**: a DMS administrator role.'."\n" + .'* **4**: a security administrator role.'."\n" + .'* **6**: a schema read-only user role.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'OrderDetail' => [ - 'description' => 'The details of the ticket.'."\n", + 'RoleNameList' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database from which data was exported.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '123', - ], - 'Database' => [ - 'description' => 'The name of the database from which data was exported.'."\n", - 'type' => 'string', - 'example' => 'xxx@xxx:3306', - ], - 'Classify' => [ - 'description' => 'The category of the reason for the data export.'."\n", - 'type' => 'string', - 'example' => 'text', - ], - 'ExeSQL' => [ - 'description' => 'The SQL statement that was executed to export data.'."\n", - 'type' => 'string', - 'example' => 'select 1', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ActualAffectRows' => [ - 'description' => 'The number of rows that were affected by the SQL statement.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'IgnoreAffectRows' => [ - 'description' => 'Indicates whether the affected rows are skipped.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'IgnoreAffectRowsReason' => [ - 'description' => 'The reason why the affected rows are skipped.'."\n", - 'type' => 'string', - 'example' => 'empty', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database belongs.'."\n", - 'type' => 'string', - 'example' => 'test', + 'RoleNames' => [ + 'description' => 'The list of role names.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The name of the role that is assigned to the user. Valid values:'."\n" + ."\n" + .'* **USER**: a regular user.'."\n" + .'* **DBA** : a DBA.'."\n" + .'* **ADMIN**: a DMS administrator.'."\n" + .'* **SECURITY_ADMIN**: a security administrator.'."\n" + .'* **STRUCT_READ_ONLY**: a schema read-only user.'."\n", 'type' => 'string', 'example' => 'USER', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'NickName' => ['description' => 'The nickname of the user.'."\n", 'type' => 'string', 'example' => 'User_NickName', 'title' => ''], + 'MaxExecuteCount' => ['description' => 'The maximum number of queries that can be performed on the current day.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2000', 'title' => ''], + 'CurExecuteCount' => ['description' => 'The number of queries that are performed on the current day.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'Mobile' => ['description' => 'The mobile number of the user.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The system returns this parameter if the user has set a mobile phone number in the console. To set a mobile phone number in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to **Notice**.'."\n" + ."\n" + .'* The system does not return this parameter if the user has not set a mobile phone number.'."\n", 'type' => 'string', 'example' => '1389223****', 'title' => ''], + 'Uid' => ['description' => 'The UID of the user.'."\n", 'type' => 'string', 'example' => '22275482072787****', 'title' => ''], + 'Email' => ['description' => 'The email address that is used to receive notifications.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The system returns this parameter if the user has set an email address in the console. To set an email address in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to **Notice**.'."\n" + ."\n" + .'* The system does not return this parameter if the user has not set an email address.'."\n", 'type' => 'string', 'example' => 'Uesr_email', 'title' => ''], + 'DingRobot' => ['description' => 'The DingTalk chatbot URL that is used to receive notifications.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The system returns this parameter if the user has set a DingTalk chatbot URL in the console. To set a DingTalk chatbot URL in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to **Notice**.'."\n" + ."\n" + .'* The system does not return this parameter if the user has not set a DingTalk chatbot URL.'."\n", 'type' => 'string', 'example' => 'https://XXX.dingtalk.com/robot/send?access_token=***', 'title' => ''], + 'Webhook' => ['description' => 'The webhook URL that is used to receive notifications.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If the user has set a webhook URL, DMS sends notifications to the specified URL.'."\n" + ."\n" + .'* The system does not return this parameter if the user has not set a webhook URL.'."\n", 'type' => 'string', 'example' => 'http://dms-XXX.aliyun.com:8***', 'title' => ''], + 'SignatureMethod' => ['description' => 'The signature method that is used to secure connections when a webhook URL is used. Valid values:'."\n" + ."\n" + .'* **NONE**: no signature.'."\n" + .'* **HMAC_SHA1**: HMAC_SHA1.'."\n", 'type' => 'string', 'example' => 'NONE', 'title' => ''], + 'NotificationMode' => ['description' => 'The notification method. The system returns one or more values. Valid values:'."\n" + ."\n" + .'* **SMS**: text message'."\n" + .'* **EMAIL**: email.'."\n" + .'* **DINGDING**: DingTalk.'."\n" + .'* **DINGROBOT**: DingTalk chatbot.'."\n" + .'* **WEBHOOK**: webhook.'."\n", 'type' => 'string', 'example' => 'EMAIL', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values: Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '804BB128-CAFA-5DD0-BA1E-43DDE488****', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'Unknown server error', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"DataExportOrderDetail\\": {\\n \\"KeyInfo\\": {\\n \\"PreCheckId\\": 0,\\n \\"JobStatus\\": \\"EXPORT_SUCCESS\\",\\n \\"JobId\\": 0\\n },\\n \\"OrderDetail\\": {\\n \\"DbId\\": 0,\\n \\"Database\\": \\"xxx@xxx:3306\\",\\n \\"Classify\\": \\"text\\",\\n \\"ExeSQL\\": \\"SELECT * FROM DMS_test\\\\n LIMIT 20;\\",\\n \\"Logic\\": false,\\n \\"ActualAffectRows\\": 1,\\n \\"IgnoreAffectRows\\": false,\\n \\"IgnoreAffectRowsReason\\": \\"empty\\",\\n \\"EnvType\\": \\"test\\"\\n }\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DataExportOrderDetail>\\n <KeyInfo>\\n <PreCheckId>15544</PreCheckId>\\n <JobStatus>EXPORT_SUCCESS</JobStatus>\\n </KeyInfo>\\n <OrderDetail>\\n <Logic>false</Logic>\\n <ActualAffectRows>1</ActualAffectRows>\\n <ExeSQL>select 1;</ExeSQL>\\n <Database>yuyang_test@xxx:3306【yuyang_test_xxx】杭州 非单元化</Database>\\n <IgnoreAffectRows>false</IgnoreAffectRows>\\n <DbId>116367</DbId>\\n <Classify>测试</Classify>\\n <EnvType>product</EnvType>\\n </OrderDetail>\\n</DataExportOrderDetail>\\n<RequestId>78C93646-D9B1-4E6E-B5FD-C69F94A7905A</RequestId>\\n<Success>true</Success>","errorExample":""}]', - 'title' => 'GetDataExportOrderDetail', + 'title' => 'GetUser', + 'summary' => 'Queries the information about a user.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetDbExportDownloadURL' => [ - 'summary' => 'Queries the download URL of the results of a database export ticket.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetUser', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"User\\": {\\n \\"State\\": \\"NORMAL\\",\\n \\"CurResultCount\\": 28,\\n \\"UserId\\": \\"51****\\",\\n \\"LastLoginTime\\": \\"2021-11-08 11:26:21\\",\\n \\"MaxResultCount\\": 10000,\\n \\"ParentUid\\": 0,\\n \\"RoleIdList\\": {\\n \\"RoleIds\\": [\\n 1\\n ]\\n },\\n \\"RoleNameList\\": {\\n \\"RoleNames\\": [\\n \\"USER\\"\\n ]\\n },\\n \\"NickName\\": \\"User_NickName\\",\\n \\"MaxExecuteCount\\": 2000,\\n \\"CurExecuteCount\\": 3,\\n \\"Mobile\\": \\"1389223****\\",\\n \\"Uid\\": \\"22275482072787****\\",\\n \\"Email\\": \\"Uesr_email\\",\\n \\"DingRobot\\": \\"https://XXX.dingtalk.com/robot/send?access_token=***\\",\\n \\"Webhook\\": \\"http://dms-XXX.aliyun.com:8***\\",\\n \\"SignatureMethod\\": \\"NONE\\",\\n \\"NotificationMode\\": \\"EMAIL\\"\\n },\\n \\"RequestId\\": \\"804BB128-CAFA-5DD0-BA1E-43DDE488****\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"Unknown server error\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetUserResponse>\\n <User>\\n <NotificationMode/>\\n <Email>Uesr_email</Email>\\n <RoleNameList>\\n <RoleNames>USER</RoleNames>\\n <RoleNames>ADMIN</RoleNames>\\n </RoleNameList>\\n <NickName>User_NickName</NickName>\\n <MaxExecuteCount>2000</MaxExecuteCount>\\n <CurResultCount>28</CurResultCount>\\n <LastLoginTime>2021-11-09 13:39:21</LastLoginTime>\\n <Uid>22275482072787****</Uid>\\n <RoleIdList>\\n <RoleIds>1</RoleIds>\\n <RoleIds>3</RoleIds>\\n </RoleIdList>\\n <MaxResultCount>10000</MaxResultCount>\\n <State>NORMAL</State>\\n <UserId>51****</UserId>\\n <CurExecuteCount>3</CurExecuteCount>\\n <ParentUid>140692647406****</ParentUid>\\n </User>\\n <RequestId>804BB128-CAFA-5DD0-BA1E-43DDE488****</RequestId>\\n <Success>true</Success>\\n</GetUserResponse>","errorExample":""}]', + ], + 'GetUserActiveTenant' => [ + 'summary' => 'Queries details of the active tenant.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26509,38 +19237,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsPWN318', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], - ], - [ - 'name' => 'OrderId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '73****', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -26548,271 +19250,246 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DownloadURLResult' => [ - 'description' => 'The download URL of the exported file.'."\n", + 'Tenant' => [ + 'description' => 'The details of the tenant.'."\n", 'type' => 'object', 'properties' => [ - 'HasResult' => [ - 'description' => 'Indicates whether export results are available for download. Valid values:'."\n" - ."\n" - .'* **true**: Export results are available for download.'."\n" - .'* **false**: No export results are available for download.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TipMessage' => [ - 'description' => 'The message that indicates an exception.'."\n", - 'type' => 'string', - 'example' => 'tip message', - ], - 'URL' => [ - 'description' => 'The download URL of the exported file.'."\n", - 'type' => 'string', - 'example' => 'https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip', - ], + 'Status' => ['description' => 'The status of the tenant. Valid values:'."\n" + ."\n" + .'* **ACTIVE**: The tenant is used to access DMS.'."\n" + .'* **IN_ACTIVE**: The tenant is not used.'."\n", 'type' => 'string', 'example' => 'ACTIVE', 'title' => ''], + 'Tid' => ['description' => 'The ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3***', 'title' => ''], + 'TenantName' => ['description' => 'The name of the tenant.'."\n", 'type' => 'string', 'example' => 'test_name', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request succeeded.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4B63CAC5-BD7F-5C7C-82C9-59DFFBC3C5C2', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'TenantNotExist', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'The specified tenant does not exist.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DownloadURLResult\\": {\\n \\"HasResult\\": true,\\n \\"TipMessage\\": \\"tip message\\",\\n \\"URL\\": \\"https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip\\"\\n },\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'GetDbExportDownloadURL', - ], - 'SuspendDataExportJob' => [ - 'summary' => 'Suspends an ongoing or scheduled SQL result set export task.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', + 'title' => 'GetUserActiveTenant', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetUserActiveTenant', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Tenant\\": {\\n \\"Status\\": \\"ACTIVE\\",\\n \\"Tid\\": 0,\\n \\"TenantName\\": \\"test_name\\"\\n },\\n \\"RequestId\\": \\"4B63CAC5-BD7F-5C7C-82C9-59DFFBC3C5C2\\",\\n \\"ErrorCode\\": \\"TenantNotExist\\",\\n \\"ErrorMessage\\": \\"The specified tenant does not exist.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetUserActiveTenantResponse>\\n <Tenant>\\n <Status>ACTIVE</Status>\\n <TenantName>test_name</TenantName>\\n <Tid>3***</Tid>\\n </Tenant>\\n <RequestId>4B63CAC5-BD7F-5C7C-82C9-59DFFBC3****</RequestId>\\n <Success>true</Success>\\n</GetUserActiveTenantResponse>","errorExample":""}]', + ], + 'GetUserUploadFileJob' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '245849', - 'abilityTreeNodes' => [ - 'FEATUREdmsPWN318', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], - ], - [ - 'name' => 'OrderId', + 'name' => 'JobKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '903****', - ], + 'schema' => ['description' => 'The key of the file upload task. The key is returned when you call the [CreateUploadFileJob](~~206059~~) or [CreateUploadOSSFileJob](~~206060~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => '65254a49100e', 'title' => ''], ], [ - 'name' => 'JobId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the SQL result set export task. You can call the [GetDataExportOrderDetail](~~465911~~) operation to obtain the value of this parameter. If you set this parameter to Null, no SQL result set export task is suspended.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1276****', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '-1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'BDEFE9F2-B3B4-42D0-83AE-ECF9FC067DCD'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'UploadFileJobDetail' => [ + 'description' => 'The details of the file upload task.'."\n", + 'type' => 'object', + 'properties' => [ + 'JobKey' => ['description' => 'The key of the file upload task.'."\n", 'type' => 'string', 'example' => '65254a4c1614235217749100e', 'title' => ''], + 'FileName' => ['description' => 'The name of the file.'."\n", 'type' => 'string', 'example' => 'test.sql', 'title' => ''], + 'FileSize' => ['description' => 'The size of the file. Unit: byte.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2968269', 'title' => ''], + 'FileSource' => ['description' => 'The purpose of the uploaded file. Valid values:'."\n" + ."\n" + .'* **datacorrect**: The file is uploaded to change data.'."\n" + .'* **order_info_attachment**: The file is uploaded as an attachment in a ticket.'."\n" + .'* **big-file**: The file is uploaded to import multiple data records at a time.'."\n" + .'* **sqlreview**: The file is uploaded for SQL review.'."\n", 'type' => 'string', 'example' => 'datacorrect', 'title' => ''], + 'UploadType' => ['description' => 'The method used to upload the file. Valid values:'."\n" + ."\n" + .'* **URL**'."\n" + .'* **OSS**'."\n", 'type' => 'string', 'example' => 'URL', 'title' => ''], + 'UploadURL' => ['description' => 'The URL of the file.'."\n" + ."\n" + .'> This parameter is returned if the value of **UploadType** is **URL**.'."\n", 'type' => 'string', 'example' => 'http://xxxx/test.sql', 'title' => ''], + 'UploadOSSParam' => [ + 'description' => 'The information about the Object Storage Service (OSS) bucket from which the file is uploaded.'."\n" + ."\n" + .'> This parameter is returned if the value of **UploadType** is **OSS**.'."\n", + 'type' => 'object', + 'properties' => [ + 'Endpoint' => ['description' => 'The endpoint of the OSS bucket.'."\n", 'type' => 'string', 'example' => 'http://oss-cn-hangzhou.aliyuncs.com', 'title' => ''], + 'BucketName' => ['description' => 'The name of the OSS bucket.'."\n", 'type' => 'string', 'example' => 'test_bucket', 'title' => ''], + 'ObjectName' => ['description' => 'The name of the OSS object.'."\n", 'type' => 'string', 'example' => 'test.sql', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'UploadedSize' => ['description' => 'The size of the uploaded file. Unit: byte.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2968269', 'title' => ''], + 'JobStatus' => ['description' => 'The status of the file upload task. Valid values:'."\n" + ."\n" + .'* **INIT**: The file upload task was initialized.'."\n" + .'* **PENDING**: The file upload task waited to be run.'."\n" + .'* **BE_SCHEDULED**: The file upload task waited to be scheduled.'."\n" + .'* **FAIL**: The file upload task failed.'."\n" + .'* **SUCCESS**: The file upload task was successful.'."\n" + .'* **RUNNING**: The file upload task was being run.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'JobStatusDesc' => ['description' => 'The information about the status of the file upload task.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], + 'AttachmentKey' => ['description' => 'The key of the file that is returned after the file is uploaded. You can use this key when you upload the file as an attachment in a ticket.'."\n", 'type' => 'string', 'example' => 'upload_3c7edea3-e4c3-4403-857d-737043036f69_test.sql', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'title' => 'GetUserUploadFileJob', + 'summary' => 'Obtains the information of a file upload task.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetUserUploadFileJob', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'SuspendDataExportJob', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BDEFE9F2-B3B4-42D0-83AE-ECF9FC067DCD\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"UploadFileJobDetail\\": {\\n \\"JobKey\\": \\"65254a4c1614235217749100e\\",\\n \\"FileName\\": \\"test.sql\\",\\n \\"FileSize\\": 2968269,\\n \\"FileSource\\": \\"datacorrect\\",\\n \\"UploadType\\": \\"URL\\",\\n \\"UploadURL\\": \\"http://xxxx/test.sql\\",\\n \\"UploadOSSParam\\": {\\n \\"Endpoint\\": \\"http://oss-cn-hangzhou.aliyuncs.com\\",\\n \\"BucketName\\": \\"test_bucket\\",\\n \\"ObjectName\\": \\"test.sql\\"\\n },\\n \\"UploadedSize\\": 2968269,\\n \\"JobStatus\\": \\"SUCCESS\\",\\n \\"JobStatusDesc\\": \\"success\\",\\n \\"AttachmentKey\\": \\"upload_3c7edea3-e4c3-4403-857d-737043036f69_test.sql\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetUserUploadFileJobResponse>\\n <RequestId>22FFF57C-6E85-4C3D-90AF-C1BFE79E1FAF</RequestId>\\n <UploadFileJobDetail>\\n <JobStatus>INIT</JobStatus>\\n <JobKey>7000005000007000009000000</JobKey>\\n <UploadURL>https://dbxxx.oss-cn-hangzhou.aliyuncs.com/dm/1.txt</UploadURL>\\n <UploadedSize>0</UploadedSize>\\n <JobStatusDesc/>\\n <FileSource>datacorrect</FileSource>\\n <FileName>1.txt</FileName>\\n <UploadType>URL</UploadType>\\n <FileSize>-1</FileSize>\\n </UploadFileJobDetail>\\n <Success>true</Success>\\n</GetUserUploadFileJobResponse>","errorExample":""}]', ], - 'PauseDataExportJob' => [ - 'summary' => 'Terminates a SQL result set export task.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetWorkspace' => [ + 'summary' => 'Queries the details of a workspace.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '245851', - 'abilityTreeNodes' => [ - 'FEATUREdmsPWN318', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], - ], - [ - 'name' => 'OrderId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '546****', - ], - ], - [ - 'name' => 'JobId', + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the SQL result set export task. You can call the [GetDataExportOrderDetail](~~465911~~) operation to obtain the value of this parameter. If you set this parameter to Null, no SQL result set export task is suspended.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1276****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the DMS workspace.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12****'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF****'], + 'Message' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Data' => [ + 'description' => 'The data returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'WorkspaceId' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '863020290155****', 'title' => ''], + 'WorkspaceName' => ['description' => 'The name of the workspace.'."\n", 'type' => 'string', 'example' => 'workspace_xxx', 'title' => ''], + 'Description' => ['description' => 'The description of the workspace.'."\n", 'type' => 'string', 'example' => 'Test', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region to which the workspace belongs.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'OwnerId' => ['description' => 'The owner ID.'."\n", 'type' => 'string', 'example' => '12345****', 'title' => ''], + 'ServiceAccountId' => ['description' => 'The ID of the service account.'."\n", 'type' => 'string', 'example' => '12345****', 'title' => ''], + 'Tid' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3322****', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID.'."\n", 'type' => 'string', 'example' => 'vpc-xxxx', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'PauseDataExportJob', - ], - 'RemoveDataExportJob' => [ - 'summary' => 'Deletes a data export task.', - 'methods' => [ - 'post', + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'WorkspaceNotExist', 'errorMessage' => 'The specified workspace not exist.', 'description' => 'The workspace does not exist.'], + ], ], - 'schemes' => [ - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetWorkspace', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF****\\",\\n \\"Message\\": \\"UnknownError\\",\\n \\"Data\\": {\\n \\"WorkspaceId\\": 0,\\n \\"WorkspaceName\\": \\"workspace_xxx\\",\\n \\"Description\\": \\"Test\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OwnerId\\": \\"12345****\\",\\n \\"ServiceAccountId\\": \\"12345****\\",\\n \\"Tid\\": 0,\\n \\"VpcId\\": \\"vpc-xxxx\\"\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GrantTemplateAuthority' => [ + 'summary' => 'Grants permissions on resources to users by using a permission template.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26820,100 +19497,82 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '245858', - 'abilityTreeNodes' => [ - 'FEATUREdmsPWN318', - ], - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1563', 'title' => ''], ], [ - 'name' => 'OrderId', + 'name' => 'UserIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '420****', - ], + 'schema' => ['description' => 'The IDs of users to which you want to grant permissions on resources by using the permission template.'."\n", 'type' => 'string', 'required' => true, 'example' => '[12***,34***,56***]', 'title' => ''], ], [ - 'name' => 'JobId', + 'name' => 'ExpireDate', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the SQL result set export task. You can call the [GetDataExportOrderDetail](~~465911~~) operation to obtain the value of this parameter. If you set this parameter to Null, no SQL result set export task is suspended.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1276****', - ], + 'schema' => ['description' => 'The time when the permission expires. Specify the time in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-03-08 17:58:53', 'title' => ''], + ], + [ + 'name' => 'Comment', + 'in' => 'query', + 'schema' => ['description' => 'The reason why you want to grant permissions on resources to the users by using the permission template.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Business test.', 'title' => ''], + ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID. You can use the request ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Result' => ['description' => 'Indicates whether the permissions on resources were granted to the users by using the permission template.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'RemoveDataExportJob', - ], - 'RestartDataExportJob' => [ - 'summary' => 'Restarts a SQL result set export task.', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"Result\\": true\\n}","type":"json"}]', + 'title' => 'GrantTemplateAuthority', + 'description' => 'You must be a database administrator (DBA) or a Data Management (DMS) administrator. For more information about how to view system roles, see [View system roles](~~324212~~).'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GrantTemplateAuthority'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GrantTemplateAuthority', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GrantUserPermission' => [ + 'summary' => 'Grants permissions on an instance, a database, or a table to a user.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26921,50 +19580,78 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '245856', - 'abilityTreeNodes' => [ - 'FEATUREdmsPWN318', - ], - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '23****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'OrderId', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '420****', - ], + 'schema' => ['description' => 'The ID of the user. You can call the [GetUser](~~147098~~) or [ListUsers](~~141938~~) operation to query the ID of the user.'."\n" + ."\n" + .'> The user ID is different from the ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '51****', 'title' => ''], ], [ - 'name' => 'JobId', + 'name' => 'DsType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the SQL result set export task. You can call the [GetDataExportOrderDetail](~~465911~~) operation to obtain the value of this parameter. If you set this parameter to Null, no SQL result set export task is suspended.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1276****', - ], + 'schema' => ['description' => 'The permissions on a specific type of object that you want to grant to the user. Valid values:'."\n" + ."\n" + .'* INSTANCE: permissions on instances'."\n" + .'* DATABASE: permissions on physical databases'."\n" + .'* LOGIC_DATABASE: permissions on logical databases'."\n" + .'* TABLE: permissions on physical tables'."\n" + .'* LOGIC_TABLE: permissions on logical tables'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DATABASE', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance. You must specify this parameter if you grant permissions on an instance to the user. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the ID of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '174****', 'title' => ''], + ], + [ + 'name' => 'DbId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the database. You can call the [ListDatabases](~~141873~~) operation to query the ID of a physical database and the [ListLogicDatabases](~~141874~~) operation to query the ID of a logical database.'."\n" + ."\n" + .'> The value of the DatabaseId parameter is that of the DbId parameter.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '1***', 'title' => ''], + ], + [ + 'name' => 'Logic', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether the database is a logical database. You must specify this parameter if you grant permissions on a database to the user. Valid values:'."\n" + ."\n" + .'* true: The database is a logical database.'."\n" + .'* false: The database is a physical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'TableId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the table. You must specify this parameter if you grant permissions on a table to the user. You can call the [ListTables](~~141878~~) operation to query the table ID.'."\n", 'type' => 'string', 'required' => false, 'example' => '132***', 'title' => ''], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the table. You must specify this parameter if you grant permissions on a table to the user.'."\n", 'type' => 'string', 'required' => false, 'example' => 'table_name', 'title' => ''], + ], + [ + 'name' => 'PermTypes', + 'in' => 'query', + 'schema' => ['description' => 'The permission type. Separate multiple permission types with commas (,). Valid values:'."\n" + ."\n" + .'* **QUERY**: the query permissions'."\n" + .'* **EXPORT**: the export permissions'."\n" + .'* **CORRECT**: the change permissions'."\n" + .'* **LOGIN**: the logon permissions'."\n" + .'* **PERF**: the query permissions on the performance details of the instance'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'QUERY', 'title' => ''], + ], + [ + 'name' => 'ExpireDate', + 'in' => 'query', + 'schema' => ['description' => 'The time when the permissions expire.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-12-12 00:00:00', 'title' => ''], ], ], 'responses' => [ @@ -26972,201 +19659,102 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A99CD576-1E18-4E86-931E-C3CCE56DC030', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'title' => 'GrantUserPermission', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:GrantUserPermission', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'RestartDataExportJob', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A99CD576-1E18-4E86-931E-C3CCE56DC030\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GrantUserPermissionResponse>\\n <RequestId>A99CD576-1E18-4E86-931E-C3CCE56DC030</RequestId>\\n <Success>true</Success>\\n</GrantUserPermissionResponse>","errorExample":""}]', ], - 'CreateSQLReviewOrder' => [ - 'summary' => 'Creates a SQL review ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'InspectProxyAccessSecret' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Comment', - 'in' => 'query', - 'schema' => [ - 'description' => 'The purpose or objective of the SQL review. This reduces unnecessary communication.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], - ], - [ - 'name' => 'RelatedUserList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The stakeholders involved in this operation. All the specified stakeholders can view the ticket details and take part in the approval process. Irrelevant users other than DMS administrators and database administrators (DBAs) are not allowed to view the ticket details.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IDs of the stakeholders.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '123443', - ], - 'required' => false, - ], - ], - [ - 'name' => 'Param', + 'name' => 'ProxyAccessId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters of the ticket.'."\n", - 'type' => 'object', - 'properties' => [ - 'ProjectName' => [ - 'description' => 'The name of the project.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'SQL review for xxx'."\n", - ], - 'DbId' => [ - 'description' => 'The ID of the database. You can call the [SearchDatabases](~~141876~~) operation to query the ID of the database.'."\n" - ."\n" - .'> You can call this operation to query only physical databases. This operation is unavailable to query logical databases.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '123321', - ], - 'AttachmentKeyList' => [ - 'description' => 'The files to be reviewed. Multiple files can be reviewed at a time.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The key of the file. You can add multiple keys. To obtain the key of a file, call the [GetUserUploadFileJob](~~206069~~) operation.'."\n" - ."\n" - .'> Only XML files based on the iBatis or MyBatis framework or TXT files are supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'upload_xxxx.sql', - ], - 'required' => true, - ], - ], - 'required' => true, - ], + 'schema' => ['description' => 'The ID of the security protection authorization. After the security protection agent authorizes the target user, the system automatically generates a security protection authorization ID. The ID is globally unique. You can call the [ListProxyAccesses](https://www.alibabacloud.com/help/en/data-management-service/latest/listproxyaccesses) operation to obtain this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) or [ListUserTenants](https://www.alibabacloud.com/help/en/data-management-service/latest/listusertenants) operation to obtain this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'CreateOrderResult' => [ - 'description' => 'The result of the ticket creation task.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1423532', - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned to the query task.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'AccessSecret' => ['description' => 'The authorization password of the security protection agent.', 'type' => 'string', 'example' => 'xxx', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"200\\",\\n \\"CreateOrderResult\\": [\\n 1423532\\n ]\\n}","errorExample":""},{"type":"xml","example":"<CreateSQLReviewOrderResponse>\\n <RequestId>0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931</RequestId>\\n <Success>true</Success>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <ErrorCode>UnknownError</ErrorCode>\\n <CreateOrderResult>1423532</CreateOrderResult>\\n</CreateSQLReviewOrderResponse>","errorExample":""}]', - 'title' => 'CreateSQLReviewOrder', - 'description' => 'You can call this operation only for database instances that are managed in Security Collaboration mode.'."\n" - ."\n" - .'For more information about the SQL review feature, see [SQL review](~~60374~~).'."\n", - ], - 'GetSQLReviewCheckResultStatus' => [ - 'summary' => 'Queries the result of an SQL review.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'InspectProxyAccessSecret', + 'summary' => 'You can call this operation to obtain the authorization password of the security protection agent InspectProxyAccessSecret.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:InspectProxyAccessSecret', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"200\\",\\n \\"AccessSecret\\": \\"xxx\\"\\n}","errorExample":""},{"type":"xml","example":"<InspectProxyAccessSecretResponse>\\n <AccessSecret>nxxxxxxuxxxxxxxi</AccessSecret>\\n <RequestId>E6F2971A-CDCC-5451-86EB-328868715619</RequestId>\\n <Success>true</Success>\\n</InspectProxyAccessSecretResponse>","errorExample":""}]', + ], + 'ListAbacAuthorizations' => [ + 'summary' => 'Queries a list of users to which the specified policy is attached and the number of the users.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -27176,181 +19764,115 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '228489', + 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can obtain the ticket ID from the response parameters of the [CreateSQLReviewOrder](~~257777~~) operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'example' => '123321', - ], + 'schema' => ['description' => 'The number of entries on each page.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '200', 'minimum' => '1', 'example' => '20', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PolicyId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The ID of the policy.'."\n", 'type' => 'string', 'required' => false, 'example' => '12****'], + ], + [ + 'name' => 'PolicySource', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', + 'title' => '', + 'description' => 'The type of the policy. The value can be custom or system.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* USER_DEFINE'."\n" + .'* SYSTEM'."\n", + 'type' => 'string', 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', + 'example' => 'USER_DEFINE', + 'enum' => ['USER_DEFINE', 'SYSTEM'], ], ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'CheckResultStatus' => [ - 'description' => 'The result of the SQL review.'."\n", - 'type' => 'object', - 'properties' => [ - 'TotalSQLCount' => [ - 'description' => 'The total number of SQL statements.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'CheckedCount' => [ - 'description' => 'The number of SQL statements that were reviewed.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'CheckStatusResult' => [ - 'description' => 'The result of the SQL status check.'."\n", - 'type' => 'object', - 'properties' => [ - 'New' => [ - 'description' => 'The number of SQL statements to be reviewed.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Unknown' => [ - 'description' => 'The number of abnormal SQL statements.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'CheckNotPass' => [ - 'description' => 'The number of SQL statements that failed to pass the review.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'CheckPass' => [ - 'description' => 'The number of SQL statements that passed the review.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8', - ], - 'ForcePass' => [ - 'description' => 'The number of SQL statements that passed the manual review.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ForceNotPass' => [ - 'description' => 'The number of SQL statements that failed to pass the manual review.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - 'SQLReviewResult' => [ - 'description' => 'The optimization suggestion for SQL statements.'."\n", - 'type' => 'object', - 'properties' => [ - 'MustImprove' => [ - 'description' => 'The number of SQL statements that must be modified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PotentialIssue' => [ - 'description' => 'The number of SQL statements that have potential issues.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SuggestImprove' => [ - 'description' => 'The number of SQL statements that can be modified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'UseDmsToolkit' => [ - 'description' => 'The number of SQL statements that can be used for lock-free schema changes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'UseDmsDmlUnlock' => [ - 'description' => 'The number of SQL statements that can be used for lock-free data changes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'TableIndexSuggest' => [ - 'description' => 'The number of SQL statements that can use indexes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231'], + 'ErrorCode' => ['description' => 'The error code that is returned when the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned when the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AuthorizationList' => [ + 'description' => 'The list of users to which the specified policy is attached.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PolicyId' => ['title' => '', 'description' => 'The ID of the policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****'], + 'PolicyName' => ['title' => '', 'description' => 'The name of the policy.'."\n", 'type' => 'string', 'example' => 'policy_test'], + 'PolicySource' => ['title' => '', 'description' => 'The source of the policy.'."\n", 'type' => 'string', 'example' => 'USER_DEFINE'], + 'AuthorizationId' => ['description' => 'The authorization ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '32****', 'title' => ''], + 'IdentityId' => ['title' => '', 'description' => 'The ID of the object to which the policy is attached.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '51****'."\n"], + 'IdentityName' => ['title' => '', 'description' => 'The name of the object to which the policy is attached.'."\n", 'type' => 'string', 'example' => 'test_user'], + 'IdentityType' => ['title' => '', 'description' => 'The type of the object to which the policy is attached.'."\n", 'type' => 'string', 'example' => 'USER'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The number of objects to which the policy is attached.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"AuthorizationList\\": [\\n {\\n \\"PolicyId\\": 0,\\n \\"PolicyName\\": \\"policy_test\\",\\n \\"PolicySource\\": \\"USER_DEFINE\\",\\n \\"AuthorizationId\\": 0,\\n \\"IdentityId\\": 0,\\n \\"IdentityName\\": \\"test_user\\",\\n \\"IdentityType\\": \\"USER\\"\\n }\\n ],\\n \\"TotalCount\\": 3\\n}","type":"json"}]', + 'title' => 'ListAbacAuthorizations', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListAbacAuthorizations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"CheckResultStatus\\": {\\n \\"TotalSQLCount\\": 10,\\n \\"CheckedCount\\": 10,\\n \\"CheckStatusResult\\": {\\n \\"New\\": 0,\\n \\"Unknown\\": 0,\\n \\"CheckNotPass\\": 1,\\n \\"CheckPass\\": 8,\\n \\"ForcePass\\": 1,\\n \\"ForceNotPass\\": 0\\n },\\n \\"SQLReviewResult\\": {\\n \\"MustImprove\\": 1,\\n \\"PotentialIssue\\": 0,\\n \\"SuggestImprove\\": 3,\\n \\"UseDmsToolkit\\": 0,\\n \\"UseDmsDmlUnlock\\": 0,\\n \\"TableIndexSuggest\\": 2\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetSQLReviewCheckResultStatusResponse>\\n <RequestId>E1ABE358-14A0-4DFA-9776-1A3CB59192DF</RequestId>\\n <CheckResultStatus>\\n <SQLReviewResult>\\n <TableIndexSuggest>1</TableIndexSuggest>\\n <MustImprove>1</MustImprove>\\n <SuggestImprove>1</SuggestImprove>\\n <PotentialIssue>2</PotentialIssue>\\n </SQLReviewResult>\\n <TotalSQLCount>4</TotalSQLCount>\\n <CheckedCount>4</CheckedCount>\\n <CheckStatusResult>\\n <CheckNotPass>1</CheckNotPass>\\n <CheckPass>3</CheckPass>\\n </CheckStatusResult>\\n </CheckResultStatus>\\n <Success>true</Success>\\n</GetSQLReviewCheckResultStatusResponse>","errorExample":""}]', - 'title' => 'GetSQLReviewCheckResultStatus', - 'description' => 'For more information about the SQL review feature, see [SQL review](~~60374~~).'."\n", ], - 'ListSQLReviewOriginSQL' => [ - 'summary' => 'Queries the details of the SQL statements that are involved in an SQL review ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListAbacPolicies' => [ + 'summary' => 'Queries a list of policies that are created by a user.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -27359,120 +19881,34 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '228361', + 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the SQL review ticket. You can call the [CreateSQLReviewOrder](~~257777~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'example' => '123321', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '200', 'minimum' => '1', 'example' => '20', 'title' => ''], ], [ - 'name' => 'OrderActionDetail', + 'name' => 'PageNumber', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are used to filter SQL statements involved in the ticket.'."\n", - 'type' => 'object', - 'properties' => [ - 'FileId' => [ - 'description' => 'The ID of the file that contains the SQL statements to be reviewed.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '123345', - ], - 'SQLReviewResult' => [ - 'description' => 'The optimization suggestion for the SQL statement. Valid values:'."\n" - ."\n" - .'* **MUST_IMPROVE**: The SQL statement must be optimized.'."\n" - .'* **POTENTIAL_ISSUE**: The SQL statement contains potential issues.'."\n" - .'* **SUGGEST_IMPROVE**: We recommend that you optimize the SQL statement.'."\n" - .'* **USE_DMS_TOOLKIT**: We recommend that you change schemas without locking tables.'."\n" - .'* **USE_DMS_DML_UNLOCK**: We recommend that you change data without locking tables.'."\n" - .'* **TABLE_INDEX_SUGGEST**: We recommend that you optimize indexes for the SQL statement.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MUST_IMPROVE', - 'enum' => [ - 'MUST_IMPROVE', - 'POTENTIAL_ISSUE', - 'SUGGEST_IMPROVE', - 'USE_DMS_TOOLKIT', - 'USE_DMS_DML_UNLOCK', - 'TABLE_INDEX_SUGGEST', - ], - ], - 'CheckStatusResult' => [ - 'description' => 'The review status of the SQL statement. Valid values:'."\n" - ."\n" - .'* **new**: The SQL statement was waiting to be reviewed.'."\n" - .'* **unknown**: The SQL statement cannot be parsed.'."\n" - .'* **check_not_pass**: The SQL statement failed to pass the review.'."\n" - .'* **check_pass**: The SQL statement passed the review.'."\n" - .'* **force_pass**: The SQL statement passed the manual review.'."\n" - .'* **force_not_pass**: The SQL statement failed to pass the manual review.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'check_not_pass', - 'enum' => [ - 'new', - 'unknown', - 'check_not_pass', - 'check_pass', - 'force_pass', - 'force_not_pass', - ], - ], - 'Page' => [ - 'description' => 'The pagination information.'."\n", - 'type' => 'object', - 'properties' => [ - 'PageNumber' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '500', - 'example' => '20', - 'default' => '20', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], + 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['description' => 'The search keyword. Fuzzy match is supported.'."\n", 'type' => 'string', 'required' => false, 'example' => 'policy_test'."\n", 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -27480,135 +19916,80 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values: Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TotalCount' => [ - 'description' => 'The number of SQL statements in the file.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'OriginSQLList' => [ - 'description' => 'The information about the parsed SQL statements.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Tid' => ['description' => 'The ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3***', 'title' => ''], + 'PolicyList' => [ + 'description' => 'The details of the permission policies.'."\n", 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The information about the permission policy.'."\n", 'type' => 'object', 'properties' => [ - 'SQLId' => [ - 'description' => 'The ID of the SQL statement.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1111', - ], - 'FileId' => [ - 'description' => 'The file ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123321', - ], - 'FileName' => [ - 'description' => 'The name of the file.'."\n", - 'type' => 'string', - 'example' => 'test.sql', - ], - 'SQLContent' => [ - 'description' => 'The SQL statement in the file.'."\n", - 'type' => 'string', - 'example' => 'select id from table_name', - ], - 'CheckStatus' => [ - 'description' => 'The review status of the SQL statement. Valid values:'."\n" - ."\n" - .'* **new**: The SQL statement was waiting to be reviewed.'."\n" - .'* **unknown**: The SQL statement cannot be parsed.'."\n" - .'* **check_not_pass**: The SQL statement failed to pass the review.'."\n" - .'* **check_pass**: The SQL statement passed the review.'."\n" - .'* **force_pass**: The SQL statement passed the manual review.'."\n" - .'* **force_not_pass**: The SQL statement failed to pass the manual review.'."\n", - 'type' => 'string', - 'example' => 'check_pass', - ], - 'StatusDesc' => [ - 'description' => 'The description of the review status.'."\n", - 'type' => 'string', - 'example' => 'passed the test', - ], - 'CheckedTime' => [ - 'description' => 'The time when the SQL statement was reviewed.'."\n", - 'type' => 'string', - 'example' => '2021-06-09 21:07:00', - ], - 'SqlHash' => [ - 'description' => 'The MD5 hash value that is obtained after the SQL statement is calculated by using a hash algorithm.'."\n", - 'type' => 'string', - 'example' => '95adb6e77a0884d9e50232cb8c5c969d', - ], - 'ReviewSummary' => [ - 'description' => 'The statistics on the optimization suggestions for SQL statements. The value is a JSON string. Valid values:'."\n" - ."\n" - .'* **MUST_IMPROVE**: The SQL statements must be optimized.'."\n" - .'* **POTENTIAL_ISSUE**: The SQL statements contain potential issues.'."\n" - .'* **SUGGEST_IMPROVE**: We recommend that you optimize the SQL statements.'."\n" - .'* **USEDMSTOOLKIT**: We recommend that you change schemas without locking tables.'."\n" - .'* **USEDMSDML_UNLOCK**: We recommend that you change data without locking tables.'."\n" - .'* **TABLEINDEXSUGGEST**: We recommend that you optimize indexes for the SQL statements.'."\n", - 'type' => 'string', - 'example' => '{"POTENTIAL_ISSUE":1,"SUGGEST_IMPROVE":1}', - ], - 'SQLReviewQueryKey' => [ - 'description' => 'The key that is used to query the information about optimization suggestions. You can call the [GetSQLReviewOptimizeDetail](~~465919~~) operation to query the details based on this key.', - 'type' => 'string', - 'example' => 'a57e54ec5433475ea3082d882fdb89c5', - ], - 'SQLName' => [ - 'description' => 'The name of the SQL statement.'."\n", - 'type' => 'string', - 'example' => 'getByPk', - ], + 'AbacPolicyId' => ['description' => 'The ID of the policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], + 'AbacPolicyName' => ['description' => 'The name of the policy.'."\n", 'type' => 'string', 'example' => 'policy_test'."\n", 'title' => ''], + 'AbacPolicyDesc' => ['description' => 'The description of the policy.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'AbacPolicyContent' => ['description' => 'The content of the policy.'."\n", 'type' => 'string', 'example' => '{'."\n" + .' "Statement": ['."\n" + .' {'."\n" + .' "Action": "*",'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*",'."\n" + .' "Condition": {'."\n" + .' "StringEqualsIgnoreCase": {'."\n" + .' "dms:DbType": ['."\n" + .' "redis"'."\n" + .' ]'."\n" + .' }'."\n" + .' }'."\n" + .' }'."\n" + .' ],'."\n" + .' "Version": "1"'."\n" + .'}', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who created the policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '51****'."\n", 'title' => ''], + 'AbacPolicySource' => ['description' => 'The source of the policy.'."\n", 'type' => 'string', 'example' => 'USER_DEFINE'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of policies.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0A00863F-6366-5583-9B96-891DC8D8F88A\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 1,\\n \\"OriginSQLList\\": [\\n {\\n \\"SQLId\\": 1111,\\n \\"FileId\\": 0,\\n \\"FileName\\": \\"test.sql\\",\\n \\"SQLContent\\": \\"CREATE TABLE `test_sql_review_table` (\\\\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\\\\n `gmt_create` datetime NOT NULL,\\\\n `name` varchar(256) DEFAULT NULL\\\\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\\",\\n \\"CheckStatus\\": \\"check_pass\\",\\n \\"StatusDesc\\": \\"检测通过\\",\\n \\"CheckedTime\\": \\"2021-06-09 21:07:00\\",\\n \\"SqlHash\\": \\"c7992dc1b681c6733894aded7834f423\\",\\n \\"ReviewSummary\\": \\"{\\\\\\\\\\\\\\"SUGGEST_IMPROVE\\\\\\\\\\\\\\":2,\\\\\\\\\\\\\\"POTENTIAL_ISSUE\\\\\\\\\\\\\\":1}\\",\\n \\"SQLReviewQueryKey\\": \\"6e9a4bc6867a4174a96b23c8b48b****\\",\\n \\"SQLName\\": \\"getByPk\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListSQLReviewOriginSQLResponse>\\n <RequestId>0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n <TotalCount>10</TotalCount>\\n <OriginSQLList>\\n <SQLId>1111</SQLId>\\n <FileId>123321</FileId>\\n <FileName>test.sql</FileName>\\n <SQLContent>select id from table_name</SQLContent>\\n <CheckStatus>check_pass</CheckStatus>\\n <StatusDesc>检测通过</StatusDesc>\\n <CheckedTime>2021-06-09 21:07:00</CheckedTime>\\n <SqlHash>95adb6e77a0884d9e50232cb8c5c969d</SqlHash>\\n <ReviewSummary>{\\"POTENTIAL_ISSUE\\":1,\\"SUGGEST_IMPROVE\\":1}</ReviewSummary>\\n <SQLReviewQueryKey>a57e54ec5433475ea3082d882fdb89c5</SQLReviewQueryKey>\\n <SQLName>getByPk</SQLName>\\n </OriginSQLList>\\n</ListSQLReviewOriginSQLResponse>","errorExample":""}]', - 'title' => 'ListSQLReviewOriginSQL', - 'description' => 'For more information about the SQL review feature, see [SQL review](~~60374~~).'."\n", - ], - 'GetSQLReviewOptimizeDetail' => [ - 'summary' => 'Queries the details of optimization suggestions. The operation applies only to the tickets for the data changes and SQL review.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Tid\\": 0,\\n \\"PolicyList\\": [\\n {\\n \\"AbacPolicyId\\": 0,\\n \\"AbacPolicyName\\": \\"policy_test\\\\n\\",\\n \\"AbacPolicyDesc\\": \\"test\\",\\n \\"AbacPolicyContent\\": \\"{\\\\n \\\\\\"Statement\\\\\\": [\\\\n {\\\\n \\\\\\"Action\\\\\\": \\\\\\"*\\\\\\",\\\\n \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n \\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\",\\\\n \\\\\\"Condition\\\\\\": {\\\\n \\\\\\"StringEqualsIgnoreCase\\\\\\": {\\\\n \\\\\\"dms:DbType\\\\\\": [\\\\n \\\\\\"redis\\\\\\"\\\\n ]\\\\n }\\\\n }\\\\n }\\\\n ],\\\\n \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"\\\\n}\\",\\n \\"CreatorId\\": 0,\\n \\"AbacPolicySource\\": \\"USER_DEFINE\\\\n\\"\\n }\\n ],\\n \\"TotalCount\\": 5\\n}","type":"json"}]', + 'title' => 'ListAbacPolicies', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ListAbacPolicies', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListAuthorityTemplate' => [ + 'summary' => 'Queries the information about permission templates, including the template creator, template name, and total number of templates.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27616,32 +19997,31 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'SQLReviewQueryKey', + 'name' => 'SearchKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The key that is used to query the details of optimization suggestions. You can call the [ListSQLReviewOriginSQL](~~257870~~) operation to query the key.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'a57e54ec5433475ea3082d882fdb****', - ], + 'schema' => ['description' => 'The keyword that is used to search for permission templates.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Test template', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" + ."\n" + .'* 5'."\n" + .'* 10'."\n" + .'* 20'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '200', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -27649,338 +20029,230 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'OptimizeDetail' => [ - 'description' => 'The details of optimization suggestions for SQL statements.'."\n", + 'RequestId' => ['description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '31853A2B-DC9D-5B39-8492-D2AC8BCF550E', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Tid' => ['description' => 'The ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3***', 'title' => ''], + 'AuthorityTemplateViewList' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'QueryKey' => [ - 'description' => 'The key that is used to query the details of optimization suggestions.'."\n", - 'type' => 'string', - 'example' => 'a57e54ec5433475ea3082d882fdb****', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance to which the database belongs.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '123321', - ], - 'DbId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '111222', - ], - 'SqlType' => [ - 'description' => 'The type of the SQL statement. Valid values: DELETE, UPDATE, and ALTER_TABLE.'."\n", - 'type' => 'string', - 'example' => 'UPDATE', - ], - 'QualityResult' => [ - 'description' => 'The quality of the SQL statement.'."\n", - 'type' => 'object', - 'properties' => [ - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'syntax error', - ], - 'Results' => [ - 'description' => 'The review results based on rules.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RuleName' => [ - 'description' => 'The name of the rule. For more information, see [SQL review optimization](~~194114~~).'."\n", - 'type' => 'string', - 'example' => 'SELECT_SUGGEST_ASSIGN_WHERE', - ], - 'Feedback' => [ - 'description' => 'The optimization suggestion for the SQL statement. Valid values:'."\n" - ."\n" - .'* **MUST_IMPROVE**: The SQL statement must be improved.'."\n" - .'* **POTENTIAL_ISSUE**: The SQL statement contains potential issues.'."\n" - .'* **SUGGEST_IMPROVE**: We recommend that you improve the SQL statement.'."\n" - .'* **USEDMSTOOLKIT**: We recommend that you change schemas without locking tables.'."\n" - .'* **USEDMSDML_UNLOCK**: We recommend that you change data without locking tables.'."\n" - .'* **TABLEINDEXSUGGEST**: We recommend that you use SQL statements that use indexes.'."\n", - 'type' => 'string', - 'example' => 'MUST_IMPROVE', - ], - 'Comments' => [ - 'description' => 'The comment that is specified when you create the SQL review rule. For more information, see [SQL review optimization](~~194114~~).'."\n", - 'type' => 'string', - 'example' => 'xxx business rule: the query must have a where condition.', - ], - 'Messages' => [ - 'description' => 'The review results.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'audit information.', - 'type' => 'string', - 'example' => 'the xxx table does not exist.', - ], - ], - 'Scripts' => [ - 'description' => 'The SQL script for data changes.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'OpType' => [ - 'description' => 'The purpose of the SQL script. The value is set to AddIndex.'."\n", - 'type' => 'string', - 'example' => 'AddIndex', - ], - 'Content' => [ - 'description' => 'The content of the SQL script.'."\n", - 'type' => 'string', - 'example' => 'alter table xxx add index idx_xx(yyy);', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'xxx', - ], - ], - ], - ], - 'RuleType' => [ - 'description' => 'The type of the SQL review rule. Valid values:'."\n" - ."\n" - .'* **REVIEW**: a rule that is used to review SQL statements based on standards.'."\n" - .'* **OPTIMIZE**: a rule that is used to provide optimization suggestions.'."\n", - 'type' => 'string', - 'example' => 'REVIEW', - ], - ], - ], - ], - 'OccurError' => [ - 'description' => 'Indicates whether an error occurs. Valid values:'."\n" - ."\n" - .'* **true**: An error occurs.'."\n" - .'* **false**: No error occurs.'."\n", - 'type' => 'boolean', - 'example' => 'false', + 'AuthorityTemplateView' => [ + 'description' => 'The permission templates.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TemplateId' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2592', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who created the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '522****', 'title' => ''], + 'Name' => ['description' => 'The name of the permission template.'."\n", 'type' => 'string', 'example' => 'Permission template test', 'title' => ''], + 'Description' => ['description' => 'The description of the permission template.'."\n", 'type' => 'string', 'example' => 'This template is for testing.', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the permission template was created. The time is in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'example' => '2023-10-26 11:37:47', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of permission templates.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"OptimizeDetail\\": {\\n \\"QueryKey\\": \\"a57e54ec5433475ea3082d882fdb****\\",\\n \\"InstanceId\\": 123321,\\n \\"DbId\\": 111222,\\n \\"SqlType\\": \\"UPDATE\\",\\n \\"QualityResult\\": {\\n \\"ErrorMessage\\": \\"syntax error\\",\\n \\"Results\\": [\\n {\\n \\"RuleName\\": \\"SELECT_SUGGEST_ASSIGN_WHERE\\",\\n \\"Feedback\\": \\"MUST_IMPROVE\\",\\n \\"Comments\\": \\"xxx业务规定:查询必须带where条件\\",\\n \\"Messages\\": [\\n \\"xxx表不存在\\"\\n ],\\n \\"Scripts\\": [\\n {\\n \\"OpType\\": \\"AddIndex\\",\\n \\"Content\\": \\"alter table xxx add index idx_xx(yyy);\\",\\n \\"TableName\\": \\"xxx\\"\\n }\\n ],\\n \\"RuleType\\": \\"REVIEW\\"\\n }\\n ],\\n \\"OccurError\\": false\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetSQLReviewOptimizeDetailResponse>\\n <RequestId>0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n <OptimizeDetail>\\n <QueryKey>a57e54ec5433475ea3082d882fdb****</QueryKey>\\n <InstanceId>123321</InstanceId>\\n <DbId>111222</DbId>\\n <SqlType>UPDATE</SqlType>\\n <QualityResult>\\n <ErrorMessage>syntax error</ErrorMessage>\\n <Results>\\n <RuleName>SELECT_SUGGEST_ASSIGN_WHERE</RuleName>\\n <Feedback>MUST_IMPROVE</Feedback>\\n <Comments>xxx业务规定:查询必须带where条件</Comments>\\n <Messages>xxx表不存在</Messages>\\n <Scripts>\\n <OpType>AddIndex</OpType>\\n <Content>alter table xxx add index idx_xx(yyy);</Content>\\n <TableName>xxx</TableName>\\n </Scripts>\\n <RuleType>REVIEW</RuleType>\\n </Results>\\n <OccurError>false</OccurError>\\n </QualityResult>\\n </OptimizeDetail>\\n</GetSQLReviewOptimizeDetailResponse>","errorExample":""}]', - 'title' => 'GetSQLReviewOptimizeDetail', - 'description' => 'For more information about the SQL review feature, see [SQL review](~~60374~~).', - ], - 'CreateDataTrackOrder' => [ - 'summary' => 'Creates a data tracking ticket.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31853A2B-DC9D-5B39-8492-D2AC8BCF550E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Tid\\": 0,\\n \\"AuthorityTemplateViewList\\": {\\n \\"AuthorityTemplateView\\": [\\n {\\n \\"TemplateId\\": 2592,\\n \\"CreatorId\\": 0,\\n \\"Name\\": \\"Permission template test\\",\\n \\"Description\\": \\"This template is for testing.\\",\\n \\"CreateTime\\": \\"2023-10-26 11:37:47\\"\\n }\\n ]\\n },\\n \\"TotalCount\\": 10\\n}","type":"json"}]', + 'title' => 'ListAuthorityTemplate', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAuthorityTemplate'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListAuthorityTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListAuthorizedDatabasesForUser' => [ + 'summary' => 'Queries the databases on which the specified user has permissions.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeCode' => '250204', + 'abilityTreeNodes' => ['FEATUREdmsY7L2P4'], ], 'parameters' => [ [ - 'name' => 'Comment', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'The purpose or objective of the data tracking ticket. This parameter is used to help reduce unnecessary communication.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the user. You can call the [GetUser](~~465816~~) operation to query the user ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '51****', 'title' => ''], ], [ - 'name' => 'RelatedUserList', + 'name' => 'EnvType', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The IDs of the operators that are related to the ticket.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of an operator that is related to the ticket.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123***', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" + ."\n" + .'* **product**: production environment.'."\n" + .'* **dev**: development environment.'."\n" + .'* **pre**: pre-release environment.'."\n" + .'* **test**: test environment.'."\n" + .'* **sit**: system integration testing (SIT) environment.'."\n" + .'* **uat**: user acceptance testing (UAT) environment.'."\n" + .'* **pet**: stress testing environment.'."\n" + .'* **stag**: staging environment.'."\n", 'type' => 'string', 'required' => false, 'example' => 'product', 'title' => ''], ], [ - 'name' => 'Param', + 'name' => 'DbType', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters of the ticket.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database. You can call the [SearchDatabases](~~141876~~) operation to query the ID of the database.'."\n" - ."\n" - .'> You can call this operation to create a data tracking ticket for only physical databases. This operation is not applicable to logical databases.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '123***', - ], - 'JobStartTime' => [ - 'description' => 'The start time of the time range in which you want to track data operations. The time must be in the yyyy-MM-dd HH:mm:ss format.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-04-23 00:00:00', - ], - 'JobEndTime' => [ - 'description' => 'The end time of the time range in which you want to track data operations. The time must be in the yyyy-MM-dd HH:mm:ss format.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-04-23 10:00:00', - ], - 'TableNames' => [ - 'description' => 'The names of the tables for which you want to track data operations.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of a table for which you want to track data operations.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'table2', - ], - 'required' => true, - ], - 'TrackTypes' => [ - 'description' => 'The types of data operations that you want to track.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A type of data operation that you want to track. Valid values:'."\n" - ."\n" - .'* **INSERT**'."\n" - .'* **UPDATE**'."\n" - .'* **DELETE**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'INSERT', - ], - 'required' => true, - ], - ], - 'required' => true, - ], + 'schema' => ['description' => 'The type of databases. Valid values:'."\n" + ."\n" + .'* **MySQL**'."\n" + .'* **SQLServer**'."\n" + .'* **PostgreSQL**'."\n" + .'* **Oracle**'."\n" + .'* **DRDS**'."\n" + .'* **OceanBase**'."\n" + .'* **Mongo**'."\n" + .'* **Redis**'."\n", 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''], + ], + [ + 'name' => 'Logic', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true.**: The database is a logical database'."\n" + .'* **false**: The database is a physical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['description' => 'The search keyword.'."\n", 'type' => 'string', 'required' => false, 'example' => 'policy_test', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'string', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The response schema.'."\n", + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '283C461F-11D8-48AA-B695-DF092DA32AF3', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'CreateOrderResult' => [ - 'description' => 'The IDs of the data tracking tickets.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '012AE0B5-4B52-532F-BD7C-1EE9F182089B'], + 'Databases' => [ + 'description' => 'The names of the databases on which the user has permissions.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The ID of the data tracking ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12***', + 'description' => 'The database information.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The database ID.'."\n", 'type' => 'string', 'example' => '254****', 'title' => ''], + 'SchemaName' => ['description' => 'The database name.'."\n", 'type' => 'string', 'example' => 'poc_testdb', 'title' => ''], + 'SearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'example' => 'poc', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => '235****', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true.**: The database is a logical database'."\n" + .'* **false**: The database is a physical database.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'DbType' => ['description' => 'The engine of the database.'."\n", 'type' => 'string', 'example' => 'MYSQL', 'title' => ''], + 'UserId' => ['description' => 'The user IDs.'."\n", 'type' => 'string', 'example' => '51****', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment in which the database instance is deployed.'."\n", 'type' => 'string', 'example' => 'product', 'title' => ''], + 'PermissionDetail' => [ + 'description' => 'The details of permissions. The format of the permission details varies with the permission source. For example, if the permission source is a normal permission, the following parameters are returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'DsType' => ['description' => 'The type of object on which the operation is performed.'."\n", 'type' => 'string', 'example' => 'DATABASE', 'title' => ''], + 'PermType' => ['description' => 'The type of the permission. Valid values:'."\n" + ."\n" + .'* **QUERY**: the query permission'."\n" + .'* **EXPORT**: the data export permission'."\n" + .'* **CORRECT**: the data change permission'."\n", 'type' => 'string', 'example' => 'CORRECT', 'title' => ''], + 'ExpireDate' => ['description' => 'The time when the permissions expire.'."\n", 'type' => 'string', 'example' => '2024-12-06 10:00:00', 'title' => ''], + 'Message' => ['description' => 'If the permission source is a permission policy, the value of this parameter includes the policy name and the operations that are allowed for the user.'."\n", 'type' => 'string', 'example' => '权限策略通过,策略名:INSTANCE_OWNER,被允许的操作:instance:InstanceQuery', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"012AE0B5-4B52-532F-BD7C-1EE9F182089B\\",\\n \\"Databases\\": [\\n {\\n \\"DbId\\": \\"254****\\",\\n \\"SchemaName\\": \\"poc_testdb\\",\\n \\"SearchName\\": \\"poc\\",\\n \\"InstanceId\\": \\"235****\\",\\n \\"Logic\\": false,\\n \\"DbType\\": \\"MYSQL\\",\\n \\"UserId\\": \\"51****\\",\\n \\"EnvType\\": \\"product\\",\\n \\"PermissionDetail\\": {\\n \\"DsType\\": \\"DATABASE\\",\\n \\"PermType\\": \\"CORRECT\\",\\n \\"ExpireDate\\": \\"2024-12-06 10:00:00\\",\\n \\"Message\\": \\"权限策略通过,策略名:INSTANCE_OWNER,被允许的操作:instance:InstanceQuery\\"\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListAuthorizedDatabasesForUser', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ListAuthorizedDatabasesForUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"283C461F-11D8-48AA-B695-DF092DA32AF3\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","type":"json"}]', - 'title' => 'CreateDataTrackOrder', - 'description' => 'This operation is available only for instances that are managed in Security Collaboration mode.'."\n", ], - 'GetDataTrackJobDegree' => [ - 'summary' => 'Queries the progress of a data tracking task.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListAuthorizedInstancesForUser' => [ + 'summary' => 'Queries the instances on which the specified user has permissions.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -27992,130 +20264,141 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeCode' => '250181', + 'abilityTreeNodes' => ['FEATUREdmsY7L2P4'], ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '321****', - ], + 'schema' => ['description' => 'The ID of the user. You can call the [GetUser](~~465816~~) operation to query the user ID.'."\n" + ."\n" + .'> If IdentityType is set to USER, this parameter is required.'."\n", 'type' => 'string', 'required' => true, 'example' => '51****', 'title' => ''], + ], + [ + 'name' => 'EnvType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" + ."\n" + .'* **product**: production environment.'."\n" + .'* **dev**: development environment.'."\n" + .'* **pre**: pre-release environment.'."\n" + .'* **test**: test environment.'."\n" + .'* **sit**: system integration testing (SIT) environment.'."\n" + .'* **uat**: user acceptance testing (UAT) environment.'."\n" + .'* **pet**: stress testing environment.'."\n" + .'* **stag**: staging environment.'."\n", 'type' => 'string', 'required' => false, 'example' => 'product', 'title' => ''], + ], + [ + 'name' => 'DbType', + 'in' => 'query', + 'schema' => ['description' => 'The type of databases. Valid values:'."\n" + ."\n" + .'* **MySQL**'."\n" + .'* **SQLServer**'."\n" + .'* **PostgreSQL**'."\n" + .'* **Oracle**'."\n" + .'* **DRDS**'."\n" + .'* **OceanBase**'."\n" + .'* **Mongo**'."\n" + .'* **Redis**'."\n", 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''], + ], + [ + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['description' => 'The search keyword.'."\n", 'type' => 'string', 'required' => false, 'example' => 'policy_test'."\n", 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'string', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The response schema.'."\n", + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'JobDegree' => [ - 'description' => 'The progress details of the data tracking task.'."\n", - 'type' => 'object', - 'properties' => [ - 'ListCompletionDegree' => [ - 'description' => 'The progress of binary log obtaining. Valid values: 0 to 1. A value of 1 indicates that binary log obtaining is complete.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'DownloadCompletionDegree' => [ - 'description' => 'The progress of binary log download. Valid values: 0 to 1. A value of 1 indicates that binary log download is complete.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'FilterCompletionDegree' => [ - 'description' => 'The progress of binary log parsing. Valid values: 0 to 1. A value of 1 indicates that binary log parsing is complete.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'JobStatus' => [ - 'description' => 'The status of the data tracking task. Valid values:'."\n" - ."\n" - .'* **INIT**: The task is being initialized.'."\n" - .'* **LISTING**: The binary logs are being obtained.'."\n" - .'* **LIST_SUCCESS**: The binary logs are successfully obtained.'."\n" - .'* **DOWNLOADING**: The binary logs are being downloaded.'."\n" - .'* **DOWNLOAD_FAIL**: The binary logs failed to be downloaded.'."\n" - .'* **DOWNLOAD_SUCCESS**: The binary logs are successfully downloaded.'."\n" - .'* **FILTERING**: The binary logs are being parsed.'."\n" - .'* **FILTER_FAIL**: The binary logs failed to be parsed.'."\n" - .'* **FILTER_SUCCESS**: The binary logs are successfully parsed.'."\n", - 'type' => 'string', - 'example' => 'FILTER_SUCCESS', - ], - 'StatusDesc' => [ - 'description' => 'The description of the task status.'."\n", - 'type' => 'string', - 'example' => 'searching success', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'B7DB89CC-017D-5503-8953-38FFE241A618'], + 'Instances' => [ + 'description' => 'The list of instances on which the user has permissions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The instances on which the user has permissions.'."\n", + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => '21****', 'title' => ''], + 'Host' => ['description' => 'The endpoint that is used to connect to the instance.'."\n", 'type' => 'string', 'example' => 'rm-2zex9lrc0gz0****.mysql.rds.aliyuncs.com', 'title' => ''], + 'Port' => ['description' => 'The port number that is used to connect to the instance.'."\n", 'type' => 'string', 'example' => '3306', 'title' => ''], + 'DbType' => ['description' => 'The database engine that the instance runs.'."\n", 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'UserId' => ['description' => 'The user IDs.'."\n", 'type' => 'string', 'example' => '51****', 'title' => ''], + 'UserName' => ['description' => 'The user name.'."\n", 'type' => 'string', 'example' => 'user_test', 'title' => ''], + 'InstanceAlias' => ['description' => 'The alias of the instance.'."\n", 'type' => 'string', 'example' => 'DMS_TEST', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the database instance belongs.'."\n", 'type' => 'string', 'example' => 'product', 'title' => ''], + 'PermissionDetail' => [ + 'description' => 'The details of permissions. The format of the permission details varies with the permission source. For example, if the permission source is a normal permission, the following parameters are returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'DsType' => ['description' => 'The type of object on which the operation is performed.'."\n", 'type' => 'string', 'example' => 'DATABASE', 'title' => ''], + 'PermType' => ['description' => 'The type of the permission. Valid values:'."\n" + ."\n" + .'* **QUERY**: the query permission'."\n" + .'* **EXPORT**: the data export permission'."\n" + .'* **CORRECT**: the data change permission'."\n", 'type' => 'string', 'example' => 'CORRECT', 'title' => ''], + 'ExpireDate' => ['description' => 'The time when the permission expires.'."\n", 'type' => 'string', 'example' => '2024-12-06 10:00:00'."\n", 'title' => ''], + 'Message' => ['description' => 'If the permission source is a permission policy, the value of this parameter includes the policy name and the operations that are allowed for the user.'."\n", 'type' => 'string', 'example' => '权限策略通过,策略名:INSTANCE_OWNER,被允许的操作:instance:InstanceQuery', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B7DB89CC-017D-5503-8953-38FFE241A618\\",\\n \\"Instances\\": [\\n {\\n \\"InstanceId\\": \\"21****\\",\\n \\"Host\\": \\"rm-2zex9lrc0gz0****.mysql.rds.aliyuncs.com\\",\\n \\"Port\\": \\"3306\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"UserId\\": \\"51****\\",\\n \\"UserName\\": \\"user_test\\",\\n \\"InstanceAlias\\": \\"DMS_TEST\\",\\n \\"EnvType\\": \\"product\\",\\n \\"PermissionDetail\\": {\\n \\"DsType\\": \\"DATABASE\\",\\n \\"PermType\\": \\"CORRECT\\",\\n \\"ExpireDate\\": \\"2024-12-06 10:00:00\\\\n\\",\\n \\"Message\\": \\"权限策略通过,策略名:INSTANCE_OWNER,被允许的操作:instance:InstanceQuery\\"\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListAuthorizedInstancesForUser', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ListAuthorizedInstancesForUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"JobDegree\\": {\\n \\"ListCompletionDegree\\": 1,\\n \\"DownloadCompletionDegree\\": 1,\\n \\"FilterCompletionDegree\\": 1,\\n \\"JobStatus\\": \\"FILTER_SUCCESS\\",\\n \\"StatusDesc\\": \\"searching success\\"\\n }\\n}","type":"json"}]', - 'title' => 'GetDataTrackJobDegree', ], - 'GetDataTrackJobTableMeta' => [ - 'summary' => 'Queries the metadata of tables involved in a data tracking task.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListAuthorizedUsersForDatabase' => [ + 'summary' => 'Queries a list of users that have permissions on the specified database.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -28127,145 +20410,101 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeCode' => '250285', + 'abilityTreeNodes' => ['FEATUREdmsY7L2P4'], ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '12345', - ], + 'schema' => ['description' => 'The database ID. The database can be a physical database or a logical database.'."\n" + ."\n" + .'* To query the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" + .'* To query the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => '135***', 'title' => ''], + ], + [ + 'name' => 'Logic', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true.**: The database is a logical database'."\n" + .'* **false**: The database is a physical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['description' => 'The keyword that is used for the search.'."\n", 'type' => 'string', 'required' => false, 'example' => 'poc_test', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'string', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The response schema.'."\n", + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'TableMetaList' => [ - 'description' => 'The metadata of tables.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04'], + 'Users' => [ + 'description' => 'The list of users that have permissions on the specified instance.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The metadata of a table.'."\n", + 'description' => 'The information about the user.'."\n", 'type' => 'object', 'properties' => [ - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'DB165', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'live_stat', - ], - 'Columns' => [ - 'description' => 'The information about columns.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about a column.'."\n", - 'type' => 'object', - 'properties' => [ - 'ColumnName' => [ - 'description' => 'The name of the column.'."\n", - 'type' => 'string', - 'example' => 'claimantno', - ], - 'ColumnPosition' => [ - 'description' => 'The position of the column.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ColumnType' => [ - 'description' => 'The data type of the column. Examples: BIGINT, INT, and VARCHAR.'."\n", - 'type' => 'string', - 'example' => 'BIGINT', - ], - 'Fictive' => [ - 'description' => 'Indicates whether the column is a virtual column. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Charset' => [ - 'description' => 'The name of the character set.'."\n", - 'type' => 'string', - 'example' => 'utf8mb4', - ], - ], - ], - ], + 'UserId' => ['description' => 'The user IDs.'."\n", 'type' => 'string', 'example' => '51****', 'title' => ''], + 'UserNickName' => ['description' => 'The nickname of the user.'."\n", 'type' => 'string', 'example' => 'user_test', 'title' => ''], + 'Uid' => ['description' => 'The UID of the user\'s Alibaba Cloud account.'."\n", 'type' => 'string', 'example' => '164882191****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"Users\\": [\\n {\\n \\"UserId\\": \\"51****\\",\\n \\"UserNickName\\": \\"user_test\\",\\n \\"Uid\\": \\"164882191****\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListAuthorizedUsersForDatabase', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ListAuthorizedUsersForDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"TableMetaList\\": [\\n {\\n \\"SchemaName\\": \\"DB165\\",\\n \\"TableName\\": \\"live_stat\\",\\n \\"Columns\\": [\\n {\\n \\"ColumnName\\": \\"claimantno\\",\\n \\"ColumnPosition\\": 1,\\n \\"ColumnType\\": \\"BIGINT\\",\\n \\"Fictive\\": false,\\n \\"Charset\\": \\"utf8mb4\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'GetDataTrackJobTableMeta', ], - 'GetDataTrackOrderDetail' => [ - 'summary' => 'Queries the details of a data tracking ticket.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListAuthorizedUsersForInstance' => [ + 'summary' => 'Queries a list of users that have permissions on the specified instance.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -28277,164 +20516,91 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeCode' => '250296', + 'abilityTreeNodes' => ['FEATUREdmsY7L2P4'], ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '4328****', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '174****', 'title' => ''], + ], + [ + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['description' => 'The keyword that is used for the search.'."\n", 'type' => 'string', 'required' => false, 'example' => 'poc_test', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'string', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The response schema.'."\n", + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '283C461F-11D8-48AA-B695-DF092DA32AF3', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'DataTrackOrderDetail' => [ - 'description' => 'The details of the ticket.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3431****', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'DatabaseSearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'xxx@yyy:3306', - ], - 'TableNames' => [ - 'description' => 'The names of the tables for which data operations are tracked.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of a table for which data operations are tracked.'."\n", - 'type' => 'string', - 'example' => 'table2', - ], - ], - 'TrackTypes' => [ - 'description' => 'The types of data operations that are tracked.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A type of data operation that is tracked.'."\n", - 'type' => 'string', - 'example' => 'UPDATE', - ], - ], - 'JobStartTime' => [ - 'description' => 'The start time of the time range in which data operations are tracked. The time is in the yyyy-MM-dd HH:mm:ss format.'."\n", - 'type' => 'string', - 'example' => '2023-04-23 00:00:00', - ], - 'JobEndTime' => [ - 'description' => 'The end time of the time range in which data operations are tracked. The time is in the yyyy-MM-dd HH:mm:ss format.'."\n", - 'type' => 'string', - 'example' => '2023-04-23 10:00:00', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'as_task', - ], - 'JobStatus' => [ - 'description' => 'The status of the data tracking task. Valid values:'."\n" - ."\n" - .'* **INIT**: The task is being initialized.'."\n" - .'* **LISTING**: The binary logs are being obtained.'."\n" - .'* **LIST_SUCCESS**: The binary logs are successfully obtained.'."\n" - .'* **DOWNLOADING**: The binary logs are being downloaded.'."\n" - .'* **DOWNLOAD_FAIL**: The binary logs failed to be downloaded.'."\n" - .'* **DOWNLOAD_SUCCESS**: The binary logs are successfully downloaded.'."\n" - .'* **FILTERING**: The binary logs are being parsed.'."\n" - .'* **FILTER_FAIL**: The binary logs failed to be parsed.'."\n" - .'* **FILTER_SUCCESS**: The binary logs are successfully parsed.'."\n", - 'type' => 'string', - 'example' => 'FILTER_SUCCESS', - ], - 'StatusDesc' => [ - 'description' => 'The description of the task status.'."\n", - 'type' => 'string', - 'example' => 'searching success', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Users' => [ + 'description' => 'The list of users that have permissions on the specified instance.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The list of users.'."\n", + 'type' => 'object', + 'properties' => [ + 'UserId' => ['description' => 'The ID of the user.'."\n", 'type' => 'string', 'example' => '51***', 'title' => ''], + 'Uid' => ['description' => 'The UID of the user\'s Alibaba Cloud account.'."\n", 'type' => 'string', 'example' => '164882191****'."\n", 'title' => ''], + 'UserNickName' => ['description' => 'The nickname of the user.'."\n", 'type' => 'string', 'example' => 'user_test', 'title' => ''], + 'UserRealName' => ['description' => 'The real name of the user.'."\n", 'type' => 'string', 'example' => 'user01', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Users\\": [\\n {\\n \\"UserId\\": \\"51***\\",\\n \\"Uid\\": \\"164882191****\\\\n\\",\\n \\"UserNickName\\": \\"user_test\\",\\n \\"UserRealName\\": \\"user01\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListAuthorizedUsersForInstance', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ListAuthorizedUsersForInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"283C461F-11D8-48AA-B695-DF092DA32AF3\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DataTrackOrderDetail\\": {\\n \\"DbId\\": 0,\\n \\"Logic\\": false,\\n \\"DatabaseSearchName\\": \\"xxx@yyy:3306\\",\\n \\"TableNames\\": [\\n \\"table2\\"\\n ],\\n \\"TrackTypes\\": [\\n \\"UPDATE\\"\\n ],\\n \\"JobStartTime\\": \\"2023-04-23 00:00:00\\",\\n \\"JobEndTime\\": \\"2023-04-23 10:00:00\\",\\n \\"SchemaName\\": \\"as_task\\",\\n \\"JobStatus\\": \\"FILTER_SUCCESS\\",\\n \\"StatusDesc\\": \\"searching success\\"\\n }\\n}","type":"json"}]', - 'title' => 'GetDataTrackOrderDetail', ], - 'SearchDataTrackResult' => [ - 'summary' => 'Searches for the parsing result of a data tracking task.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListClassificationTemplates' => [ + 'summary' => 'Queries the classification templates.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -28442,345 +20608,205 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '420****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], - [ - 'name' => 'FilterStartTime', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The start time of the time range in which you want to track data operations. The time must be in the yyyy-MM-dd HH:mm:ss format.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2023-04-23 00:00:00', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '90260530-565C-42B9-A6E8-893481FE6AB6'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'TemplateList' => [ + 'description' => 'The list of templates.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TemplateId' => ['title' => '', 'description' => 'The ID of the classification template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3**'], + 'Name' => ['title' => '', 'description' => 'The name of the classification template.'."\n", 'type' => 'string', 'example' => 'test'], + 'TemplateType' => ['title' => '', 'description' => 'The type of the classification template. Valid values:'."\n" + ."\n" + .'* **INNER**: built-in template'."\n" + .'* **USER_DEFINE**: custom template'."\n", 'type' => 'string', 'example' => 'USER_DEFINE'], + 'Remark' => ['title' => '', 'description' => 'The remarks.'."\n", 'type' => 'string', 'example' => 'test'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], + ], + 'title' => 'ListClassificationTemplates', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'FilterEndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end time of the time range in which you want to track data operations. The time must be in the yyyy-MM-dd HH:mm:ss format.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2023-04-23 10:00:00', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListClassificationTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"90260530-565C-42B9-A6E8-893481FE6AB6\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"TemplateList\\": [\\n {\\n \\"TemplateId\\": 0,\\n \\"Name\\": \\"test\\",\\n \\"TemplateType\\": \\"USER_DEFINE\\",\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListClassificationTemplatesResponse>\\n <RequestId>90260530-565C-42B9-A6E8-893481FE6AB6</RequestId>\\n <Success>true</Success>\\n <TemplateList>\\n <Name>test</Name>\\n <TemplateType>USER_DEFINE</TemplateType>\\n <Remark>test</Remark>\\n </TemplateList>\\n</ListClassificationTemplatesResponse>","errorExample":""}]', + ], + 'ListColumns' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'FilterTableList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The names of the tables for which you want to track data operations.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of a table for which you want to track data operations.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'table2', - ], - 'required' => false, - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list'], + 'parameters' => [ [ - 'name' => 'FilterTypeList', + 'name' => 'Tid', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The types of data operations that you want to track.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A type of data operation that you want to track.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'UPDATE', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'ColumnFilter', + 'name' => 'TableId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The condition to filter columns.'."\n", - 'type' => 'object', - 'properties' => [ - 'ColumnName' => [ - 'description' => 'The name of the column.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c_payer_name', - ], - 'Operator' => [ - 'description' => 'The type of the operator used to configure the filter condition. Valid values:'."\n" - ."\n" - .'* **EQUAL**: retrieves the column whose value is equal to the specified value.'."\n" - .'* **NOT_EQUAL**: retrieves the column whose value is not equal to the specified value.'."\n" - .'* **IN**: retrieves the column whose value is in the IN list.'."\n" - .'* **BETWEEN**: retrieves the column whose value is in the specified range.'."\n" - .'* **LESS**: retrieves the column whose value is less than the specified value.'."\n" - .'* **MORE**: retrieves the column whose value is greater than the specified value.'."\n" - .'* **NOT_IN**: retrieves the column whose value is not in the IN list.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'EQUAL', - 'enum' => [ - 'EQUAL', - 'NOT_EQUAL', - 'IN', - 'BETWEEN', - 'LESS', - 'MORE', - 'NOT_IN', - ], - ], - 'Value' => [ - 'description' => 'The value used in the filter condition.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'BetweenStart' => [ - 'description' => 'The start value of the range used in the filter condition. This parameter takes effect only when Operator is set to BETWEEN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'BetweenEnd' => [ - 'description' => 'The end value of the range used in the filter condition. This parameter takes effect only when Operator is set to BETWEEN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - 'InList' => [ - 'description' => 'The IN list used in the filter condition. This parameter takes effect only when Operator is set to IN or NOT_IN.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A value in the IN list. This parameter takes effect only when Operator is set to IN or NOT_IN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'required' => false, - ], - ], - 'required' => false, - ], + 'schema' => ['description' => 'The ID of the table. You can call the [ListTables](~~141878~~) operation to obtain the table ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '39281****', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'Logic', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '62***', - ], + 'schema' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is a physical database.'."\n", 'type' => 'boolean', 'required' => false, 'docRequired' => true, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response schema.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'TrackResult' => [ - 'description' => 'The parsing result of the data tracking task.'."\n", + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0AD9AC55-5873-474A-9F33-4285806A3619', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ColumnList' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '109', - ], - 'EventList' => [ - 'description' => 'The details of the event logs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of an event log.'."\n", - 'type' => 'object', - 'properties' => [ - 'DataAfter' => [ - 'description' => 'The data records after you perform data operations in the database.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A data record after you perform data operations in the database.'."\n", - 'type' => 'string', - 'example' => '1', - ], - ], - 'DataBefore' => [ - 'description' => 'The data records before you perform data operations in the database.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A data record before you perform data operations in the database.'."\n", - 'type' => 'string', - 'example' => '2', - ], - ], - 'EventLength' => [ - 'description' => 'The length of the event content. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4324', - ], - 'EventTimestamp' => [ - 'description' => 'The event time.'."\n", - 'type' => 'string', - 'example' => '2023-04-23 10:25:47', - ], - 'EventType' => [ - 'description' => 'The type of the event. Valid values:'."\n" - ."\n" - .'* **WRITE_ROWS**: indicates an INSERT operation.'."\n" - .'* **UPDATE_ROWS**: indicates an UPDATE operation.'."\n" - .'* **DELETE_ROWS**: indicates a DELETE operation.'."\n" - .'* **EXT_WRITE_ROWS**: indicates an INSERT operation, which is equivalent to WRITE_ROWS.'."\n" - .'* **EXT_UPDATE_ROWS**: indicates an UPDATE operation, which is equivalent to UPDATE_ROWS.'."\n" - .'* **EXT_DELETE_ROWS**: indicates a DELETE operation, which is equivalent to DELETE_ROWS.'."\n", - 'type' => 'string', - 'example' => 'UPDATE_ROWS', - ], - 'EventId' => [ - 'description' => 'The ID of the event.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RollSQL' => [ - 'description' => 'The SQL statements used to roll back the data change.'."\n", - 'type' => 'string', - 'example' => '-- Timestamp:2023-04-23 10:25:47 #1\\r\\nUPDATE `dc_test`.`tb_chunk_dml` SET `id`=1 , `gmt_create`=\'2021-09-30T00:00:00\' , `content`=\'2023-03-30 14:51:50\' , `c1`=\'2023-04-17 13:42:03\' , `c_id`=1 , `c13425`=\'b\\\\\'\' , `c432532535`= null , `c1432`= null , `c143243253`= null , `c1432535`= null , `c43125325`= null , `c3425325`= null WHERE (`id`=1)"', - ], - ], - ], - ], - 'TableInfoList' => [ - 'description' => 'The metadata of tables for which you track data operations.'."\n", + 'Column' => [ + 'description' => 'The details about columns.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The metadata of a table for which you track data operations.'."\n", + 'description' => 'The details about fields in the table.'."\n", 'type' => 'object', 'properties' => [ - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'prod_eb_vas', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'import_table_test1', - ], - 'Columns' => [ - 'description' => 'The information about columns.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about a column.'."\n", - 'type' => 'object', - 'properties' => [ - 'ColumnName' => [ - 'description' => 'The name of the column.'."\n", - 'type' => 'string', - 'example' => 'basic_platform', - ], - 'ColumnPosition' => [ - 'description' => 'The position of the column.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ColumnType' => [ - 'description' => 'The data type of the column. Examples: BIGINT, INT, and VARCHAR.'."\n", - 'type' => 'string', - 'example' => 'BIGINT', - ], - 'Fictive' => [ - 'description' => 'Indicates whether the column is a virtual column. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], - 'Description' => [ - 'description' => 'The description of the column.'."\n", - 'type' => 'string', - 'example' => 'auto-description', - ], + 'ColumnType' => ['description' => 'The data type of the column.'."\n", 'type' => 'string', 'example' => 'varchar', 'title' => ''], + 'AutoIncrement' => ['description' => 'Indicates whether the column is an auto-increment column. Valid values:'."\n" + ."\n" + .'* true: The column is an auto-increment column.'."\n" + .'* false: The column is not an auto-increment column.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ColumnId' => ['description' => 'The ID of the column.'."\n", 'type' => 'string', 'example' => '62589****', 'title' => ''], + 'DefaultValue' => ['description' => 'The default value of the column.'."\n", 'type' => 'string', 'example' => 'def_value', 'title' => ''], + 'Sensitive' => ['description' => 'Indicates whether the column is a sensitive column. Valid values:'."\n" + ."\n" + .'* **true**: The column is a sensitive column.'."\n" + .'* **false**: The column is not a sensitive column.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ColumnName' => ['description' => 'The name of the column.'."\n", 'type' => 'string', 'example' => 'name', 'title' => ''], + 'SecurityLevel' => ['description' => 'The security level of the column. Valid values:'."\n" + ."\n" + .'* INNER: The column is an internal column but not sensitive.'."\n" + .'* SENSITIVE: The column is a sensitive column.'."\n" + .'* CONFIDENTIAL: The column is a confidential column.'."\n" + ."\n" + .'> For more information, see [Sensitivity levels of fields](~~66091~~).'."\n", 'type' => 'string', 'example' => 'INNER', 'title' => ''], + 'Description' => ['description' => 'The description of the column.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'DataPrecision' => ['description' => 'The number of valid digits for the field.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'DataScale' => ['description' => 'The number of decimal places for the field.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'FunctionType' => ['description' => 'The type of the masking algorithm that is used for the field. Valid values:'."\n" + ."\n" + .'* null: No masking algorithm is used.'."\n" + .'* DEFAULT: A full masking algorithm is used.'."\n" + .'* FIX_POS: The fixed position is masked.'."\n" + .'* FIX_CHAR: The fixed characters are replaced.'."\n", 'type' => 'string', 'example' => 'DEFAULT', 'title' => ''], + 'Nullable' => ['description' => 'Indicates whether the column can be empty. Valid values:'."\n" + ."\n" + .'* **true**: The column can be empty.'."\n" + .'* **false**: The column cannot be empty.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'DataLength' => ['description' => 'The length of the field.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'ListColumns', + 'summary' => 'Returns the column information of a table.', + 'description' => 'You can call this operation only for database instances whose control mode is Security Collaboration.'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListColumns', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"TrackResult\\": {\\n \\"TotalCount\\": 109,\\n \\"EventList\\": [\\n {\\n \\"DataAfter\\": [\\n \\"1\\"\\n ],\\n \\"DataBefore\\": [\\n \\"2\\"\\n ],\\n \\"EventLength\\": 4324,\\n \\"EventTimestamp\\": \\"2023-04-23 10:25:47\\",\\n \\"EventType\\": \\"UPDATE_ROWS\\",\\n \\"EventId\\": 1,\\n \\"RollSQL\\": \\"-- Timestamp:2023-04-23 10:25:47 #1\\\\\\\\r\\\\\\\\nUPDATE `dc_test`.`tb_chunk_dml` SET `id`=1 , `gmt_create`=\'2021-09-30T00:00:00\' , `content`=\'2023-03-30 14:51:50\' , `c1`=\'2023-04-17 13:42:03\' , `c_id`=1 , `c13425`=\'b\\\\\\\\\\\\\\\\\'\' , `c432532535`= null , `c1432`= null , `c143243253`= null , `c1432535`= null , `c43125325`= null , `c3425325`= null WHERE (`id`=1)\\\\\\"\\"\\n }\\n ],\\n \\"TableInfoList\\": [\\n {\\n \\"SchemaName\\": \\"prod_eb_vas\\",\\n \\"TableName\\": \\"import_table_test1\\",\\n \\"Columns\\": [\\n {\\n \\"ColumnName\\": \\"basic_platform\\",\\n \\"ColumnPosition\\": 1,\\n \\"ColumnType\\": \\"BIGINT\\",\\n \\"Fictive\\": true\\n }\\n ],\\n \\"Description\\": \\"auto-description\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => 'SearchDataTrackResult', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AD9AC55-5873-474A-9F33-4285806A3619\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ColumnList\\": {\\n \\"Column\\": [\\n {\\n \\"ColumnType\\": \\"varchar\\",\\n \\"AutoIncrement\\": false,\\n \\"ColumnId\\": \\"62589****\\",\\n \\"DefaultValue\\": \\"def_value\\",\\n \\"Sensitive\\": false,\\n \\"ColumnName\\": \\"name\\",\\n \\"SecurityLevel\\": \\"INNER\\",\\n \\"Description\\": \\"test\\",\\n \\"DataPrecision\\": 0,\\n \\"DataScale\\": 0,\\n \\"FunctionType\\": \\"DEFAULT\\",\\n \\"Nullable\\": false,\\n \\"DataLength\\": 4\\n }\\n ]\\n },\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListColumnsResponse>\\n <RequestId>0AD9AC55-5873-474A-9F33-4285806A3619</RequestId>\\n <ColumnList>\\n <ColumnId>62589****</ColumnId>\\n <ColumnName>name</ColumnName>\\n <Description/>\\n <ColumnType>varchar(4)</ColumnType>\\n <AutoIncrement>false</AutoIncrement>\\n <SecurityLevel>INNER</SecurityLevel>\\n <DataLength>4</DataLength>\\n <Sensitive>false</Sensitive>\\n <Nullable>false</Nullable>\\n </ColumnList>\\n <Success>true</Success>\\n</ListColumnsResponse>","errorExample":""}]', ], - 'DownloadDataTrackResult' => [ - 'summary' => 'Downloads the parsing result of a data tracking task.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDAGVersions' => [ + 'summary' => 'Queries the published versions of a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -28789,250 +20815,211 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', + 'operationType' => 'list', + 'abilityTreeCode' => '133412', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '406****', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', 'title' => ''], ], [ - 'name' => 'RollbackSQLType', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the SQL statement.'."\n" - ."\n" - .'* **REVERSE**: undoes or rolls back an executed SQL statement, which is equivalent to the UNDO SQL statement.'."\n" - .'* **FORWARD**: redoes or re-executes an SQL statement that failed to be executed, which is equivalent to the REDO SQL statement.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'REVERSE', - 'enum' => [ - 'REVERSE', - 'FORWARD', - ], - ], + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'FilterStartTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The start time of the time range in which you want to track data operations. The time must be specified in the yyyy-MM-dd HH:mm:ss format.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2023-04-23 00:00:00', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '20', 'title' => ''], ], [ - 'name' => 'FilterEndTime', + 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The end time of the time range in which you want to track data operations. The time must be specified in the yyyy-MM-dd HH:mm:ss format.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2023-04-23 10:00:00', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C7775630-7901-51B9-8782-9B585EC0799A', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'DagVersionList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DagVersion' => [ + 'description' => 'The information about the published versions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DagName' => ['description' => 'The name of the task flow.'."\n", 'type' => 'string', 'example' => 'Spark SQL', 'title' => ''], + 'DagOwnerId' => ['description' => 'The ID of the task flow owner.'."\n", 'type' => 'string', 'example' => '51****', 'title' => ''], + 'DagOwnerNickName' => ['description' => 'The name of the task flow owner.'."\n", 'type' => 'string', 'example' => 'name', 'title' => ''], + 'VersionComments' => ['description' => 'The description of the version.'."\n", 'type' => 'string', 'example' => 'test_OSS', 'title' => ''], + 'VersionId' => ['description' => 'The ID of the version.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2****', 'title' => ''], + 'LastVersionId' => ['description' => 'The ID of the previously published version.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'ListDAGVersions', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'FilterTableList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The names of the tables for which you want to track data operations.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of a table for which you want to track data operations.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'table2', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDAGVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => false, ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7775630-7901-51B9-8782-9B585EC0799A\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 1,\\n \\"DagVersionList\\": {\\n \\"DagVersion\\": [\\n {\\n \\"DagName\\": \\"Spark SQL\\",\\n \\"DagOwnerId\\": \\"51****\\",\\n \\"DagOwnerNickName\\": \\"name\\",\\n \\"VersionComments\\": \\"test_OSS\\",\\n \\"VersionId\\": 0,\\n \\"LastVersionId\\": 0\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListDAGVersionsResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>C7775630-7901-51B9-8782-9B585EC0799A</RequestId>\\n <DagVersionList>\\n <DagVersion>\\n <VersionId>2****</VersionId>\\n <DagOwnerId>51****</DagOwnerId>\\n <VersionComments>test_OSS</VersionComments>\\n <DagName>Spark SQL</DagName>\\n <DagOwnerNickName>name</DagOwnerNickName>\\n </DagVersion>\\n </DagVersionList>\\n <Success>true</Success>\\n</ListDAGVersionsResponse>","errorExample":""}]', + ], + 'ListDBTaskSQLJob' => [ + 'summary' => 'Queries a list of SQL tasks.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list'], + 'parameters' => [ [ - 'name' => 'FilterTypeList', + 'name' => 'DBTaskGroupId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The types of data operations that you want to track.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A type of data operation that you want to track.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'UPDATE', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The ID of the SQL task group. You can call the [GetStructSyncJobDetail](~~206160~~) operation to obtain this parameter.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'exclusiveMaximum' => false, 'minimum' => '1', 'example' => '132****', 'title' => ''], ], [ - 'name' => 'ColumnFilter', + 'name' => 'PageNumber', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The condition to filter columns.'."\n", - 'type' => 'object', - 'properties' => [ - 'ColumnName' => [ - 'description' => 'The name of the column.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'account_name', - ], - 'Operator' => [ - 'description' => 'The type of the operator used to configure the filter condition. Valid values:'."\n" - ."\n" - .'* **EQUAL**: retrieves the column whose value is equal to the specified value.'."\n" - .'* **NOT_EQUAL**: retrieves the column whose value is not equal to the specified value.'."\n" - .'* **IN**: retrieves the column whose value is in the IN list.'."\n" - .'* **BETWEEN**: retrieves the column whose value is in the specified range.'."\n" - .'* **LESS**: retrieves the column whose value is less than the specified value.'."\n" - .'* **MORE**: retrieves the column whose value is greater than the specified value.'."\n" - .'* **NOT_IN**: retrieves the column whose value is not in the IN list.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'EQUAL', - 'enum' => [ - 'EQUAL', - 'NOT_EQUAL', - 'IN', - 'BETWEEN', - 'LESS', - 'MORE', - 'NOT_IN', - ], - ], - 'Value' => [ - 'description' => 'The value used in the filter condition.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'BetweenStart' => [ - 'description' => 'The start value of the range used in the filter condition. This parameter takes effect only when Operator is set to BETWEEN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'BetweenEnd' => [ - 'description' => 'The end value of the range used in the filter condition. This parameter takes effect only when Operator is set to BETWEEN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - 'InList' => [ - 'description' => 'The IN list used in the filter condition.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'This parameter takes effect only when Operator is set to IN or NOT_IN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'required' => false, - ], - ], - 'required' => false, - ], + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'EventIdList', + 'name' => 'PageSize', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The IDs of the events.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The event ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The response schema.'."\n", + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B43AD641-49C2-5299-9E06-1B37EC1B****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'DownloadKeyId' => [ - 'description' => 'The ID of the download key, which is used to download the parsing result of the data tracking task.'."\n", - 'type' => 'string', - 'example' => 'e23dd7ec-a19f-4a69-8eb3-8ffd26e6****', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F6C47680-8D2D-43A4-8902-F2740D71A398'], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'DBTaskSQLJobList' => [ + 'description' => 'The list of the SQL tasks.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The SQL task.'."\n", + 'type' => 'object', + 'properties' => [ + 'JobId' => ['description' => 'The ID of the SQL task.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], + 'JobType' => ['description' => 'The type of the SQL task.'."\n", 'type' => 'string', 'example' => 'STRUCT_SYNC', 'title' => ''], + 'Comment' => ['description' => 'The description of the SQL task.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'DbSearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'example' => 'test@xxx:3306[test]', 'title' => ''], + 'DbId' => ['description' => 'The ID of the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '43214523', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is a logical database.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the SQL task was created.'."\n", 'type' => 'string', 'example' => '2021-02-18 17:49:20', 'title' => ''], + 'LastExecTime' => ['description' => 'The time when the SQL task was last executed.'."\n", 'type' => 'string', 'example' => '2021-02-18 17:49:31', 'title' => ''], + 'DbTaskGroupId' => ['description' => 'The ID of the SQL task group.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '432****', 'title' => ''], + 'Status' => ['description' => 'The state of the SQL task. Valid values:'."\n" + ."\n" + .'* **INIT**: The SQL task was initialized.'."\n" + .'* **PENDING**: The SQL task waited to be run.'."\n" + .'* **BE_SCHEDULED**: The SQL task waited to be scheduled.'."\n" + .'* **FAIL**: The SQL task failed.'."\n" + .'* **SUCCESS**: The SQL task was successful.'."\n" + .'* **PAUSE**: The SQL task was paused.'."\n" + .'* **DELETE**: The SQL task was deleted.'."\n" + .'* **RUNNING**: The SQL task was being run.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'Transactional' => ['description' => 'Indicates whether the SQL task is executed as a transaction. Valid values:'."\n" + ."\n" + .'* **true**: The SQL task is executed as a transaction.'."\n" + .'* **false**: The SQL task is not executed as a transaction.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of the SQL tasks.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'ListDBTaskSQLJob', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDBTaskSQLJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B43AD641-49C2-5299-9E06-1B37EC1B****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DownloadKeyId\\": \\"e23dd7ec-a19f-4a69-8eb3-8ffd26e6****\\"\\n}","type":"json"}]', - 'title' => 'DownloadDataTrackResult', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F6C47680-8D2D-43A4-8902-F2740D71A398\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DBTaskSQLJobList\\": [\\n {\\n \\"JobId\\": 0,\\n \\"JobType\\": \\"STRUCT_SYNC\\",\\n \\"Comment\\": \\"test\\",\\n \\"DbSearchName\\": \\"test@xxx:3306[test]\\",\\n \\"DbId\\": 43214523,\\n \\"Logic\\": false,\\n \\"CreateTime\\": \\"2021-02-18 17:49:20\\",\\n \\"LastExecTime\\": \\"2021-02-18 17:49:31\\",\\n \\"DbTaskGroupId\\": 0,\\n \\"Status\\": \\"SUCCESS\\",\\n \\"Transactional\\": false\\n }\\n ],\\n \\"TotalCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<ListDBTaskSQLJobResponse>\\n <RequestId>F6C47680-8D2D-43A4-8902-F2740D71A398</RequestId>\\n <Success>true</Success>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <ErrorCode>UnknownError</ErrorCode>\\n <DBTaskSQLJobList>\\n <JobType>STRUCT_SYNC</JobType>\\n <Comment>test</Comment>\\n <DbSearchName>test@xxx:3306【test】</DbSearchName>\\n <DbId>43214523</DbId>\\n <Logic>false</Logic>\\n <CreateTime>2021-02-18 17:49:20</CreateTime>\\n <LastExecTime>2021-02-18 17:49:31</LastExecTime>\\n <Status>SUCCESS</Status>\\n <Transactional>false</Transactional>\\n </DBTaskSQLJobList>\\n <TotalCount>1</TotalCount>\\n</ListDBTaskSQLJobResponse>","errorExample":""}]', ], - 'QueryDataTrackResultDownloadStatus' => [ - 'summary' => 'Queries the download and parsing progress of data tracking logs.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDBTaskSQLJobDetail' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -29041,399 +21028,394 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdms867K9R'], ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ID of the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '11****', - ], + 'schema' => ['description' => 'The ID of the SQL task. You can call the [ListDBTaskSQLJob](~~207049~~) operation to obtain this ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1276****', 'title' => ''], ], [ - 'name' => 'DownloadKeyId', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the download key, which is used to identify the parsing progress of data tracking logs. You can call the DownloadDataTrackResult operation to query the ID of the key.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'e23dd7ec-a19f-4a69-8eb3-8ffd26e6****', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain this ID.', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The response schema.'."\n", + 'description' => 'The data returned in the response.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'StatusResult' => [ - 'description' => 'The information about the download progress.'."\n", - 'type' => 'object', - 'properties' => [ - 'DownloadStatus' => [ - 'description' => 'The status of the download task. Valid values:'."\n" + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '3F044E33-FE09-58F1-8C61-A0F612EC****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned.', 'type' => 'string', 'example' => 'JobId is mandatory for this action.', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned.', 'type' => 'string', 'example' => 'MissingJobId', 'title' => ''], + 'DBTaskSQLJobDetailList' => [ + 'description' => 'The details of the SQL jobs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the SQL job.', + 'type' => 'object', + 'properties' => [ + 'JobDetailId' => ['description' => 'The ID of the SQL job detail.', 'type' => 'integer', 'format' => 'int64', 'example' => '24723****', 'title' => ''], + 'CurrentSql' => ['description' => 'The SQL statement that is currently being executed.', 'type' => 'string', 'example' => 'update a set id = 1 where id = 1;', 'title' => ''], + 'ExecuteCount' => ['description' => 'The number of executions.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'JobId' => ['description' => 'The ID of the SQL job.', 'type' => 'integer', 'format' => 'int64', 'example' => '1276****', 'title' => ''], + 'DbId' => ['description' => 'The ID of the physical database.', 'type' => 'integer', 'format' => 'int64', 'example' => '1988****', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" ."\n" - .'* **INIT**: The download task is being initialized.'."\n" - .'* **LISTING**: The download task is in a transient intermediate state during the initialization.'."\n" - .'* **DOWNLOADING**: The download task is being processed.'."\n" - .'* **DOWNLOAD_SUCCESS**: The download task was successfully processed.'."\n" - .'* **DOWNLOAD_FAIL**: The download task failed.'."\n", - 'type' => 'string', - 'example' => 'DOWNLOAD_SUCCESS', - ], - 'DownloadUrl' => [ - 'description' => 'The URL that is used to download data tracking logs. This parameter is returned only when the value of DownloadStatus is DOWNLOAD_SUCCESS.'."\n", - 'type' => 'string', - 'example' => 'https://idbsaasstore.oss-cn-zhangjiakou.aliyuncs.com/****_REDO_31201_207.zip?Expires=1682239593&OSSAccessKeyId=****&Signature=****'."\n", - ], - 'StatusDesc' => [ - 'description' => 'The description of the state.'."\n", - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '69', - ], + .'- **true**: a logical database'."\n" + ."\n" + .'- **false**: a physical database', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Skip' => ['description' => 'Indicates whether the SQL script is skipped. Valid values:'."\n" + ."\n" + .'- **true**: The script was skipped.'."\n" + ."\n" + .'- **false**: The script was not skipped.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'SqlType' => ['description' => 'The type of the SQL statement. Examples: DELETE, UPDATE, and ALTER\\_TABLE.', 'type' => 'string', 'example' => 'CREATE_TABLE', 'title' => ''], + 'Status' => ['description' => 'The status of the SQL job. Valid values:'."\n" + ."\n" + .'- **INIT**: The job is being initialized.'."\n" + ."\n" + .'- **PENDING**: The job is pending to be fetched.'."\n" + ."\n" + .'- **BE\\_SCHEDULED**: The job is to be scheduled.'."\n" + ."\n" + .'- **FAIL**: The job failed.'."\n" + ."\n" + .'- **SUCCESS**: The job was successful.'."\n" + ."\n" + .'- **PAUSE**: The job is paused.'."\n" + ."\n" + .'- **DELETE**: The job is deleted.'."\n" + ."\n" + .'- **RUNNING**: The job is running.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'Log' => ['description' => 'The execution log of the SQL job.', 'type' => 'string', 'example' => 'log_info', 'title' => ''], + 'StartTime' => ['description' => 'The time when the SQL execution started.', 'type' => 'string', 'example' => '2021-12-16 00:00:00', 'title' => ''], + 'EndTime' => ['description' => 'The time when the SQL execution ended.', 'type' => 'string', 'example' => '2021-12-16 00:00:01', 'title' => ''], + 'TimeDelay' => ['description' => 'The duration of the SQL execution, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '38', 'title' => ''], + 'AffectRows' => ['description' => 'The number of affected rows.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'SqlId' => ['description' => 'The ID of the SQL statement.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of SQL jobs.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"StatusResult\\": {\\n \\"DownloadStatus\\": \\"DOWNLOAD_SUCCESS\\",\\n \\"DownloadUrl\\": \\"https://idbsaasstore.oss-cn-zhangjiakou.aliyuncs.com/****_REDO_31201_207.zip?Expires=1682239593&OSSAccessKeyId=****&Signature=****\\\\n\\",\\n \\"StatusDesc\\": \\"SUCCESS\\",\\n \\"TotalCount\\": 69\\n }\\n}","type":"json"}]', - 'title' => 'QueryDataTrackResultDownloadStatus', - ], - 'CreateUploadFileJob' => [ - 'summary' => 'Creates a task to upload an attachment file.', - 'methods' => [ - 'get', - 'post', + 'title' => 'ListDBTaskSQLJobDetail', + 'summary' => 'Gets the details of the SQL task.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDBTaskSQLJobDetail'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDBTaskSQLJobDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3F044E33-FE09-58F1-8C61-A0F612EC****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"JobId is mandatory for this action.\\",\\n \\"ErrorCode\\": \\"MissingJobId\\",\\n \\"DBTaskSQLJobDetailList\\": [\\n {\\n \\"JobDetailId\\": 0,\\n \\"CurrentSql\\": \\"update a set id = 1 where id = 1;\\",\\n \\"ExecuteCount\\": 1,\\n \\"JobId\\": 0,\\n \\"DbId\\": 0,\\n \\"Logic\\": false,\\n \\"Skip\\": false,\\n \\"SqlType\\": \\"CREATE_TABLE\\",\\n \\"Status\\": \\"SUCCESS\\",\\n \\"Log\\": \\"log_info\\",\\n \\"StartTime\\": \\"2021-12-16 00:00:00\\",\\n \\"EndTime\\": \\"2021-12-16 00:00:01\\",\\n \\"TimeDelay\\": 38,\\n \\"AffectRows\\": 0,\\n \\"SqlId\\": 0\\n }\\n ],\\n \\"TotalCount\\": 1\\n}","type":"json"}]', + ], + 'ListDDLPublishRecords' => [ + 'summary' => 'Queries the publishing details of a schema design ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdms867K9R'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '结构设计功能为重页面编辑态控制台功能,无完整API,无法完成自动化测试', ], 'parameters' => [ [ - 'name' => 'FileSource', - 'in' => 'query', - 'schema' => [ - 'description' => 'The purpose of the attachment file. Valid values:'."\n" - ."\n" - .'* **datacorrect**: The file is uploaded to change data.'."\n" - .'* **order_info_attachment**: The file is uploaded as an attachment in a ticket.'."\n" - .'* **big-file**: The file is uploaded to import multiple data records at a time.'."\n" - .'* **sqlreview**: The file is uploaded for SQL review.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'datacorrect', - 'enum' => [ - 'datacorrect', - 'order_info_attachment', - 'big-file', - 'sqlreview', - ], - ], - ], - [ - 'name' => 'FileName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the attachment file.'."\n" - ."\n" - .'> The file name must end with .txt or .sql. For example, the file name can be test.txt or test.sql.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test.txt', - ], - ], - [ - 'name' => 'UploadURL', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The URL of the attachment file. The URL must be an HTTP URL or an HTTPS URL.'."\n" - ."\n" - .'> You can upload the attachment file to an Object Storage Service (OSS) bucket and obtain the URL of the file in the OSS console. For more information, see [Share objects](~~195674~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'https://XXX.oss-cn-hangzhou.aliyuncs.com/test.txt', - ], + 'schema' => ['description' => 'The ID of the ticket.'."\n" + ."\n" + .'> You can create a schema design ticket in the Data Management (DMS) console. For more information, see [Design schemas](~~69711~~). You can also call the [CreateOrder](~~144649~~) operation to create a schema design ticket and obtain the ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3214325', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, log on to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E103C5F9-DE47-53F2-BF34-D71DF38F****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'Unsupported url scheme : null, scheme must be https or http', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'InvalidParameterValid', - ], - 'JobKey' => [ - 'description' => 'The key of the task.'."\n" - ."\n" - .'> You can call the [GetUserUploadFileJob](~~206069~~) operation to query the progress and details of the task.'."\n", - 'type' => 'string', - 'example' => '761f18031635736380812****', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A1549FB0-D4B8-4140-919F-17322C1072B8'], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'DDLPublishRecordList' => [ + 'description' => 'The details of the publishing records.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The publishing record.'."\n", + 'type' => 'object', + 'properties' => [ + 'AuditStatus' => ['description' => 'The approval state of the ticket. Valid values:'."\n" + ."\n" + .'* **EXEMPT_PASS**: The ticket passes without approval.'."\n" + .'* **TO_AUDIT**: The ticket is pending for approval.'."\n" + .'* **CANCEL**: The ticket is canceled.'."\n" + .'* **SUCCESS**: The ticket is approved.'."\n" + .'* **FAIL**: The ticket fails to pass the approval.'."\n", 'type' => 'string', 'example' => 'CANCEL', 'title' => ''], + 'AuditExpireTime' => ['description' => 'The time when the approval expires.'."\n", 'type' => 'string', 'example' => '2020-12-14 20:52:38', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who creates the ticket. You can obtain the user ID by calling the [GetUser](~~147098~~) operation and querying the value of the UserId parameter. The value is not the unique ID (UID) of the Alibaba Cloud account.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1423', 'title' => ''], + 'Finality' => ['description' => 'Indicates whether the approval is terminated. Valid values:'."\n" + ."\n" + .'* **true**: The approval is terminated.'."\n" + .'* **false**: The approval is not terminated.'."\n" + ."\n" + .'> Multiple reasons can terminate the approval. For example, you withdraw the application or your ticket is not approved before the specified time.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'FinalityReason' => ['description' => 'The reason for the termination.'."\n", 'type' => 'string', 'example' => 'CANCEL', 'title' => ''], + 'PublishStatus' => ['description' => 'The publishing state of the ticket. Valid values:'."\n" + ."\n" + .'* **START**: The ticket is created.'."\n" + .'* **ANALYZE**: The ticket is under analysis.'."\n" + .'* **AUDIT**: The ticket is under approval.'."\n" + .'* **DISPATCH**: A task is generated for the ticket.'."\n" + .'* **SUCCESS**: The task is successful.'."\n", 'type' => 'string', 'example' => 'AUDIT', 'title' => ''], + 'RiskLevel' => ['description' => 'The risk level of the operation. Valid values:'."\n" + ."\n" + .'* **NONE_RISK**: The operation does not have risks.'."\n" + .'* **LOW_RISK**: The operation is at low risk.'."\n" + .'* **MIDDLE_RISK**: The operation is at medium risk.'."\n" + .'* **HIGH_RISK**: The operation is at high risk.'."\n", 'type' => 'string', 'example' => 'LOW_RISK', 'title' => ''], + 'StatusDesc' => ['description' => 'The description of the publishing state.'."\n", 'type' => 'string', 'example' => 'CANCEL', 'title' => ''], + 'WorkflowInstanceId' => ['description' => 'The ID of the approval process.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '432153', 'title' => ''], + 'Comment' => ['title' => '发布备注', 'description' => 'Release remarks.', 'type' => 'string', 'example' => 'Publish remarks'], + 'PublishTaskInfoList' => [ + 'description' => 'The list of publishing tasks.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the publishing task.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4325', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: the database is not a logical database.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'PlanTime' => ['description' => 'The time to publish the ticket.'."\n", 'type' => 'string', 'example' => '2020-12-14 20:52:38', 'title' => ''], + 'PublishStrategy' => ['description' => 'The publishing policy. Valid values:'."\n" + ."\n" + .'* **IMMEDIATELY**: immediately publishes the ticket.'."\n" + .'* **REGULARLY**: publishes the ticket at a scheduled time.'."\n", 'type' => 'string', 'example' => 'IMMEDIATELY', 'title' => ''], + 'StatusDesc' => ['description' => 'The description of the state.'."\n", 'type' => 'string', 'example' => 'NONE', 'title' => ''], + 'TaskJobStatus' => ['description' => 'The state of the task.'."\n", 'type' => 'string', 'example' => 'NONE', 'title' => ''], + 'PublishJobList' => [ + 'description' => 'The list of the publishing tasks.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the publishing task.'."\n", + 'type' => 'object', + 'properties' => [ + 'ExecuteCount' => ['description' => 'The number of SQL statements that are executed.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Scripts' => ['description' => 'The script for data changes.'."\n", 'type' => 'string', 'example' => 'ALTER TABLE test_toolkit_rename_table_after_rename MODIFY COLUMN gmt_modified datetime NOT NULL', 'title' => ''], + 'TableName' => ['description' => 'The name of the table after the change.'."\n", 'type' => 'string', 'example' => 'test_toolkit_rename_table_after_rename', 'title' => ''], + 'StatusDesc' => ['description' => 'The description of the state.'."\n", 'type' => 'string', 'example' => 'NONE', 'title' => ''], + 'TaskJobStatus' => ['description' => 'The state of the publishing task. Valid values:'."\n" + ."\n" + .'* **NONE**: The state of the task is unknown.'."\n" + .'* **SUCCESS**: The task is successful.'."\n" + .'* **FAIL**: The task fails.'."\n", 'type' => 'string', 'example' => 'NONE', 'title' => ''], + 'DBTaskGroupId' => ['description' => 'The ID of the SQL task group.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '423515', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E103C5F9-DE47-53F2-BF34-D71DF38F****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"Unsupported url scheme : null, scheme must be https or http\\",\\n \\"ErrorCode\\": \\"InvalidParameterValid\\",\\n \\"JobKey\\": \\"761f18031635736380812****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateUploadFileJobResponse>\\n <JobKey>761f18031635736380812****</JobKey>\\n <RequestId>E103C5F9-DE47-53F2-BF34-D71DF38F****</RequestId>\\n <Success>true</Success>\\n</CreateUploadFileJobResponse>","errorExample":""}]', - 'title' => 'CreateUploadFileJob', - ], - 'CreateUploadOSSFileJob' => [ - 'summary' => 'Creates a task to upload an Object Storage Service (OSS) file and obtain the key of the task.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A1549FB0-D4B8-4140-919F-17322C1072B8\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DDLPublishRecordList\\": [\\n {\\n \\"AuditStatus\\": \\"CANCEL\\",\\n \\"AuditExpireTime\\": \\"2020-12-14 20:52:38\\",\\n \\"CreatorId\\": 1423,\\n \\"Finality\\": true,\\n \\"FinalityReason\\": \\"CANCEL\\",\\n \\"PublishStatus\\": \\"AUDIT\\",\\n \\"RiskLevel\\": \\"LOW_RISK\\",\\n \\"StatusDesc\\": \\"CANCEL\\",\\n \\"WorkflowInstanceId\\": 432153,\\n \\"Comment\\": \\"Publish remarks\\",\\n \\"PublishTaskInfoList\\": [\\n {\\n \\"DbId\\": 4325,\\n \\"Logic\\": false,\\n \\"PlanTime\\": \\"2020-12-14 20:52:38\\",\\n \\"PublishStrategy\\": \\"IMMEDIATELY\\",\\n \\"StatusDesc\\": \\"NONE\\",\\n \\"TaskJobStatus\\": \\"NONE\\",\\n \\"PublishJobList\\": [\\n {\\n \\"ExecuteCount\\": 0,\\n \\"Scripts\\": \\"ALTER TABLE test_toolkit_rename_table_after_rename MODIFY COLUMN gmt_modified datetime NOT NULL\\",\\n \\"TableName\\": \\"test_toolkit_rename_table_after_rename\\",\\n \\"StatusDesc\\": \\"NONE\\",\\n \\"TaskJobStatus\\": \\"NONE\\",\\n \\"DBTaskGroupId\\": 423515\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListDDLPublishRecords', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDDLPublishRecords'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDDLPublishRecords', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDataCorrectPreCheckDB' => [ + 'summary' => 'Queries the databases that are involved in the precheck of a data change ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'FileSource', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The purpose of the file upload task. Valid values:'."\n" - ."\n" - .'* **datacorrect**: The file is uploaded to change data.'."\n" - .'* **order_info_attachment**: The file is uploaded as an attachment in a ticket.'."\n" - .'* **big-file**: The file is uploaded to import multiple data records at a time.'."\n" - .'* **sqlreview**: The file is uploaded for SQL review.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'datacorrect', - 'enum' => [ - 'datacorrect', - 'order_info_attachment', - 'big-file', - 'sqlreview', - ], - ], + 'schema' => ['description' => 'The ID of the ticket for the data change.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '432****', 'title' => ''], ], [ - 'name' => 'FileName', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the file.'."\n" - ."\n" - .'> The file name must end with .txt or .sql. For example, the file name can be text.txt.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test.sql', - ], + 'schema' => ['description' => 'The number of the page to return.'."\n" + ."\n" + .'Valid values: an integer that is greater than 0.'."\n" + ."\n" + .'Default value: 1.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'UploadTarget', + 'name' => 'PageSize', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The information about the OSS file to be uploaded.'."\n", - 'type' => 'object', - 'properties' => [ - 'Endpoint' => [ - 'description' => 'The endpoint of the OSS bucket.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'http://oss-cn-hangzhou.aliyuncs.com', - ], - 'BucketName' => [ - 'description' => 'The name of the OSS bucket.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_bucket', - ], - 'ObjectName' => [ - 'description' => 'The name of the OSS object.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test.sql', - ], - ], - 'required' => true, - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '-1', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '4321****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'JobKey' => [ - 'description' => 'The key of the file upload task. You can query the upload progress and task details. For more information, see [GetUserUploadFileJob](~~206069~~).'."\n", - 'type' => 'string', - 'example' => '65254a4c1614235217749100e', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '95A972AF-FAED-4768-9360-7C0DF5D594D0'], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'PreCheckDBList' => [ + 'description' => 'The information about the databases that are involved in the precheck.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '43***', 'title' => ''], + 'SearchName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'test@localhost:3306', 'title' => ''], + 'SqlNum' => ['description' => 'The number of SQL statements.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"JobKey\\": \\"65254a4c1614235217749100e\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateUploadOSSFileJobResponse>\\n <JobKey>7000005000007000009000000</JobKey>\\n <RequestId>44355324-9534-4AF4-B7AA-8EDE3C767889</RequestId>\\n <Success>true</Success>\\n</CreateUploadOSSFileJobResponse>","errorExample":""}]', - 'title' => 'CreateUploadOSSFileJob', - ], - 'GetUserUploadFileJob' => [ - 'summary' => 'Obtains the information of a file upload task.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListDataCorrectPreCheckDB', + 'description' => 'For more information about the Normal Data Modify feature, see [Change regular data](~~58419~~).'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDataCorrectPreCheckDB', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"95A972AF-FAED-4768-9360-7C0DF5D594D0\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"PreCheckDBList\\": [\\n {\\n \\"DbId\\": 0,\\n \\"SearchName\\": \\"test@localhost:3306\\",\\n \\"SqlNum\\": 1\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListDataCorrectPreCheckDBResponse>\\n <RequestId>A793B353-2D13-47A3-AF45-53798FBD864F</RequestId>\\n <PreCheckDBList>\\n <SqlNum>1</SqlNum>\\n <SearchName>poc_dev@rm-uf61****1w0926d66.mysql.rds.aliyuncs.com:3306【poc_dev】</SearchName>\\n <DbId>8050000</DbId>\\n </PreCheckDBList>\\n <Success>true</Success>\\n</ListDataCorrectPreCheckDBResponse>","errorExample":""}]', + ], + 'ListDataCorrectPreCheckSQL' => [ + 'summary' => 'Queries the information about SQL statements that are involved in the precheck of a data change ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -29441,536 +21423,297 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'JobKey', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The key of the file upload task. The key is returned when you call the [CreateUploadFileJob](~~206059~~) or [CreateUploadOSSFileJob](~~206060~~) operation.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '65254a49100e', - ], + 'schema' => ['description' => 'The ID of the data change ticket. You can call the [ListOrders](~~144643~~) operation to query the ID of the data change ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '453****', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'DbId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the database. The database can be a physical database or a logical database.'."\n" + ."\n" + .'* To query the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" + .'* To query the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1930****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '-1', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BDEFE9F2-B3B4-42D0-83AE-ECF9FC067DCD', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'UploadFileJobDetail' => [ - 'description' => 'The details of the file upload task.'."\n", - 'type' => 'object', - 'properties' => [ - 'JobKey' => [ - 'description' => 'The key of the file upload task.'."\n", - 'type' => 'string', - 'example' => '65254a4c1614235217749100e', - ], - 'FileName' => [ - 'description' => 'The name of the file.'."\n", - 'type' => 'string', - 'example' => 'test.sql', - ], - 'FileSize' => [ - 'description' => 'The size of the file. Unit: byte.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2968269', - ], - 'FileSource' => [ - 'description' => 'The purpose of the uploaded file. Valid values:'."\n" - ."\n" - .'* **datacorrect**: The file is uploaded to change data.'."\n" - .'* **order_info_attachment**: The file is uploaded as an attachment in a ticket.'."\n" - .'* **big-file**: The file is uploaded to import multiple data records at a time.'."\n" - .'* **sqlreview**: The file is uploaded for SQL review.'."\n", - 'type' => 'string', - 'example' => 'datacorrect', - ], - 'UploadType' => [ - 'description' => 'The method used to upload the file. Valid values:'."\n" - ."\n" - .'* **URL**'."\n" - .'* **OSS**'."\n", - 'type' => 'string', - 'example' => 'URL', - ], - 'UploadURL' => [ - 'description' => 'The URL of the file.'."\n" - ."\n" - .'> This parameter is returned if the value of **UploadType** is **URL**.'."\n", - 'type' => 'string', - 'example' => 'http://xxxx/test.sql', - ], - 'UploadOSSParam' => [ - 'description' => 'The information about the Object Storage Service (OSS) bucket from which the file is uploaded.'."\n" - ."\n" - .'> This parameter is returned if the value of **UploadType** is **OSS**.'."\n", - 'type' => 'object', - 'properties' => [ - 'Endpoint' => [ - 'description' => 'The endpoint of the OSS bucket.'."\n", - 'type' => 'string', - 'example' => 'http://oss-cn-hangzhou.aliyuncs.com', - ], - 'BucketName' => [ - 'description' => 'The name of the OSS bucket.'."\n", - 'type' => 'string', - 'example' => 'test_bucket', - ], - 'ObjectName' => [ - 'description' => 'The name of the OSS object.'."\n", - 'type' => 'string', - 'example' => 'test.sql', - ], - ], - ], - 'UploadedSize' => [ - 'description' => 'The size of the uploaded file. Unit: byte.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2968269', - ], - 'JobStatus' => [ - 'description' => 'The status of the file upload task. Valid values:'."\n" + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '31853A2B-DC9D-5B39-8492-D2AC8BCF550E'], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'PreCheckSQLList' => [ + 'description' => 'The precheck information about SQL statements.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CheckSQL' => ['description' => 'The SQL statement.'."\n", 'type' => 'string', 'example' => 'OPTIMIZE TABLE `Text_TableNames`', 'title' => ''], + 'AffectRows' => ['description' => 'The estimated number of affected rows.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'DbId' => ['description' => 'The ID of the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1930****', 'title' => ''], + 'SQLReviewQueryKey' => ['description' => 'The key that is used to query the details of optimization suggestions. You can call the [GetSQLReviewOptimizeDetail](~~265977~~) operation to query the details of optimization suggestions based on the key.'."\n", 'type' => 'string', 'example' => 'b9e771fc6ec247dea6d06a32c777****', 'title' => ''], + 'SqlReviewStatus' => ['description' => 'The review status of the SQL statement. Valid values:'."\n" ."\n" - .'* **INIT**: The file upload task was initialized.'."\n" - .'* **PENDING**: The file upload task waited to be run.'."\n" - .'* **BE_SCHEDULED**: The file upload task waited to be scheduled.'."\n" - .'* **FAIL**: The file upload task failed.'."\n" - .'* **SUCCESS**: The file upload task was successful.'."\n" - .'* **RUNNING**: The file upload task was being run.'."\n", - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'JobStatusDesc' => [ - 'description' => 'The information about the status of the file upload task.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'AttachmentKey' => [ - 'description' => 'The key of the file that is returned after the file is uploaded. You can use this key when you upload the file as an attachment in a ticket.'."\n", - 'type' => 'string', - 'example' => 'upload_3c7edea3-e4c3-4403-857d-737043036f69_test.sql', - ], + .'* **WAITING**: The SQL statement is pending for review.'."\n" + .'* **RUNNING**: The SQL statement is being reviewed.'."\n" + .'* **IGNORE**: The SQL statement review is skipped.'."\n" + .'* **PASS**: The SQL statement passed the review.'."\n" + .'* **BLOCK**: The SQL statement failed the review.'."\n", 'type' => 'string', 'example' => 'WAITING', 'title' => ''], + 'SqlType' => ['description' => 'The type of the SQL statement, such as DELETE, UPDATE, or ALTER_TABLE.'."\n", 'type' => 'string', 'example' => 'OPTIMIZE', 'title' => ''], + 'TableNames' => ['description' => 'The name of the table whose data is changed.'."\n", 'type' => 'string', 'example' => 'Text_TableNames', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BDEFE9F2-B3B4-42D0-83AE-ECF9FC067DCD\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"UploadFileJobDetail\\": {\\n \\"JobKey\\": \\"65254a4c1614235217749100e\\",\\n \\"FileName\\": \\"test.sql\\",\\n \\"FileSize\\": 2968269,\\n \\"FileSource\\": \\"datacorrect\\",\\n \\"UploadType\\": \\"URL\\",\\n \\"UploadURL\\": \\"http://xxxx/test.sql\\",\\n \\"UploadOSSParam\\": {\\n \\"Endpoint\\": \\"http://oss-cn-hangzhou.aliyuncs.com\\",\\n \\"BucketName\\": \\"test_bucket\\",\\n \\"ObjectName\\": \\"test.sql\\"\\n },\\n \\"UploadedSize\\": 2968269,\\n \\"JobStatus\\": \\"SUCCESS\\",\\n \\"JobStatusDesc\\": \\"success\\",\\n \\"AttachmentKey\\": \\"upload_3c7edea3-e4c3-4403-857d-737043036f69_test.sql\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetUserUploadFileJobResponse>\\n <RequestId>22FFF57C-6E85-4C3D-90AF-C1BFE79E1FAF</RequestId>\\n <UploadFileJobDetail>\\n <JobStatus>INIT</JobStatus>\\n <JobKey>7000005000007000009000000</JobKey>\\n <UploadURL>https://dbxxx.oss-cn-hangzhou.aliyuncs.com/dm/1.txt</UploadURL>\\n <UploadedSize>0</UploadedSize>\\n <JobStatusDesc/>\\n <FileSource>datacorrect</FileSource>\\n <FileName>1.txt</FileName>\\n <UploadType>URL</UploadType>\\n <FileSize>-1</FileSize>\\n </UploadFileJobDetail>\\n <Success>true</Success>\\n</GetUserUploadFileJobResponse>","errorExample":""}]', - 'title' => 'GetUserUploadFileJob', - ], - 'CreateDataArchiveOrder' => [ - 'summary' => 'Creates a data archiving ticket to archive data to destinations such as dedicated storage space or ApsaraDB RDS for MySQL instances.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListDataCorrectPreCheckSQL', + 'description' => 'For more information about the Normal Data Modify feature, see [Change regular data](~~58419~~).'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDataCorrectPreCheckSQL', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31853A2B-DC9D-5B39-8492-D2AC8BCF550E\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"PreCheckSQLList\\": [\\n {\\n \\"CheckSQL\\": \\"OPTIMIZE TABLE `Text_TableNames`\\",\\n \\"AffectRows\\": 0,\\n \\"DbId\\": 0,\\n \\"SQLReviewQueryKey\\": \\"b9e771fc6ec247dea6d06a32c777****\\",\\n \\"SqlReviewStatus\\": \\"WAITING\\",\\n \\"SqlType\\": \\"OPTIMIZE\\",\\n \\"TableNames\\": \\"Text_TableNames\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListDataCorrectPreCheckSQLResponse>\\n <RequestId>31853A2B-DC9D-5B39-8492-D2AC8BCF550E</RequestId>\\n <PreCheckSQLList>\\n <CheckSQL>OPTIMIZE TABLE `Text_TableNames`</CheckSQL>\\n <SqlReviewStatus>WAITING</SqlReviewStatus>\\n <TableNames>`Text_TableNames`,</TableNames>\\n <DbId>1930****</DbId>\\n <SqlType>OPTIMIZE</SqlType>\\n <AffectRows>0</AffectRows>\\n </PreCheckSQLList>\\n <Success>true</Success>\\n</ListDataCorrectPreCheckSQLResponse>","errorExample":""}]', + ], + 'ListDataImportSQLPreCheckDetail' => [ + 'summary' => 'Queries the precheck information of SQL statements used for data import in a ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '185526', - 'abilityTreeNodes' => [ - 'FEATUREdmsPWN318', - ], - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'Comment', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'title' => '任务描述信息', - 'description' => 'The description of the task.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '11****', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'SqlType', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The type of the SQL statement. Valid values:'."\n" + ."\n" + .'* **SELECT**'."\n" + .'* **INSERT**'."\n" + .'* **DELETE**'."\n" + .'* **CREATE_TABLE**'."\n" + ."\n" + .'> You can log on to the Data Management (DMS) console and choose **Security and Specifications** > **Operation Audit** in the top navigation bar to view more types of SQL statements.'."\n", 'type' => 'string', 'required' => false, 'example' => 'INSERT', 'title' => ''], ], [ - 'name' => 'PluginType', + 'name' => 'StatusCode', 'in' => 'query', - 'schema' => [ - 'title' => '插件类型信息,默认为DATA_ARCHIVE,非必填', - 'description' => 'The type of the plug-in. Default value: DATA_ARCHIVE.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DATA_ARCHIVE', - 'default' => 'DATA_ARCHIVE', - ], + 'schema' => ['description' => 'The state of the ticket. If you leave this parameter empty, all the states are queried by default. Valid values:'."\n" + ."\n" + .'* **INIT**: The ticket is being initialized.'."\n" + .'* **RUNNING**: The ticket is in progress.'."\n" + .'* **SUCCESS**: The ticket is complete.'."\n" + .'* **TIMEOUT**: The ticket is skipped due to timeout.'."\n" + .'* **FAIL**: The ticket fails.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SUCCESS', 'title' => ''], ], [ - 'name' => 'RelatedUserList', + 'name' => 'PageNumer', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '相关用户列表,非必填', - 'description' => 'The list of the related users.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of an operator that is related to the ticket.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123***', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The page number. Pages start from page 1.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ParentId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '父工单ID,非必填,由父工单创建子工单时才需填写', - 'description' => 'The ID of the parent ticket. A parent ticket is generated only when a child ticket is created.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '123****', - ], + 'schema' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'Param', + 'name' => 'Tid', 'in' => 'query', - 'style' => 'json', + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '归档参数', - 'description' => 'The parameters for archiving data.'."\n", + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'ArchiveMethod' => [ - 'title' => '目标端(除了内置存储方式,其他均需先在DMS控制台为已登录状态)'."\n" - .'inner_oss:专属存储'."\n" - .'oss_userself:用户OSS '."\n" - .'mysql:RDS MySQL'."\n" - .'polardb:polardb mysql'."\n" - .'adb_mysql:adb MySQL'."\n" - .'lindorm:lindorm', - 'description' => 'The archiving destination to which you want to archive data. Valid values:'."\n" - ."\n" - .'> If you set ArchiveMethod to a value other than inner_oss, you must register the corresponding destination database with Data Management (DMS) before you create the data archiving ticket. After the database is registered with DMS, the database is displayed in the Instances Connected section of the DMS console.'."\n" - ."\n" - .'* **inner_oss**: dedicated storage, which is a built-in Object Storage Service (OSS) bucket.'."\n" - .'* **oss_userself**: OSS bucket of the user.'."\n" - .'* **mysql**: ApsaraDB RDS for MySQL instance.'."\n" - .'* **polardb**: PolarDB for MySQL cluster.'."\n" - .'* **adb_mysql**: AnalyticDB for MySQL V3.0 cluster.'."\n" - .'* **lindorm**: Lindorm instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'mysql', - ], - 'RunMethod' => [ - 'title' => '归档方式:'."\n" - .'周期调度 “schedule”'."\n" - .'立即执行 “now”', - 'description' => 'The method that is used to run the data archiving task. Valid values:'."\n" - ."\n" - .'* **schedule**: The data archiving task is periodically scheduled.'."\n" - .'* **now**: The data archiving task is immediately run.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'now', - ], - 'Variables' => [ - 'title' => '变量:对应归档变量配置,用于用户使用自定义时间变量来作为归档过滤条件。每一个有两个属性:1. name 2. pattern', - 'description' => 'The configuration of archiving variables. You can use a time variable as a filter condition for archiving data. Each variable has two attributes: name and pattern.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The configuration of archiving variables.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '时间变量名,若用于归档过滤条件,需与“过滤条件”中的变量名称一致。', - 'description' => 'The name of the time variable. If the time variable is used as a filter condition for archiving data, the variable name must be the same as the one that is specified in **TableWhere**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 't', - ], - 'Pattern' => [ - 'title' => '变量模式:用于定义时间变量的值。'."\n" - .'形式及含义如下(可详见说明文档https://help.aliyun.com/document_detail/209323.html?spm=a2ccf.orders.0.0.369b250eb7TCic):'."\n" - .'yyyy-MM-dd|-3d:业务运行时间的前3天'."\n" - .'yyyy-MM-dd|-1w:业务运行时间的前1周'."\n" - .'yyyy-MM-dd|-4M:业务运行时间的前4个月'."\n" - .'yyyy-MM-dd|-2y:业务运行时间的前2年'."\n" - .'yyyy-MM-dd|-3h:业务运行时间的前3小时'."\n" - .'yyyy-MM-dd|+5m:业务运行时间后5分钟'."\n" - .'其中前半部分”yyyy-MM-dd|“为固定值,后半部分中-表示业务时间前,+表示业务时间后'."\n", - 'description' => 'The format of the time variable. The format is used to define the value of the time variable. For more information, see [Configure variables](~~209323~~). The following examples show the formats of a time variable:'."\n" - ."\n" - .'* **yyyy-MM-dd|-3d**: three days before the point in time when the task is run.'."\n" - .'* **yyyy-MM-dd|-1w**: seven days before the point in time when the task is run.'."\n" - .'* **yyyy-MM-dd|-4M**: four months before the point in time when the task is run.'."\n" - .'* **yyyy-MM-dd|-2y**: two years before the point in time when the task is run.'."\n" - .'* **yyyy-MM-dd|-3h**: 3 hours before the point in time when the task is run.'."\n" - .'* **yyyy-MM-dd|+5m**: 5 minutes after the point in time when the task is run.'."\n" - ."\n" - .'> In these examples, yyyy-MM-dd| indicates a fixed value. For the remaining part, a hyphen (-) indicates that the time is before that when the task is run, and a plus sign (+) indicates that the time is after that when the task is run.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'yyyy-MM-dd|-3d', - ], - ], - 'required' => false, - 'example' => '{name: "time", pattern: "yyyy-MM-dd|+2d"}', - ], - 'required' => false, - ], - 'Logic' => [ - 'title' => '是否为逻辑库,默认为false。', - 'description' => 'Specifies whether the database is a logical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'TableIncludes' => [ - 'title' => '需要归档的表的集合', - 'description' => 'The collection of tables to be archived.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '31853A2B-DC9D-5B39-8492-D2AC8BCF550E'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'PreCheckSQLDetailList' => [ + 'description' => 'The precheck information of SQL statements.'."\n", 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The precheck information of the SQL statement.'."\n", 'type' => 'object', 'properties' => [ - 'TableName' => [ - 'title' => '表名', - 'description' => 'The table name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'table1', - ], - 'TableWhere' => [ - 'title' => '归档的where筛选条件,如:'."\n" - .'id<10;'."\n" - .'若使用时间变量过滤,写法如:字段名<=\'${变量名}\',变量名与API variables中对应的name一致。', - 'description' => 'The filter condition that is specified by the WHERE clause of the archiving configuration. If a time variable is used in the filter condition, the filter condition is specified in the following format: field name <=\'${variable name}\'. The variable name in the filter condition must be the same as the time variable name that is specified in the Variables parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'gmt_modified<\'${time}\'', - ], + 'SqlId' => ['description' => 'The SQL ID, which indicates the sequence number of the SQL statement. The number starts with 1.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'SqlType' => ['description' => 'The type of the SQL statement, such as DELETE, UPDATE, or ALTER_TABLE.'."\n", 'type' => 'string', 'example' => 'INSERT', 'title' => ''], + 'StatusCode' => ['description' => 'The state of the ticket. Valid values:'."\n" + ."\n" + .'* **INIT**: The ticket was being initialized.'."\n" + .'* **RUNNING**: The ticket was in progress.'."\n" + .'* **SUCCESS**: The ticket was complete.'."\n" + .'* **TIMEOUT**: The ticket was skipped due to timeout.'."\n" + .'* **FAIL**: The ticket failed.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'Skip' => ['description' => 'Indicates whether the precheck of the SQL statement was skipped. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'required' => true, - ], - 'required' => true, - ], - 'TableMapping' => [ - 'title' => '归档目标端的表名,api调用无需填写,采用默认值', - 'description' => 'The table names mapped to the destination database. This parameter is not required and the default value is used.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The table name mapped to the destination database.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'table1', + 'title' => '', + 'example' => '', ], - 'required' => false, - ], - 'OrderAfter' => [ - 'title' => '后置行为:'."\n" - .'清理源库:“delete”'."\n" - .'数据校验:“check”', - 'description' => 'The post behaviors.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The post behavior. Valid values:'."\n" - ."\n" - .'* **delete**: deletes the archived data from the source database.'."\n" - .'* **check**: verifies the archived data. This operation is time-consuming.'."\n" - .'* **clear**: deletes the temporary table. This value takes effect only when you select the other two values for this parameter at the same time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '"delete"', - ], - 'required' => false, - ], - 'SourceCatalogName' => [ - 'title' => '源库catalog,'."\n" - .'对于两层逻辑结构的数据库,如MySQL,polardb mysql,adb mysql,可不填,'."\n" - .'对于lindorm与mongo,填入空字符串,'."\n" - .'对于三层逻辑结构的数据库,如postgresql,填入catalog名', - 'description' => 'The catalog of the source database. Valid values:'."\n" - ."\n" - .'* **def**: Set this parameter to def if the source database is of the two-layer logical schema, such as a MySQL database, a PolarDB for MySQL cluster, or an AnalyticDB for MySQL instance.'."\n" - .'* **Empty string**: Set this parameter to an empty string if the source database is a Lindorm or ApsaraDB for MongoDB instance.'."\n" - .'* **Catalog name**: Set this parameter to the catalog name of the source database if the source database is of the three-layer logical schema, such as a PostgreSQL database.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'def', - 'default' => 'def', - ], - 'SourceSchemaName' => [ - 'title' => '源库schema,源库与目标库同名。'."\n" - .'如MySQL为库名,postgresql为schema名。', - 'description' => 'The schema name of the source database. The schema name of the source database is the same as that of the destination database. If the source database is a MySQL database, this parameter specifies the name of the source database. If the source database is a PostgreSQL database, this parameter specifies the schema name of the source database.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'schema_test', - ], - 'SourceInstanceName' => [ - 'title' => '源库实例名,可在控制台查看。', - 'description' => 'The name of the source instance. If the database instance is a self-managed database or a third-party cloud database, you can call the [GetInstance](~~465826~~) operation to query the instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'pc-bp1*******', - ], - 'TargetInstanceHost' => [ - 'title' => '目标库host,若目标实例同时开放了内网与公网,优先写入内网host。', - 'description' => 'The host of the destination instance. If the destination instance can be accessed over an internal network or the Internet, preferentially set the value to the internal endpoint of the destination instance.'."\n" - ."\n" - .'* If data is archived in an OSS bucket, set the value to the name of the bucket.'."\n" - .'* If data is archived in dedicated storage space, set the value to inner_oss.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'am-bp1*********.ads.aliyuncs.com', - ], - 'CronStr' => [ - 'title' => '当归档类型为周期归档时必填。填写Crontab表达式,以便定期执行任务,更多信息,请参见https://help.aliyun.com/zh/dms/create-shadow-tables-for-synchronization', - 'description' => 'A crontab expression that specifies the scheduling cycle of the data archiving task. For more information, see the [Crontab expressions](~~206581~~) section of the "Create shadow tables for synchronization" topic. You must specify this parameter if you set RunMethod to schedule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '00 05 11 * * ?', - ], - 'DatabaseId' => [ - 'description' => 'The database ID. If the database is a self-managed database or a third-party cloud database, you can call the [GetDatabase](~~465856~~) operation to query the database ID. If the database is an Alibaba Cloud database, ignore this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1***', + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The number of SQL statements.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], - 'required' => true, + 'example' => '', ], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListDataImportSQLPreCheckDetail', + 'description' => 'You can call this operation only if the data is imported in security mode in your data import ticket.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDataImportSQLPreCheckDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31853A2B-DC9D-5B39-8492-D2AC8BCF550E\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"PreCheckSQLDetailList\\": [\\n {\\n \\"SqlId\\": 1,\\n \\"SqlType\\": \\"INSERT\\",\\n \\"StatusCode\\": \\"SUCCESS\\",\\n \\"Skip\\": true\\n }\\n ],\\n \\"TotalCount\\": 1\\n}","type":"json"}]', + ], + 'ListDataImportSQLType' => [ + 'summary' => 'Queries the types of SQL statements used for data import in a ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'OrderId', + 'in' => 'query', + 'schema' => ['description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '420****', 'title' => ''], + ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The schema of the response.'."\n", + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request, which is used to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '283C461F-11D8-48AA-B695-DF092DA32AF3', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'CreateOrderResult' => [ - 'description' => 'The ID of the data archiving ticket.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'E5EE2B9E-2F95-57FA-B284-CB441CEE49D6'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'SqlTypeResult' => [ + 'description' => 'The types of SQL statements.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The data archiving ticket ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12*****', - ], + 'items' => ['description' => 'The type of the SQL statement, such as DELETE, UPDATE, or INSERT.'."\n", 'type' => 'string', 'example' => 'INSERT', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListDataImportSQLType', + 'description' => 'You can call this operation only if the data is imported in security mode in your data import ticket.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDataImportSQLType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"283C461F-11D8-48AA-B695-DF092DA32AF3\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"CreateOrderResult\\": [\\n 0\\n ]\\n}","errorExample":""},{"type":"xml","example":"<CreateDataArchiveOrderResponse>\\n <RequestId>283C461F-11D8-48AA-B695-DF092DA32AF3</RequestId>\\n <Success>true</Success>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <ErrorCode>UnknownError</ErrorCode>\\n</CreateDataArchiveOrderResponse>","errorExample":""}]', - 'title' => 'CreateDataArchiveOrder', - 'description' => 'You can call this API operation only for database instances that are managed in Security Collaboration mode.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5EE2B9E-2F95-57FA-B284-CB441CEE49D6\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"SqlTypeResult\\": [\\n \\"INSERT\\"\\n ]\\n}","type":"json"}]', ], - 'GetDataArchiveOrderDetail' => [ - 'summary' => 'Queries the details of a data archiving ticket, including the time when the ticket was created, the scheduling information of the data archiving task, the logs of the data archiving task, and the database to which data is archived.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDataLakeCatalog' => [ + 'summary' => 'Queries a list of data catalogs in a data lake.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -29982,808 +21725,81 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeCode' => '249778', + 'abilityTreeNodes' => ['FEATUREdms90TD19'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of data archiving tickets.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '868****', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['description' => 'The keyword that is used to search for catalogs.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'hive', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '5***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'TraceId' => [ - 'title' => 'Id of the request', - 'description' => 'Tracks service requests.'."\n", - 'type' => 'string', - 'example' => '0a06e1e316757357507896067d3780', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'User [19929582****] not exist', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the call failed.'."\n", - 'type' => 'string', - 'example' => 'NoPermission', - ], - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '4161CE36-28DF-5191-8A6F-A17076A0B124', - ], - 'DataArchiveOrderDetail' => [ - 'description' => 'The details of data archiving tickets.'."\n", - 'type' => 'object', - 'properties' => [ - 'Comment' => [ - 'description' => 'The description of the data archiving tickets.'."\n", - 'type' => 'string', - 'example' => 'Archiving of test results', - ], - 'Committer' => [ - 'description' => 'The user who submitted the ticket.'."\n", - 'type' => 'string', - 'example' => 'dmstest', - ], - 'CommitterId' => [ - 'description' => 'The ID of the user who submitted the ticket. The ID is a user ID and not the ID of an Alibaba Cloud account.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '26***', - ], - 'GmtCreate' => [ - 'description' => 'The time when the ticket was created.'."\n", - 'type' => 'string', - 'example' => '2023-05-15 16:00:48', - ], - 'GmtModified' => [ - 'description' => 'The time when the ticket was last modified.'."\n", - 'type' => 'string', - 'example' => '2023-05-23 16:00:48', - ], - 'Id' => [ - 'description' => 'The ID of data archiving tickets.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '868****', - ], - 'PluginExtraData' => [ - 'description' => 'The additional information about the ticket.'."\n", - 'type' => 'object', - 'properties' => [ - 'DagInfo' => [ - 'description' => 'The information about the workflow.'."\n", - 'type' => 'object', - 'properties' => [ - 'CreatorId' => [ - 'description' => 'The ID of the user who created the task flow.'."\n", - 'type' => 'string', - 'example' => '59****', - ], - 'CronBeginDate' => [ - 'description' => 'The start time for scheduling. The task flow is not scheduled before this point in time.'."\n", - 'type' => 'string', - 'example' => '1970-01-01', - ], - 'CronEndDate' => [ - 'description' => 'The end time for scheduling. The task flow is not scheduled after this point in time.'."\n", - 'type' => 'string', - 'example' => '9999-01-01', - ], - 'CronTrigger' => [ - 'description' => 'Indicates whether the archiving task is a scheduled task. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'DWDevelop' => [ - 'description' => 'Indicates whether the task is used to develop warehouses.'."\n" - ."\n" - .'> This field is a retained field that is not in use.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'DagName' => [ - 'description' => 'The name of the workflow.'."\n", - 'type' => 'string', - 'example' => 'data-archive-9099197', - ], - 'DagOwnerId' => [ - 'description' => 'The ID of the owner of the workflow.'."\n", - 'type' => 'string', - 'example' => '13****', - ], - 'DeployId' => [ - 'description' => 'The ID of the deployment record.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '93***', - ], - 'Description' => [ - 'description' => 'The description of the workflow.'."\n", - 'type' => 'string', - 'example' => 'order id:9099197', - ], - 'EditDagId' => [ - 'description' => 'The ID of the editable workflow version.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24***', - ], - 'GmtCreate' => [ - 'description' => 'The time when the workflow was created.'."\n", - 'type' => 'string', - 'example' => '2023-05-15 16:00:48', - ], - 'GmtModified' => [ - 'description' => 'The time when the workflow was last modified.'."\n", - 'type' => 'string', - 'example' => '2023-06-15 16:00:48', - ], - 'Id' => [ - 'description' => 'The ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24***', - ], - 'IsPublic' => [ - 'description' => 'Indicates whether the workflow is public. Valid values:'."\n" - ."\n" - .'* **0**: not public.'."\n" - .'* **1**: public.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Legacy' => [ - 'description' => 'Indicates whether the task is a historical task. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'System' => [ - 'description' => 'Indicates whether the task was created by the system. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'TenantId' => [ - 'description' => 'The tenant ID.'."\n", - 'type' => 'string', - 'example' => '5***', - ], - 'TriggerOnce' => [ - 'description' => 'Indicates whether the workflow is triggered to run once. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], - 'DbBaseInfo' => [ - 'description' => 'The database information related to data archiving tickets.'."\n", - 'type' => 'object', - 'properties' => [ - 'Alias' => [ - 'description' => 'The alias of the database instance.'."\n", - 'type' => 'string', - 'example' => 'tf-testAccDMSEnterpriseLogicDatabase853****', - ], - 'AlterTimeout' => [ - 'description' => 'The timeout period of queries on the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '600', - ], - 'AssetControl' => [ - 'description' => 'Indicates whether access control is enabled for data assets. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'CatalogName' => [ - 'description' => 'The name of the instance in the instance list.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'ClusterNode' => [ - 'description' => 'Indicates whether the instance is added to the DMS whitelist.'."\n", - 'type' => 'string', - 'example' => 'whitelist_done', - ], - 'DbId' => [ - 'description' => 'The ID of the database. You can call the [SearchDatabase](~~141876~~) operation to query the ID of the database.'."\n" - ."\n" - .'> You can call the [ListDatabases](~~141873~~) operation to query the ID of a physical database or the [ListLogicDatabases](~~141874~~) operation to query the ID of a logical database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '348****', - ], - 'DbType' => [ - 'description' => 'The type of the database. For information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'example' => 'MySQL', - ], - 'DbaId' => [ - 'description' => 'The ID of the database administrator (DBA) of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16****', - ], - 'DbaName' => [ - 'description' => 'The nickname of the DBA of the instance.'."\n", - 'type' => 'string', - 'example' => 'DBA', - ], - 'Description' => [ - 'description' => 'The complete endpoint of the database.'."\n", - 'type' => 'string', - 'example' => 'test@rm-2ze756u8837****.mysql.rds.aliyuncs.com:3306 [test]', - ], - 'Encoding' => [ - 'description' => 'The encoding format of the database.'."\n", - 'type' => 'string', - 'example' => 'utf8', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database belongs. Valid values:'."\n" - ."\n" - .'* **product**: production environment'."\n" - .'* **dev**: development environment'."\n" - .'* **pre**: staging environment'."\n" - .'* **test**: test environment'."\n" - .'* **sit**: system integration testing (SIT) environment'."\n" - .'* **uat**: user acceptance testing (UAT) environment'."\n" - .'* **pet**: stress testing environment'."\n" - .'* **stag**: STAG environment'."\n", - 'type' => 'string', - 'example' => 'product', - ], - 'Follow' => [ - 'description' => 'Indicates whether the instance needs special attention. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Host' => [ - 'description' => 'The endpoint that is used to connect to the database.'."\n", - 'type' => 'string', - 'example' => 'rm-2ze756u8837****.mysql.rds.aliyuncs.com', - ], - 'Idc' => [ - 'description' => 'The region in which the database instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'IdcTitle' => [ - 'description' => 'The name of the region in which the database instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance to which the database belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '175****', - ], - 'InstanceSource' => [ - 'description' => 'The source of the database instance.Valid values:'."\n" - ."\n" - .'* **RDS**: an ApsaraDB RDS instance.'."\n" - .'* **ECS_OWN**: a self-managed database deployed on an Elastic Compute Service (ECS) instance.'."\n" - .'* **PUBLIC_OWN**: a self-managed database instance that is connected over the Internet.'."\n" - .'* **VPC_ID**: a self-managed database instance in a virtual private cloud (VPC) that is connected over Express Connect circuits.'."\n" - .'* **GATEWAY**: a database instance connected by using a database gateway.'."\n", - 'type' => 'string', - 'example' => 'RDS', - ], - 'LastSyncTime' => [ - 'description' => 'The time when the database information was last obtained.'."\n", - 'type' => 'string', - 'example' => '2023-05-14 18:34:45', - ], - 'Level' => [ - 'description' => 'The instance level.'."\n", - 'type' => 'string', - 'example' => 'medium', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is logical. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'OwnerIds' => [ - 'description' => 'The IDs of the owners of the databases, which are stored as an array. You can call the [GetUser](~~147098~~) or [ListUsers](~~141938~~) operation to query the IDs of the owners.'."\n" - ."\n" - .'> The value of OwnerIds is the same as the value of UserId'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the owner of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '77****', - ], - ], - 'OwnerNames' => [ - 'description' => 'The usernames of the database owners.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The username of the database owner.'."\n", - 'type' => 'string', - 'example' => 'day', - ], - ], - 'Port' => [ - 'description' => 'The port that is used to connect to the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3306', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'test@rm-2ze756u8837****.mysql.rds.aliyuncs.com:3306 [test]', - ], - 'StandardGroup' => [ - 'description' => 'The details of the control mode of the instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbType' => [ - 'description' => 'The type of the instance engine. For information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'example' => 'MySQL', - ], - 'Description' => [ - 'description' => 'The description of the security rule set.'."\n", - 'type' => 'string', - 'example' => 'adb_mysql default', - ], - 'FreeOrStable' => [ - 'description' => 'Indicates whether the instance is managed in Flexible Management or Stable Change mode. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'GmtCreate' => [ - 'description' => 'The time when the security rule was created.'."\n", - 'type' => 'string', - 'example' => '2020-05-24 14:12:32', - ], - 'GmtModified' => [ - 'description' => 'The time when the security rule was last modified.'."\n", - 'type' => 'string', - 'example' => '2020-05-25 14:12:32', - ], - 'GroupMode' => [ - 'description' => 'The type of the control mode of the instance. Valid values:'."\n" - ."\n" - .'* **COMMON**: The instance is managed in Security Collaboration mode.'."\n" - .'* **NONE_CONTROL**: The instance is managed in Flexible Management mode.'."\n" - .'* **STABLE**: The instance is managed in Stable Change mode.'."\n", - 'type' => 'string', - 'example' => 'COMMON', - ], - 'GroupName' => [ - 'description' => 'The name of the security rule that corresponds to the control mode.'."\n", - 'type' => 'string', - 'example' => 'adb_mysql default', - ], - 'Id' => [ - 'description' => 'The ID of the security rule.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24***', - ], - 'LastMenderId' => [ - 'description' => 'The user ID of the last modified security rule.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], - ], - ], - 'State' => [ - 'description' => 'The status of the database. Valid values:'."\n" - ."\n" - .'* **NORMAL**: The database is running as expected.'."\n" - .'* **DISABLE**: The database is disabled.'."\n" - .'* **OFFLINE**: The database is unpublished.'."\n" - .'* **NOT_EXIST**: The database does not exist.'."\n", - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'TableCount' => [ - 'description' => 'The number of tables.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '201', - ], - 'TnsName' => [ - 'description' => 'The name of TNS.'."\n", - 'type' => 'string', - 'example' => 'TNS_4010', - ], - 'UnitType' => [ - 'description' => 'The unit type.'."\n", - 'type' => 'string', - 'example' => '-1', - ], - ], - ], - 'InstanceTotal' => [ - 'description' => 'The total number of archiving tasks.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Instances' => [ - 'description' => 'The list of archiving tasks.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'BusinessTime' => [ - 'description' => 'The business time of the task flow. The time is displayed in the yyyy-MM-DD HH:mm:ss format.'."\n", - 'type' => 'string', - 'example' => '2023-05-14 16:00:57', - ], - 'DagId' => [ - 'description' => 'The task flow ID. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the value of this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '37***', - ], - 'EndTime' => [ - 'description' => 'The time when the task flow ended. The time is displayed in the yyyy-MM-DD HH:mm:ss format.'."\n", - 'type' => 'string', - 'example' => '2022-06-04 15:14:00', - ], - 'GmtCreate' => [ - 'description' => 'The time when the task flow was created.'."\n", - 'type' => 'string', - 'example' => '2023-05-14 16:00:57', - ], - 'GmtModified' => [ - 'description' => 'The time when the task flow was last modified.'."\n", - 'type' => 'string', - 'example' => '2023-05-14 16:00:57', - ], - 'HistoryDagId' => [ - 'description' => 'The ID of the historical task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '32***', - ], - 'Id' => [ - 'description' => 'The ID of the instance in the task flow that is executed.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24***', - ], - 'LastRunningContext' => [ - 'description' => 'The context of the previous execution of the task flow.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "nodes": ['."\n" - .' 48**'."\n" - .' ],'."\n" - .' "edges": {}'."\n" - .'}', - ], - 'Msg' => [ - 'description' => 'The context of the current execution of the task flow.'."\n", - 'type' => 'string', - 'example' => '2023-05-15 16:37:48[GMT+08:00] INFO - Resource Control is active!\\n2023-05-15 16:37:48[GMT+08:00] INFO - Starting job j_4834 at Mon May 15 16:37:48 CST 2023', - ], - 'Status' => [ - 'description' => 'The status of the task. Valid values:'."\n" - ."\n" - .'* **0**: The task is waiting for execution.'."\n" - .'* **1**: The task is in progress.'."\n" - .'* **2**: The task is suspended.'."\n" - .'* **3**: The task failed.'."\n" - .'* **4**: The task is successful.'."\n" - .'* **5**: The task is complete.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', - ], - 'TenantId' => [ - 'description' => 'The tenant ID.'."\n", - 'type' => 'string', - 'example' => '5***', - ], - 'TriggerType' => [ - 'description' => 'The mode in which the task flow was triggered. Valid values:'."\n" - ."\n" - .'* **0**: The task flow was triggered based on a schedule.'."\n" - .'* **1**: The task flow was manually triggered.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Version' => [ - 'description' => 'The version number.'."\n", - 'type' => 'string', - 'example' => '1', - ], - ], - ], - ], - 'NextFireTimeResult' => [ - 'description' => 'The time when the next task is triggered.'."\n", - 'type' => 'object', - 'properties' => [ - 'CronFireType' => [ - 'description' => 'The type of scheduled triggering.'."\n", - 'type' => 'string', - 'example' => 'NOT_SET', - ], - ], - ], - 'PageIndex' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'PageSize' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'TempTableNameMap' => [ - 'description' => 'The name of the temporary table that is generated by the archiving task (indicated by the archiving task ID).'."\n", - 'type' => 'object', - 'example' => '{'."\n" - .' "803***": ['."\n" - .' "tmp_dms_21321_20230704144336_temp_test_check"'."\n" - .' ]'."\n" - .'}', - ], - ], - ], - 'PluginParam' => [ - 'description' => 'The ticket creation parameter. The value is a JSON string. For more information, see [PluginType parameter](~~429109~~).'."\n", - 'type' => 'object', - 'properties' => [ - 'ArchiveMethod' => [ - 'description' => 'The type of the archiving destination.'."\n", - 'type' => 'string', - 'example' => 'inner_oss', - ], - 'DbSchema' => [ - 'description' => 'The schema of the database and table to be archived.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is logical.'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'OrderAfter' => [ - 'description' => 'The post behavior of archiving.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The post behavior of archiving. The post behavior is to use the DELETE statement to clean up the table.'."\n", - 'type' => 'string', - 'example' => 'delete', - ], - ], - 'RunMethod' => [ - 'description' => 'The running method, which indicates whether to run the task immediately or at a specific point in time.'."\n", - 'type' => 'string', - 'example' => 'now', - ], - 'SourceDatabaseId' => [ - 'description' => 'The ID of the source database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12***', - ], - 'TableIncludes' => [ - 'description' => 'The list of the archived tables and the filter conditions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'TableName' => [ - 'description' => 'The table name.'."\n", - 'type' => 'string', - 'example' => 'tm_insured_cb', - ], - 'TableWhere' => [ - 'description' => 'The filter condition.'."\n", - 'type' => 'string', - 'example' => 'id<1000 or gmt_create<\'2023-05-14 16:00:57\'', - ], - ], - ], - ], - 'TableMapping' => [ - 'description' => 'The mapping of schemas.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The mapping of the source table name, source column name, destination table name, and destination column name.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "schema": "oracle_info",'."\n" - .' "tarTb": "eoa_context_test",'."\n" - .' "tbPartKey": [],'."\n" - .' "oriTb": "eoa_context",'."\n" - .' "columns": ['."\n" - .' {'."\n" - .' "tName": "dbid_test",'."\n" - .' "oName": "dbid"'."\n" - .' }'."\n" - .' ],'."\n" - .' "dbPartKey": [],'."\n" - .' "customPk": ['."\n" - .' "id"'."\n" - .' ]'."\n" - .' }', - ], - ], - 'TargetInstanceId' => [ - 'description' => 'The ID of the destination instance.'."\n", - 'type' => 'string', - 'example' => '12***', - ], - 'Variables' => [ - 'description' => 'The time variable defined for scheduled archiving.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The time variable that calculates an offset based on the previous day of the current time.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "name": "test",'."\n" - .' "pattern": "yyyy-MM-dd|-10d"'."\n" - .' }', - ], - ], - ], - ], - 'PluginType' => [ - 'description' => 'The plug-in type that corresponds to the type of the ticket. The plug-in type for data archiving is DATA_ARCHIVE. For more information, see [PluginType parameter](~~429109~~).'."\n", - 'type' => 'string', - 'example' => 'DATA_ARCHIVE', - ], - 'RelatedUserList' => [ - 'description' => 'The user IDs related to the ticket.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The user IDs related to the ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '65****', - ], - ], - 'RelatedUserNickList' => [ - 'description' => 'The nicknames of the users that are related to the ticket.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The nickname of the user that is related to the ticket.'."\n", - 'type' => 'string', - 'example' => 'publicyuhzou', - ], - ], - 'StatusCode' => [ - 'description' => 'The status code of the ticket. Valid values:'."\n" - ."\n" - .'* **new**: newly created.'."\n" - .'* **toaudit**: being reviewed.'."\n" - .'* **Approved**: approved.'."\n" - .'* **reject**: rejected.'."\n" - .'* **processing**: being executed.'."\n" - .'* **Success**: successful.'."\n" - .'* **closed**: disabled.'."\n", - 'type' => 'string', - 'example' => 'processing', - ], - 'StatusDesc' => [ - 'description' => 'The status description of the ticket.'."\n", - 'type' => 'string', - 'example' => 'a ticket task is being executed.', - ], - 'WorkflowInstanceId' => [ - 'description' => 'The ID of the approval process. You can call the [GetOrderBaseInfo](~~144642~~) operation to obtain the ID of the approval process.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '29****', - ], - 'WorkflowStatusDesc' => [ - 'description' => 'The description of the approval process.'."\n", - 'type' => 'string', - 'example' => 'approved', - ], - ], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'E76DD2E7-EBAC-5724-B163-19AAC233F8F2'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => '400', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'CataLogList' => [ + 'description' => 'The list of catalogs.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The catalog.'."\n", '$ref' => '#/components/schemas/DLCatalog', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E76DD2E7-EBAC-5724-B163-19AAC233F8F2\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"400\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"CataLogList\\": [\\n {\\n \\"Description\\": \\"init default catalog\\",\\n \\"Name\\": \\"hive\\",\\n \\"Location\\": \\"oss://xxxx\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListDataLakeCatalog', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeCatalog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TraceId\\": \\"0a06e1e316757357507896067d3780\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"User [199295823****] not exist\\",\\n \\"ErrorCode\\": \\"NoPermission\\",\\n \\"RequestId\\": \\"4161CE36-28DF-5191-8A6F-A17076A0B124\\",\\n \\"DataArchiveOrderDetail\\": {\\n \\"Comment\\": \\"Archiving of test results\\",\\n \\"Committer\\": \\"dmstest\\",\\n \\"CommitterId\\": 0,\\n \\"GmtCreate\\": \\"2023-05-15 16:00:48\\",\\n \\"GmtModified\\": \\"2023-05-23 16:00:48\\",\\n \\"Id\\": 0,\\n \\"PluginExtraData\\": {\\n \\"DagInfo\\": {\\n \\"CreatorId\\": \\"59****\\",\\n \\"CronBeginDate\\": \\"1970-01-01\\",\\n \\"CronEndDate\\": \\"9999-01-01\\",\\n \\"CronTrigger\\": false,\\n \\"DWDevelop\\": false,\\n \\"DagName\\": \\"data-archive-9099197\\",\\n \\"DagOwnerId\\": \\"13****\\",\\n \\"DeployId\\": 0,\\n \\"Description\\": \\"order id:9099197\\",\\n \\"EditDagId\\": 0,\\n \\"GmtCreate\\": \\"2023-05-15 16:00:48\\",\\n \\"GmtModified\\": \\"2023-06-15 16:00:48\\",\\n \\"Id\\": 0,\\n \\"IsPublic\\": 0,\\n \\"Legacy\\": false,\\n \\"System\\": false,\\n \\"TenantId\\": \\"5***\\",\\n \\"TriggerOnce\\": false\\n },\\n \\"DbBaseInfo\\": {\\n \\"Alias\\": \\"tf-testAccDMSEnterpriseLogicDatabase853****\\",\\n \\"AlterTimeout\\": 600,\\n \\"AssetControl\\": true,\\n \\"CatalogName\\": \\"test\\",\\n \\"ClusterNode\\": \\"whitelist_done\\",\\n \\"DbId\\": 0,\\n \\"DbType\\": \\"MySQL\\",\\n \\"DbaId\\": 0,\\n \\"DbaName\\": \\"DBA\\",\\n \\"Description\\": \\"test@rm-2ze756u8837****.mysql.rds.aliyuncs.com:3306 [test]\\",\\n \\"Encoding\\": \\"utf8\\",\\n \\"EnvType\\": \\"product\\",\\n \\"Follow\\": false,\\n \\"Host\\": \\"rm-2ze756u8837****.mysql.rds.aliyuncs.com\\",\\n \\"Idc\\": \\"cn-beijing\\",\\n \\"IdcTitle\\": \\"cn-beijing\\",\\n \\"InstanceId\\": 0,\\n \\"InstanceSource\\": \\"RDS\\",\\n \\"LastSyncTime\\": \\"2023-05-14 18:34:45\\",\\n \\"Level\\": \\"中\\",\\n \\"Logic\\": false,\\n \\"OwnerIds\\": [\\n 0\\n ],\\n \\"OwnerNames\\": [\\n \\"天天\\"\\n ],\\n \\"Port\\": 3306,\\n \\"SchemaName\\": \\"test\\",\\n \\"SearchName\\": \\"test@rm-2ze756u8837****.mysql.rds.aliyuncs.com:3306 [test]\\",\\n \\"StandardGroup\\": {\\n \\"DbType\\": \\"MySQL\\",\\n \\"Description\\": \\"adb_mysql default\\",\\n \\"FreeOrStable\\": false,\\n \\"GmtCreate\\": \\"2020-05-24 14:12:32\\",\\n \\"GmtModified\\": \\"2020-05-25 14:12:32\\",\\n \\"GroupMode\\": \\"COMMON\\",\\n \\"GroupName\\": \\"adb_mysql default\\",\\n \\"Id\\": 0,\\n \\"LastMenderId\\": 0\\n },\\n \\"State\\": \\"NORMAL\\",\\n \\"TableCount\\": 201,\\n \\"TnsName\\": \\"TNS_4010\\",\\n \\"UnitType\\": \\"-1\\"\\n },\\n \\"InstanceTotal\\": 2,\\n \\"Instances\\": [\\n {\\n \\"BusinessTime\\": \\"2023-05-14 16:00:57\\",\\n \\"DagId\\": 0,\\n \\"EndTime\\": \\"2022-06-04 15:14:00\\",\\n \\"GmtCreate\\": \\"2023-05-14 16:00:57\\",\\n \\"GmtModified\\": \\"2023-05-14 16:00:57\\",\\n \\"HistoryDagId\\": 0,\\n \\"Id\\": 0,\\n \\"LastRunningContext\\": \\"{\\\\n \\\\\\"nodes\\\\\\": [\\\\n 48**\\\\n ],\\\\n \\\\\\"edges\\\\\\": {}\\\\n}\\",\\n \\"Msg\\": \\"归档任务日志:2023-05-15 16:37:48[GMT+08:00] INFO - Resource Control is active!\\\\\\\\n2023-05-15 16:37:48[GMT+08:00] INFO - Starting job j_4834 at Mon May 15 16:37:48 CST 2023\\",\\n \\"Status\\": 4,\\n \\"TenantId\\": \\"5***\\",\\n \\"TriggerType\\": 1,\\n \\"Version\\": \\"1\\"\\n }\\n ],\\n \\"NextFireTimeResult\\": {\\n \\"CronFireType\\": \\"NOT_SET\\"\\n },\\n \\"PageIndex\\": 10,\\n \\"PageSize\\": 20,\\n \\"TempTableNameMap\\": {\\n \\"803***\\": [\\n \\"tmp_dms_21321_20230704144336_temp_test_check\\"\\n ]\\n }\\n },\\n \\"PluginParam\\": {\\n \\"ArchiveMethod\\": \\"inner_oss\\",\\n \\"DbSchema\\": \\"test\\",\\n \\"Logic\\": true,\\n \\"OrderAfter\\": [\\n \\"delete\\"\\n ],\\n \\"RunMethod\\": \\"now\\",\\n \\"SourceDatabaseId\\": 0,\\n \\"TableIncludes\\": [\\n {\\n \\"TableName\\": \\"tm_insured_cb\\",\\n \\"TableWhere\\": \\"id<1000或者gmt_create<\'2023-05-14 16:00:57\'\\"\\n }\\n ],\\n \\"TableMapping\\": [\\n \\"{\\\\n \\\\\\"schema\\\\\\": \\\\\\"oracle_info\\\\\\",\\\\n \\\\\\"tarTb\\\\\\": \\\\\\"eoa_context_test\\\\\\",\\\\n \\\\\\"tbPartKey\\\\\\": [],\\\\n \\\\\\"oriTb\\\\\\": \\\\\\"eoa_context\\\\\\",\\\\n \\\\\\"columns\\\\\\": [\\\\n {\\\\n \\\\\\"tName\\\\\\": \\\\\\"dbid_test\\\\\\",\\\\n \\\\\\"oName\\\\\\": \\\\\\"dbid\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"dbPartKey\\\\\\": [],\\\\n \\\\\\"customPk\\\\\\": [\\\\n \\\\\\"id\\\\\\"\\\\n ]\\\\n }\\"\\n ],\\n \\"TargetInstanceId\\": \\"12***\\",\\n \\"Variables\\": [\\n \\"{\\\\n \\\\\\"name\\\\\\": \\\\\\"test\\\\\\",\\\\n \\\\\\"pattern\\\\\\": \\\\\\"yyyy-MM-dd|-10d\\\\\\"\\\\n }\\"\\n ]\\n },\\n \\"PluginType\\": \\"DATA_ARCHIVE\\",\\n \\"RelatedUserList\\": [\\n 0\\n ],\\n \\"RelatedUserNickList\\": [\\n \\"publicyuhzou\\"\\n ],\\n \\"StatusCode\\": \\"processing\\",\\n \\"StatusDesc\\": \\"正在执行工单任务。\\",\\n \\"WorkflowInstanceId\\": 0,\\n \\"WorkflowStatusDesc\\": \\"审批通过\\"\\n }\\n}","type":"json"}]', - 'title' => 'GetDataArchiveOrderDetail', ], - 'GetDataArchiveCount' => [ - 'summary' => 'Queries the statistics on the number of data archiving tickets, including the number of tickets of successful data archiving, failed data archiving,and in-progress data archiving, and the total number of data archiving tickets.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDataLakeDatabase' => [ + 'summary' => 'Queries the list of databases in the data lake.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -30792,132 +21808,105 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeCode' => '249748', + 'abilityTreeNodes' => ['FEATUREdms90TD19'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'PluginType', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The plugin type. Default value: DATA_ARCHIVE.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DATA_ARCHIVE', - 'default' => 'DATA_ARCHIVE', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'OrderResultType', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the identity. Default value: AS_ADMIN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AS_ADMIN', - 'default' => 'AS_ADMIN', - ], + 'schema' => ['description' => 'The name of the data catalog. You can view the name of the data catalog in the [DLF console](https://dlf.console.aliyun.com/cn-hangzhou/metadata/catalog?spm=a2c4g.11186623.0.0.5a225658pT4Dkr).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'SearchDateType', + 'name' => 'SearchKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the ticket is modified or created. The statistics of data archiving tickets are calculated based on the creation time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CREATE_TIME', - 'default' => 'CREATE_TIME', - ], + 'schema' => ['description' => 'The keyword that is used to search for databases.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'default', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '2****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3****', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n" + ."\n" + .'* If **NextToken** is empty, no next page exists.'."\n" + .'* If a value of **NextToken** is returned, the value indicates the token that is used for the next query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'f056501ada12c1cc', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The data returned.'."\n", - 'type' => 'object', - 'properties' => [ - 'FailCount' => [ - 'title' => '失败的归档任务数目', - 'description' => 'The number of tickets that data archiving failed.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1**', - ], - 'ProcessingCount' => [ - 'title' => '正在进行中的归档任务数目', - 'description' => 'The number of tickets that data archiving is in progress.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2**', - ], - 'SuccessCount' => [ - 'title' => '成功的归档任务数目', - 'description' => 'The number of tickets that data archiving is successful.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3**', - ], - 'TotalCount' => [ - 'title' => '所有状态的归档任务数目', - 'description' => 'The total number of data archiving tickets.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6**', - ], - ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4B63CAC5-BD7F-5C7C-82C9-59DFFBC3C5C2', + 'RequestId' => ['title' => '', 'description' => 'The request ID. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the call failed.'."\n", 'type' => 'string', 'example' => '400', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'DatabaseList' => [ + 'description' => 'The list of databases.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The information about the database.'."\n", '$ref' => '#/components/schemas/DLDatabase', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], + 'NextToken' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists. Set this parameter to the value of NextToken obtained from the previous query.'."\n", 'type' => 'string', 'example' => 'NesLoKLEdIZrKhDT7I2gSw==', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries to be returned in a request. You can use this parameter and NextToken to implement paging.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"400\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"DatabaseList\\": [\\n {\\n \\"Description\\": \\"Default database for catalog hive\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"DbId\\": 19,\\n \\"CatalogName\\": \\"hive\\",\\n \\"Name\\": \\"default\\",\\n \\"Location\\": \\"oss://xxx\\"\\n }\\n ],\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gSw==\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + 'title' => 'ListDataLakeDatabase', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"FailCount\\": 12,\\n \\"ProcessingCount\\": 180,\\n \\"SuccessCount\\": 900,\\n \\"TotalCount\\": 1400\\n },\\n \\"Success\\": true,\\n \\"RequestId\\": \\"4B63CAC5-BD7F-5C7C-82C9-59DFFBC3C5C2\\"\\n}","type":"json"}]', - 'title' => 'GetDataArchiveCount', ], - 'GetPagedInstance' => [ - 'summary' => 'Queries the task information about a ticket.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDataLakeFunction' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -30929,235 +21918,115 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeCode' => '249778', + 'abilityTreeNodes' => ['FEATUREdms90TD19', 'FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of data archiving ticket.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '868*****', - ], + 'schema' => ['description' => 'The region where the data lake resides.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, hover over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [View tenant information](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'CatalogName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the data catalog.', 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], + ], + [ + 'name' => 'DbName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the database.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'FunctionNamePattern', + 'in' => 'query', + 'schema' => ['description' => 'A regular expression used to filter function names.', 'type' => 'string', 'required' => false, 'example' => '.*', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The token that is used to retrieve the next page of results. If the response to a previous request is truncated, you can use this token to retrieve the next page of results.'."\n" + ."\n" + .'- If **NextToken** is empty, there is no next query.'."\n" + ."\n" + .'- If a value is returned for **NextToken**, that value is the token for the next query.', 'type' => 'string', 'required' => false, 'example' => 'f056501ada12c1cc', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. The maximum value is 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TraceId' => [ - 'title' => 'Id of the request', - 'description' => 'The trace ID, which is used to track the request.'."\n", - 'type' => 'string', - 'example' => '0a06e1e316757357507896067d3780', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'PageIndex' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The request ID. You can use the request ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'PageSize' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Total' => [ - 'description' => 'The total number of instances.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Data' => [ - 'description' => 'The data returned.'."\n", - 'type' => 'object', - 'properties' => [ - 'Instance' => [ - 'description' => 'The information about the task.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the task.'."\n", - 'type' => 'object', - 'properties' => [ - 'BusinessTime' => [ - 'description' => 'The data timestamp of the task node.'."\n", - 'type' => 'string', - 'example' => '2023-05-14 16:00:57', - ], - 'CheckStatus' => [ - 'description' => 'The state of archived data verification. Valid values:'."\n" - ."\n" - .'* **0**: The verification was successful.'."\n" - .'* **1**: Inconsistent data was detected.'."\n" - .'* **2**: The verification was not performed.'."\n" - .'* **3**: The verification is in progress.'."\n" - .'* **4**: The verification was interrupted.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'DagId' => [ - 'description' => 'The unique ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33753', - ], - 'Delete' => [ - 'description' => 'Indicates whether the source data is deleted. Valid values:'."\n" - ."\n" - .'* **true**: deletes the jobs in the application group.'."\n" - .'* **false**'."\n", - 'type' => 'string', - 'example' => 'false', - ], - 'EndTime' => [ - 'description' => 'The time when the task ended.'."\n", - 'type' => 'string', - 'example' => '2023-04-23 10:23:20', - ], - 'GmtCreate' => [ - 'description' => 'The time when the task flow was created.'."\n", - 'type' => 'string', - 'example' => '2023-03-28 10:50:45', - ], - 'GmtModified' => [ - 'description' => 'The time when the task flow was last modified.'."\n", - 'type' => 'string', - 'example' => '2023-04-18 15:28:16', - ], - 'HistoryDagId' => [ - 'description' => 'The ID of the historical task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6851', - ], - 'Id' => [ - 'description' => 'The task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24271', - ], - 'LastRunningContext' => [ - 'description' => 'The context of the last execution of the task flow.'."\n", - 'type' => 'string', - 'example' => '{”nodes":[11694,11695]"}', - ], - 'Msg' => [ - 'description' => 'The details of the current task execution.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'Status' => [ - 'description' => 'The state of the archiving task.'."\n" - ."\n" - .'* **0**: Pending.'."\n" - .'* **1**: Running.'."\n" - .'* **2**: Paused.'."\n" - .'* **3**: Failed.'."\n" - .'* **4**: Succeeded.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TaskType' => [ - 'description' => 'The task type. Valid values:'."\n" - ."\n" - .'* **1**: data archiving'."\n" - .'* **2**: archived data restoration'."\n" - .'* **3**: archived data verification'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TenantId' => [ - 'description' => 'The ID of the tenant.'."\n", - 'type' => 'string', - 'example' => '3406', - ], - 'TriggerType' => [ - 'description' => 'The mode in which the task flow is triggered. Valid values:'."\n" - ."\n" - .'* **0**: The task flow was triggered based on a schedule.'."\n" - .'* **1**: The task flow was manually triggered.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Version' => [ - 'description' => 'The version number.'."\n", - 'type' => 'string', - 'example' => '1', - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID. Use it to locate logs and troubleshoot issues.', 'type' => 'string', 'title' => '', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the call fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the call fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'FunctionList' => [ + 'description' => 'A list of functions.', + 'type' => 'array', + 'items' => ['description' => 'The function information.', '$ref' => '#/components/schemas/DLFunction', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], + 'NextToken' => ['description' => 'The token to use to retrieve the next page of results. This parameter is not returned if no more results are available.', 'type' => 'string', 'example' => 'f056501ada12c1cc', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TraceId\\": \\"0a06e1e316757357507896067d3780\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"PageIndex\\": 1,\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"PageSize\\": 10,\\n \\"Total\\": 2,\\n \\"Data\\": {\\n \\"Instance\\": [\\n {\\n \\"BusinessTime\\": \\"2023-05-14 16:00:57\\",\\n \\"CheckStatus\\": 3,\\n \\"DagId\\": 0,\\n \\"Delete\\": \\"false\\",\\n \\"EndTime\\": \\"2023-04-23 10:23:20\\",\\n \\"GmtCreate\\": \\"2023-03-28 10:50:45\\",\\n \\"GmtModified\\": \\"2023-04-18 15:28:16\\",\\n \\"HistoryDagId\\": 0,\\n \\"Id\\": 0,\\n \\"LastRunningContext\\": \\"{”nodes\\\\\\":[11***,11***]\\\\\\"}\\",\\n \\"Msg\\": \\"”归档任务日志:xxxx“\\",\\n \\"Status\\": 1,\\n \\"TaskType\\": 1,\\n \\"TenantId\\": \\"34***\\",\\n \\"TriggerType\\": 1,\\n \\"Version\\": \\"13***\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => 'GetPagedInstance', - ], - 'ListDBTaskSQLJob' => [ - 'summary' => 'Queries a list of SQL tasks.', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListDataLakeFunction', + 'summary' => 'Queries data lake functions.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeFunction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"FunctionList\\": [\\n {\\n \\"FunctionName\\": \\"my_funciton\\",\\n \\"OwnerName\\": \\"zhangsan\\",\\n \\"OwnerType\\": \\"USER\\",\\n \\"CreatorId\\": 0,\\n \\"FunctionType\\": \\"JAVA\\",\\n \\"CreateTime\\": 1731586286,\\n \\"ResourceUris\\": [\\n {\\n \\"ResourceType\\": \\"JAR\\",\\n \\"Uri\\": \\"hdfs://name****.example.com:8020/user/hive/udfs/my_***.jar\\"\\n }\\n ],\\n \\"ClassName\\": \\"com.example.hive.MyCustomUDF\\",\\n \\"CatalogName\\": \\"hive\\",\\n \\"DbName\\": \\"default\\",\\n \\"ModifierId\\": 0\\n }\\n ],\\n \\"NextToken\\": \\"f056501ada12c1cc\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + ], + 'ListDataLakeFunctionName' => [ + 'summary' => 'Gets a list of data lake function names.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -31166,59 +22035,59 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '249778', + 'abilityTreeNodes' => ['FEATUREdms90TD19', 'FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'DBTaskGroupId', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the SQL task group. You can call the [GetStructSyncJobDetail](~~206160~~) operation to obtain this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'example' => '1324235', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'FunctionNamePattern', + 'in' => 'query', + 'schema' => ['description' => 'The regular expression that is used to filter the returned function names.'."\n", 'type' => 'string', 'required' => false, 'example' => '.*', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n" + ."\n" + .'* If **NextToken** is empty, there is no next page.'."\n" + .'* If a value of **NextToken** is returned, it indicates the token that is used for the next query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'f056501ada12c1cc', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of records per page. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ @@ -31228,133 +22097,49 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F6C47680-8D2D-43A4-8902-F2740D71A398', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'DBTaskSQLJobList' => [ - 'description' => 'The list of the SQL tasks.'."\n", + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'F1C78D32-1AFD-58AD-9DD2-C8A0896969DD'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'FunctionNameList' => [ + 'description' => 'The information about the list of function names.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The SQL task.'."\n", - 'type' => 'object', - 'properties' => [ - 'JobId' => [ - 'description' => 'The ID of the SQL task.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123435', - ], - 'JobType' => [ - 'description' => 'The type of the SQL task.'."\n", - 'type' => 'string', - 'example' => 'STRUCT_SYNC', - ], - 'Comment' => [ - 'description' => 'The description of the SQL task.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'DbSearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'test@xxx:3306【test】', - ], - 'DbId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '43214523', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is a logical database.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'CreateTime' => [ - 'description' => 'The time when the SQL task was created.'."\n", - 'type' => 'string', - 'example' => '2021-02-18 17:49:20', - ], - 'LastExecTime' => [ - 'description' => 'The time when the SQL task was last executed.'."\n", - 'type' => 'string', - 'example' => '2021-02-18 17:49:31', - ], - 'DbTaskGroupId' => [ - 'description' => 'The ID of the SQL task group.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4324132', - ], - 'Status' => [ - 'description' => 'The state of the SQL task. Valid values:'."\n" - ."\n" - .'* **INIT**: The SQL task was initialized.'."\n" - .'* **PENDING**: The SQL task waited to be run.'."\n" - .'* **BE_SCHEDULED**: The SQL task waited to be scheduled.'."\n" - .'* **FAIL**: The SQL task failed.'."\n" - .'* **SUCCESS**: The SQL task was successful.'."\n" - .'* **PAUSE**: The SQL task was paused.'."\n" - .'* **DELETE**: The SQL task was deleted.'."\n" - .'* **RUNNING**: The SQL task was being run.'."\n", - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'Transactional' => [ - 'description' => 'Indicates whether the SQL task is executed as a transaction. Valid values:'."\n" - ."\n" - .'* **true**: The SQL task is executed as a transaction.'."\n" - .'* **false**: The SQL task is not executed as a transaction.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => 'The total number of the SQL tasks.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'items' => ['description' => 'The list of function names.'."\n", 'type' => 'string', 'example' => 'my_funciton', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'NextToken' => ['description' => 'The token that determines the start point of the next query.'."\n", 'type' => 'string', 'example' => 'f056501ada12c1cc'."\n", 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F6C47680-8D2D-43A4-8902-F2740D71A398\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DBTaskSQLJobList\\": [\\n {\\n \\"JobId\\": 0,\\n \\"JobType\\": \\"STRUCT_SYNC\\",\\n \\"Comment\\": \\"test\\",\\n \\"DbSearchName\\": \\"test@xxx:3306[test]\\",\\n \\"DbId\\": 43214523,\\n \\"Logic\\": false,\\n \\"CreateTime\\": \\"2021-02-18 17:49:20\\",\\n \\"LastExecTime\\": \\"2021-02-18 17:49:31\\",\\n \\"DbTaskGroupId\\": 0,\\n \\"Status\\": \\"SUCCESS\\",\\n \\"Transactional\\": false\\n }\\n ],\\n \\"TotalCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<ListDBTaskSQLJobResponse>\\n <RequestId>F6C47680-8D2D-43A4-8902-F2740D71A398</RequestId>\\n <Success>true</Success>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <ErrorCode>UnknownError</ErrorCode>\\n <DBTaskSQLJobList>\\n <JobType>STRUCT_SYNC</JobType>\\n <Comment>test</Comment>\\n <DbSearchName>test@xxx:3306【test】</DbSearchName>\\n <DbId>43214523</DbId>\\n <Logic>false</Logic>\\n <CreateTime>2021-02-18 17:49:20</CreateTime>\\n <LastExecTime>2021-02-18 17:49:31</LastExecTime>\\n <Status>SUCCESS</Status>\\n <Transactional>false</Transactional>\\n </DBTaskSQLJobList>\\n <TotalCount>1</TotalCount>\\n</ListDBTaskSQLJobResponse>","errorExample":""}]', - 'title' => 'ListDBTaskSQLJob', - ], - 'ListDBTaskSQLJobDetail' => [ - 'summary' => 'Queries the details of an SQL task.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1C78D32-1AFD-58AD-9DD2-C8A0896969DD\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"FunctionNameList\\": [\\n \\"my_funciton\\"\\n ],\\n \\"NextToken\\": \\"f056501ada12c1cc\\\\n\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + 'title' => 'ListDataLakeFunctionName', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeFunctionName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDataLakePartition' => [ + 'summary' => 'Queries the partitions of a data lake table.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -31363,213 +22148,129 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '249778', + 'abilityTreeNodes' => ['FEATUREdms90TD19', 'FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'JobId', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the SQL task. You can call the [ListDBTaskSQLJob](~~207049~~) operation to query the SQL task ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1276****', - ], + 'schema' => ['description' => 'The region where the data lake resides.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, hover over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [View tenant information](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The name of the data catalog.', 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'DbName', 'in' => 'query', + 'schema' => ['description' => 'The name of the database.', 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the table.', 'type' => 'string', 'required' => true, 'example' => 'test_table', 'title' => ''], + ], + [ + 'name' => 'PartNames', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'The list of partition names.', + 'type' => 'array', + 'items' => ['description' => 'The name of a partition.', 'type' => 'string', 'required' => false, 'example' => 'part_1', 'title' => ''], 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The token for the next query. Valid values:'."\n" + ."\n" + .'- If **NextToken** is empty, no further queries are available.'."\n" + ."\n" + .'- If **NextToken** has a value, use it as the starting token for the next query.', 'type' => 'string', 'required' => false, 'example' => 'f056501ada12c1cc', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page. Valid values: 0 to 100.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'Response schema', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '3F044E33-FE09-58F1-8C61-A0F612EC****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned.'."\n", - 'type' => 'string', - 'example' => 'JobId is mandatory for this action.', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned.'."\n", - 'type' => 'string', - 'example' => 'MissingJobId', - ], - 'DBTaskSQLJobDetailList' => [ - 'description' => 'The details of SQL tasks.'."\n", + 'RequestId' => ['description' => 'The request ID. Use it to locate logs and troubleshoot issues.', 'type' => 'string', 'title' => '', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the request succeeded:'."\n" + ."\n" + .'- **true**: The request succeeded.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code. Returned only when an error occurs.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned when the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'PartitionList' => [ + 'description' => 'The list of partitions.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'JobDetailId' => [ - 'description' => 'The ID of the details of the SQL task.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24723****', - ], - 'CurrentSql' => [ - 'description' => 'The SQL statement that was executed in the SQL task.'."\n", - 'type' => 'string', - 'example' => 'update a set id = 1 where id = 1;', - ], - 'ExecuteCount' => [ - 'description' => 'The number of times that the SQL statement was executed.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'JobId' => [ - 'description' => 'The ID of the SQL task.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1276****', - ], - 'DbId' => [ - 'description' => 'The ID of the physical database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1988****', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Skip' => [ - 'description' => 'Indicates whether the SQL statement was skipped. Valid values:'."\n" - ."\n" - .'* **true**: The SQL statement was skipped.'."\n" - .'* **false**: The SQL statement was not skipped.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'SqlType' => [ - 'description' => 'The type of the SQL statement, such as DELETE, UPDATE, or ALTER_TABLE.'."\n", - 'type' => 'string', - 'example' => 'CREATE_TABLE', - ], - 'Status' => [ - 'description' => 'The status of the SQL task. Valid values:'."\n" - ."\n" - .'* **INIT**: The SQL task was initialized.'."\n" - .'* **PENDING**: The SQL task waited to be run.'."\n" - .'* **BE_SCHEDULED**: The SQL task waited to be scheduled.'."\n" - .'* **FAIL**: The SQL task failed.'."\n" - .'* **SUCCESS**: The SQL task was successful.'."\n" - .'* **PAUSE**: The SQL task was paused.'."\n" - .'* **DELETE**: The SQL task was deleted.'."\n" - .'* **RUNNING**: The SQL task was being run.'."\n", - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'Log' => [ - 'description' => 'The details of the operational log.'."\n", - 'type' => 'string', - 'example' => 'log_info', - ], - 'StartTime' => [ - 'description' => 'The point in time when the SQL task started.'."\n", - 'type' => 'string', - 'example' => '2021-12-16 00:00:00', - ], - 'EndTime' => [ - 'description' => 'The point in time when the SQL task ended.'."\n", - 'type' => 'string', - 'example' => '2021-12-16 00:00:01', - ], - 'TimeDelay' => [ - 'description' => 'The duration of the SQL task. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '38', - ], - 'AffectRows' => [ - 'description' => 'The number of rows affected by the SQL task.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => 'The total number of SQL tasks.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'items' => ['description' => 'Information about a data lake table partition.', '$ref' => '#/components/schemas/DLPartition', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], + 'NextToken' => ['description' => 'The token for the next query.', 'type' => 'string', 'example' => 'NesLoKLEdIZrKhDT7I2gS****', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3F044E33-FE09-58F1-8C61-A0F612EC****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"JobId is mandatory for this action.\\",\\n \\"ErrorCode\\": \\"MissingJobId\\",\\n \\"DBTaskSQLJobDetailList\\": [\\n {\\n \\"JobDetailId\\": 0,\\n \\"CurrentSql\\": \\"update a set id = 1 where id = 1;\\",\\n \\"ExecuteCount\\": 1,\\n \\"JobId\\": 0,\\n \\"DbId\\": 0,\\n \\"Logic\\": false,\\n \\"Skip\\": false,\\n \\"SqlType\\": \\"CREATE_TABLE\\",\\n \\"Status\\": \\"SUCCESS\\",\\n \\"Log\\": \\"log_info\\",\\n \\"StartTime\\": \\"2021-12-16 00:00:00\\",\\n \\"EndTime\\": \\"2021-12-16 00:00:01\\",\\n \\"TimeDelay\\": 38,\\n \\"AffectRows\\": 0\\n }\\n ],\\n \\"TotalCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<ListDBTaskSQLJobDetailResponse>\\n <RequestId>3F044E33-FE09-58F1-8C61-A0F612EC****</RequestId>\\n <Success>true</Success>\\n <ErrorMessage>JobId is mandatory for this action.</ErrorMessage>\\n <ErrorCode>MissingJobId</ErrorCode>\\n <DBTaskSQLJobDetailList>\\n <CurrentSql>update a set id = 1 where id = 1;</CurrentSql>\\n <ExecuteCount>1</ExecuteCount>\\n <Logic>false</Logic>\\n <Skip>false</Skip>\\n <SqlType>CREATE_TABLE</SqlType>\\n <Status>SUCCESS</Status>\\n <Log>log_info</Log>\\n <StartTime>2021-12-16 00:00:00</StartTime>\\n <EndTime>2021-12-16 00:00:01</EndTime>\\n <TimeDelay>38</TimeDelay>\\n <AffectRows>0</AffectRows>\\n </DBTaskSQLJobDetailList>\\n <TotalCount>1</TotalCount>\\n</ListDBTaskSQLJobDetailResponse>","errorExample":""}]', - 'title' => 'ListDBTaskSQLJobDetail', - ], - 'GetDBTaskSQLJobLog' => [ - 'summary' => 'Queries the log that records the scheduling details of an SQL task.', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListDataLakePartition', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakePartition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"PartitionList\\": [\\n {\\n \\"TableName\\": \\"table_name\\",\\n \\"Sd\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 1,\\n \\"Col\\": \\"col1\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\\\\\"123\\\\\\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"col1\\"\\n ]\\n },\\n \\"InputFormat\\": \\"org.apache.hadoop.mapred.SequenceFileInputFormat\\",\\n \\"OutputFormat\\": \\"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"IsCompressed\\": false,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"DeserializerClass\\": \\"org.apache.hadoop.hive.serde2.OpenCSVSerde\\",\\n \\"Parameters\\": {\\n \\"serialization.format\\": \\"1\\"\\n },\\n \\"Description\\": \\"\\\\\\"serialize\\\\\\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"Name\\": \\"name\\"\\n },\\n \\"BucketCols\\": [\\n \\"2010\\"\\n ],\\n \\"NumBuckets\\": -1,\\n \\"Location\\": \\"oss://xxx\\"\\n },\\n \\"Parameters\\": {\\n \\"key\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\"\\n },\\n \\"CreateTime\\": 1735109884,\\n \\"Values\\": [\\n \\"part_val1\\"\\n ],\\n \\"CatalogName\\": \\"hive\\",\\n \\"DbName\\": \\"default\\",\\n \\"LastAccessTime\\": 1608707407\\n }\\n ],\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gS****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + ], + 'ListDataLakePartitionByFilter' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -31579,88 +22280,130 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '249778', + 'abilityTreeNodes' => ['FEATUREdms90TD19', 'FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'JobId', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the SQL task. You can call the [ListDBTaskSQLJob](~~207049~~) operation to query the ID of the SQL task.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1276****', - ], + 'schema' => ['description' => 'The region where the data lake resides.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> Find this ID by hovering over your profile picture in the upper-right corner of the console. For more information, see [View tenant information](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'CatalogName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the data catalog.', 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], + ], + [ + 'name' => 'DbName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the database.', 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the table.', 'type' => 'string', 'required' => true, 'example' => 'test_table', 'title' => ''], + ], + [ + 'name' => 'Filter', + 'in' => 'formData', + 'schema' => ['description' => 'The conditional expression used to filter partitions. Supported operators include the following:'."\n" + ."\n" + .'- Comparison operators: =, <>, !=, <, <=, >, >=. Example: ds>20240101.'."\n" + ."\n" + .'- Logical operators: AND, OR, NOT. Example: ds LIKE \'20240%\''."\n" + ."\n" + .'- BETWEEN operator: Specifies a range. Example: ds BETWEEN 20240101 AND 20241201.'."\n" + ."\n" + .'- IN operator: Specifies a set of values. Example: ds IN (20240101, 20240102).', 'type' => 'string', 'required' => true, 'example' => 'ds>20241201', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The token for the next page of results. Values:'."\n" + ."\n" + .'- If **NextToken** is empty, no more pages exist.'."\n" + ."\n" + .'- If **NextToken** has a value, use it as the starting token for the next request.', 'type' => 'string', 'required' => false, 'example' => 'f056501ada12c1cc', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of results per page. Maximum: 100.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'Response schema', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4AC23904-55DE-550B-9676-E8946F07****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'JobId is mandatory for this action.', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'MissingJobId', - ], - 'Log' => [ - 'description' => 'The log that records the scheduling details.'."\n", - 'type' => 'string', - 'example' => 'log_****', + 'RequestId' => ['description' => 'The request ID. Use it to locate logs and troubleshoot issues.', 'type' => 'string', 'title' => '', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D'], + 'Success' => ['description' => 'Indicates whether the call succeeded.'."\n" + ."\n" + .'- **true**: The call succeeded.'."\n" + ."\n" + .'- **false**: The call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned when the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned when the call fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'PartitionList' => [ + 'description' => 'The list of partitions.', + 'type' => 'array', + 'items' => ['description' => 'Information about a data lake table partition.', '$ref' => '#/components/schemas/DLPartition', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], + 'NextToken' => ['description' => 'The token for the next page of results.', 'type' => 'string', 'example' => 'NesLoKLEdIZrKhDT7I2gS****', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of results per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4AC23904-55DE-550B-9676-E8946F07****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"JobId is mandatory for this action.\\",\\n \\"ErrorCode\\": \\"MissingJobId\\",\\n \\"Log\\": \\"log_****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetDBTaskSQLJobLogResponse>\\n <RequestId>4AC23904-55DE-550B-9676-E8946F07****</RequestId>\\n <Log>\\r\\n------[2021-12-08 12:05:31]------\\r\\n创建任务:分组id:0;分组排序:0\\r\\n\\r\\n------[2021-12-08 12:05:32]------\\r\\n任务初始化...\\r\\n\\r\\n------[2021-12-08 12:05:32]------\\r\\nqn_bzbh5@rm-bp144d5ky4l4rli0417****.mysql.rds.****.com:3306【qn_rds mysql】\\r\\n\\r\\n------[2021-12-08 12:05:32]------\\r\\nuse normal connection :Normal\\r\\n\\r\\n------[2021-12-08 12:05:32]------\\r\\n事务:关闭.\\r\\n\\r\\n------[2021-12-08 12:05:32]------\\r\\n开始执行:共1条SQL待执行 queryKey: executeKey_12763320_598\\r\\n\\r\\n------[2021-12-08 12:05:33]------\\r\\nchange done!\\r\\n\\r\\n------[2021-12-08 12:05:33]------\\r\\n任务执行成功!\\r\\n\\r\\n------[2021-12-08 12:05:33]------\\r\\njobSuccess callback Start.\\r\\n\\r\\n------[2021-12-08 12:05:33]------\\r\\nstart database level metadata sync task [Master]...\\r\\n\\r\\ndatabase table level sync. cost:355 ms\\r\\n------[2021-12-08 12:05:33]------\\r\\ngroup success callback end !\\r\\n\\r\\n------[2021-12-08 12:05:33]------\\r\\njobSuccess callback End.\\r\\n</Log>\\n <Success>true</Success>\\n</GetDBTaskSQLJobLogResponse>","errorExample":""}]', - 'title' => 'GetDBTaskSQLJobLog', - ], - 'GetOnlineDDLProgress' => [ - 'summary' => 'Queries the details and progress of an OnlineDDL task.', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListDataLakePartitionByFilter', + 'summary' => 'Lists data lake table partitions that match a filter condition.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakePartitionByFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"PartitionList\\": [\\n {\\n \\"TableName\\": \\"table_name\\",\\n \\"Sd\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 1,\\n \\"Col\\": \\"col1\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\\\\\"123\\\\\\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"col1\\"\\n ]\\n },\\n \\"InputFormat\\": \\"org.apache.hadoop.mapred.SequenceFileInputFormat\\",\\n \\"OutputFormat\\": \\"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"IsCompressed\\": false,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"DeserializerClass\\": \\"org.apache.hadoop.hive.serde2.OpenCSVSerde\\",\\n \\"Parameters\\": {\\n \\"serialization.format\\": \\"1\\"\\n },\\n \\"Description\\": \\"\\\\\\"serialize\\\\\\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"Name\\": \\"name\\"\\n },\\n \\"BucketCols\\": [\\n \\"2010\\"\\n ],\\n \\"NumBuckets\\": -1,\\n \\"Location\\": \\"oss://xxx\\"\\n },\\n \\"Parameters\\": {\\n \\"key\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\"\\n },\\n \\"CreateTime\\": 1735109884,\\n \\"Values\\": [\\n \\"part_val1\\"\\n ],\\n \\"CatalogName\\": \\"hive\\",\\n \\"DbName\\": \\"default\\",\\n \\"LastAccessTime\\": 1608707407\\n }\\n ],\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gS****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + ], + 'ListDataLakePartitionName' => [ + 'summary' => 'Queries a list of partition names of a table in a data lake.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -31670,33 +22413,58 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '249778', + 'abilityTreeNodes' => ['FEATUREdms90TD19', 'FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ + 'name' => 'DataRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'JobDetailId', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the OnlineDDL SQL task details. You can call the [ListDBTaskSQLJobDetail](~~207073~~) operation to obtain the task detail ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '15***', - ], + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], + ], + [ + 'name' => 'DbName', + 'in' => 'query', + 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'required' => true, 'example' => 'table_name', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n" + ."\n" + .'* If **NextToken** is empty, there is no next page.'."\n" + .'* If a value of **NextToken** is returned, the value indicates the token that is used for the next query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'f056501ada12c1cc', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of records per page. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ @@ -31706,150 +22474,49 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'OnlineDDLTaskDetail' => [ - 'description' => 'The details of the task.'."\n", - 'type' => 'object', - 'properties' => [ - 'JobStatus' => [ - 'description' => 'The state of the task. Valid values:'."\n" - ."\n" - .'* **INIT**: The task is being initialized.'."\n" - .'* **SUCCESS**: The task is complete.'."\n" - .'* **RUNNING**: The task is being executed.'."\n" - .'* **WAITING_CUTOVER**: The task is waiting for cut-over.'."\n" - .'* **RESTARTING**: The task is restarting.'."\n" - .'* **PAUSE**: The task is suspended.'."\n" - .'* **UNSUPPORTED**: The task is not supported.'."\n" - .'* **CANCELED**: The task is canceled.'."\n" - .'* **FAIL**: The task failed.'."\n" - .'* **INTERRUPT**: The task is interrupted.'."\n", - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'StatusDesc' => [ - 'description' => 'The description of the task status.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'DelaySeconds' => [ - 'description' => 'The replay latency of DMS. Unit: seconds. The replay latency is the period of time that is taken to replay the binary logs of the table to the temporary table. The latency does not indicate the data migration latency between a primary database and a secondary database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'CopyTotal' => [ - 'description' => 'The estimated total number of rows of the data. The value is obtained from the statistical data in the information_schema database. In most cases, the estimated total number of rows is smaller than the actual number of rows in a table.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'CopyCount' => [ - 'description' => 'The actual amount of data replicated from the original table in the lock-free change operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '9', - ], - 'ProgressRatio' => [ - 'description' => 'The estimated execution progress. The actual progress is subject to the task status.'."\n", - 'type' => 'string', - 'example' => '90%', - ], - 'CutoverLockTimeSeconds' => [ - 'description' => 'The maximum period of time that a table can be locked during cut-over. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'CutoverFailRetryTimes' => [ - 'description' => 'The number of retries when the cut-over fails.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'CleanStrategy' => [ - 'description' => 'The cleanup policy of the original table after the cut-over. Valid values:'."\n" - ."\n" - .'* **DROP**: Invalid original tables are deleted.'."\n" - .'* **MOVE**: Invalid original tables are moved to the test database. You can delete the tables manually.'."\n" - .'* **NOTHING**: Invalid original tables are retained in the original database. You can delete the tables manually.'."\n", - 'type' => 'string', - 'example' => 'DROP', - ], - 'CopyChunkSize' => [ - 'description' => 'The size of each chunk that is used to replicate data. This parameter is used to specify the size of each chunk. A larger chunk size increases the replication efficiency and decreases the business performance.'."\n" - ."\n" - .'> During full replication, the original table is divided into N small chunks and each chunk is replicated to the temporary table one by one. By default, DMS dynamically adjusts the size of each chunk.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'CopyChunkMode' => [ - 'description' => 'The policy of full replication. Valid values:'."\n" - ."\n" - .'* **AUTO**: DMS dynamically adjusts the chunk size based on the performance of the database. Tables are locked for less than 1.5 seconds during a single replication operation.'."\n" - .'* **RUNNING**: DMS uses the specified value of the CopyChunkSize parameter. The valid value of the CopyChunkSize parameter ranges from 1 to 60000. If you set this parameter to RUNNING, you must specify the CopyChunkSize parameter.'."\n", - 'type' => 'string', - 'example' => 'AUTO', - ], - 'CutoverWindowStartTime' => [ - 'description' => 'The beginning of the time window of the cut-over operation. Default value: 00:00:00. This parameter controls the time window of the cut-over. Cut-over can be performed only when the cut-over conditions are met and the time is within the specified time window. If the time is not within the time window, the cut-over operation is not performed until the time reaches the beginning of the time window.'."\n", - 'type' => 'string', - 'example' => '12:00:00', - ], - 'CutoverWindowEndTime' => [ - 'description' => 'The end of the time window of the cut-over operation. This value is at least 30 minutes later than the CutoverWindowStartTime parameter. Default value: 23:59:59'."\n", - 'type' => 'string', - 'example' => '13:00:00', - ], - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'PartitionNameList' => [ + 'description' => 'The partition names.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The partition name.'."\n", 'type' => 'string', 'example' => 'part_1', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'NextToken' => ['description' => 'The information about the token.'."\n", 'type' => 'string', 'example' => 'NesLoKLEdIZrKhDT7I2gS****', 'title' => ''], + 'MaxResults' => ['description' => 'The number of records per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"OnlineDDLTaskDetail\\": {\\n \\"JobStatus\\": \\"SUCCESS\\",\\n \\"StatusDesc\\": \\"Success\\",\\n \\"DelaySeconds\\": 0,\\n \\"CopyTotal\\": 10,\\n \\"CopyCount\\": 9,\\n \\"ProgressRatio\\": \\"90%\\",\\n \\"CutoverLockTimeSeconds\\": 2,\\n \\"CutoverFailRetryTimes\\": 3,\\n \\"CleanStrategy\\": \\"DROP\\",\\n \\"CopyChunkSize\\": 1000,\\n \\"CopyChunkMode\\": \\"AUTO\\",\\n \\"CutoverWindowStartTime\\": \\"12:00:00\\",\\n \\"CutoverWindowEndTime\\": \\"13:00:00\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetOnlineDDLProgressResponse>\\n <RequestId>34E01EDD-6A16-4CF0-9541-C644D1BE01AA</RequestId>\\n <Success>true</Success>\\n <OnlineDDLTaskDetail>\\n <JobStatus>SUCCESS</JobStatus>\\n <StatusDesc>Success</StatusDesc>\\n <DelaySeconds>0</DelaySeconds>\\n <CopyTotal>10</CopyTotal>\\n <CopyCount>9</CopyCount>\\n <ProgressRatio>90</ProgressRatio>\\n <CutoverLockTimeSeconds>2</CutoverLockTimeSeconds>\\n <CutoverFailRetryTimes>3</CutoverFailRetryTimes>\\n <CleanStrategy>DROP</CleanStrategy>\\n <CopyChunkSize>1000</CopyChunkSize>\\n <CopyChunkMode>AUTO</CopyChunkMode>\\n <CutoverWindowStartTime>12:00:00</CutoverWindowStartTime>\\n <CutoverWindowEndTime>13:00:00</CutoverWindowEndTime>\\n </OnlineDDLTaskDetail>\\n</GetOnlineDDLProgressResponse>","errorExample":""}]', - 'title' => 'GetOnlineDDLProgress', - ], - 'GenerateSqlFromNL' => [ - 'summary' => 'Automatically retrieves relevant database and business information and generates the executable SQL statement based on the natural language description provided.', - 'description' => '## 请求说明'."\n" - .'- 该API用于将用户的自然语言问题转换为可执行的SQL查询语句。'."\n" - .'- 用户需要提供数据库ID (`dbId`) 和实例ID (`instanceId`),以及想要查询的问题描述 (`question`)。'."\n" - .'- 可选参数包括业务知识 (`knowledge`)、数据库方言 (`dialect`)、历史消息 (`history`)、算法级别 (`level`) 和指定模型名称 (`model`)。'."\n" - .'- `dialect` 默认值为 "SQL",表示生成标准SQL语句;`level` 默认值为 "base",代表基础级别的处理。'."\n" - .'- 如果请求中包含多个表且这些表不属于同一个数据库,则返回的 `dbId` 将为0,表明这是一个跨库查询。'."\n" - .'- 返回结果中除了生成的SQL语句外,还包括了求解时用到的表、引用的知识点、展示用的SQL等信息,方便进一步理解和使用。'."\n", - 'path' => '/', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"PartitionNameList\\": [\\n \\"part_1\\"\\n ],\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gS****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + 'title' => 'ListDataLakePartitionName', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakePartitionName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDataLakeTable' => [ + 'summary' => 'Queries a list of tables in a data lake.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -31858,409 +22525,246 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsU8QOR6', - ], + 'abilityTreeCode' => '249778', + 'abilityTreeNodes' => ['FEATUREdms90TD19', 'FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'DbId', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'title' => '数据库ID,可以调用[ListDatabases](~~141873~~)接口获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1***', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Knowledge', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'title' => '知识数据,额外输入的业务知识', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'state>0代表成功', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Question', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'title' => '问题。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '', - ], + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'Dialect', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'title' => '数据库实例类型', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL', - ], + 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'Level', + 'name' => 'TableNamePattern', 'in' => 'query', - 'schema' => [ - 'title' => '实例级别。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'base', - 'default' => 'base', - 'enum' => [ - 'base', - 'medium', - 'complex', - ], - ], + 'schema' => ['description' => 'The regular expression that is used to match the names of metadata tables.'."\n", 'type' => 'string', 'required' => false, 'example' => '.*', 'title' => ''], ], [ - 'name' => 'Model', + 'name' => 'TableType', 'in' => 'query', - 'schema' => [ - 'title' => '选用的模型名称,仅可用千问系列', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'qwen-plus', - ], + 'schema' => ['description' => 'The type of the data table. Valid values:'."\n" + ."\n" + .'* MANAGED_TABLE'."\n" + .'* EXTERNAL_TABLE'."\n" + .'* VIRTUAL_VIEW'."\n" + .'* INDEX_TABLE'."\n" + .'* MATERIALIZED_VIEW'."\n", 'type' => 'string', 'required' => false, 'example' => 'MANAGED_TABLE', 'title' => ''], ], [ - 'name' => 'TableNames', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'title' => '选用的表名,列表(用逗号分隔),若指定该值,则只会使用选用的表'."\n", - 'type' => 'string', - 'docRequired' => false, - 'example' => 'users,orders', - ], + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n" + ."\n" + .'* If **NextToken** is empty, there is no next page.'."\n" + .'* If a value of **NextToken** is returned, it indicates the token that is used for the next query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'f056501ada12c1cc', 'title' => ''], ], [ - 'name' => 'RealLoginUserUid', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The number of records per page. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ - 'description' => '成功生成SQL', 'schema' => [ - 'title' => '取数'."\n", - 'description' => '', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'title' => '错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。', - 'description' => '', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'title' => '请求是否成功,返回值如下:'."\n" - .'- **true**:请求成功'."\n" - .'- **false**:请求失败', - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Data' => [ - 'title' => '返回的数据信息。', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Question' => [ - 'title' => '原输入问题'."\n", - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Tables' => [ - 'title' => '求解时用到的表列表。每个元素代表一个表实体,具体结构较为复杂,此处简化处理。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'title' => '求解时用到的表实体。每个元素代表一个具体的表,包括但不限于表名、表ID等信息。', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'TableName' => [ - 'title' => '表名,用于唯一标识数据库中的某张表。', - 'description' => '', - 'type' => 'string', - 'example' => 'ins_1.db1.table1', - ], - ], - ], - ], - 'KnowledgeReferences' => [ - 'title' => '引用的知识', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '知识的名称', - 'description' => '', - 'type' => 'string', - 'example' => 'sample_tbl', - ], - 'Content' => [ - 'title' => '知识的具体内容', - 'description' => '', - 'type' => 'string', - 'example' => '{\'Status\': \'OK\'}', - ], - 'Level' => [ - 'title' => '知识类型。'."\n" - .' * RULE: 规则'."\n" - .' * FAQ: 常见问题解答'."\n" - .' * DOCUMENT: 文档', - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'to_verify' => 'to_verify', - 'verified' => 'verified', - 'to_complete' => 'to_complete', - 'to_review' => 'to_review', - ], - 'example' => 'verified', - 'enum' => [ - 'RULE', - 'FAQ', - 'DOCUMENT', - ], - ], - ], - ], - ], - 'Sql' => [ - 'title' => 'GUID-SQL,后端处理量用这个'."\n", - 'description' => '', - 'type' => 'string', - 'example' => 'SELECT * FROM table WHERE condition;', - ], - 'SimilarSql' => [ - 'title' => '参考的相似SQL列表', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Question' => [ - 'title' => '问题描述', - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Sql' => [ - 'title' => '生成的SQL语句', - 'description' => '', - 'type' => 'string', - 'example' => 'SELECT * WHERE ResourceType = \'ACS::ECS::Instance\' AND ResourceGroupId != \'rg-xxx\'', - ], - 'Thought' => [ - 'title' => '生成SQL时的思考过程', - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Score' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0.52', - ], - ], - ], - ], - 'Thought' => [ - 'title' => '无明确描述信息'."\n", - 'description' => '', - 'type' => 'string', - 'example' => '通过分析用户的问题和提供的知识,生成了相应的SQL语句。', - ], - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '3D3FB827-E667-50DB-AD59-C83F8237FECB'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'TableList' => [ + 'description' => 'The details of the tables.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The queried table.'."\n", '$ref' => '#/components/schemas/DLTable', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], + 'NextToken' => ['description' => 'The information about the token.'."\n", 'type' => 'string', 'example' => 'NesLoKLEdIZrKhDT7I2gS****', 'title' => ''], + 'MaxResults' => ['description' => 'The number of records per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], + 'example' => '', ], ], ], - 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3D3FB827-E667-50DB-AD59-C83F8237FECB\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"TableList\\": [\\n {\\n \\"ViewOriginalText\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Owner\\": \\"zhangsan\\",\\n \\"TableType\\": \\"EXTERNAL_TABLE\\",\\n \\"Parameters\\": {\\n \\"EXTERNAL\\": \\"TRUE\\",\\n \\"delta.minReaderVersion\\": \\"1\\"\\n },\\n \\"Description\\": \\"test\\",\\n \\"CreatorId\\": 0,\\n \\"CreateTime\\": 1731586286,\\n \\"StorageDescriptor\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 1,\\n \\"Col\\": \\"col1\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\\\\\"123\\\\\\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"col1\\"\\n ]\\n },\\n \\"InputFormat\\": \\"org.apache.hadoop.mapred.SequenceFileInputFormat\\",\\n \\"OutputFormat\\": \\"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"IsCompressed\\": false,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"DeserializerClass\\": \\"org.apache.hadoop.hive.serde2.OpenCSVSerde\\",\\n \\"Parameters\\": {\\n \\"serialization.format\\": \\"1\\"\\n },\\n \\"Description\\": \\"\\\\\\"serialize\\\\\\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"Name\\": \\"name\\"\\n },\\n \\"BucketCols\\": [\\n \\"2010\\"\\n ],\\n \\"NumBuckets\\": -1,\\n \\"Location\\": \\"oss://xxx\\"\\n },\\n \\"LastAccessTime\\": 1608707407,\\n \\"Retention\\": 300,\\n \\"Name\\": \\"100g_customer\\",\\n \\"OwnerType\\": \\"USER\\",\\n \\"ViewExpandedText\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DbId\\": 19,\\n \\"DbName\\": \\"default\\",\\n \\"CatalogName\\": \\"hive\\",\\n \\"PartitionKeys\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"ModifierId\\": 1410769,\\n \\"Location\\": \\"oss://xxx\\"\\n }\\n ],\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gS****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + 'title' => 'ListDataLakeTable', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Question\\": \\"查询今天用户访问量\\",\\n \\"Tables\\": [\\n {\\n \\"TableName\\": \\"ins_1.db1.table1\\"\\n }\\n ],\\n \\"KnowledgeReferences\\": [\\n {\\n \\"Name\\": \\"sample_tbl\\",\\n \\"Content\\": \\"{\'Status\': \'OK\'}\\",\\n \\"Level\\": \\"verified\\"\\n }\\n ],\\n \\"Sql\\": \\"SELECT * FROM table WHERE condition;\\",\\n \\"SimilarSql\\": [\\n {\\n \\"Question\\": \\"实例xxx的访问量有多少?\\",\\n \\"Sql\\": \\"SELECT * WHERE ResourceType = \'ACS::ECS::Instance\' AND ResourceGroupId != \'rg-xxx\'\\",\\n \\"Thought\\": \\"度量(指标): 用户询问了xx指标,根据上下文,需要计算xxx。\\\\n维度(筛选条件): 用户问题里提到了xx的条件,结合上下文,核心维度为xxx。\\\\n综上,需要使用xxx表,使用xxx列。其中xxx作为projection选择,xxx用于过滤条件,xxx用于分组条件。\\",\\n \\"Score\\": \\"0.52\\"\\n }\\n ],\\n \\"Thought\\": \\"通过分析用户的问题和提供的知识,生成了相应的SQL语句。\\"\\n }\\n}","type":"json"}]', - 'title' => 'GenerateSqlFromNL', ], - 'SetOwners' => [ - 'summary' => 'Configures the owner of an instance, a database, or a table.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDataLakeTableName' => [ + 'summary' => 'Queries a list of names of tables in a data lake.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '249778', + 'abilityTreeNodes' => ['FEATUREdms90TD19', 'FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ + 'name' => 'DataRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'ResourceId', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource. The ID of the resource varies with the owner type. The owner types and resource IDs have the following mappings:'."\n" - ."\n" - .'* INSTANCE: the ID of an instance. You can call the [ListInstances](~~141936~~) operation to query the ID of the instance.'."\n" - .'* DATABASE: the ID of a physical database. You can call the [ListDatabases](~~141873~~) operation to query the ID of the physical database.'."\n" - .'* LOGIC_DATABASE: the ID of a logical database. You can call the [ListLogicDatabases](~~141874~~) operation to query the ID of the logical database.'."\n" - .'* TABLE: the ID of a physical table. You can call the [ListTables](~~141878~~) operation to query the ID of the physical table.'."\n" - .'* LOGIC_DATABASE: the ID of a logical table. You can call the [ListLogicTables](~~141875~~) operation to query the ID of the logical table.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '174****', - ], + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'OwnerType', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the owner. Valid values:'."\n" - ."\n" - .'* INSTANCE: an owner of an instance.'."\n" - .'* DATABASE: an owner of a physical database.'."\n" - .'* LOGIC_DATABASE: an owner of a logical database.'."\n" - .'* TABLE: an owner of a physical table.'."\n" - .'* LOGIC_TABLE: an owner of a logical table.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'INSTANCE', - 'enum' => [ - 'DATABASE', - 'LOGIC_DATABASE', - 'TABLE', - 'LOGIC_TABLE', - 'INSTANCE', - ], - ], + 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'OwnerIds', + 'name' => 'TableNamePattern', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the user whom you want to specify as an owner. Separate multiple IDs with commas (,). You can call the [GetUser](~~147098~~) or [ListUsers](~~141938~~) operation to query the ID of the user.'."\n" - ."\n" - .'> The value of the OwnerIds parameter is that of the UserId parameter.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '51****', - ], + 'schema' => ['description' => 'The regular expression that is used to match the table name.'."\n", 'type' => 'string', 'required' => false, 'example' => '.*', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n" + ."\n" + .'* If **NextToken** is empty, there is no next page.'."\n" + .'* If a value of **NextToken** is returned, it indicates the token that is used for the next query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'f056501ada12c1cc', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of records per page. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'TableType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the data table. Valid values:'."\n" + ."\n" + .'* MANAGED_TABLE'."\n" + .'* EXTERNAL_TABLE'."\n" + .'* VIRTUAL_VIEW'."\n" + .'* INDEX_TABLE'."\n" + .'* MATERIALIZED_VIEW'."\n", 'type' => 'string', 'required' => false, 'example' => 'MANAGED_TABLE', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A99CD576-1E18-4E86-931E-C3CCE56DC030', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* true: The request is successful.'."\n" - .'* false: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => '', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'C5B8E84B-42B6-4374-AD5A-6264E1753378'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'TableNameList' => [ + 'description' => 'The table names.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The table name.'."\n", 'type' => 'string', 'example' => 'test_name', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'NextToken' => ['description' => 'The information about the token.'."\n", 'type' => 'string', 'example' => 'NesLoKLEdIZrKhDT7I2gS****', 'title' => ''], + 'MaxResults' => ['description' => 'The number of records per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C5B8E84B-42B6-4374-AD5A-6264E1753378\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"TableNameList\\": [\\n \\"test_name\\"\\n ],\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gS****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + 'title' => 'ListDataLakeTableName', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeTableName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A99CD576-1E18-4E86-931E-C3CCE56DC030\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SetOwnersResponse>\\n <RequestId>A99CD576-1E18-4E86-931E-C3CCE56DC030</RequestId>\\n <Success>true</Success>\\n</SetOwnersResponse>","errorExample":""}]', - 'title' => 'SetOwners', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'ListInstanceUserPermissions' => [ - 'summary' => 'Queries the permissions of a user on an instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDataLakeTablebaseInfo' => [ + 'summary' => 'Queries basic information about tables in the data lake.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -32269,200 +22773,105 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '249769', + 'abilityTreeNodes' => ['FEATUREdms90TD19'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'Rows', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '174****', - ], + 'schema' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '200', 'minimum' => '0', 'example' => '10', 'title' => ''], ], [ - 'name' => 'UserName', + 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'description' => 'The nickname of the user. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to query the nickname of the user.'."\n" - ."\n" - .'> The value of the NickName parameter is that of the UserName parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_nick_name', - ], + 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'SearchKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The keyword that is used to search for tables.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => 'The name of the database to which the table belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'CatalogName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the data catalog to query.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], + ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of returned entries.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7D162AAE-6501-5691-BF14-D7018F662895', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'UserPermissions' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UserPermission' => [ - 'description' => 'The permissions of the user on the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'UserId' => [ - 'description' => 'The ID of the user.'."\n", - 'type' => 'string', - 'example' => '51****', - ], - 'UserNickName' => [ - 'description' => 'The nickname of the user.'."\n", - 'type' => 'string', - 'example' => 'test_nick_name', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => '174****', - ], - 'PermDetails' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'PermDetail' => [ - 'description' => 'The details of permissions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'OriginFrom' => [ - 'description' => 'The user who grants the permissions.'."\n", - 'type' => 'string', - 'example' => 'xxx authorization', - ], - 'PermType' => [ - 'description' => 'The type of the permissions. Valid values:'."\n" - ."\n" - .'* LOGIN: the logon permissions'."\n" - .'* PERF: the query permissions on the instance'."\n", - 'type' => 'string', - 'example' => 'LOGIN', - ], - 'ExpireDate' => [ - 'description' => 'The time when the permissions expire.'."\n", - 'type' => 'string', - 'example' => '2020-12-12 00:00:00', - ], - 'CreateDate' => [ - 'description' => 'The time when the permissions were granted.'."\n", - 'type' => 'string', - 'example' => '2019-12-12 00:00:00', - ], - 'UserAccessId' => [ - 'description' => 'The ID of the authorization record.'."\n", - 'type' => 'string', - 'example' => '773****', - ], - 'ExtraData' => [ - 'description' => 'This parameter is reserved.'."\n", - 'type' => 'string', - 'example' => 'XXX', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'- true: The request is successful.'."\n" - .'- false: The request fails.', - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B43AD641-49C2-5299-9E06-1B37EC1B****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => '400', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'Specified parameter Rows is not valid.', 'title' => ''], + 'TablebaseInfoList' => [ + 'description' => 'The list of tables in the data lake.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The basic information about the table.'."\n", '$ref' => '#/components/schemas/DLTablebaseInfo', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The number of tables that meet the conditions.'."\n", 'type' => 'string', 'example' => '100', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B43AD641-49C2-5299-9E06-1B37EC1B****\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"400\\",\\n \\"ErrorMessage\\": \\"Specified parameter Rows is not valid.\\",\\n \\"TablebaseInfoList\\": [\\n {\\n \\"Owner\\": \\"test\\",\\n \\"ViewOriginalText\\": \\"\\\\\\"\\\\\\"\\",\\n \\"TableType\\": \\"EXTERNAL_TABLE\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"\\\\\\"table\\\\\\"\\",\\n \\"CreatorId\\": 0,\\n \\"CreateTime\\": 1731586286,\\n \\"LastAccessTime\\": 1608707407,\\n \\"Retention\\": 30000,\\n \\"Name\\": \\"100g_customer\\",\\n \\"OwnerType\\": \\"ROLE \\",\\n \\"ViewExpandedText\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DbId\\": 19,\\n \\"DbName\\": \\"100g_customer\\",\\n \\"CatalogName\\": \\"hive\\",\\n \\"PartitionKeys\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"ModifierId\\": 1410769,\\n \\"Location\\": \\"oss://xxx\\"\\n }\\n ],\\n \\"TotalCount\\": \\"100\\"\\n}","type":"json"}]', + 'title' => 'ListDataLakeTablebaseInfo', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeTablebaseInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"7D162AAE-6501-5691-BF14-D7018F662895\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"UserPermissions\\": {\\n \\"UserPermission\\": [\\n {\\n \\"UserId\\": \\"51****\\",\\n \\"UserNickName\\": \\"test_nick_name\\",\\n \\"InstanceId\\": \\"174****\\",\\n \\"PermDetails\\": {\\n \\"PermDetail\\": [\\n {\\n \\"OriginFrom\\": \\"XXX授权\\",\\n \\"PermType\\": \\"LOGIN\\",\\n \\"ExpireDate\\": \\"2020-12-12 00:00:00\\",\\n \\"CreateDate\\": \\"2019-12-12 00:00:00\\",\\n \\"UserAccessId\\": \\"773****\\",\\n \\"ExtraData\\": \\"XXX\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListInstanceUserPermissionsResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>7D162AAE-6501-5691-BF14-D7018F662895</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <UserPermissions>\\n <UserId>51****</UserId>\\n <UserNickName>test_nick_name</UserNickName>\\n <InstanceId>174****</InstanceId>\\n <PermDetails>\\n <OriginFrom>XXX授权</OriginFrom>\\n <PermType>LOGIN</PermType>\\n <ExpireDate>2020-12-12 00:00:00</ExpireDate>\\n <CreateDate>2019-12-12 00:00:00</CreateDate>\\n <UserAccessId>773****</UserAccessId>\\n <ExtraData>XXX</ExtraData>\\n </PermDetails>\\n </UserPermissions>\\n <Success>true</Success>\\n</ListInstanceUserPermissionsResponse>","errorExample":""}]', - 'title' => 'ListInstanceUserPermissions', ], 'ListDatabaseUserPermssions' => [ 'summary' => 'Queries the permissions of users on a database.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32470,91 +22879,48 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '-1', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '-1', 'title' => ''], ], [ 'name' => 'PermType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the permission. Valid values:'."\n" - ."\n" - .'* DATABASE: permissions on databases'."\n" - .'* TABLE: permissions on tables'."\n" - .'* COLUMN: permissions on fields'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DATABASE', - ], + 'schema' => ['description' => 'The type of the permission. Valid values:'."\n" + ."\n" + .'* DATABASE: permissions on databases'."\n" + .'* TABLE: permissions on tables'."\n" + .'* COLUMN: permissions on fields'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DATABASE', 'title' => ''], ], [ 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '123', - ], + 'schema' => ['description' => 'The ID of the database.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '123', 'title' => ''], ], [ 'name' => 'Logic', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether the database is a logical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'UserName', 'in' => 'query', - 'schema' => [ - 'description' => 'The nickname of the user.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'search_user_name', - ], + 'schema' => ['description' => 'The nickname of the user.'."\n", 'type' => 'string', 'required' => false, 'example' => 'search_user_name', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -32562,27 +22928,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '68075D06-7406-4887-83A7-F558A4D28C13', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], + 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '68075D06-7406-4887-83A7-F558A4D28C13', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], 'UserPermissions' => [ 'type' => 'object', 'itemNode' => true, @@ -32593,41 +22942,13 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'string', - 'example' => '1234', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'table_name', - ], - 'UserId' => [ - 'description' => 'The ID of the user.'."\n", - 'type' => 'string', - 'example' => '14324', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'xxx@xxxx:3306', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'UserNickName' => [ - 'description' => 'The nickname of the user.'."\n", - 'type' => 'string', - 'example' => 'user_nick_name', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => '1443', - ], + 'DbId' => ['description' => 'The ID of the database.'."\n", 'type' => 'string', 'example' => '1234', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'table_name', 'title' => ''], + 'UserId' => ['description' => 'The ID of the user.'."\n", 'type' => 'string', 'example' => '14324', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'xxx@xxxx:3306', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'UserNickName' => ['description' => 'The nickname of the user.'."\n", 'type' => 'string', 'example' => 'user_nick_name', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => '1443', 'title' => ''], 'PermDetails' => [ 'type' => 'object', 'itemNode' => true, @@ -32638,110 +22959,80 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'OriginFrom' => [ - 'description' => 'The description of the entity that authorizes the permission.'."\n", - 'type' => 'string', - 'example' => 'xxx grant', - ], - 'PermType' => [ - 'description' => 'The type of the permission. Valid values:'."\n" - ."\n" - .'* QUERY: the query permissions'."\n" - .'* EXPORT: the export permissions'."\n" - .'* CORRECT: the change permissions'."\n", - 'type' => 'string', - 'example' => 'QUERY', - ], - 'ExpireDate' => [ - 'description' => 'The time when the permissions expire.'."\n", - 'type' => 'string', - 'example' => '2020-12-12 00:00:00', - ], - 'CreateDate' => [ - 'description' => 'The time when the permission was created.'."\n", - 'type' => 'string', - 'example' => '2019-12-12 00:00:00', - ], - 'UserAccessId' => [ - 'description' => 'The ID of the authorization record.'."\n", - 'type' => 'string', - 'example' => '13434', - ], - 'ExtraData' => [ - 'description' => 'The extra information. This parameter is reserved.'."\n", - 'type' => 'string', - 'example' => 'DEFAULT', - ], + 'OriginFrom' => ['description' => 'The description of the entity that authorizes the permission.'."\n", 'type' => 'string', 'example' => 'xxx grant', 'title' => ''], + 'PermType' => ['description' => 'The type of the permission. Valid values:'."\n" + ."\n" + .'* QUERY: the query permissions'."\n" + .'* EXPORT: the export permissions'."\n" + .'* CORRECT: the change permissions'."\n", 'type' => 'string', 'example' => 'QUERY', 'title' => ''], + 'ExpireDate' => ['description' => 'The time when the permissions expire.'."\n", 'type' => 'string', 'example' => '2020-12-12 00:00:00', 'title' => ''], + 'CreateDate' => ['description' => 'The time when the permission was created.'."\n", 'type' => 'string', 'example' => '2019-12-12 00:00:00', 'title' => ''], + 'UserAccessId' => ['description' => 'The ID of the authorization record.'."\n", 'type' => 'string', 'example' => '13434', 'title' => ''], + 'ExtraData' => ['description' => 'The extra information. This parameter is reserved.'."\n", 'type' => 'string', 'example' => 'DEFAULT', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database belongs.'."\n", - 'type' => 'string', - 'example' => 'product', - ], - 'ColumnName' => [ - 'description' => 'The name of a column.'."\n", - 'type' => 'string', - 'example' => 'column_name', - ], - 'DbType' => [ - 'description' => 'The type of the database engine.'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'DsType' => [ - 'description' => 'The type of resources on which the user has permissions.'."\n", - 'type' => 'string', - 'example' => 'DATABASE', - ], - 'TableId' => [ - 'description' => 'The ID of the table.'."\n", - 'type' => 'string', - 'example' => '42345', - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'xxx', - ], - 'Alias' => [ - 'description' => 'The alias of the database instance.'."\n", - 'type' => 'string', - 'example' => 'instance_alias', - ], + 'EnvType' => ['description' => 'The type of the environment to which the database belongs.'."\n", 'type' => 'string', 'example' => 'product', 'title' => ''], + 'ColumnName' => ['description' => 'The name of a column.'."\n", 'type' => 'string', 'example' => 'column_name', 'title' => ''], + 'DbType' => ['description' => 'The type of the database engine.'."\n", 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'DsType' => ['description' => 'The type of resources on which the user has permissions.'."\n", 'type' => 'string', 'example' => 'DATABASE', 'title' => ''], + 'TableId' => ['description' => 'The ID of the table.'."\n", 'type' => 'string', 'example' => '42345', 'title' => ''], + 'SearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'example' => 'xxx', 'title' => ''], + 'Alias' => ['description' => 'The alias of the database instance.'."\n", 'type' => 'string', 'example' => 'instance_alias', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"68075D06-7406-4887-83A7-F558A4D28C13\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"UserPermissions\\": {\\n \\"UserPermission\\": [\\n {\\n \\"DbId\\": \\"1234\\",\\n \\"TableName\\": \\"table_name\\",\\n \\"UserId\\": \\"14324\\",\\n \\"SchemaName\\": \\"xxx@xxxx:3306\\",\\n \\"Logic\\": false,\\n \\"UserNickName\\": \\"user_nick_name\\",\\n \\"InstanceId\\": \\"1443\\",\\n \\"PermDetails\\": {\\n \\"PermDetail\\": [\\n {\\n \\"OriginFrom\\": \\"xxx grant\\",\\n \\"PermType\\": \\"QUERY\\",\\n \\"ExpireDate\\": \\"2020-12-12 00:00:00\\",\\n \\"CreateDate\\": \\"2019-12-12 00:00:00\\",\\n \\"UserAccessId\\": \\"13434\\",\\n \\"ExtraData\\": \\"DEFAULT\\"\\n }\\n ]\\n },\\n \\"EnvType\\": \\"product\\",\\n \\"ColumnName\\": \\"column_name\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"DsType\\": \\"DATABASE\\",\\n \\"TableId\\": \\"42345\\",\\n \\"SearchName\\": \\"xxx\\",\\n \\"Alias\\": \\"instance_alias\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UserPermissions>\\n <UserPermission>\\n <Logic>false</Logic>\\n <UserNickName>xxx</UserNickName>\\n <DsType>DATABASE</DsType>\\n <Alias>beihe_ent_prod</Alias>\\n <PermDetails>\\n <PermDetail>\\n <ExpireDate>2020-10-31 00:00:00</ExpireDate>\\n <UserAccessId>390915</UserAccessId>\\n <PermType>QUERY</PermType>\\n <OriginFrom>xxx</OriginFrom>\\n <CreateDate>2019-11-21 15:07:45</CreateDate>\\n </PermDetail>\\n <PermDetail>\\n <ExpireDate>2020-10-31 00:00:00</ExpireDate>\\n <UserAccessId>390916</UserAccessId>\\n <PermType>EXPORT</PermType>\\n <OriginFrom>xxx</OriginFrom>\\n <CreateDate>2019-11-21 15:07:45</CreateDate>\\n </PermDetail>\\n <PermDetail>\\n <ExpireDate>2020-10-31 00:00:00</ExpireDate>\\n <UserAccessId>390917</UserAccessId>\\n <PermType>CORRECT</PermType>\\n <OriginFrom>xxx</OriginFrom>\\n <CreateDate>2019-11-21 15:07:45</CreateDate>\\n </PermDetail>\\n </PermDetails>\\n <InstanceId>1434</InstanceId>\\n <SearchName>xxx@xxxx:3306</SearchName>\\n <DbId>123434</DbId>\\n <UserId>432423</UserId>\\n <DbType>drds</DbType>\\n <EnvType>product</EnvType>\\n <SchemaName>xxx</SchemaName>\\n </UserPermission>\\n</UserPermissions>\\n<TotalCount>1</TotalCount>\\n<RequestId>68075D06-7406-4887-83A7-F558A4D28C13</RequestId>\\n<Success>true</Success>","errorExample":""}]', 'title' => 'ListDatabaseUserPermssions', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListUserPermissions' => [ - 'summary' => 'Queries the permissions of a user on databases and tables.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDatabaseUserPermssions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"68075D06-7406-4887-83A7-F558A4D28C13\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"UserPermissions\\": {\\n \\"UserPermission\\": [\\n {\\n \\"DbId\\": \\"1234\\",\\n \\"TableName\\": \\"table_name\\",\\n \\"UserId\\": \\"14324\\",\\n \\"SchemaName\\": \\"xxx@xxxx:3306\\",\\n \\"Logic\\": false,\\n \\"UserNickName\\": \\"user_nick_name\\",\\n \\"InstanceId\\": \\"1443\\",\\n \\"PermDetails\\": {\\n \\"PermDetail\\": [\\n {\\n \\"OriginFrom\\": \\"xxx grant\\",\\n \\"PermType\\": \\"QUERY\\",\\n \\"ExpireDate\\": \\"2020-12-12 00:00:00\\",\\n \\"CreateDate\\": \\"2019-12-12 00:00:00\\",\\n \\"UserAccessId\\": \\"13434\\",\\n \\"ExtraData\\": \\"DEFAULT\\"\\n }\\n ]\\n },\\n \\"EnvType\\": \\"product\\",\\n \\"ColumnName\\": \\"column_name\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"DsType\\": \\"DATABASE\\",\\n \\"TableId\\": \\"42345\\",\\n \\"SearchName\\": \\"xxx\\",\\n \\"Alias\\": \\"instance_alias\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UserPermissions>\\n <UserPermission>\\n <Logic>false</Logic>\\n <UserNickName>xxx</UserNickName>\\n <DsType>DATABASE</DsType>\\n <Alias>beihe_ent_prod</Alias>\\n <PermDetails>\\n <PermDetail>\\n <ExpireDate>2020-10-31 00:00:00</ExpireDate>\\n <UserAccessId>390915</UserAccessId>\\n <PermType>QUERY</PermType>\\n <OriginFrom>xxx</OriginFrom>\\n <CreateDate>2019-11-21 15:07:45</CreateDate>\\n </PermDetail>\\n <PermDetail>\\n <ExpireDate>2020-10-31 00:00:00</ExpireDate>\\n <UserAccessId>390916</UserAccessId>\\n <PermType>EXPORT</PermType>\\n <OriginFrom>xxx</OriginFrom>\\n <CreateDate>2019-11-21 15:07:45</CreateDate>\\n </PermDetail>\\n <PermDetail>\\n <ExpireDate>2020-10-31 00:00:00</ExpireDate>\\n <UserAccessId>390917</UserAccessId>\\n <PermType>CORRECT</PermType>\\n <OriginFrom>xxx</OriginFrom>\\n <CreateDate>2019-11-21 15:07:45</CreateDate>\\n </PermDetail>\\n </PermDetails>\\n <InstanceId>1434</InstanceId>\\n <SearchName>xxx@xxxx:3306</SearchName>\\n <DbId>123434</DbId>\\n <UserId>432423</UserId>\\n <DbType>drds</DbType>\\n <EnvType>product</EnvType>\\n <SchemaName>xxx</SchemaName>\\n </UserPermission>\\n</UserPermissions>\\n<TotalCount>1</TotalCount>\\n<RequestId>68075D06-7406-4887-83A7-F558A4D28C13</RequestId>\\n<Success>true</Success>","errorExample":""}]', + ], + 'ListDatabases' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32751,134 +23042,37 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> Hover over the profile picture in the upper-right corner to view the tenant ID. For more information, see [View tenant information](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'PermType', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The permissions on a specific type of resources that you want to query. Valid values:'."\n" - ."\n" - .'* DATABASE: permissions on databases'."\n" - .'* TABLE: permissions on tables'."\n" - .'* COLUMN: permissions on fields'."\n" - .'* INSTANCE: permissions on instances'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DATABASE', - ], + 'schema' => ['description' => 'The instance ID. Obtain this from the instance ID in the instance information returned by the ListInstances API. This is not the RDS instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12***', 'title' => ''], ], [ - 'name' => 'UserId', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the user. You can call the [GetUser](~~147098~~) or [ListUsers](~~141938~~) operation to query the ID of the user.'."\n" - ."\n" - .'> The user ID is different from the ID of your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '51****', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'DatabaseName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'db_name', - ], + 'schema' => ['description' => 'The number of records per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'SearchKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword used in the query. For example, if you want to query permissions on an instance, you can specify the endpoint of the instance, such as rm-bp144d5ky4l4r****.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rm-bp144d5ky4l4r****', - ], - ], - [ - 'name' => 'Logic', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* true: The database is a logical database.'."\n" - .'* false: The database is a physical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'EnvType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the environment to which the database belongs. Valid values:'."\n" - ."\n" - .'* product: production environment'."\n" - .'* dev: development environment'."\n" - .'* pre: staging environment'."\n" - .'* test: test environment'."\n" - .'* sit: SIT environment'."\n" - .'* uat: user acceptance testing (UAT) environment'."\n" - .'* pet: stress testing environment'."\n" - .'* stag: STAG environment'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dev', - ], - ], - [ - 'name' => 'DbType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'polardb', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], ], 'responses' => [ @@ -32886,548 +23080,485 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of entries that meet the query conditions.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'UserPermissions' => [ + 'TotalCount' => ['description' => 'The number of databases under the instance.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5541CDA6-F674-435C-81BD-40C2FB926CE3', 'title' => ''], + 'DatabaseList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'UserPermission' => [ - 'description' => 'The details of the permissions that the user has.'."\n", + 'Database' => [ + 'description' => 'The list of database details.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'string', - 'example' => '1860****', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'test_table', - ], - 'UserId' => [ - 'description' => 'The ID of the user.'."\n", - 'type' => 'string', - 'example' => '51****', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'test_db', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* true: The database is a logical database.'."\n" - .'* false: The database is a physical database.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'UserNickName' => [ - 'description' => 'The nickname of the user.'."\n", - 'type' => 'string', - 'example' => 'nick_name', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => '174****', - ], - 'PermDetails' => [ + 'DatabaseId' => ['description' => 'The database ID.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Host' => ['description' => 'The endpoint of the instance to which the database belongs.', 'type' => 'string', 'example' => 'xxx.xxx.xxx.xxx', 'title' => ''], + 'CatalogName' => ['description' => 'The database catalog name.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'DbaName' => ['description' => 'The nickname of the DBA to whom the database belongs.', 'type' => 'string', 'example' => 'dba_user', 'title' => ''], + 'State' => ['description' => 'The database status. Values and descriptions are as follows:'."\n" + ."\n" + .'- NORMAL: Normal'."\n" + ."\n" + .'- DISABLE: Disabled'."\n" + ."\n" + .'- OFFLINE: Offline'."\n" + ."\n" + .'- NOT\\_EXIST: Does not exist', 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], + 'DbaId' => ['description' => 'The DBA ID.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'SchemaName' => ['description' => 'The database name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance to which the database belongs.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Port' => ['description' => 'The connection port of the instance to which the database belongs.', 'type' => 'integer', 'format' => 'int32', 'example' => '3306', 'title' => ''], + 'EnvType' => ['description' => 'The environment type to which the database belongs.', 'type' => 'string', 'example' => 'dev', 'title' => ''], + 'Sid' => ['description' => 'The SID of the instance to which the database belongs.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'OwnerIdList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'PermDetail' => [ - 'description' => 'The details of permissions.'."\n", + 'OwnerIds' => [ + 'description' => 'The list of database owner IDs.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'OriginFrom' => [ - 'description' => 'The user who grants the permissions.'."\n", - 'type' => 'string', - 'example' => 'xxx authorization', - ], - 'PermType' => [ - 'description' => 'The type of the permissions. Valid values:'."\n" - ."\n" - .'* QUERY: the query permissions'."\n" - .'* EXPORT: the export permissions'."\n" - .'* CORRECT: the change permissions'."\n", - 'type' => 'string', - 'example' => 'QUERY', - ], - 'ExpireDate' => [ - 'description' => 'The time when the permissions expire.'."\n", - 'type' => 'string', - 'example' => '2020-12-12 00:00:00', - ], - 'CreateDate' => [ - 'description' => 'The time when the permissions were granted.'."\n", - 'type' => 'string', - 'example' => '2019-12-12 00:00:00', - ], - 'UserAccessId' => [ - 'description' => 'The ID of the authorization record.'."\n", - 'type' => 'string', - 'example' => '758****', - ], - 'ExtraData' => [ - 'description' => 'This parameter is reserved.'."\n", - 'type' => 'string', - 'example' => 'xxx', - ], - ], - ], + 'items' => ['description' => 'The database owner ID.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database belongs. Valid values:'."\n" - ."\n" - .'- product: production environment'."\n" - .'- dev: development environment'."\n" - .'- pre: staging environment'."\n" - .'- test: test environment'."\n" - .'- sit: SIT environment'."\n" - .'- uat: UAT environment'."\n" - .'- pet: stress testing environment'."\n" - .'- stag: STAG environment', - 'type' => 'string', - 'example' => 'dev', - ], - 'ColumnName' => [ - 'description' => 'The name of the field.', - 'type' => 'string', - 'example' => 'column_name', - ], - 'DbType' => [ - 'description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](https://www.alibabacloud.com/help/en/data-management-service/latest/dbtype-parameter).', - 'type' => 'string', - 'example' => 'polardb', - ], - 'DsType' => [ - 'description' => 'The permissions on a specific type of objects that are granted to the user. Valid values: '."\n" - ."\n" - .'- DATABASE: permissions on physical databases'."\n" - .'- LOGIC_DATABASE: permissions on logical databases'."\n" - .'- TABLE: permissions on physical tables'."\n" - .'- LOGIC_TABLE: permissions on logical tables', - 'type' => 'string', - 'example' => 'DATABASE', - ], - 'TableId' => [ - 'description' => 'The ID of the table.', - 'type' => 'string', - 'example' => '13434', - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the database.', - 'type' => 'string', - 'example' => 'test_db@xxx:3306', - ], - 'Alias' => [ - 'description' => 'The alias of the instance.', - 'type' => 'string', - 'example' => 'instance_alias', - ], - 'Host' => [ - 'description' => 'The endpoint that is used to connect the database.', - 'type' => 'string', - 'example' => 'rm-bp144d5ky4l4r****', - ], - 'Port' => [ - 'description' => 'The port that is used to connect to the instance.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3306', + 'Encoding' => ['description' => 'The database encoding.', 'type' => 'string', 'example' => 'utf-8', 'title' => ''], + 'DbType' => ['description' => 'The database type.', 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'OwnerNameList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerNames' => [ + 'description' => 'The list of database owner nicknames.', + 'type' => 'array', + 'items' => ['description' => 'The database owner nickname.', 'type' => 'string', 'example' => 'owner_name', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'SearchName' => ['description' => 'The name used to search for the database.', 'type' => 'string', 'example' => 'test@xxx.xxx.xxx.xxx:3306', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'- true: The request is successful.'."\n" - .'- false: The request fails.', - 'type' => 'boolean', - 'example' => 'true', - ], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"UserPermissions\\": {\\n \\"UserPermission\\": [\\n {\\n \\"DbId\\": \\"1860****\\",\\n \\"TableName\\": \\"test_table\\",\\n \\"UserId\\": \\"51****\\",\\n \\"SchemaName\\": \\"test_db\\",\\n \\"Logic\\": false,\\n \\"UserNickName\\": \\"nick_name\\",\\n \\"InstanceId\\": \\"174****\\",\\n \\"PermDetails\\": {\\n \\"PermDetail\\": [\\n {\\n \\"OriginFrom\\": \\"xxx授权\\",\\n \\"PermType\\": \\"QUERY\\",\\n \\"ExpireDate\\": \\"2020-12-12 00:00:00\\",\\n \\"CreateDate\\": \\"2019-12-12 00:00:00\\",\\n \\"UserAccessId\\": \\"758****\\",\\n \\"ExtraData\\": \\"xxx\\"\\n }\\n ]\\n },\\n \\"EnvType\\": \\"dev\\",\\n \\"ColumnName\\": \\"column_name\\",\\n \\"DbType\\": \\"polardb\\",\\n \\"DsType\\": \\"DATABASE\\",\\n \\"TableId\\": \\"13434\\",\\n \\"SearchName\\": \\"test_db@xxx:3306\\",\\n \\"Alias\\": \\"instance_alias\\",\\n \\"Host\\": \\"rm-bp144d5ky4l4r****\\",\\n \\"Port\\": 3306\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListUserPermissionsResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>C51420E3-144A-4A94-B473-8662FCF4AD10</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <UserPermissions>\\n <DbId>1860****</DbId>\\n <TableName>test_table</TableName>\\n <UserId>51****</UserId>\\n <SchemaName>test_db</SchemaName>\\n <Logic>false</Logic>\\n <UserNickName>nick_name</UserNickName>\\n <InstanceId>174****</InstanceId>\\n <PermDetails>\\n <OriginFrom>xxx授权</OriginFrom>\\n <PermType>QUERY</PermType>\\n <ExpireDate>2020-12-12 00:00:00</ExpireDate>\\n <CreateDate>2019-12-12 00:00:00</CreateDate>\\n <UserAccessId>758****</UserAccessId>\\n <ExtraData>xxx</ExtraData>\\n </PermDetails>\\n <EnvType>dev</EnvType>\\n <ColumnName>column_name</ColumnName>\\n <DbType>polardb</DbType>\\n <DsType>DATABASE</DsType>\\n <TableId>13434</TableId>\\n <SearchName>test_db@xxx:3306</SearchName>\\n <Alias>instance_alias</Alias>\\n <Host>rm-bp144d5ky4l4r****</Host>\\n <Port>3306</Port>\\n </UserPermissions>\\n <Success>true</Success>\\n</ListUserPermissionsResponse>","errorExample":""}]', - 'title' => 'ListUserPermissions', + 'title' => 'ListDatabases', + 'summary' => 'Invoke ListDatabases to retrieve the list of databases for an instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GrantUserPermission' => [ - 'summary' => 'Grants permissions on an instance, a database, or a table to a user.', - 'methods' => [ - 'post', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDatabases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"5541CDA6-F674-435C-81BD-40C2FB926CE3\\",\\n \\"DatabaseList\\": {\\n \\"Database\\": [\\n {\\n \\"DatabaseId\\": \\"1\\",\\n \\"Host\\": \\"xxx.xxx.xxx.xxx\\",\\n \\"CatalogName\\": \\"1\\",\\n \\"DbaName\\": \\"dba_user\\",\\n \\"State\\": \\"NORMAL\\",\\n \\"DbaId\\": \\"1\\",\\n \\"SchemaName\\": \\"test\\",\\n \\"InstanceId\\": \\"1\\",\\n \\"Port\\": 3306,\\n \\"EnvType\\": \\"dev\\",\\n \\"Sid\\": \\"test\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"1\\"\\n ]\\n },\\n \\"Encoding\\": \\"utf-8\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"owner_name\\"\\n ]\\n },\\n \\"SearchName\\": \\"test@xxx.xxx.xxx.xxx:3306\\"\\n }\\n ]\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatabases'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + ], + 'ListDefaultSLARules' => [ + 'summary' => 'Queries the default service level agreement (SLA) timeout rules.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', + 'abilityTreeCode' => '148628', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => true, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '11****', 'title' => ''], ], [ - 'name' => 'UserId', + 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the user. You can call the [GetUser](~~147098~~) or [ListUsers](~~141938~~) operation to query the ID of the user.'."\n" - ."\n" - .'> The user ID is different from the ID of your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '51****', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '3E8AF4C3-A822-53A8-970C-059EE83BBD5A', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SLARuleList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SLARule' => [ + 'description' => 'The list of SLA rules.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the SLA rule.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'DagId' => ['description' => 'The ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the task node.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'RuleType' => ['description' => 'The type of the rule. Valid values:'."\n" + ."\n" + .'* **0**: an SLA rule for a task flow'."\n" + .'* **1**: an SLA rule for a task node'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'IntervalMinutes' => ['description' => 'The timeout period. Unit: minutes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1080', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'ListDefaultSLARules', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'DsType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The permissions on a specific type of object that you want to grant to the user. Valid values:'."\n" - ."\n" - .'* INSTANCE: permissions on instances'."\n" - .'* DATABASE: permissions on physical databases'."\n" - .'* LOGIC_DATABASE: permissions on logical databases'."\n" - .'* TABLE: permissions on physical tables'."\n" - .'* LOGIC_TABLE: permissions on logical tables'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DATABASE', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDefaultSLARules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3E8AF4C3-A822-53A8-970C-059EE83BBD5A\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"SLARuleList\\": {\\n \\"SLARule\\": [\\n {\\n \\"Id\\": 1,\\n \\"DagId\\": 0,\\n \\"NodeId\\": 0,\\n \\"RuleType\\": 0,\\n \\"IntervalMinutes\\": 1080\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListDefaultSLARulesResponse>\\n <RequestId>3E8AF4C3-A822-53A8-970C-059EE83BBD5A</RequestId>\\n <SLARuleList>\\n <SLARule>\\n <IntervalMinutes>1080</IntervalMinutes>\\n <RuleType>0</RuleType>\\n <Id>1</Id>\\n <DagId>0</DagId>\\n <NodeId>0</NodeId>\\n </SLARule>\\n </SLARuleList>\\n <Success>true</Success>\\n</ListDefaultSLARulesResponse>","errorExample":""}]', + ], + 'ListDesensitizationRule' => [ + 'summary' => 'Queries a list of masking rules.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'InstanceId', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list'], + 'parameters' => [ + [ + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You must specify this parameter if you grant permissions on an instance to the user. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the ID of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '174****', - ], + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'DbId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database. You can call the [ListDatabases](~~141873~~) operation to query the ID of a physical database and the [ListLogicDatabases](~~141874~~) operation to query the ID of a logical database.'."\n" - ."\n" - .'> The value of the DatabaseId parameter is that of the DbId parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '1***', - ], + 'schema' => ['description' => 'The number of entries to return on each page. The maximum value is 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'Logic', + 'name' => 'RuleType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database. You must specify this parameter if you grant permissions on a database to the user. Valid values:'."\n" - ."\n" - .'* true: The database is a logical database.'."\n" - .'* false: The database is a physical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The algorithm used for masking.'."\n", 'type' => 'string', 'required' => false, 'example' => 'HASH', 'title' => ''], ], [ - 'name' => 'TableId', + 'name' => 'FuncType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the table. You must specify this parameter if you grant permissions on a table to the user. You can call the [ListTables](~~141878~~) operation to query the table ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '132***', - ], + 'schema' => ['description' => 'The type of the masking algorithm.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MD5', 'title' => ''], ], [ - 'name' => 'TableName', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table. You must specify this parameter if you grant permissions on a table to the user.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'table_name', - ], + 'schema' => ['description' => 'The name of the masking rule.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Data masking rule test', 'title' => ''], ], [ - 'name' => 'PermTypes', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The permission type. Separate multiple permission types with commas (,). Valid values:'."\n" - ."\n" - .'* **QUERY**: the query permissions'."\n" - .'* **EXPORT**: the export permissions'."\n" - .'* **CORRECT**: the change permissions'."\n" - .'* **LOGIN**: the logon permissions'."\n" - .'* **PERF**: the query permissions on the performance details of the instance'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'QUERY', - ], + 'schema' => ['description' => 'The ID of the masking rule.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ExpireDate', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the permissions expire.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2021-12-12 00:00:00', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A99CD576-1E18-4E86-931E-C3CCE56DC030', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned. By default, this parameter is not returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'E76DD2E7-EBAC-5724-B163-19AAC233F8F2'], + 'ErrorCode' => ['title' => '', 'description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'UnknownError'], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DesensitizationRuleList' => [ + 'description' => 'The list of masking rules.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RuleName' => ['description' => 'The name of the masking rule.'."\n", 'type' => 'string', 'example' => 'Data masking rule test', 'title' => ''], + 'RuleType' => ['description' => 'The algorithm used for masking.'."\n", 'type' => 'string', 'example' => 'HASH', 'title' => ''], + 'RuleDesc' => ['description' => 'The description of the rule.'."\n", 'type' => 'string', 'example' => 'Hash desensitization algorithm', 'title' => ''], + 'FunctionType' => ['description' => 'The algorithm type.'."\n", 'type' => 'string', 'example' => 'MD5', 'title' => ''], + 'FuncParams' => ['description' => 'The parameter.'."\n", 'type' => 'string', 'example' => '{paramName: salt, paramValue: 1}', 'title' => ''], + 'FuncSample' => ['description' => 'The example.'."\n", 'type' => 'string', 'example' => '[{paramName: testStr, paramValue: 1}]', 'title' => ''], + 'LastModifierId' => ['description' => 'The ID of the user who last modified the masking rule.'."\n", 'type' => 'string', 'example' => '2', 'title' => ''], + 'LastModifierName' => ['description' => 'The name of the user who last modified the masking rule.'."\n", 'type' => 'string', 'example' => 'Test user', 'title' => ''], + 'ReferenceCount' => ['description' => 'The number of times that the masking was used.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RuleId' => ['description' => 'The ID of the masking rule.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '23', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', + ], + ], + [ + 'schema' => [ + 'type' => 'object', + 'properties' => [], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A99CD576-1E18-4E86-931E-C3CCE56DC030\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GrantUserPermissionResponse>\\n <RequestId>A99CD576-1E18-4E86-931E-C3CCE56DC030</RequestId>\\n <Success>true</Success>\\n</GrantUserPermissionResponse>","errorExample":""}]', - 'title' => 'GrantUserPermission', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'RevokeUserPermission' => [ - 'summary' => 'Revokes the permissions on instances, databases, and tables from a user.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"E76DD2E7-EBAC-5724-B163-19AAC233F8F2\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"DesensitizationRuleList\\": [\\n {\\n \\"RuleName\\": \\"Data masking rule test\\",\\n \\"RuleType\\": \\"HASH\\",\\n \\"RuleDesc\\": \\"Hash desensitization algorithm\\",\\n \\"FunctionType\\": \\"MD5\\",\\n \\"FuncParams\\": \\"{paramName: salt, paramValue: 1}\\",\\n \\"FuncSample\\": \\"[{paramName: testStr, paramValue: 1}]\\",\\n \\"LastModifierId\\": \\"2\\",\\n \\"LastModifierName\\": \\"Test user\\",\\n \\"ReferenceCount\\": 1,\\n \\"RuleId\\": 23\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListDesensitizationRule', + 'extraInfo' => "\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDesensitizationRule'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDesensitizationRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListEffectiveOrders' => [ + 'summary' => 'Queries valid orders.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], - [ - 'name' => 'UserId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The user ID. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to query the ID of the user.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '51****', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A8FE12AA-300D-5FDF-806F-C2CB99161F32'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'OrderSummary' => [ + 'description' => 'The information about orders.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CommodityCode' => ['title' => '', 'description' => 'The commodity code of DMS.'."\n" + ."\n" + .'* dms_pre_public_cn: DMS that uses the subscription billing method'."\n" + .'* dms_post_public_cn: DMS that uses the pay-as-you-go billing method'."\n", 'type' => 'string', 'example' => 'Subscription'], + 'CommodityType' => ['title' => '', 'description' => 'The type of the service.'."\n" + ."\n" + .'* **VersionType**: DMS that supports control modes'."\n" + .'* **SensitiveDataProtection**: DMS that supports sensitive data protection'."\n", 'type' => 'string', 'example' => 'VersionType'], + 'VersionType' => ['title' => '', 'description' => 'The control mode of DMS. Valid values:'."\n" + ."\n" + .'* **stand**: Stable Change'."\n" + .'* **safety**: Security Collaboration'."\n", 'type' => 'string', 'example' => 'safety'], + 'TotalQuota' => ['title' => '', 'description' => 'The sum of the number of instances that you can use DMS to manage in all orders.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'OrderList' => [ + 'title' => '', + 'description' => 'Details about the orders.'."\n", + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The order.'."\n", + 'type' => 'object', + 'properties' => [ + 'OrderId' => ['title' => '', 'description' => 'The ID of the order.'."\n", 'type' => 'string', 'example' => '2190037****'], + 'BuyerId' => ['title' => '', 'description' => 'The UID of the user who placed the order.'."\n", 'type' => 'string', 'example' => '2698420314****'], + 'InstanceId' => ['title' => '', 'description' => 'The ID of the instance for the purchased service.'."\n", 'type' => 'string', 'example' => 'rm-bp1xd1v866****'], + 'StartTime' => ['title' => '', 'description' => 'The time when the instance is started.'."\n", 'type' => 'string', 'example' => '2022-10-24 00:00:00'], + 'EndTime' => ['title' => '', 'description' => 'The time when the instance expires.'."\n", 'type' => 'string', 'example' => '2022-11-24 00:00:00'], + 'InsNum' => ['title' => '', 'description' => 'The maximum number of database instances that you can use DMS to manage.'."\n", 'type' => 'string', 'example' => '7'], + ], + 'example' => '', + ], + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], - [ - 'name' => 'DsType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the object on which you want to revoke permissions from a user. Valid values:'."\n" - ."\n" - .'* **INSTANCE**: instances.'."\n" - .'* **DATABASE**: physical databases.'."\n" - .'* **LOGIC_DATABASE**: logical databases.'."\n" - .'* **TABLE**: physical tables.'."\n" - .'* **LOGIC_TABLE**: logical tables.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DATABASE', - ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A8FE12AA-300D-5FDF-806F-C2CB99161F32\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"OrderSummary\\": [\\n {\\n \\"CommodityCode\\": \\"Subscription\\",\\n \\"CommodityType\\": \\"VersionType\\",\\n \\"VersionType\\": \\"safety\\",\\n \\"TotalQuota\\": 12,\\n \\"OrderList\\": [\\n {\\n \\"OrderId\\": \\"2190037****\\",\\n \\"BuyerId\\": \\"2698420314****\\",\\n \\"InstanceId\\": \\"rm-bp1xd1v866****\\",\\n \\"StartTime\\": \\"2022-10-24 00:00:00\\",\\n \\"EndTime\\": \\"2022-11-24 00:00:00\\",\\n \\"InsNum\\": \\"7\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListEffectiveOrders', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEffectiveOrders'], ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The database instance ID. You must specify this parameter if you revoke a permission from the database instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the ID of the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '174****', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListEffectiveOrders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'ListIndexes' => [ + 'summary' => 'Queries the indexes of a table.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DbId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The database ID. The database can be a physical database or a logical database.'."\n" - ."\n" - .'* To query the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" - .'* To query the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '1860****', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ [ - 'name' => 'Logic', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is a physical database.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* If the database is a logical database, set this parameter to **true**.'."\n" - ."\n" - .'* If the database is a physical database, set this parameter to **false**.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '0', 'title' => ''], ], [ 'name' => 'TableId', 'in' => 'query', - 'schema' => [ - 'description' => 'The table ID. You must specify this parameter if you revoke a permission from the table. You can call the [ListTables](~~141878~~) operation to query the table ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '13****', - ], - ], - [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table. You can call the [ListTables](~~141878~~) operation to query the table name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'table_name', - ], - ], - [ - 'name' => 'PermTypes', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the permissions. Valid values:'."\n" - ."\n" - .'* **QUERY**: query permissions.'."\n" - .'* **EXPORT**: export permissions.'."\n" - .'* **CORRECT**: change permissions.'."\n" - .'* **LOGIN**: logon permissions.'."\n" - .'* **PERF**: query permissions on the performance details of an instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'CORRECT', - ], + 'schema' => ['description' => 'The ID of the table.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'UserAccessId', + 'name' => 'Logic', 'in' => 'query', - 'schema' => [ - 'description' => 'The permission ID. You can call the [ListUserPermission](~~146957~~) operation to query the permission ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '774****', - ], + 'schema' => ['description' => 'Specifies whether the table is a logical table.'."\n", 'type' => 'boolean', 'required' => false, 'docRequired' => true, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ @@ -33435,49 +23566,76 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A99CD576-1E18-4E86-931E-C3CCE56D****', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned.'."\n", - 'type' => 'string', - 'example' => 'MissingUserId', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned.'."\n", - 'type' => 'string', - 'example' => 'UserId is mandatory for this action.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '1F4DE2F1-5B47-462A-A973-E02EB7AF386B', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'IndexList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Index' => [ + 'description' => 'The details of indexes.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'IndexName' => ['description' => 'The name of the index.'."\n", 'type' => 'string', 'example' => 'idx_test', 'title' => ''], + 'IndexType' => ['description' => 'The type of the index. Valid values:'."\n" + ."\n" + .'* Primary'."\n" + .'* Unique'."\n" + .'* Normal'."\n" + .'* FullText'."\n" + .'* Spatial'."\n", 'type' => 'string', 'example' => 'Primary', 'title' => ''], + 'TableId' => ['description' => 'The ID of the table.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'IndexId' => ['description' => 'The ID of the index.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'IndexComment' => ['description' => 'The description of the index.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A99CD576-1E18-4E86-931E-C3CCE56D****\\",\\n \\"ErrorCode\\": \\"MissingUserId\\",\\n \\"ErrorMessage\\": \\"UserId is mandatory for this action.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RevokeUserPermissionResponse>\\n <RequestId>A99CD576-1E18-4E86-931E-C3CCE56D****</RequestId>\\n <Success>true</Success>\\n</RevokeUserPermissionResponse>","errorExample":""}]', - 'title' => 'RevokeUserPermission', + 'title' => 'ListIndexes', + 'description' => '仅管控模式为安全协同的数据库实例可调用此API。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListAuthorizedInstancesForUser' => [ - 'summary' => 'Queries the instances on which the specified user has permissions.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListIndexes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1F4DE2F1-5B47-462A-A973-E02EB7AF386B\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"IndexList\\": {\\n \\"Index\\": [\\n {\\n \\"IndexName\\": \\"idx_test\\",\\n \\"IndexType\\": \\"Primary\\",\\n \\"TableId\\": \\"1\\",\\n \\"IndexId\\": \\"1\\",\\n \\"IndexComment\\": \\"test\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RequestId>1F4DE2F1-5B47-462A-A973-E02EB7AF386B</RequestId>\\n<IndexList>\\n <Index>\\n <IndexComment/>\\n <IndexType>Primary</IndexType>\\n <IndexName>PRIMARY</IndexName>\\n <IndexId>49331416</IndexId>\\n <TableId>18396274</TableId>\\n </Index>\\n</IndexList>\\n<Success>true</Success>","errorExample":""}]', + ], + 'ListInstanceLoginAuditLog' => [ + 'summary' => 'Queries the logon records of an instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -33485,224 +23643,121 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '250181', - 'abilityTreeNodes' => [ - 'FEATUREdmsY7L2P4', - ], - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'UserId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the user. You can call the [GetUser](~~465816~~) operation to query the user ID.'."\n" - ."\n" - .'> If IdentityType is set to USER, this parameter is required.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '51****', - ], + 'schema' => ['description' => 'The beginning of the time range to query.'."\n" + ."\n" + .'> The start time supports fuzzy match. Specify the time in the YYYY-MM-DD hh:mm:ss format.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-11-18 11:00:00', 'title' => ''], ], [ - 'name' => 'EnvType', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" - ."\n" - .'* **product**: production environment.'."\n" - .'* **dev**: development environment.'."\n" - .'* **pre**: pre-release environment.'."\n" - .'* **test**: test environment.'."\n" - .'* **sit**: system integration testing (SIT) environment.'."\n" - .'* **uat**: user acceptance testing (UAT) environment.'."\n" - .'* **pet**: stress testing environment.'."\n" - .'* **stag**: staging environment.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'product', - ], + 'schema' => ['description' => 'The end of the time range to query.'."\n" + ."\n" + .'> The end time supports fuzzy match. Specify the time in the YYYY-MM-DD hh:mm:ss format. We recommend that you use the StartTime and EndTime parameters to specify a time range that does not exceed one day. This way, the returned entries can be displayed by page to increase query efficiency.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-11-18 18:00:00', 'title' => ''], ], [ - 'name' => 'DbType', + 'name' => 'SearchName', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of databases. Valid values:'."\n" - ."\n" - .'* **MySQL**'."\n" - .'* **SQLServer**'."\n" - .'* **PostgreSQL**'."\n" - .'* **Oracle**'."\n" - .'* **DRDS**'."\n" - .'* **OceanBase**'."\n" - .'* **Mongo**'."\n" - .'* **Redis**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL', - ], + 'schema' => ['description' => 'The name of the database or instance whose logon records you want to query.'."\n" + ."\n" + .'> If SQL statements are executed at the instance level, you can set this parameter to an instance name. If SQL statements are executed at the database level, you can set this parameter to a database name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_SearchName', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'OpUserName', 'in' => 'query', - 'schema' => [ - 'description' => 'The search keyword.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'policy_test'."\n", - ], + 'schema' => ['description' => 'The alias of the user.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_OpUserName', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'exclusiveMaximum' => false, 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'B7DB89CC-017D-5503-8953-38FFE241A618', - ], - 'Instances' => [ - 'description' => 'The list of instances on which the user has permissions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The instances on which the user has permissions.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => '21****', - ], - 'Host' => [ - 'description' => 'The endpoint that is used to connect to the instance.'."\n", - 'type' => 'string', - 'example' => 'rm-2zex9lrc0gz0****.mysql.rds.aliyuncs.com', - ], - 'Port' => [ - 'description' => 'The port number that is used to connect to the instance.'."\n", - 'type' => 'string', - 'example' => '3306', - ], - 'DbType' => [ - 'description' => 'The database engine that the instance runs.'."\n", - 'type' => 'string', - 'example' => 'MySQL', - ], - 'UserId' => [ - 'description' => 'The user IDs.'."\n", - 'type' => 'string', - 'example' => '51****', - ], - 'UserName' => [ - 'description' => 'The user name.'."\n", - 'type' => 'string', - 'example' => 'user_test', - ], - 'InstanceAlias' => [ - 'description' => 'The alias of the instance.'."\n", - 'type' => 'string', - 'example' => 'DMS_TEST', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database instance belongs.'."\n", - 'type' => 'string', - 'example' => 'product', - ], - 'PermissionDetail' => [ - 'description' => 'The details of permissions. The format of the permission details varies with the permission source. For example, if the permission source is a normal permission, the following parameters are returned.'."\n", + 'TotalCount' => ['description' => 'The number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '074CE7C9-4F9C-5B62-89BC-7B4914A3****', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'InvalidPageSize', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'Specified parameter PageSize is not valid.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'InstanceLoginAuditLogList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'InstanceLoginAuditLog' => [ + 'description' => 'The logon records of the instance.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'DsType' => [ - 'description' => 'The type of object on which the operation is performed.'."\n", - 'type' => 'string', - 'example' => 'DATABASE', - ], - 'PermType' => [ - 'description' => 'The type of the permission. Valid values:'."\n" - ."\n" - .'* **QUERY**: the query permission'."\n" - .'* **EXPORT**: the data export permission'."\n" - .'* **CORRECT**: the data change permission'."\n", - 'type' => 'string', - 'example' => 'CORRECT', - ], - 'ExpireDate' => [ - 'description' => 'The time when the permission expires.'."\n", - 'type' => 'string', - 'example' => '2024-12-06 10:00:00'."\n", - ], - 'Message' => [ - 'description' => 'If the permission source is a permission policy, the value of this parameter includes the policy name and the operations that are allowed for the user.'."\n", - 'type' => 'string', - 'example' => '', - ], + 'OpTime' => ['description' => 'The time when the user performed an operation on the instance.'."\n", 'type' => 'string', 'example' => '2021-11-18 11:13:26', 'title' => ''], + 'UserName' => ['description' => 'The alias of the user.'."\n", 'type' => 'string', 'example' => 'test_UserName', 'title' => ''], + 'UserId' => ['description' => 'The ID of the user.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the instance.'."\n", 'type' => 'string', 'example' => 'rm-bp144d5ky4l4rli0417****.mysql.rds.aliyuncs.com:3306【rm-bp144d5ky4l4r****】', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '177****', 'title' => ''], + 'DbUser' => ['description' => 'The database account that is used to log on to the instance.'."\n", 'type' => 'string', 'example' => 'test_User', 'title' => ''], + 'RequestIp' => ['description' => 'The source IP address of the request.'."\n", 'type' => 'string', 'example' => '117.36.XX.XX,100.104.XX.XX', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'ListInstanceLoginAuditLog', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListInstanceLoginAuditLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B7DB89CC-017D-5503-8953-38FFE241A618\\",\\n \\"Instances\\": [\\n {\\n \\"InstanceId\\": \\"21****\\",\\n \\"Host\\": \\"rm-2zex9lrc0gz0****.mysql.rds.aliyuncs.com\\",\\n \\"Port\\": \\"3306\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"UserId\\": \\"51****\\",\\n \\"UserName\\": \\"user_test\\",\\n \\"InstanceAlias\\": \\"DMS_TEST\\",\\n \\"EnvType\\": \\"product\\",\\n \\"PermissionDetail\\": {\\n \\"DsType\\": \\"DATABASE\\",\\n \\"PermType\\": \\"CORRECT\\",\\n \\"ExpireDate\\": \\"2024-12-06 10:00:00\\\\n\\",\\n \\"Message\\": \\"权限策略通过,策略名:INSTANCE_OWNER,被允许的操作:instance:InstanceQuery\\"\\n }\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListAuthorizedInstancesForUser', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"074CE7C9-4F9C-5B62-89BC-7B4914A3****\\",\\n \\"ErrorCode\\": \\"InvalidPageSize\\",\\n \\"ErrorMessage\\": \\"Specified parameter PageSize is not valid.\\",\\n \\"Success\\": true,\\n \\"InstanceLoginAuditLogList\\": {\\n \\"InstanceLoginAuditLog\\": [\\n {\\n \\"OpTime\\": \\"2021-11-18 11:13:26\\",\\n \\"UserName\\": \\"test_UserName\\",\\n \\"UserId\\": 0,\\n \\"InstanceName\\": \\"rm-bp144d5ky4l4rli0417****.mysql.rds.aliyuncs.com:3306【rm-bp144d5ky4l4r****】\\",\\n \\"InstanceId\\": 0,\\n \\"DbUser\\": \\"test_User\\",\\n \\"RequestIp\\": \\"117.36.XX.XX,100.104.XX.XX\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListInstanceLoginAuditLogResponse>\\n <InstanceLoginAuditLogList>\\n <InstanceLoginAuditLog>\\n <InstanceName>rm-bp144d5ky4l4rli0417****.mysql.rds.aliyuncs.com:3306【rm-bp144d5ky4l4r****】</InstanceName>\\n <UserName>test_UserName</UserName>\\n <InstanceId>177****</InstanceId>\\n <UserId>12****</UserId>\\n <RequestIp>117.36.XX.XX, 100.104.XX.XX</RequestIp>\\n <OpTime>2021-11-18 11:13:26</OpTime>\\n <DbUser>test_User</DbUser>\\n </InstanceLoginAuditLog>\\n </InstanceLoginAuditLogList>\\n <TotalCount>1</TotalCount>\\n <RequestId>074CE7C9-4F9C-5B62-89BC-7B4914A3****</RequestId>\\n <Success>true</Success>\\n</ListInstanceLoginAuditLogResponse>","errorExample":""}]', ], - 'ListAuthorizedUsersForInstance' => [ - 'summary' => 'Queries a list of users that have permissions on the specified instance.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListInstanceUserPermissions' => [ + 'summary' => 'Queries the permissions of a user on an instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -33710,134 +23765,143 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '250296', - 'abilityTreeNodes' => [ - 'FEATUREdmsY7L2P4', - ], - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '174****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword that is used for the search.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'poc_test', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '174****', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'UserName', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The nickname of the user. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to query the nickname of the user.'."\n" + ."\n" + .'> The value of the NickName parameter is that of the UserName parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_nick_name', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3****', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Users' => [ - 'description' => 'The list of users that have permissions on the specified instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The list of users.'."\n", - 'type' => 'object', - 'properties' => [ - 'UserId' => [ - 'description' => 'The ID of the user.'."\n", - 'type' => 'string', - 'example' => '51***', - ], - 'Uid' => [ - 'description' => 'The UID of the user\'s Alibaba Cloud account.'."\n", - 'type' => 'string', - 'example' => '164882191****'."\n", - ], - 'UserNickName' => [ - 'description' => 'The nickname of the user.'."\n", - 'type' => 'string', - 'example' => 'user_test', - ], - 'UserRealName' => [ - 'description' => 'The real name of the user.'."\n", - 'type' => 'string', - 'example' => 'user01', + 'TotalCount' => ['description' => 'The total number of returned entries.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '7D162AAE-6501-5691-BF14-D7018F662895', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'UserPermissions' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UserPermission' => [ + 'description' => 'The permissions of the user on the instance.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserId' => ['description' => 'The ID of the user.'."\n", 'type' => 'string', 'example' => '51****', 'title' => ''], + 'UserNickName' => ['description' => 'The nickname of the user.'."\n", 'type' => 'string', 'example' => 'test_nick_name', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => '174****', 'title' => ''], + 'PermDetails' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'PermDetail' => [ + 'description' => 'The details of permissions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OriginFrom' => ['description' => 'The user who grants the permissions.'."\n", 'type' => 'string', 'example' => 'XXX authorization', 'title' => ''], + 'PermType' => ['description' => 'The type of the permissions. Valid values:'."\n" + ."\n" + .'* LOGIN: the logon permissions'."\n" + .'* PERF: the query permissions on the instance'."\n", 'type' => 'string', 'example' => 'LOGIN', 'title' => ''], + 'ExpireDate' => ['description' => 'The time when the permissions expire.'."\n", 'type' => 'string', 'example' => '2020-12-12 00:00:00', 'title' => ''], + 'CreateDate' => ['description' => 'The time when the permissions were granted.'."\n", 'type' => 'string', 'example' => '2019-12-12 00:00:00', 'title' => ''], + 'UserAccessId' => ['description' => 'The ID of the authorization record.'."\n", 'type' => 'string', 'example' => '773****', 'title' => ''], + 'ExtraData' => ['description' => 'This parameter is reserved.'."\n", 'type' => 'string', 'example' => 'XXX', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + .'- false: The request fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Users\\": [\\n {\\n \\"UserId\\": \\"51***\\",\\n \\"Uid\\": \\"164882191****\\\\n\\",\\n \\"UserNickName\\": \\"user_test\\",\\n \\"UserRealName\\": \\"user01\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListAuthorizedUsersForInstance', - ], - 'ListAuthorizedDatabasesForUser' => [ - 'summary' => 'Queries the databases on which the specified user has permissions.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"7D162AAE-6501-5691-BF14-D7018F662895\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"UserPermissions\\": {\\n \\"UserPermission\\": [\\n {\\n \\"UserId\\": \\"51****\\",\\n \\"UserNickName\\": \\"test_nick_name\\",\\n \\"InstanceId\\": \\"174****\\",\\n \\"PermDetails\\": {\\n \\"PermDetail\\": [\\n {\\n \\"OriginFrom\\": \\"XXX authorization\\",\\n \\"PermType\\": \\"LOGIN\\",\\n \\"ExpireDate\\": \\"2020-12-12 00:00:00\\",\\n \\"CreateDate\\": \\"2019-12-12 00:00:00\\",\\n \\"UserAccessId\\": \\"773****\\",\\n \\"ExtraData\\": \\"XXX\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListInstanceUserPermissions', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstanceUserPermissions'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListInstanceUserPermissions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListInstances' => [ + 'summary' => 'Retrieves a list of instances by calling the ListInstances operation.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -33846,235 +23910,236 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '250204', - 'abilityTreeNodes' => [ - 'FEATUREdmsY7L2P4', - ], + 'abilityTreeNodes' => ['FEATUREdmsVESC4E'], ], 'parameters' => [ [ - 'name' => 'UserId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the user. You can call the [GetUser](~~465816~~) operation to query the user ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '51****', - ], + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'EnvType', + 'name' => 'SearchKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" - ."\n" - .'* **product**: production environment.'."\n" - .'* **dev**: development environment.'."\n" - .'* **pre**: pre-release environment.'."\n" - .'* **test**: test environment.'."\n" - .'* **sit**: system integration testing (SIT) environment.'."\n" - .'* **uat**: user acceptance testing (UAT) environment.'."\n" - .'* **pet**: stress testing environment.'."\n" - .'* **stag**: staging environment.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'product', - ], + 'schema' => ['description' => 'The search keyword.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'DbType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of databases. Valid values:'."\n" - ."\n" - .'* **MySQL**'."\n" - .'* **SQLServer**'."\n" - .'* **PostgreSQL**'."\n" - .'* **Oracle**'."\n" - .'* **DRDS**'."\n" - .'* **OceanBase**'."\n" - .'* **Mongo**'."\n" - .'* **Redis**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL', - ], + 'schema' => ['description' => 'The database type. For more information about valid values, see [DbType parameter description](~~198106~~).', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'MySQL', 'title' => ''], ], [ - 'name' => 'Logic', + 'name' => 'EnvType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true.**: The database is a logical database'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The environment type. Valid values:'."\n" + .'- **product**: production environment'."\n" + .'- **dev**: development environment'."\n" + .'- **pre**: pre-release environment'."\n" + .'- **test**: test environment'."\n" + .'- **sit**: SIT environment'."\n" + .'- **uat**: UAT environment'."\n" + .'- **pet**: stress testing environment'."\n" + .'- **stag**: STAG environment.', 'type' => 'string', 'required' => false, 'example' => 'product', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'InstanceSource', 'in' => 'query', - 'schema' => [ - 'description' => 'The search keyword.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'policy_test', - ], + 'schema' => ['description' => 'The instance source. Valid values:'."\n" + ."\n" + .'- **PUBLIC_OWN**: self-managed instance connected over the Internet'."\n" + .'- **RDS**: ApsaraDB RDS instance'."\n" + .'- **ECS_OWN**: self-managed instance on an ECS instance'."\n" + .'- **VPC_IDC**: self-managed instance in a VPC-connected IDC.', 'type' => 'string', 'required' => false, 'example' => 'RDS', 'title' => ''], + ], + [ + 'name' => 'NetType', + 'in' => 'query', + 'schema' => ['description' => 'The network type of the instance. Valid values:'."\n" + .'- **CLASSIC**: classic network'."\n" + .'- **VPC**: VPC network.', 'type' => 'string', 'required' => false, 'example' => 'VPC', 'title' => ''], + ], + [ + 'name' => 'InstanceState', + 'in' => 'query', + 'schema' => ['description' => 'The instance status. Valid values:'."\n" + .'- **NORMAL**: Normal.'."\n" + .'- **DISABLE**: Disabled.', 'type' => 'string', 'required' => false, 'example' => 'NORMAL', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The number of entries per page. The value cannot exceed 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'RealLoginUserUid', + 'in' => 'query', + 'schema' => ['description' => 'The Alibaba Cloud account UID of the user who actually calls the API operation.', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'The description.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '012AE0B5-4B52-532F-BD7C-1EE9F182089B', - ], - 'Databases' => [ - 'description' => 'The names of the databases on which the user has permissions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The database information.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbId' => [ - 'description' => 'The database ID.'."\n", - 'type' => 'string', - 'example' => '254****', - ], - 'SchemaName' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'example' => 'poc_testdb', - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'poc', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => '235****', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true.**: The database is a logical database'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'DbType' => [ - 'description' => 'The engine of the database.'."\n", - 'type' => 'string', - 'example' => 'MYSQL', - ], - 'UserId' => [ - 'description' => 'The user IDs.'."\n", - 'type' => 'string', - 'example' => '51****', - ], - 'EnvType' => [ - 'description' => 'The type of the environment in which the database instance is deployed.'."\n", - 'type' => 'string', - 'example' => 'product', - ], - 'PermissionDetail' => [ - 'description' => 'The details of permissions. The format of the permission details varies with the permission source. For example, if the permission source is a normal permission, the following parameters are returned.'."\n", + 'TotalCount' => ['description' => 'The total number of instances that meet the conditions.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B4B07137-F6AE-4756-8474-7F92BB6C4E04', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'InstanceList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Instance' => [ + 'description' => 'The instance list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The instance information.', 'type' => 'object', 'properties' => [ - 'DsType' => [ - 'description' => 'The type of object on which the operation is performed.'."\n", - 'type' => 'string', - 'example' => 'DATABASE', - ], - 'PermType' => [ - 'description' => 'The type of the permission. Valid values:'."\n" - ."\n" - .'* **QUERY**: the query permission'."\n" - .'* **EXPORT**: the data export permission'."\n" - .'* **CORRECT**: the data change permission'."\n", - 'type' => 'string', - 'example' => 'CORRECT', + 'VpcId' => ['description' => 'The ID of the VPC to which the instance belongs.', 'type' => 'string', 'example' => 'vpc-o6wrloqsdqc9io3mg****', 'title' => ''], + 'DatabaseUser' => ['description' => 'The database username.', 'type' => 'string', 'example' => 'dbUser', 'title' => ''], + 'DbaId' => ['description' => 'The DBA ID of the instance.', 'type' => 'string', 'example' => '31****', 'title' => ''], + 'UseDsql' => ['description' => 'Indicates whether cross-database query is enabled for the instance. Valid values:'."\n" + ."\n" + .'- **0**: Disabled.'."\n" + .'- **1**: Enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Port' => ['description' => 'The connection port of the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '3306', 'title' => ''], + 'EcsInstanceId' => ['description' => 'The ECS instance ID.', 'type' => 'string', 'example' => '150****', 'title' => ''], + 'EnvType' => ['description' => 'The environment type of the instance. Valid values:'."\n" + .'- **product**: production environment'."\n" + .'- **dev**: development environment'."\n" + .'- **pre**: pre-release environment'."\n" + .'- **test**: test environment'."\n" + .'- **sit**: SIT environment'."\n" + .'- **uat**: UAT environment'."\n" + .'- **pet**: stress testing environment'."\n" + .'- **stag**: STAG environment.', 'type' => 'string', 'example' => 'product', 'title' => ''], + 'Sid' => ['description' => 'The SID of the instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'OwnerIdList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerIds' => [ + 'description' => 'The list of owner user IDs of the instance.', + 'type' => 'array', + 'items' => ['description' => 'The owner user ID of the instance.', 'type' => 'string', 'example' => '12****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'ExpireDate' => [ - 'description' => 'The time when the permissions expire.'."\n", - 'type' => 'string', - 'example' => '2024-12-06 10:00:00', + 'SafeRuleId' => ['description' => 'The security rule ID of the instance.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'OwnerNameList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerNames' => [ + 'description' => 'The list of owner nicknames of the instance.', + 'type' => 'array', + 'items' => ['description' => 'The owner nickname of the instance.', 'type' => 'string', 'example' => 'yuyang_test', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'Message' => [ - 'description' => 'If the permission source is a permission policy, the value of this parameter includes the policy name and the operations that are allowed for the user.'."\n", - 'type' => 'string', + 'DbaNickName' => ['description' => 'The DBA nickname of the instance.', 'type' => 'string', 'example' => 'dbaName', 'title' => ''], + 'QueryTimeout' => ['description' => 'The query timeout period of the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''], + 'InstanceSource' => ['description' => 'The instance source.', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'Host' => ['description' => 'The endpoint of the instance.', 'type' => 'string', 'example' => '****.mysql.rds.aliyuncs.com', 'title' => ''], + 'State' => ['description' => 'The instance status.', 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], + 'DataLinkName' => ['description' => 'The DataLink name.', 'type' => 'string', 'example' => 'dblink_test', 'title' => ''], + 'ExportTimeout' => ['description' => 'The export timeout period.', 'type' => 'integer', 'format' => 'int32', 'example' => '86400', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => '150***', 'title' => ''], + 'InstanceType' => ['description' => 'The database type of the instance.', 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'DatabasePassword' => ['description' => 'The database user password.', 'type' => 'string', 'example' => '******', 'title' => ''], + 'InstanceAlias' => ['description' => 'The instance alias.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'DdlOnline' => ['description' => 'The DdlOnline configuration of the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'EcsRegion' => ['description' => 'The region to which the instance belongs.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'StandardGroup' => [ + 'description' => 'The control mode information of the instance.', + 'type' => 'object', + 'properties' => [ + 'GroupName' => ['description' => 'The name of the security rule that corresponds to the control mode.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'GroupMode' => ['description' => 'The control mode type. Valid values:'."\n" + .'- **COMMON**: security collaboration mode'."\n" + .'- **NONE_CONTROL**: free operation mode'."\n" + .'- **STABLE**: stable change mode.', 'type' => 'string', 'example' => 'COMMON', 'title' => ''], + ], + 'title' => '', 'example' => '', ], + 'SellSitd' => ['title' => '', 'description' => 'Indicates whether sensitive data protection is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true'], + 'SellTrust' => ['description' => 'Indicates whether security hosting is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'string', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- **true**: The request is successful.'."\n" + .'- **false**: The request fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"B4B07137-F6AE-4756-8474-7F92BB6C4E04\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"InstanceList\\": {\\n \\"Instance\\": [\\n {\\n \\"VpcId\\": \\"vpc-o6wrloqsdqc9io3mg****\\",\\n \\"DatabaseUser\\": \\"dbUser\\",\\n \\"DbaId\\": \\"31****\\",\\n \\"UseDsql\\": 1,\\n \\"Port\\": 3306,\\n \\"EcsInstanceId\\": \\"150****\\",\\n \\"EnvType\\": \\"product\\",\\n \\"Sid\\": \\"test\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"12****\\"\\n ]\\n },\\n \\"SafeRuleId\\": \\"1\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"yuyang_test\\"\\n ]\\n },\\n \\"DbaNickName\\": \\"dbaName\\",\\n \\"QueryTimeout\\": 60,\\n \\"InstanceSource\\": \\"RDS\\",\\n \\"Host\\": \\"****.mysql.rds.aliyuncs.com\\",\\n \\"State\\": \\"NORMAL\\",\\n \\"DataLinkName\\": \\"dblink_test\\",\\n \\"ExportTimeout\\": 86400,\\n \\"InstanceId\\": \\"150***\\",\\n \\"InstanceType\\": \\"mysql\\",\\n \\"DatabasePassword\\": \\"******\\",\\n \\"InstanceAlias\\": \\"test\\",\\n \\"DdlOnline\\": 1,\\n \\"EcsRegion\\": \\"cn-hangzhou\\",\\n \\"StandardGroup\\": {\\n \\"GroupName\\": \\"test\\",\\n \\"GroupMode\\": \\"COMMON\\"\\n },\\n \\"SellSitd\\": true,\\n \\"SellTrust\\": \\"true\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'List instances', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstances'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"012AE0B5-4B52-532F-BD7C-1EE9F182089B\\",\\n \\"Databases\\": [\\n {\\n \\"DbId\\": \\"254****\\",\\n \\"SchemaName\\": \\"poc_testdb\\",\\n \\"SearchName\\": \\"poc\\",\\n \\"InstanceId\\": \\"235****\\",\\n \\"Logic\\": false,\\n \\"DbType\\": \\"MYSQL\\",\\n \\"UserId\\": \\"51****\\",\\n \\"EnvType\\": \\"product\\",\\n \\"PermissionDetail\\": {\\n \\"DsType\\": \\"DATABASE\\",\\n \\"PermType\\": \\"CORRECT\\",\\n \\"ExpireDate\\": \\"2024-12-06 10:00:00\\",\\n \\"Message\\": \\"权限策略通过,策略名:INSTANCE_OWNER,被允许的操作:instance:InstanceQuery\\"\\n }\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListAuthorizedDatabasesForUser', + 'ramActions' => [], ], - 'ListAuthorizedUsersForDatabase' => [ - 'summary' => 'Queries a list of users that have permissions on the specified database.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListInventoryJobs' => [ + 'summary' => 'Retrieves a paginated list of asset inventory jobs.', + 'description' => 'This operation maps to the `/knowledge/job/inventory/list` page in the console. It retrieves a paginated list of asset inventory jobs for the current tenant. You can filter the jobs by task ID, creator name keywords, or task status.', + 'path' => '/', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -34086,288 +24151,306 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '250285', - 'abilityTreeNodes' => [ - 'FEATUREdmsY7L2P4', - ], + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'DbId', + 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => 'The database ID. The database can be a physical database or a logical database.'."\n" - ."\n" - .'* To query the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" - .'* To query the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '135***', - ], + 'schema' => ['description' => 'A search keyword for fuzzy matching on the task ID or creator\'s name. A task ID can be a number or a string prefixed with `task_`.', 'type' => 'string', 'required' => false, 'example' => 'task_1001', 'title' => ''], ], [ - 'name' => 'Logic', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true.**: The database is a logical database'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The task status to filter by.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'Size', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword that is used for the search.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'poc_test', - ], + 'schema' => ['description' => 'The number of entries to return per page. Default: 20. Maximum: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'Offset', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The pagination offset. Default: 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The sort field.', 'type' => 'string', 'required' => false, 'example' => 'confidence', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'SortOrder', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The sort order. Valid values: `asc` (ascending) and `desc` (descending). Default: `desc`.', 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'description' => '成功返回', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04', - ], - 'Users' => [ - 'description' => 'The list of users that have permissions on the specified instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the user.'."\n", - 'type' => 'object', - 'properties' => [ - 'UserId' => [ - 'description' => 'The user IDs.'."\n", - 'type' => 'string', - 'example' => '51****', - ], - 'UserNickName' => [ - 'description' => 'The nickname of the user.'."\n", - 'type' => 'string', - 'example' => 'user_test', - ], - 'Uid' => [ - 'description' => 'The UID of the user\'s Alibaba Cloud account.'."\n", - 'type' => 'string', - 'example' => '164882191****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- `true`: The request was successful.'."\n" + ."\n" + .'- `false`: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => 'The total count.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Items' => [ + 'type' => 'array', + 'items' => ['description' => 'An asset inventory job.'."\n" + ."\n" + .'>', '$ref' => '#/components/schemas/KnowledgeJobInfoVO', 'example' => '[]', 'title' => ''], + 'title' => '', + 'description' => 'The list of asset inventory jobs.', + 'example' => '', ], ], + 'title' => '', + 'description' => 'The paginated list of asset inventory jobs.', + 'example' => '', ], ], + 'title' => '', + 'description' => 'The response body.', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListInventoryJobs', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"Users\\": [\\n {\\n \\"UserId\\": \\"51****\\",\\n \\"UserNickName\\": \\"user_test\\",\\n \\"Uid\\": \\"164882191****\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListAuthorizedUsersForDatabase', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TotalCount\\": 10,\\n \\"Items\\": [\\n {\\n \\"JobId\\": 0,\\n \\"ShowJobId\\": \\"\\",\\n \\"Status\\": \\"\\",\\n \\"Progress\\": 0,\\n \\"TableCnt\\": 0,\\n \\"KnowledgeCnt\\": 0,\\n \\"Creator\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"Supplement\\": \\"\\",\\n \\"CreateTime\\": \\"\\",\\n \\"EndTime\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], - 'CreateStandardGroup' => [ - 'summary' => 'Creates a security rule set.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListLhTaskFlowAndScenario' => [ + 'summary' => 'Queries the information about task flows in the business scenarios of a workspace in Data Management (DMS).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', + 'abilityTreeCode' => '130971', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'GroupName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The name of the security rule set.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_group', - ], - ], - [ - 'name' => 'Description', + 'name' => 'SpaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the security rule set.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_rule', - ], + 'schema' => ['description' => 'The ID of the workspace. You can call the [GetLhSpaceByName](~~424379~~) operation to obtain the workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '24', 'title' => ''], ], [ - 'name' => 'DbType', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the database engine. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'mysql', - ], + 'schema' => ['description' => 'The ID of the user. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to obtain the user ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3000', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'xxx', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'StandardGroup' => [ - 'description' => 'The information about the created security rule set.'."\n", + 'RawDAGList' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'GroupName' => [ + 'Dag' => [ + 'description' => 'The task flows in the default business scenario.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '134137****', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who creates the task flow.'."\n", 'type' => 'string', 'example' => '51****', 'title' => ''], + 'IsDeleted' => ['description' => 'Indicates whether the task flow is deleted. Valid values:'."\n" + ."\n" + .'* **true**: deleted'."\n" + .'* **false**: not deleted'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'DemoId' => ['description' => 'The extended field. No meaning is specified for this field.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], + 'DeployId' => ['description' => 'The ID of the latest deployment record.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12**', 'title' => ''], + 'DataFlowId' => ['description' => 'The extended field. No meaning is specified for this field.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '-', 'title' => ''], + 'ScenarioId' => ['description' => 'The ID of the business scenario.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2**', 'title' => ''], + 'SpaceId' => ['description' => 'The ID of the workspace.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'CreatorNickName' => ['description' => 'The name of the user who creates the workspace.'."\n", 'type' => 'string', 'example' => 'Creator_Name', 'title' => ''], + 'DagOwnerNickName' => ['description' => 'The name of the task flow owner.'."\n", 'type' => 'string', 'example' => 'Owner_Name', 'title' => ''], + 'CanEdit' => ['description' => 'Indicates whether the task flow can be modified. Valid values:'."\n" + ."\n" + .'* **true**: The task flow can be modified.'."\n" + .'* **false**: The task flow cannot be modified.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Status' => ['description' => 'The status of the task flow. Valid values:'."\n" + ."\n" + .'* **0**: invalid'."\n" + .'* **1**: scheduling disabled'."\n" + .'* **2**: waiting to be scheduled'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'LatestInstanceStatus' => ['description' => 'The status of the latest execution. Valid values:'."\n" + ."\n" + .'* **0**: invalid'."\n" + .'* **1**: scheduling disabled'."\n" + .'* **2**: waiting to be scheduled'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'LatestInstanceTime' => ['description' => 'The time when the latest execution record was generated.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2022-04-14', 'title' => ''], + 'DagName' => ['description' => 'The name of the task flow.'."\n", 'type' => 'string', 'example' => 'Dag_Name', 'title' => ''], + 'DagOwnerId' => ['description' => 'The user ID of the task flow owner.'."\n", 'type' => 'string', 'example' => '51****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], 'title' => '', - 'description' => 'The name of the security rule set.'."\n", - 'type' => 'string', - 'example' => 'test_group', - ], - 'Description' => [ - 'description' => 'The description of the security rule set.'."\n", - 'type' => 'string', - 'example' => 'test_rule', - ], - 'DbType' => [ - 'description' => 'The type of the database engine. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'LastMenderId' => [ - 'description' => 'The ID of the user who creates the security rule set.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51****', - ], - 'GroupMode' => [ - 'description' => 'The control mode. Valid values:'."\n" - ."\n" - .'* **NONE_CONTROL**: Flexible Management'."\n" - .'* **STABLE**: Stable Change'."\n" - .'* **COMMON**: Security Collaboration'."\n", - 'type' => 'string', - 'example' => 'COMMON', + 'example' => '', ], - 'GroupId' => [ - 'description' => 'The security rule set ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '41****'."\n", + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ScenarioDAGList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ScenarioDAG' => [ + 'description' => 'The task flows in other business scenarios.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Scenario' => [ + 'description' => 'The information about the business scenario.', + 'type' => 'object', + 'properties' => [ + 'ScenarioName' => ['description' => 'The name of the business scenario.', 'type' => 'string', 'example' => 'Scenario_2', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who creates the business scenario.', 'type' => 'string', 'example' => '51****', 'title' => ''], + 'Description' => ['description' => 'The description of the business scenario.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DagList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Dag' => [ + 'title' => '', + 'description' => 'The list of task flows.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the task flow.', 'type' => 'integer', 'format' => 'int64', 'example' => '9***', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who creates the task flow.', 'type' => 'string', 'example' => '51****', 'title' => ''], + 'IsDeleted' => ['description' => 'Indicates whether the task flow is deleted. Valid values:'."\n" + ."\n" + .'- **true**: deleted'."\n" + .'- **false**: not deleted', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'DemoId' => ['description' => 'The extended field. No meaning is specified for this field.', 'type' => 'string', 'example' => '-', 'title' => ''], + 'DeployId' => ['description' => 'The ID of the latest deployment record.', 'type' => 'integer', 'format' => 'int64', 'example' => '12**', 'title' => ''], + 'DataFlowId' => ['description' => 'The extended field. No meaning is specified for this field.', 'type' => 'integer', 'format' => 'int64', 'example' => '-', 'title' => ''], + 'ScenarioId' => ['description' => 'The ID of the business scenario.', 'type' => 'integer', 'format' => 'int64', 'example' => '2**', 'title' => ''], + 'SpaceId' => ['description' => 'The ID of the workspace.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'CreatorNickName' => ['description' => 'The name of the user who creates the workspace.', 'type' => 'string', 'example' => 'Creator_Name', 'title' => ''], + 'DagOwnerNickName' => ['description' => 'The name of the task flow owner.', 'type' => 'string', 'example' => 'Owner_Name', 'title' => ''], + 'CanEdit' => ['description' => 'Indicates whether the task flow can be modified. Valid values:'."\n" + ."\n" + .'- **true**: The task flow can be modified.'."\n" + .'- **false**: The task flow cannot be modified.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Status' => ['description' => 'The status of the task flow. Valid values:'."\n" + ."\n" + .'- **0**: invalid'."\n" + .'- **1**: scheduling disabled'."\n" + .'- **2**: waiting to be scheduled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'LatestInstanceStatus' => ['description' => 'The status of the latest execution. Valid values:'."\n" + ."\n" + .'- 0: invalid'."\n" + .'- 1: scheduling disabled'."\n" + .'- 2: waiting to be scheduled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'LatestInstanceTime' => ['description' => 'The time when the latest execution record was generated.', 'type' => 'integer', 'format' => 'int32', 'example' => '2022-04-14', 'title' => ''], + 'DagName' => ['description' => 'The name of the task flow.', 'type' => 'string', 'example' => 'Dag_Name', 'title' => ''], + 'DagOwnerId' => ['description' => 'The user ID of the task flow owner.', 'type' => 'string', 'example' => '51****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '48602B78-0DDF-414C-8688-70CAB6070115', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- **true**: The request is successful.'."\n" + .'- **false**: The request fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'ListLhTaskFlowAndScenario', + 'description' => '* Before you call this operation, make sure that you have the access permissions on the workspace. If you do not have the access permissions on the workspace, you can contact a DMS administrator, database administrator (DBA), or workspace administrator to add you as a member of the workspace. The [AddLhMembers](~~424759~~) operation can be called to add a workspace member.'."\n" + .'* If you are a DMS administrator or a workspace administrator, you can query the business scenarios and task flows related to a user in a workspace based on the user ID.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListLhTaskFlowAndScenario', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"xxx\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"StandardGroup\\": {\\n \\"GroupName\\": \\"金融线-生产\\",\\n \\"Description\\": \\"金融线生产环境实例规则\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"LastMenderId\\": 0,\\n \\"GroupMode\\": \\"COMMON\\",\\n \\"GroupId\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateStandardGroupResponse>\\n <RequestId>8EB6AE45-B52E-58DA-A400-58F4F31373DA</RequestId>\\n <StandardGroup>\\n <GroupName>金融线-生产</GroupName>\\n <Description>金融线生产环境实例规则</Description>\\n <LastMenderId>51****</LastMenderId>\\n <GroupMode>COMMON</GroupMode>\\n <DbType>mysql</DbType>\\n </StandardGroup>\\n <Success>true</Success>\\n</CreateStandardGroupResponse>","errorExample":""}]', - 'title' => 'CreateStandardGroup', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RawDAGList\\": {\\n \\"Dag\\": [\\n {\\n \\"Id\\": 0,\\n \\"CreatorId\\": \\"51****\\",\\n \\"IsDeleted\\": false,\\n \\"DemoId\\": \\"-\\",\\n \\"DeployId\\": 0,\\n \\"DataFlowId\\": 0,\\n \\"ScenarioId\\": 0,\\n \\"SpaceId\\": 1,\\n \\"CreatorNickName\\": \\"Creator_Name\\",\\n \\"DagOwnerNickName\\": \\"Owner_Name\\",\\n \\"CanEdit\\": true,\\n \\"Status\\": 2,\\n \\"LatestInstanceStatus\\": 0,\\n \\"LatestInstanceTime\\": 0,\\n \\"DagName\\": \\"Dag_Name\\",\\n \\"DagOwnerId\\": \\"51****\\"\\n }\\n ]\\n },\\n \\"ScenarioDAGList\\": {\\n \\"ScenarioDAG\\": [\\n {\\n \\"Scenario\\": {\\n \\"ScenarioName\\": \\"Scenario_2\\",\\n \\"CreatorId\\": \\"51****\\",\\n \\"Description\\": \\"test\\"\\n },\\n \\"DagList\\": {\\n \\"Dag\\": [\\n {\\n \\"Id\\": 0,\\n \\"CreatorId\\": \\"51****\\",\\n \\"IsDeleted\\": false,\\n \\"DemoId\\": \\"-\\",\\n \\"DeployId\\": 0,\\n \\"DataFlowId\\": 0,\\n \\"ScenarioId\\": 0,\\n \\"SpaceId\\": 1,\\n \\"CreatorNickName\\": \\"Creator_Name\\",\\n \\"DagOwnerNickName\\": \\"Owner_Name\\",\\n \\"CanEdit\\": true,\\n \\"Status\\": 1,\\n \\"LatestInstanceStatus\\": 1,\\n \\"LatestInstanceTime\\": 0,\\n \\"DagName\\": \\"Dag_Name\\",\\n \\"DagOwnerId\\": \\"51****\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"RequestId\\": \\"48602B78-0DDF-414C-8688-70CAB6070115\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListLhTaskFlowAndScenarioResponse>\\n <RawDAGList>\\n <CreatorId>51****</CreatorId>\\n <IsDeleted>false</IsDeleted>\\n <DemoId>-</DemoId>\\n <SpaceId>1</SpaceId>\\n <CreatorNickName>Creator_Name</CreatorNickName>\\n <DagOwnerNickName>Owner_Name</DagOwnerNickName>\\n <CanEdit>true</CanEdit>\\n <Status>2</Status>\\n <LatestInstanceStatus>0</LatestInstanceStatus>\\n <DagName>Dag_Name</DagName>\\n <DagOwnerId>51****</DagOwnerId>\\n </RawDAGList>\\n <ScenarioDAGList>\\n <Scenario>\\n <ScenarioName>Scenario_2</ScenarioName>\\n <CreatorId>51****</CreatorId>\\n <Description>test</Description>\\n </Scenario>\\n <DagList>\\n <CreatorId>51****</CreatorId>\\n <IsDeleted>false</IsDeleted>\\n <DemoId>-</DemoId>\\n <SpaceId>1</SpaceId>\\n <CreatorNickName>Creator_Name</CreatorNickName>\\n <DagOwnerNickName>Owner_Name</DagOwnerNickName>\\n <CanEdit>true</CanEdit>\\n <Status>1</Status>\\n <LatestInstanceStatus>1</LatestInstanceStatus>\\n <DagName>Dag_Name</DagName>\\n <DagOwnerId>51****</DagOwnerId>\\n </DagList>\\n </ScenarioDAGList>\\n <RequestId>48602B78-0DDF-414C-8688-70CAB6070115</RequestId>\\n <Success>true</Success>\\n</ListLhTaskFlowAndScenarioResponse>","errorExample":""}]', ], - 'ListStandardGroups' => [ - 'summary' => 'Queries security rule sets.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListLogicDatabases' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -34375,363 +24458,389 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) operation to query the tenant ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'xxx', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'StandardGroupList' => [ - 'description' => 'The security rule sets returned.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'GroupName' => [ + 'TotalCount' => ['description' => 'The total number of logical databases.', 'type' => 'integer', 'format' => 'int64', 'example' => '7', 'title' => ''], + 'LogicDatabaseList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'LogicDatabase' => [ + 'description' => 'The details of logical databases.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of logical databases.', + 'type' => 'object', + 'properties' => [ + 'DatabaseId' => ['description' => 'The ID of the logical database.', 'type' => 'string', 'example' => '1***', 'title' => ''], + 'OwnerIdList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerIds' => [ + 'description' => 'The IDs of the owners of the logical database.', + 'type' => 'array', + 'items' => ['description' => 'Logical database Owner ID.', 'type' => 'string', 'example' => '51****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'DbType' => ['description' => 'The type of the logical database. For more information about the valid values of this parameter, see [DbType parameter](https://www.alibabacloud.com/help/en/data-management-service/latest/dbtype-parameter).', 'type' => 'string', 'example' => 'POLARDB', 'title' => ''], + 'OwnerNameList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerNames' => [ + 'description' => 'The names of the owners of the logical database.', + 'type' => 'array', + 'items' => ['description' => 'The name of the owner of the logical database.', 'type' => 'string', 'example' => 'owner_name', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. The return value is true.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the logical database.', 'type' => 'string', 'example' => 'logic_db', 'title' => ''], + 'SearchName' => ['description' => 'The name that is used to search for the logical database.'."\n" + ."\n" + .'> We recommend that you do not use this parameter for business development. The format of the parameter value may be modified in later versions.', 'type' => 'string', 'example' => 'logic_db[logic_db_alias]', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the logical database belongs. Valid values:'."\n" + ."\n" + .'- **product**: production environment'."\n" + .'- **dev**: development environment'."\n" + .'- **pre**: staging environment'."\n" + .'- **test**: test environment'."\n" + .'- **sit**: system integration testing (SIT) environment'."\n" + .'- **uat**: user acceptance testing (UAT) environment'."\n" + .'- **pet**: stress testing environment'."\n" + .'- **stag**: STAG environment', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Alias' => ['description' => 'The alias of the logical database.', 'type' => 'string', 'example' => 'logic_db_alias', 'title' => ''], + 'DatabaseIds' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DatabaseIds' => [ + 'description' => 'Logical database sub-ID list.', + 'type' => 'array', + 'items' => ['description' => 'Logical database sub-ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], 'title' => '', - 'description' => 'The name of the security rule set.'."\n", - 'type' => 'string', - 'example' => 'test_group', - ], - 'Description' => [ - 'description' => 'The description of the security rule set.'."\n", - 'type' => 'string', - 'example' => 'test_rule', - ], - 'DbType' => [ - 'description' => 'The type of the database engine. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'LastMenderId' => [ - 'description' => 'The ID of the user who queries the security sets.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51****', - ], - 'GroupMode' => [ - 'description' => 'The control mode. Valid values:'."\n" - ."\n" - .'* **NONE_CONTROL**: Flexible Management'."\n" - .'* **STABLE**: Stable Change'."\n" - .'* **COMMON**: Security Collaboration'."\n", - 'type' => 'string', - 'example' => 'COMMON', - ], - 'GroupId' => [ - 'description' => 'The ID of the security rule set.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '41****', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '8068AF82-8A1A-592C-AC2E-6B75338BAB87', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- **true**: The request is successful.'."\n" + .'- **false**: The request fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"xxx\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"StandardGroupList\\": [\\n {\\n \\"GroupName\\": \\"金融线-生产\\",\\n \\"Description\\": \\"金融线生产环境实例规则\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"LastMenderId\\": 0,\\n \\"GroupMode\\": \\"COMMON\\",\\n \\"GroupId\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListStandardGroupsResponse>\\n <RequestId>34E01EDD-6A16-4CF0-9541-C644D1BE01AA</RequestId>\\n <Success>true</Success>\\n <StandardGroupList>\\n <GroupName>金融线-生产</GroupName>\\n <Description>金融线生产环境实例规则</Description>\\n <DbType>mysql</DbType>\\n <LastMenderId>51****</LastMenderId>\\n <GroupMode>COMMON</GroupMode>\\n <GroupId>41****</GroupId>\\n </StandardGroupList>\\n</ListStandardGroupsResponse>","errorExample":""}]', - 'title' => 'ListStandardGroups', - ], - 'UpdateStandardGroup' => [ - 'summary' => 'Modifies the name and description of a specific security rule set.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListLogicDatabases', + 'summary' => 'Queries the detailed information about logical databases.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListLogicDatabases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 7,\\n \\"LogicDatabaseList\\": {\\n \\"LogicDatabase\\": [\\n {\\n \\"DatabaseId\\": \\"1***\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"51****\\"\\n ]\\n },\\n \\"DbType\\": \\"POLARDB\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"owner_name\\"\\n ]\\n },\\n \\"Logic\\": true,\\n \\"SchemaName\\": \\"logic_db\\",\\n \\"SearchName\\": \\"logic_db[logic_db_alias]\\",\\n \\"EnvType\\": \\"test\\",\\n \\"Alias\\": \\"logic_db_alias\\",\\n \\"DatabaseIds\\": {\\n \\"DatabaseIds\\": [\\n 0\\n ]\\n }\\n }\\n ]\\n },\\n \\"RequestId\\": \\"8068AF82-8A1A-592C-AC2E-6B75338BAB87\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListLogicDatabasesResponse>\\n <TotalCount>7</TotalCount>\\n <LogicDatabaseList>\\n <DatabaseId>1***</DatabaseId>\\n <OwnerIdList>51****</OwnerIdList>\\n <DbType>polardb</DbType>\\n <OwnerNameList>owner_name</OwnerNameList>\\n <Logic>true</Logic>\\n <SchemaName>logic_db</SchemaName>\\n <SearchName>logic_db【logic_db_alias】</SearchName>\\n <EnvType>test</EnvType>\\n <Alias>logic_db_alias</Alias>\\n </LogicDatabaseList>\\n <RequestId>8068AF82-8A1A-592C-AC2E-6B75338BAB87</RequestId>\\n <Success>true</Success>\\n</ListLogicDatabasesResponse>","errorExample":""}]', + ], + 'ListLogicTableRouteConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'title' => '规则集ID,可通过 ListStandardGroups 获取', - 'description' => 'The security rule set ID. You can call the [ListStandardGroups](~~465940~~) operation to obtain the ID of the security rule set.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '242***', - ], - ], - [ - 'name' => 'GroupName', - 'in' => 'query', - 'schema' => [ - 'title' => '安全规则名称', - 'description' => 'The name of the security rule set.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'poc_test', - ], - ], - [ - 'name' => 'Description', + 'name' => 'TableId', 'in' => 'query', - 'schema' => [ - 'title' => '安全规则描述', - 'description' => 'The description of the security rule set.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Production Environment test rules', - ], + 'schema' => ['description' => 'The ID of the logical table. You can call the [ListLogicTables](https://www.alibabacloud.com/help/en/data-management-service/latest/listlogictables) operation to query the ID of the logical table.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '23****', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) operation to query the tenant ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'StandardGroup' => [ - 'description' => 'The information about the security rule set.'."\n", + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '7C6A0D7D-B034-59F6-854C-32425AC6****', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.', 'type' => 'string', 'example' => 'MissingTableId', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.', 'type' => 'string', 'example' => 'TableId is mandatory for this action.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'LogicTableRouteConfigList' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'GroupName' => [ + 'LogicTableRouteConfig' => [ + 'description' => 'The routing algorithms.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RouteKey' => ['description' => 'The unique key of the routing algorithm.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'RouteExpr' => ['description' => 'The routing algorithm expression.', 'type' => 'string', 'example' => '#id#%16\\t', 'title' => ''], + 'TableId' => ['description' => 'The ID of the logical table.', 'type' => 'integer', 'format' => 'int64', 'example' => '4****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], 'title' => '', - 'description' => 'The name of the security rule set.'."\n", - 'type' => 'string', - 'example' => 'poc_test', - ], - 'Description' => [ - 'description' => 'The description of the security rule set.'."\n", - 'type' => 'string', - 'example' => 'Production Environment test rules', - ], - 'DbType' => [ - 'description' => 'The type of the database for which the security rules are used.'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'LastMenderId' => [ - 'description' => 'The ID of the user who last modified the security rules.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51****'."\n", - ], - 'GroupMode' => [ - 'description' => 'The control mode. Valid values:'."\n" - ."\n" - .'* **NONE_CONTROL**: Flexible Management'."\n" - .'* **STABLE**: Stable Change'."\n" - .'* **COMMON**: Security Collaboration'."\n", - 'type' => 'string', - 'example' => 'COMMON', - ], - 'GroupId' => [ - 'description' => 'The security rule set ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '41****'."\n", + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"StandardGroup\\": {\\n \\"GroupName\\": \\"poc_test\\",\\n \\"Description\\": \\"生产环境测试规则\\\\n\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"LastMenderId\\": 0,\\n \\"GroupMode\\": \\"COMMON\\",\\n \\"GroupId\\": 0\\n }\\n}","type":"json"}]', - 'title' => 'UpdateStandardGroup', - ], - 'DeleteStandardGroup' => [ - 'summary' => 'Deletes a security rule set.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListLogicTableRouteConfig', + 'summary' => 'Queries the routing algorithms of a logical table.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListLogicTableRouteConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7C6A0D7D-B034-59F6-854C-32425AC6****\\",\\n \\"ErrorCode\\": \\"MissingTableId\\",\\n \\"ErrorMessage\\": \\"TableId is mandatory for this action.\\",\\n \\"Success\\": true,\\n \\"LogicTableRouteConfigList\\": {\\n \\"LogicTableRouteConfig\\": [\\n {\\n \\"RouteKey\\": \\"1\\",\\n \\"RouteExpr\\": \\"#id#%16\\\\\\\\t\\",\\n \\"TableId\\": 0\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListLogicTableRouteConfigResponse>\\n <RequestId>7C6A0D7D-B034-59F6-854C-32425AC6****</RequestId>\\n <LogicTableRouteConfigList>\\n <LogicTableRouteConfig>\\n <TableId>1****</TableId>\\n <RouteExpr>#id#%16\\t</RouteExpr>\\n <RouteKey>1</RouteKey>\\n </LogicTableRouteConfig>\\n <LogicTableRouteConfig>\\n <TableId>1****</TableId>\\n <RouteExpr>#id#%16\\t</RouteExpr>\\n <RouteKey>id-hash-mod17\\t</RouteKey>\\n </LogicTableRouteConfig>\\n <LogicTableRouteConfig>\\n <TableId>1****</TableId>\\n <RouteExpr>#id#%16\\t</RouteExpr>\\n <RouteKey>id-test</RouteKey>\\n </LogicTableRouteConfig>\\n </LogicTableRouteConfigList>\\n <Success>true</Success>\\n</ListLogicTableRouteConfigResponse>","errorExample":""}]', + ], + 'ListLogicTables' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'GroupId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'title' => '规则集ID,可通过 ListStandardGroups 获取', - 'description' => 'The security rule set ID. You can call the [ListStandardGroups](~~465940~~) operation to obtain the ID of the security rule set.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '242***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '-1', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'DatabaseId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '23****'."\n", - ], + 'schema' => ['description' => 'The ID of the logical database.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'SearchName', + 'in' => 'query', + 'schema' => ['description' => 'The keyword that is used to search for the logical tables. Prefix match is supported.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'ReturnGuid', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to return the GUID of the table.'."\n", 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C5B8E84B-42B6-4374-AD5A-6264E1753378', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', + 'TotalCount' => ['description' => 'The total number of logical tables that meet the query conditions.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'LogicTableList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'LogicTable' => [ + 'description' => 'The details of the logical tables.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DatabaseId' => ['description' => 'The ID of the logical database.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'TableName' => ['description' => 'The name of the logical table.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'TableCount' => ['description' => 'The number of logical tables.'."\n", 'type' => 'string', 'example' => '4', 'title' => ''], + 'OwnerIdList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerIds' => [ + 'description' => 'The IDs of the owners of the logical tables.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the owner of a logical table.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'OwnerNameList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerNames' => [ + 'description' => 'The nicknames of the owners of the logical tables.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The nickname of the owner of a logical table.'."\n", 'type' => 'string', 'example' => 'owner_name', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SchemaName' => ['description' => 'The logical database to which the logical table belongs.'."\n", 'type' => 'string', 'example' => 'yuyang_test', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the table is a logical table. The value is fixed to true.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TableExpr' => ['description' => 'The expression of the logical table.'."\n", 'type' => 'string', 'example' => 'test[1-4]', 'title' => ''], + 'TableGuid' => ['description' => 'The GUID of the logical table.'."\n", 'type' => 'string', 'example' => 'IDB_L_308302.yuyang_test.test_ch', 'title' => ''], + 'TableId' => ['description' => 'The ID of the logical table.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F1E6484F-9DF1-4406-9BDE-0861C4629B69', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'ListLogicTables', + 'summary' => 'Queries the details of the logical tables in a logical database.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListLogicTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C5B8E84B-42B6-4374-AD5A-6264E1753325\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","type":"json"}]', - 'title' => 'DeleteStandardGroup', - 'description' => 'Before you call this API operation, make sure that the security rule set is not associated with an instance.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"LogicTableList\\": {\\n \\"LogicTable\\": [\\n {\\n \\"DatabaseId\\": \\"1\\",\\n \\"TableName\\": \\"test\\",\\n \\"TableCount\\": \\"4\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"1\\"\\n ]\\n },\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"owner_name\\"\\n ]\\n },\\n \\"SchemaName\\": \\"yuyang_test\\",\\n \\"Logic\\": true,\\n \\"TableExpr\\": \\"test[1-4]\\",\\n \\"TableGuid\\": \\"IDB_L_308302.yuyang_test.test_ch\\",\\n \\"TableId\\": \\"1\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"F1E6484F-9DF1-4406-9BDE-0861C4629B69\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<TotalCount>1</TotalCount>\\n<RequestId>F1E6484F-9DF1-4406-9BDE-0861C4629B69</RequestId>\\n<LogicTableList>\\n <LogicTable>\\n <Logic>true</Logic>\\n <OwnerNameList>\\n <OwnerNames>xxx</OwnerNames>\\n <OwnerNames>xxx</OwnerNames>\\n </OwnerNameList>\\n <TableExpr>t[1-4]</TableExpr>\\n <DatabaseId>267</DatabaseId>\\n <SchemaName>yuyang_test</SchemaName>\\n <TableName>t</TableName>\\n <TableGuid>IDB_L_3057.yuyang_test.t</TableGuid>\\n <TableCount>4</TableCount>\\n <OwnerIdList>\\n <OwnerIds>88653</OwnerIds>\\n <OwnerIds>104442</OwnerIds>\\n </OwnerIdList>\\n <TableId>3057</TableId>\\n </LogicTable>\\n</LogicTableList>\\n<Success>true</Success>","errorExample":""}]', ], - 'GetStandardGroup' => [ - 'summary' => 'Queries the information about security rule sets of a tenant. The information includes the name and description of security rules, and instances associated with security rules.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListMetaCategory' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -34743,361 +24852,460 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'GroupId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'title' => '规则集ID,可通过 ListStandardGroups 获取', - 'description' => 'The security rule set ID. You can call the [ListStandardGroups](~~465940~~) operation to obtain the ID of the security rule set.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '242***', - ], + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'ParentCategoryId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '23****', - ], + 'schema' => ['description' => 'The parent category ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30000322682', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. Pages start from page 1.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '1000', 'example' => '50', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'BF7E9543-F431-566A-991A-B5C493EA36C2', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError'."\n", - ], - 'StandardGroup' => [ - 'description' => 'The information about the security rule set.'."\n", + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the call was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'CategoryList' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'GroupName' => [ + 'MetaCategory' => [ + 'description' => 'The list of categories.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The information about the category.'."\n", '$ref' => '#/components/schemas/MetaCategory', 'title' => '', 'example' => ''], 'title' => '', - 'description' => 'The name of the security rule set.'."\n", - 'type' => 'string', - 'example' => 'poc_test', - ], - 'Description' => [ - 'description' => 'The description of the security rule set.'."\n", - 'type' => 'string', 'example' => '', ], - 'DbType' => [ - 'description' => 'The engine type.'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'LastMenderId' => [ - 'description' => 'The ID of the user who last modified the security rules.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51****', - ], - 'GroupMode' => [ - 'description' => 'The control mode. Valid values:'."\n" - ."\n" - .'* **NONE_CONTROL**: Flexible Management'."\n" - .'* **STABLE**: Stable Change'."\n" - .'* **COMMON**: Security Collaboration'."\n", - 'type' => 'string', - 'example' => 'COMMON', - ], - 'GroupId' => [ - 'description' => 'The ID of the security rule set.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '41****', - ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF7E9543-F431-566A-991A-B5C493EA36C3\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\\\n\\",\\n \\"StandardGroup\\": {\\n \\"GroupName\\": \\"poc_test\\",\\n \\"Description\\": \\"生产环境测试规则\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"LastMenderId\\": 0,\\n \\"GroupMode\\": \\"COMMON\\",\\n \\"GroupId\\": 0\\n }\\n}","type":"json"}]', - 'title' => 'GetStandardGroup', - ], - 'AddDesensitizationRule' => [ - 'summary' => 'Adds a masking rule.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListMetaCategory', + 'summary' => 'Queries a list of categories', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListMetaCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 1,\\n \\"CategoryList\\": {\\n \\"MetaCategory\\": [\\n {\\n \\"CategoryId\\": 30000181325,\\n \\"Name\\": \\"default\\",\\n \\"Depth\\": 1,\\n \\"ParentCategoryId\\": 30000322682,\\n \\"CreateTime\\": \\"2024-08-13 10:02:02\\",\\n \\"Description\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"OwnerIds\\": [\\n 0\\n ],\\n \\"OwnerNickNames\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListOrders' => [ + 'summary' => 'You can call ListOrders to retrieve a list of tickets.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'RuleName', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the rule.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'desensitization algorithm test', - ], + 'schema' => ['description' => 'Tenant ID. Get this value by calling [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'RuleType', + 'name' => 'PluginType', + 'in' => 'query', + 'schema' => ['description' => 'Ticket type. For valid values, see [PluginType parameter description](~~429109~~).', 'type' => 'string', 'required' => false, 'example' => 'DC_COMMON', 'title' => ''], + ], + [ + 'name' => 'OrderResultType', + 'in' => 'query', + 'schema' => ['description' => 'Search type. If you do not specify this parameter, the API returns tickets that you submitted (AS\\_COMMITTER) by default. Valid values:'."\n" + ."\n" + .'- **AS\\_ADMIN**: Dashboard view. You must have the administrator role.'."\n" + ."\n" + .'- **AS\\_COMMITTER**: Tickets you submitted.'."\n" + ."\n" + .'- **AS\\_HANDLER**: Tickets assigned to you for processing.'."\n" + ."\n" + .'- **AS\\_OWNER**: Tickets you processed.'."\n" + ."\n" + .'- **AS\\_Related**: Tickets related to you.'."\n" + ."\n" + .'> * Set this parameter to AS\\_ADMIN.', 'type' => 'string', 'required' => false, 'example' => 'AS_COMMITTER', 'title' => ''], + ], + [ + 'name' => 'SearchDateType', + 'in' => 'query', + 'schema' => ['description' => 'Date filter. Valid values:'."\n" + ."\n" + .'- **CREATE\\_TIME**: Creation time.'."\n" + ."\n" + .'- **MODIFY\\_TIME**: Modification time.', 'type' => 'string', 'required' => false, 'example' => 'CREATE_TIME', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'Start time.', 'type' => 'string', 'required' => false, 'example' => '2022-04-08 11:00:00', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'End time.', 'type' => 'string', 'required' => false, 'example' => '2022-04-09 11:00:00', 'title' => ''], + ], + [ + 'name' => 'SearchContent', + 'in' => 'query', + 'schema' => ['description' => 'Search content.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'OrderStatus', + 'in' => 'query', + 'schema' => ['description' => 'Ticket status. Valid values:'."\n" + ."\n" + .'- **ALL**: All statuses.'."\n" + ."\n" + .'- **FINISHED**: Completed.'."\n" + ."\n" + .'- **RUNNING**: In progress.', 'type' => 'string', 'required' => false, 'example' => 'ALL', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'Number of items per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'PageNumber', 'in' => 'query', + 'schema' => ['description' => 'Page number to start from.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The masking algorithm.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* PLAINTEXT'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .'* TRANSFORM'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .'* ENCRYPT'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .'* REPLACE'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .'* HASH'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .'* MASK'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n", - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'PLAINTEXT' => '', - 'TRANSFORM' => '', - 'ENCRYPT' => '', - 'REPLACE' => '', - 'HASH' => '', - 'MASK' => '', + 'type' => 'object', + 'properties' => [ + 'Orders' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Order' => [ + 'description' => 'Ticket list.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Comment' => ['description' => 'Ticket comment.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'LastModifyTime' => ['description' => 'Last modification time of the ticket.', 'type' => 'string', 'example' => '2022-04-08 11:27:45', 'title' => ''], + 'StatusCode' => ['description' => 'Ticket status code. Valid values:'."\n" + ."\n" + .'- **fail**: Failed.'."\n" + ."\n" + .'- **toaudit**: Pending approval.'."\n" + ."\n" + .'- **cancel**: User canceled the ticket.'."\n" + ."\n" + .'- **processing**: In progress.'."\n" + ."\n" + .'- **approved**: Approved.'."\n" + ."\n" + .'- **reject**: Rejected.'."\n" + ."\n" + .'- **success**: Succeeded.'."\n" + ."\n" + .'- **closed**: Closed.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'CreateTime' => ['description' => 'Ticket creation time.', 'type' => 'string', 'example' => '2022-04-08 11:15:46', 'title' => ''], + 'Committer' => ['description' => 'Ticket submitter.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'CommitterId' => ['description' => 'User ID of the ticket submitter.', 'type' => 'integer', 'format' => 'int64', 'example' => '51****', 'title' => ''], + 'StatusDesc' => ['description' => 'Description of the ticket status.', 'type' => 'string', 'example' => '变更成功', 'title' => ''], + 'PluginType' => ['description' => 'Ticket type.', 'type' => 'string', 'example' => 'DC_COMMON', 'title' => ''], + 'OrderId' => ['description' => 'Ticket ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '51****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'TotalCount' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', 'title' => ''], + 'ErrorCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" + ."\n" + .'- **true**: The request succeeded.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'example' => 'HASH', + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Orders\\": {\\n \\"Order\\": [\\n {\\n \\"Comment\\": \\"test\\",\\n \\"LastModifyTime\\": \\"2022-04-08 11:27:45\\",\\n \\"StatusCode\\": \\"success\\",\\n \\"CreateTime\\": \\"2022-04-08 11:15:46\\",\\n \\"Committer\\": \\"test\\",\\n \\"CommitterId\\": 0,\\n \\"StatusDesc\\": \\"变更成功\\",\\n \\"PluginType\\": \\"DC_COMMON\\",\\n \\"OrderId\\": 0\\n }\\n ]\\n },\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListOrders', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'RuleDescription', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'hash algorithm', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListOrders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListOrders'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + ], + 'ListProxies' => [ + 'summary' => 'Queries the proxies that are generated by the secure access proxy feature.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'FunctionType', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], 'schema' => [ - 'description' => 'The type of the masking algorithm.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* FIX_POS : masks characters in the specified position.'."\n" - .'* DATE_ROUNDING: rounds the date.'."\n" - .'* PLAINTEXT: does not mask data.'."\n" - .'* SHA1: masks characters by using the secure hash algorithm 1 (SHA-1)'."\n" - .'* HMAC: masks characters by using the hash-based message authentication code (HMAC).'."\n" - .'* STRING_TRANSFORM: shift characters.'."\n" - .'* NUMBER_ROUNDING: rounds numbers.'."\n" - .'* AES: masks characters by using the advanced encryption standard (AES) algorithm.'."\n" - .'* SHA256: masks characters by using SHA-256 algorithm.'."\n" - .'* DES: masks characters by using the data encryption standard (DES) algorithm.'."\n" - .'* MAP_REPLACE: masks the mapped data.'."\n" - .'* FIX_CHAR: masks fixed characters.'."\n" - .'* DEFAULT: masks all characters.'."\n" - .'* RANDOM_REPLACE: randomly replaces characters.'."\n" - .'* MD5: masks characters by using the MD5 algorithm.', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'FIX_POS' => '', - 'DATE_ROUNDING' => '', - 'PLAINTEXT' => '', - 'SHA1' => 'SHA1', - 'HMAC' => 'HMAC', - 'STRING_TRANSFORM' => '', - 'NUMBER_ROUNDING' => '', - 'AES' => 'AES', - 'SHA256' => 'SHA256', - 'DES' => 'DES', - 'MAP_REPLACE' => '', - 'FIX_CHAR' => '', - 'DEFAULT' => '', - 'RANDOM_REPLACE' => '', - 'MD5' => 'MD5', + 'title' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5812180E-555F-5F90-BE4F-280576F4****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'User can not access to Tenant [123445]', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ProxyList' => [ + 'description' => 'The proxies that are generated by the secure access proxy feature.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The proxy that is generated by the secure access proxy feature.'."\n", + 'type' => 'object', + 'properties' => [ + 'ProxyId' => ['description' => 'The ID of the secure access proxy.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4**', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who enabled the secure access proxy feature.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], + 'CreatorName' => ['description' => 'The nickname of the user who enabled the secure access proxy feature.'."\n", 'type' => 'string', 'example' => 'test_name', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '183****', 'title' => ''], + 'PrivateEnable' => ['description' => 'Indicates whether the internal endpoint is enabled. Default value: **true**.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'PrivateHost' => ['description' => 'The internal endpoint.'."\n", 'type' => 'string', 'example' => 'dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com', 'title' => ''], + 'PublicEnable' => ['description' => 'Indicates whether the public endpoint is enabled. Valid values:'."\n" + ."\n" + .'* **true**: The public endpoint is enabled.'."\n" + .'* **false**: The public endpoint is disabled.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'PublicHost' => ['description' => 'The public endpoint. A public endpoint is returned no matter whether the public endpoint is enabled or disabled.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If the value of the PublicEnable parameter is **true**, a valid public endpoint that can be resolved by using Alibaba Cloud DNS (DNS) is returned.'."\n" + ."\n" + .'* If the value of the PublicEnable parameter is **false**, an invalid public endpoint that cannot be resolved by using DNS is returned.'."\n", 'type' => 'string', 'example' => 'dphzmy-5j8oimjsz6ze****-pub.proxy.dms.aliyuncs.com', 'title' => ''], + 'HttpsPort' => ['description' => 'The number of the port that was used by HTTPS clients to connect to the database instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '443', 'title' => ''], + 'ProtocolType' => ['title' => '', 'description' => 'The type of the database. Example: MYSQL.'."\n", 'type' => 'string', 'example' => 'MYSQL'], + 'ProtocolPort' => ['title' => '', 'description' => 'The number of the port that is used to connect the database instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3306'], + 'RegionId' => ['title' => '', 'description' => 'The ID of the region.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], ], - 'example' => 'MD5', + 'example' => '', ], ], + ], + 'title' => 'ListProxies', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'FunctionParams', - 'in' => 'formData', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The parameters of the algorithm.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the parameter.'."\n", - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'description' => 'The value of the parameter.'."\n", - 'example' => '{paramName: salt, paramValue: 1}', - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListProxies', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => false, ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5812180E-555F-5F90-BE4F-280576F4****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"User can not access to Tenant [123445]\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ProxyList\\": [\\n {\\n \\"ProxyId\\": 0,\\n \\"CreatorId\\": 0,\\n \\"CreatorName\\": \\"test_name\\",\\n \\"InstanceId\\": 0,\\n \\"PrivateEnable\\": true,\\n \\"PrivateHost\\": \\"dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com\\",\\n \\"PublicEnable\\": false,\\n \\"PublicHost\\": \\"dphzmy-5j8oimjsz6ze****-pub.proxy.dms.aliyuncs.com\\",\\n \\"HttpsPort\\": 443,\\n \\"ProtocolType\\": \\"MYSQL\\",\\n \\"ProtocolPort\\": 3306,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListProxiesResponse>\\n <ProxyList>\\n <PublicHost>dphzmy-5j8oimjsz6ze****-pub.proxy.dms.aliyuncs.com</PublicHost>\\n <PrivateHost>dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com</PrivateHost>\\n <InstanceId>183****</InstanceId>\\n <ProxyId>4**</ProxyId>\\n <CreatorId>12****</CreatorId>\\n <MysqlPort>3306</MysqlPort>\\n <PrivateEnable>true</PrivateEnable>\\n <CreatorName>test_name</CreatorName>\\n <PublicEnable>false</PublicEnable>\\n <HttpsPort>443</HttpsPort>\\n </ProxyList>\\n <ProxyList>\\n <PublicHost>dphzmy-vwjxfkclz17bb7y****.proxy.dms.aliyuncs.com</PublicHost>\\n <PrivateHost>dphzmy-vwjxfkclz17b****.proxy.dms.aliyuncs.com</PrivateHost>\\n <InstanceId>164****</InstanceId>\\n <ProxyId>4*</ProxyId>\\n <CreatorId>47****</CreatorId>\\n <MysqlPort>3306</MysqlPort>\\n <PrivateEnable>true</PrivateEnable>\\n <CreatorName>test1_name</CreatorName>\\n <PublicEnable>true</PublicEnable>\\n <HttpsPort>443</HttpsPort>\\n </ProxyList>\\n <RequestId>5812180E-555F-5F90-BE4F-280576F4****</RequestId>\\n <Success>true</Success>\\n</ListProxiesResponse>","errorExample":""}]', + ], + 'ListProxyAccesses' => [ + 'summary' => 'Queries information about users that are authorized to access a database instance by using the secure access proxy feature.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'ProxyId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the secure access proxy. '."\n" + ."\n" + .'> You can call the [ListProxies](https://www.alibabacloud.com/help/en/data-management-service/latest/listproxies) operation to query the ID of the secure access proxy.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '47', 'title' => ''], + ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. '."\n" + ."\n" + .'> You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) operation to query the ID of the tenant.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'RuleId' => [ - 'description' => 'The ID generated for the data masking rule.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '35***', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'E53D178A-85E9-5E1F-88B6-3CB1FCF2****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.', 'type' => 'string', 'example' => 'ProxyId is mandatory for this action.', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.', 'type' => 'string', 'example' => 'MissingProxyId', 'title' => ''], + 'ProxyAccessList' => [ + 'description' => 'The information about the users that are authorized to access the database instance by using the secure access proxy feature.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProxyAccessId' => ['description' => 'The ID that DMS generates after the user is authorized to access the database instance by using the secure access proxy feature. The ID is unique in DMS.', 'type' => 'integer', 'format' => 'int64', 'example' => '****', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the user is authorized to access the database instance by using the secure access proxy feature.', 'type' => 'string', 'example' => '2021-03-31 10:34:18', 'title' => ''], + 'AccessId' => ['description' => 'The username of the database account that is authorized to access the database instance by using the secure access proxy feature.', 'type' => 'string', 'example' => 'MXPL8HalI22m****', 'title' => ''], + 'OriginInfo' => ['description' => 'The method that is used to authorize the user to access the database instance by using the secure access proxy feature. Valid values: '."\n" + ."\n" + .'- **Authorization by the Alibaba Cloud Account ()**: The information in the parentheses () indicates the user ID (UID) of the Alibaba Cloud account.'."\n" + .'- **Authorization by submitting the ticket ()**:The information in the parentheses () indicates the number of the ticket that the user submits to apply for permissions.', 'type' => 'string', 'example' => 'Owner authorization (29490401597700****)', 'title' => ''], + 'IndepAccount' => ['description' => 'The username of the independent database account.', 'type' => 'string', 'example' => '****', 'title' => ''], + 'UserId' => ['description' => 'The ID of the user.', 'type' => 'integer', 'format' => 'int64', 'example' => '26****', 'title' => ''], + 'UserUid' => ['description' => 'The UID of the Alibaba Cloud account.', 'type' => 'string', 'example' => '25936669186260****', 'title' => ''], + 'UserName' => ['description' => 'The nickname of the user.', 'type' => 'string', 'example' => 'user', 'title' => ''], + 'ProxyId' => ['description' => 'The ID of the secure access proxy.', 'type' => 'integer', 'format' => 'int64', 'example' => '47', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the database instance.', 'type' => 'integer', 'format' => 'int64', 'example' => '164****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"RuleId\\": 0\\n}","errorExample":""},{"type":"xml","example":"<AddDesensitizationRuleResponse>\\n <RequestId>0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</AddDesensitizationRuleResponse>","errorExample":""}]', - 'title' => 'AddDesensitizationRule', - ], - 'ListDesensitizationRule' => [ - 'summary' => 'Queries a list of masking rules.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E53D178A-85E9-5E1F-88B6-3CB1FCF2****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"ProxyId is mandatory for this action.\\",\\n \\"ErrorCode\\": \\"MissingProxyId\\",\\n \\"ProxyAccessList\\": [\\n {\\n \\"ProxyAccessId\\": 0,\\n \\"GmtCreate\\": \\"2021-03-31 10:34:18\\",\\n \\"AccessId\\": \\"MXPL8HalI22m****\\",\\n \\"OriginInfo\\": \\"Owner authorization (29490401597700****)\\",\\n \\"IndepAccount\\": \\"****\\",\\n \\"UserId\\": 0,\\n \\"UserUid\\": \\"25936669186260****\\",\\n \\"UserName\\": \\"user\\",\\n \\"ProxyId\\": 47,\\n \\"InstanceId\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListProxyAccesses', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProxyAccesses'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListProxyAccesses', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListProxySQLExecAuditLog' => [ + 'summary' => 'Queries the audit logs generated by the secure access proxy feature.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -35105,398 +25313,439 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'PageNumber', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value of this parameter must be a timestamp that follows the UNIX time format.'."\n", 'docRequired' => true, 'example' => '1636876446000', 'format' => 'int64', 'required' => true, 'type' => 'integer', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. The maximum value is 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The end of the time range to query. The value of this parameter must be a timestamp that follows the UNIX time format.'."\n", 'docRequired' => true, 'example' => '1636962846000', 'format' => 'int64', 'required' => true, 'type' => 'integer', 'title' => ''], ], [ - 'name' => 'RuleType', + 'name' => 'SearchName', 'in' => 'query', - 'schema' => [ - 'description' => 'The algorithm used for masking.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HASH', - ], + 'schema' => ['description' => 'The name of the database instance.'."\n", 'example' => 'test', 'required' => false, 'type' => 'string', 'title' => ''], ], [ - 'name' => 'FuncType', + 'name' => 'OpUserName', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the masking algorithm.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MD5', - ], + 'schema' => ['description' => 'The alias of the user.'."\n", 'example' => 'testNickName', 'required' => false, 'type' => 'string', 'title' => ''], ], [ - 'name' => 'RuleName', + 'name' => 'SQLType', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the masking rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default desensitization rule test', - ], + 'schema' => ['description' => 'The type of SQL statement. Valid values:'."\n" + ."\n" + .'* **SELECT**'."\n" + .'* **INSERT**'."\n" + .'* **DELETE**'."\n" + .'* **CREATE_TABLE**'."\n" + ."\n" + .'> You can choose Operation Audit > Secure Access Proxy in the top navigation bar of the DMS console to view more types of SQL statements.'."\n", 'example' => 'SELECT', 'required' => false, 'type' => 'string', 'title' => ''], ], [ - 'name' => 'RuleId', + 'name' => 'ExecState', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the masking rule.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The execution status of the SQL statement. Valid values:'."\n" + ."\n" + .'* **FAIL**: The execution of the SQL statement fails.'."\n" + .'* **CANCEL**: The execution of the SQL statement is canceled.'."\n" + .'* **SUCCESS**: The SQL statement is executed.'."\n", + 'example' => 'SUCCESS', 'required' => false, - 'example' => '1', + 'type' => 'string', + 'enum' => ['FAIL', 'SUCCESS', 'CANCEL'], + 'title' => '', ], ], [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. Maximum values: 100.'."\n", 'docRequired' => true, 'example' => '100', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'required' => false, 'type' => 'integer', 'default' => '20', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.'."\n", 'docRequired' => true, 'example' => '1', 'exclusiveMaximum' => false, 'format' => 'int32', 'minimum' => '1', 'required' => false, 'type' => 'integer', 'title' => ''], + ], + [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'example' => '14****', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'type' => 'integer', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', - 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', - 'description' => 'The total number of entries returned. By default, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E76DD2E7-EBAC-5724-B163-19AAC233F8F2', - ], - 'ErrorCode' => [ - 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕', - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'DesensitizationRuleList' => [ - 'description' => 'The list of masking rules.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RuleName' => [ - 'description' => 'The name of the masking rule.'."\n", - 'type' => 'string', - 'example' => 'default desensitization rule test', - ], - 'RuleType' => [ - 'description' => 'The algorithm used for masking.'."\n", - 'type' => 'string', - 'example' => 'HASH', - ], - 'RuleDesc' => [ - 'description' => 'The description of the rule.'."\n", - 'type' => 'string', - 'example' => 'hash desensitization algorithm', - ], - 'FunctionType' => [ - 'description' => 'The algorithm type.'."\n", - 'type' => 'string', - 'example' => 'MD5', - ], - 'FuncParams' => [ - 'description' => 'The parameter.'."\n", - 'type' => 'string', - 'example' => '{paramName: salt, paramValue: 1}', - ], - 'FuncSample' => [ - 'description' => 'The example.'."\n", - 'type' => 'string', - 'example' => '[{paramName: testStr, paramValue: 1}]', - ], - 'LastModifierId' => [ - 'description' => 'The ID of the user who last modified the masking rule.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'LastModifierName' => [ - 'description' => 'The name of the user who last modified the masking rule.'."\n", - 'type' => 'string', - 'example' => 'test user', - ], - 'ReferenceCount' => [ - 'description' => 'The number of times that the masking was used.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RuleId' => [ - 'description' => 'The ID of the masking rule.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '23', + 'TotalCount' => ['description' => 'The number of entries returned.'."\n", 'example' => '1', 'format' => 'int64', 'type' => 'integer', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'example' => '50ECB006-2C35-5FCA-91B9-01987A0B****', 'type' => 'string', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'example' => 'InvalidStartTime', 'type' => 'string', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'example' => 'Specified parameter StartTime is not valid.', 'type' => 'string', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'example' => 'true', 'type' => 'boolean', 'title' => ''], + 'ProxySQLExecAuditLogList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ProxySQLExecAuditLog' => [ + 'description' => 'The audit information about the database instance that is provided by the secure access proxy feature.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'properties' => [ + 'OpTime' => ['description' => 'The time at which the user executes the SQL statement on the database instance. The value of this parameter must be a timestamp that follows the UNIX time format.'."\n", 'example' => '1636876446000', 'type' => 'string', 'title' => ''], + 'UserName' => ['description' => 'The nickname of the user.'."\n", 'example' => 'testNickName', 'type' => 'string', 'title' => ''], + 'UserId' => ['description' => 'The ID of the user.'."\n", 'example' => '4****', 'format' => 'int64', 'type' => 'integer', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the database instance.'."\n", 'example' => 'pc-uf662nrg017c6****.mysql.polardb.rds.aliyuncs.com:3306【test】', 'type' => 'string', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the database instance.'."\n", 'example' => '4***', 'format' => 'int64', 'type' => 'integer', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the database.'."\n", 'example' => 'test_db', 'type' => 'string', 'title' => ''], + 'SQLType' => ['description' => 'The type of the SQL statement. Valid values:'."\n" + ."\n" + .'* **SELECT**'."\n" + .'* **INSERT**'."\n" + .'* **DELETE**'."\n" + .'* **CREATE_TABLE**'."\n" + ."\n" + .'> You can choose Operation Audit > Secure Access Proxy in the top navigation bar of the DMS console to view more types of SQL statements.'."\n", 'example' => 'SELECT', 'type' => 'string', 'title' => ''], + 'SQL' => ['description' => 'The SQL statement that was executed.'."\n", 'example' => 'select 1;', 'type' => 'string', 'title' => ''], + 'ExecState' => ['description' => 'The execution status of the SQL statement. Valid values:'."\n" + ."\n" + .'* **FAIL**: The execution of the SQL statement fails.'."\n" + .'* **CANCEL**: The execution of the SQL statement is canceled.'."\n" + .'* **SUCCESS**: The SQL statement is executed.'."\n", 'example' => 'SUCCESS', 'type' => 'string', 'title' => ''], + 'AffectRows' => ['description' => 'Indicates the total number of rows returned after the SQL statement was executed. If an SELECT SQL statement is executed, the return value of this parameter indicates the total number of the queried data rows.'."\n", 'example' => '1', 'format' => 'int64', 'type' => 'integer', 'title' => ''], + 'ElapsedTime' => ['description' => 'The amount of time that is consumed to execute the SQL statement. Unit: milliseconds.'."\n", 'example' => '1324', 'format' => 'int64', 'type' => 'integer', 'title' => ''], + 'Remark' => ['description' => 'The description.'."\n", 'example' => 'success', 'type' => 'string', 'title' => ''], + ], + 'type' => 'object', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'ListProxySQLExecAuditLog', + 'changeSet' => [], + 'ramActions' => [ [ - 'schema' => [ - 'type' => 'object', - 'properties' => [], + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListProxySQLExecAuditLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"E76DD2E7-EBAC-5724-B163-19AAC233F8F2\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"DesensitizationRuleList\\": [\\n {\\n \\"RuleName\\": \\"脱敏规则测试\\",\\n \\"RuleType\\": \\"HASH\\",\\n \\"RuleDesc\\": \\"哈希脱敏算法\\",\\n \\"FunctionType\\": \\"MD5\\",\\n \\"FuncParams\\": \\"{paramName: salt, paramValue: 1}\\",\\n \\"FuncSample\\": \\"[{paramName: testStr, paramValue: 1}]\\",\\n \\"LastModifierId\\": \\"2\\",\\n \\"LastModifierName\\": \\"测试用户\\",\\n \\"ReferenceCount\\": 1,\\n \\"RuleId\\": 23\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListDesensitizationRuleResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>E76DD2E7-EBAC-5724-B163-19AAC233F8F2</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n <DesensitizationRuleList>\\n <RuleName>脱敏规则测试</RuleName>\\n <RuleType>HASH</RuleType>\\n <RuleDesc>哈希脱敏算法</RuleDesc>\\n <FunctionType>MD5</FunctionType>\\n <FuncParams>{paramName: salt, paramValue: 1}</FuncParams>\\n <FuncSample>[{paramName: testStr, paramValue: 1}]</FuncSample>\\n <LastModifierId>2</LastModifierId>\\n <LastModifierName>测试用户</LastModifierName>\\n <ReferenceCount>1</ReferenceCount>\\n <RuleId>23</RuleId>\\n </DesensitizationRuleList>\\n</ListDesensitizationRuleResponse>","errorExample":""}]', - 'title' => 'ListDesensitizationRule', - 'extraInfo' => "\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"50ECB006-2C35-5FCA-91B9-01987A0B****\\",\\n \\"ErrorCode\\": \\"InvalidStartTime\\",\\n \\"ErrorMessage\\": \\"Specified parameter StartTime is not valid.\\",\\n \\"Success\\": true,\\n \\"ProxySQLExecAuditLogList\\": {\\n \\"ProxySQLExecAuditLog\\": [\\n {\\n \\"OpTime\\": \\"1636876446000\\",\\n \\"UserName\\": \\"testNickName\\",\\n \\"UserId\\": 0,\\n \\"InstanceName\\": \\"pc-uf662nrg017c6****.mysql.polardb.rds.aliyuncs.com:3306【test】\\",\\n \\"InstanceId\\": 0,\\n \\"SchemaName\\": \\"test_db\\",\\n \\"SQLType\\": \\"SELECT\\",\\n \\"SQL\\": \\"select 1;\\",\\n \\"ExecState\\": \\"SUCCESS\\",\\n \\"AffectRows\\": 1,\\n \\"ElapsedTime\\": 1324,\\n \\"Remark\\": \\"success\\"\\n }\\n ]\\n }\\n}","type":"json"},{"errorExample":"","example":"<ListProxySQLExecAuditLogResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>50ECB006-2C35-5FCA-91B9-01987A0B****</RequestId>\\n <Success>true</Success>\\n <ProxySQLExecAuditLogList>\\n <OpTime>1636876446000</OpTime>\\n <UserName>testNickName</UserName>\\n <UserId>4****</UserId>\\n <InstanceName>rm-xxx:3306</InstanceName>\\n <InstanceId>4***</InstanceId>\\n <SchemaName>test_db</SchemaName>\\n <SQLType>SELECT</SQLType>\\n <SQL>select 1;</SQL>\\n <ExecState>SUCCESS</ExecState>\\n <AffectRows>1</AffectRows>\\n <ElapsedTime>1324</ElapsedTime>\\n <Remark>success</Remark>\\n </ProxySQLExecAuditLogList>\\n</ListProxySQLExecAuditLogResponse>","type":"xml"}]', ], - 'ModifyDesensitizationStrategy' => [ - 'summary' => 'Modifies the masking rule bound to a specified field.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListSLARules' => [ + 'summary' => 'Queries the custom service level agreement (SLA) rules of a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', + 'abilityTreeCode' => '148618', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'DbId', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database. You can call the [ListDatabases](~~141873~~) operation to obtain the ID.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '123', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '11****', 'title' => ''], ], [ - 'name' => 'IsLogic', + 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a physical database.'."\n" - .'* **false**: The database is a logical database.'."\n", - 'type' => 'boolean', - 'required' => true, - 'example' => 'false', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '3D1A59F4-EB2B-5D24-80A5-90C446A00DE2', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SLARuleList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SLARule' => [ + 'description' => 'The list of SLA rules.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the SLA rule.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'DagId' => ['description' => 'The ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '11****', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the task node.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RuleType' => ['description' => 'The type of the rule. Valid values:'."\n" + ."\n" + .'* **0**: an SLA rule for a task flow'."\n" + .'* **1**: an SLA rule for a task node'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'IntervalMinutes' => ['description' => 'The timeout period. Unit: minutes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1080', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'ListSLARules', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'SchemaName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the database name.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* If the database is a physical database, you can call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the database name.'."\n" - ."\n" - .'* If the database is a logical database, you can call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation to obtain the name of the database.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_schema', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSLARules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3D1A59F4-EB2B-5D24-80A5-90C446A00DE2\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"SLARuleList\\": {\\n \\"SLARule\\": [\\n {\\n \\"Id\\": 2,\\n \\"DagId\\": 0,\\n \\"NodeId\\": 1,\\n \\"RuleType\\": 0,\\n \\"IntervalMinutes\\": 1080\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListSLARulesResponse>\\n <RequestId>BD7055C8-798E-5AA7-8E42-9690A0C344B6</RequestId>\\n <SLARuleList>\\n <SLARule>\\n <id>2</id>\\n <DagId>11312</DagId>\\n <RuleType>0</RuleType>\\n <IntervalMinutes>1080</IntervalMinutes>\\n <NodeId>1</NodeId>\\n </SLARule>\\n </SLARuleList>\\n <Success>true</Success>\\n</ListSLARulesResponse>","errorExample":""}]', + ], + 'ListSQLExecAuditLog' => [ + 'summary' => 'Queries the audit logs of SQL statements that are executed in Data Management (DMS).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TableName', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list'], + 'parameters' => [ + [ + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the table name.'."\n" - ."\n" - .'> You can also call the [ListTables](~~141878~~) operation to obtain the table name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_table', - ], + 'schema' => ['description' => 'The beginning of the time range to query.'."\n" + ."\n" + .'> The start time supports fuzzy match. Specify the time in the YYYY-MM-DD hh:mm:ss format.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-11-08 11:04:00', 'title' => ''], ], [ - 'name' => 'ColumnName', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the field. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the field name.'."\n" - ."\n" - .'> You can also call the [ListColumns](~~141870~~) operation to obtain the field name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_column', - ], + 'schema' => ['description' => 'The end of the time range to query.'."\n" + ."\n" + .'> The end time supports fuzzy match. Specify the time in the YYYY-MM-DD hh:mm:ss format. We recommend that you use the StartTime and EndTime parameters to specify a time range that does not exceed one day. The returned entries can be displayed by page to improve query efficiency.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-11-08 11:00:00', 'title' => ''], ], [ - 'name' => 'RuleId', + 'name' => 'SearchName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the masking rule.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '53', - ], + 'schema' => ['description' => 'The name of the database or instance based on which you want to query SQL statements.'."\n" + ."\n" + .'> If the SQL statements to be queried are at the instance level, you can set this parameter to an instance name. If the SQL statements to be queried are at the database level, you can set this parameter to a database name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_SearchName', 'title' => ''], ], [ - 'name' => 'IsReset', + 'name' => 'OpUserName', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to reset the masking rule. Valid value:'."\n" - ."\n" - .'* **true**: Reset the masking rule.'."\n" - .'* **false**: Do not reset the masking rule. This is the default value.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The nickname of the user who wrote the SQL statement.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_OpUserName', 'title' => ''], ], [ - 'name' => 'IsDefault', + 'name' => 'SqlType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the SQL statement. Valid values:'."\n" + ."\n" + .'* **SELECT**: the SQL statement that is used to query data.'."\n" + .'* **INSERT**: the SQL statement that is used to insert data.'."\n" + .'* **DELETE**: the SQL statement that is used to delete data.'."\n" + .'* **CREATE_TABLE**: the SQL statement that is used to create tables.'."\n" + ."\n" + .'> To view more types of SQL statements, log on to the DMS console and click Security and Specifications. In the left-side navigation pane, click **Operation Audit**. Then, you can view all supported types of SQL statements from the **SQL type** drop-down list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SELECT', 'title' => ''], + ], + [ + 'name' => 'ExecState', 'in' => 'query', 'schema' => [ - 'description' => 'The desensitization algorithm of the field setting. The default value is false. The values are as follows:'."\n" - ."\n" - .'- **true**: default desensitization algorithm.'."\n" + 'description' => 'The execution status of the SQL statement. Valid values:'."\n" ."\n" - .'- **false** :semi-desensitization algorithm.', - 'type' => 'boolean', + .'* **FAIL**: The SQL statement fails to be executed.'."\n" + .'* **NOEXE**: The SQL statement has not been executed.'."\n" + .'* **RUNNING**: The SQL statement is being executed.'."\n" + .'* **CANCEL**: The execution of the SQL statement is canceled.'."\n" + .'* **SUCCESS**: The SQL statement is executed.'."\n", + 'type' => 'string', 'required' => false, - 'example' => 'false', + 'example' => '1', + 'enum' => [], + 'title' => '', ], ], [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. The value cannot exceed 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'exclusiveMaximum' => false, 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) in the topic "Manage DMS tenants."'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '283C461F-11D8-48AA-B695-DF092DA32AF3', - ], - 'ErrorCode' => [ - 'description' => 'The status code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Result' => [ - 'description' => 'The returned result.'."\n", - 'type' => 'boolean', - 'example' => 'True', + 'TotalCount' => ['description' => 'The number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '39BC9C86-95AE-58F2-9862-A7C3D896****', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'MissingStartTime', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'StartTime is mandatory for this action.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SQLExecAuditLogList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SQLExecAuditLog' => [ + 'description' => 'The entries returned.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OpTime' => ['description' => 'The time when the operation specified by the SQL statement was performed on the instance or database.'."\n", 'type' => 'string', 'example' => '2021-11-08 11:04:27', 'title' => ''], + 'UserName' => ['description' => 'The nickname of the user who wrote the SQL statement.'."\n", 'type' => 'string', 'example' => 'test_UserName', 'title' => ''], + 'UserId' => ['description' => 'The ID of the user who wrote the SQL statement.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the database.'."\n" + ."\n" + .'> If the SQL statement takes effect on an instance, the name of the instance is returned.'."\n", 'type' => 'string', 'example' => 'Polar123@pc-bp1h9tgq4st9g****.mysql.polardb.rds.aliyuncs.com:3306[polar_qw_ test]', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '185***', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'polar123', 'title' => ''], + 'DbId' => ['description' => 'The ID of the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2157****', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is a physical database.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'SQLType' => ['description' => 'The type of the SQL statement. Valid values:'."\n" + ."\n" + .'* **SELECT**: the SQL statement that is used to query data.'."\n" + .'* **INSERT**: the SQL statement that is used to insert data.'."\n" + .'* **DELETE**: the SQL statement that is used to delete data.'."\n" + .'* **CREATE_TABLE**: the SQL statement that is used to create tables.'."\n" + ."\n" + .'> To view more types of SQL statements, log on to the DMS console and click Security and Specifications. In the left-side navigation pane, click **Operation Audit**. Then, you can view all supported types of SQL statements from the **SQL type** drop-down list.'."\n", 'type' => 'string', 'example' => 'SELECT', 'title' => ''], + 'SQL' => ['description' => 'The SQL statement that was written.'."\n", 'type' => 'string', 'example' => 'SELECT * FROM `polar123`.`p_qw` ORDER BY `id` DESC', 'title' => ''], + 'ExecState' => ['description' => 'The execution status of the SQL statement. Valid values:'."\n" + ."\n" + .'* **FAIL**: The SQL statement fails to be executed.'."\n" + .'* **NOEXE**: The SQL statement has not been executed.'."\n" + .'* **RUNNING**: The SQL statement is being executed.'."\n" + .'* **CANCEL**: The execution of the SQL statement is canceled.'."\n" + .'* **SUCCESS**: The SQL statement is executed.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'AffectRows' => ['description' => 'The number of rows affected by the SQL statement. For example, if you execute an SQL statement to query data, the number of retrieved rows is returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'ElapsedTime' => ['description' => 'The amount of time consumed by the execution of the SQL statement. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '18', 'title' => ''], + 'Remark' => ['description' => 'The comment on the SQL statement.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"283C461F-11D8-48AA-B695-DF092DA32AF3\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": false,\\n \\"Result\\": true\\n}","errorExample":""},{"type":"xml","example":"<ModifyDesensitizationStrategyResponse>\\n <RequestId>283C461F-11D8-48AA-B695-DF092DA32AF3</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>false</Success>\\n <Result>true</Result>\\n</ModifyDesensitizationStrategyResponse>","errorExample":""}]', - 'title' => 'ModifyDesensitizationStrategy', - 'extraInfo' => "\n", - ], - 'ListClassificationTemplates' => [ - 'summary' => 'Queries the classification templates.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"39BC9C86-95AE-58F2-9862-A7C3D896****\\",\\n \\"ErrorCode\\": \\"MissingStartTime\\",\\n \\"ErrorMessage\\": \\"StartTime is mandatory for this action.\\",\\n \\"Success\\": true,\\n \\"SQLExecAuditLogList\\": {\\n \\"SQLExecAuditLog\\": [\\n {\\n \\"OpTime\\": \\"2021-11-08 11:04:27\\",\\n \\"UserName\\": \\"test_UserName\\",\\n \\"UserId\\": 0,\\n \\"InstanceName\\": \\"Polar123@pc-bp1h9tgq4st9g****.mysql.polardb.rds.aliyuncs.com:3306[polar_qw_ test]\\",\\n \\"InstanceId\\": 0,\\n \\"SchemaName\\": \\"polar123\\",\\n \\"DbId\\": 0,\\n \\"Logic\\": false,\\n \\"SQLType\\": \\"SELECT\\",\\n \\"SQL\\": \\"SELECT * FROM `polar123`.`p_qw` ORDER BY `id` DESC\\",\\n \\"ExecState\\": \\"SUCCESS\\",\\n \\"AffectRows\\": 2,\\n \\"ElapsedTime\\": 18,\\n \\"Remark\\": \\"success\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListSQLExecAuditLog', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSQLExecAuditLog'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSQLExecAuditLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListSQLReviewOriginSQL' => [ + 'summary' => 'Queries the details of the SQL statements that are involved in an SQL review ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -35504,113 +25753,160 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the SQL review ticket. You can call the [CreateSQLReviewOrder](~~257777~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'exclusiveMaximum' => false, 'minimum' => '1', 'example' => '903****', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'OrderActionDetail', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The parameters that are used to filter SQL statements involved in the ticket.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", + 'FileId' => ['description' => 'The ID of the file that contains the SQL statements to be reviewed.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '85****', 'title' => ''], + 'SQLReviewResult' => [ + 'description' => 'The optimization suggestion for the SQL statement. Valid values:'."\n" + ."\n" + .'* **MUST_IMPROVE**: The SQL statement must be optimized.'."\n" + .'* **POTENTIAL_ISSUE**: The SQL statement contains potential issues.'."\n" + .'* **SUGGEST_IMPROVE**: We recommend that you optimize the SQL statement.'."\n" + .'* **USE_DMS_TOOLKIT**: We recommend that you change schemas without locking tables.'."\n" + .'* **USE_DMS_DML_UNLOCK**: We recommend that you change data without locking tables.'."\n" + .'* **TABLE_INDEX_SUGGEST**: We recommend that you optimize indexes for the SQL statement.'."\n", 'type' => 'string', - 'example' => '90260530-565C-42B9-A6E8-893481FE6AB6', + 'required' => false, + 'example' => 'MUST_IMPROVE', + 'enum' => ['MUST_IMPROVE', 'POTENTIAL_ISSUE', 'SUGGEST_IMPROVE', 'USE_DMS_TOOLKIT', 'USE_DMS_DML_UNLOCK', 'TABLE_INDEX_SUGGEST'], + 'title' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + 'CheckStatusResult' => [ + 'description' => 'The review status of the SQL statement. Valid values:'."\n" ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", + .'* **new**: The SQL statement was waiting to be reviewed.'."\n" + .'* **unknown**: The SQL statement cannot be parsed.'."\n" + .'* **check_not_pass**: The SQL statement failed to pass the review.'."\n" + .'* **check_pass**: The SQL statement passed the review.'."\n" + .'* **force_pass**: The SQL statement passed the manual review.'."\n" + .'* **force_not_pass**: The SQL statement failed to pass the manual review.'."\n", 'type' => 'string', - 'example' => 'UnknownError', + 'required' => false, + 'example' => 'check_not_pass', + 'enum' => ['new', 'unknown', 'check_not_pass', 'check_pass', 'force_pass', 'force_not_pass'], + 'title' => '', ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', + 'Page' => [ + 'description' => 'The pagination information.'."\n", + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'example' => '20', 'default' => '20', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'TemplateList' => [ - 'description' => 'The list of templates.'."\n", + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '233***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0A00863F-6366-5583-9B96-891DC8D8F88A', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values: Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TotalCount' => ['description' => 'The number of SQL statements in the file.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'OriginSQLList' => [ + 'description' => 'The information about the parsed SQL statements.'."\n", 'type' => 'array', 'items' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'TemplateId' => [ - 'title' => '分类分级模板ID', - 'description' => 'The ID of the classification template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3**', - ], - 'Name' => [ - 'title' => '分类分级模板名称', - 'description' => 'The name of the classification template.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'TemplateType' => [ - 'title' => '分类分级模板类型'."\n" - .'- INNER:内置'."\n" - .'- USER_DEFINE:自定义', - 'description' => 'The type of the classification template. Valid values:'."\n" - ."\n" - .'* **INNER**: built-in template'."\n" - .'* **USER_DEFINE**: custom template'."\n", - 'type' => 'string', - 'example' => 'USER_DEFINE', - ], - 'Remark' => [ - 'title' => '备注信息', - 'description' => 'The remarks.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - ], + 'SQLId' => ['description' => 'The ID of the SQL statement.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1111', 'title' => ''], + 'FileId' => ['description' => 'The file ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '858***', 'title' => ''], + 'FileName' => ['description' => 'The name of the file.'."\n", 'type' => 'string', 'example' => 'test.sql', 'title' => ''], + 'SQLContent' => ['description' => 'The SQL statement in the file.'."\n", 'type' => 'string', 'example' => 'CREATE TABLE `test_sql_review_table` ('."\n" + .' `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,'."\n" + .' `gmt_create` datetime NOT NULL,'."\n" + .' `name` varchar(256) DEFAULT NULL'."\n" + .') ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;', 'title' => ''], + 'CheckStatus' => ['description' => 'The review status of the SQL statement. Valid values:'."\n" + ."\n" + .'* **new**: The SQL statement was waiting to be reviewed.'."\n" + .'* **unknown**: The SQL statement cannot be parsed.'."\n" + .'* **check_not_pass**: The SQL statement failed to pass the review.'."\n" + .'* **check_pass**: The SQL statement passed the review.'."\n" + .'* **force_pass**: The SQL statement passed the manual review.'."\n" + .'* **force_not_pass**: The SQL statement failed to pass the manual review.'."\n", 'type' => 'string', 'example' => 'check_pass', 'title' => ''], + 'StatusDesc' => ['description' => 'The description of the review status.'."\n", 'type' => 'string', 'example' => '检测通过', 'title' => ''], + 'CheckedTime' => ['description' => 'The time when the SQL statement was reviewed.'."\n", 'type' => 'string', 'example' => '2021-06-09 21:07:00', 'title' => ''], + 'SqlHash' => ['description' => 'The MD5 hash value that is obtained after the SQL statement is calculated by using a hash algorithm.'."\n", 'type' => 'string', 'example' => 'c7992dc1b681c6733894aded7834f423', 'title' => ''], + 'ReviewSummary' => ['description' => 'The statistics on the optimization suggestions for SQL statements. The value is a JSON string. Valid values:'."\n" + ."\n" + .'* **MUST_IMPROVE**: The SQL statements must be optimized.'."\n" + .'* **POTENTIAL_ISSUE**: The SQL statements contain potential issues.'."\n" + .'* **SUGGEST_IMPROVE**: We recommend that you optimize the SQL statements.'."\n" + .'* **USEDMSTOOLKIT**: We recommend that you change schemas without locking tables.'."\n" + .'* **USEDMSDML_UNLOCK**: We recommend that you change data without locking tables.'."\n" + .'* **TABLEINDEXSUGGEST**: We recommend that you optimize indexes for the SQL statements.'."\n", 'type' => 'string', 'example' => '{\\"SUGGEST_IMPROVE\\":2,\\"POTENTIAL_ISSUE\\":1}', 'title' => ''], + 'SQLReviewQueryKey' => ['description' => 'The key that is used to query the information about optimization suggestions. You can call the [GetSQLReviewOptimizeDetail](~~465919~~) operation to query the details based on this key.', 'type' => 'string', 'example' => '6e9a4bc6867a4174a96b23c8b48b****', 'title' => ''], + 'SQLName' => ['description' => 'The name of the SQL statement.'."\n", 'type' => 'string', 'example' => 'getByPk', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"90260530-565C-42B9-A6E8-893481FE6AB6\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"TemplateList\\": [\\n {\\n \\"TemplateId\\": 0,\\n \\"Name\\": \\"test\\",\\n \\"TemplateType\\": \\"USER_DEFINE\\",\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListClassificationTemplatesResponse>\\n <RequestId>90260530-565C-42B9-A6E8-893481FE6AB6</RequestId>\\n <Success>true</Success>\\n <TemplateList>\\n <Name>test</Name>\\n <TemplateType>USER_DEFINE</TemplateType>\\n <Remark>test</Remark>\\n </TemplateList>\\n</ListClassificationTemplatesResponse>","errorExample":""}]', - 'title' => 'ListClassificationTemplates', - ], - 'ListSensitiveDataAuditLog' => [ - 'summary' => 'Queries the audit logs for sensitive information.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListSQLReviewOriginSQL', + 'description' => 'For more information about the SQL review feature, see [SQL review](~~60374~~).'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSQLReviewOriginSQL', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0A00863F-6366-5583-9B96-891DC8D8F88A\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 1,\\n \\"OriginSQLList\\": [\\n {\\n \\"SQLId\\": 1111,\\n \\"FileId\\": 0,\\n \\"FileName\\": \\"test.sql\\",\\n \\"SQLContent\\": \\"CREATE TABLE `test_sql_review_table` (\\\\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\\\\n `gmt_create` datetime NOT NULL,\\\\n `name` varchar(256) DEFAULT NULL\\\\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\\",\\n \\"CheckStatus\\": \\"check_pass\\",\\n \\"StatusDesc\\": \\"检测通过\\",\\n \\"CheckedTime\\": \\"2021-06-09 21:07:00\\",\\n \\"SqlHash\\": \\"c7992dc1b681c6733894aded7834f423\\",\\n \\"ReviewSummary\\": \\"{\\\\\\\\\\\\\\"SUGGEST_IMPROVE\\\\\\\\\\\\\\":2,\\\\\\\\\\\\\\"POTENTIAL_ISSUE\\\\\\\\\\\\\\":1}\\",\\n \\"SQLReviewQueryKey\\": \\"6e9a4bc6867a4174a96b23c8b48b****\\",\\n \\"SQLName\\": \\"getByPk\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + ], + 'ListScenarios' => [ + 'summary' => 'Queries business scenarios.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -35620,275 +25916,245 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', + 'abilityTreeCode' => '149049', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The beginning of the time range for which you want to query the audit logs for sensitive information. Specify the time in the yyyy-MM-DD HH:mm:ss format.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-11-18 10:00:00', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ScenarioList' => [ + 'description' => 'The details of the returned business scenarios.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the business scenario.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '41***', 'title' => ''], + 'ScenarioName' => ['description' => 'The name of the business scenario.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who created the business scenario.'."\n", 'type' => 'string', 'example' => '23***', 'title' => ''], + 'Description' => ['description' => 'The description of the business scenario.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'ListScenarios', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range for which you want to query the audit logs for sensitive information. Specify the time in the yyyy-MM-DD HH:mm:ss format.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-11-18 11:00:00', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListScenarios', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"ScenarioList\\": [\\n {\\n \\"Id\\": 0,\\n \\"ScenarioName\\": \\"test\\",\\n \\"CreatorId\\": \\"23***\\",\\n \\"Description\\": \\"test\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListScenariosResponse>\\n <RequestId>7FAD400F-7A5C-4193-8F9A-39D86C4F0231</RequestId>\\n <Success>true</Success>\\n <ScenarioList>\\n <ScenarioName>test</ScenarioName>\\n <CreatorId>23***</CreatorId>\\n <Description>test</Description>\\n </ScenarioList>\\n</ListScenariosResponse>","errorExample":""}]', + ], + 'ListSensitiveColumnInfo' => [ + 'summary' => 'Queries the information about a sensitive field. The information includes the masking algorithm ID, masking algorithm name, and field security level.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ModuleName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The function module whose audit logs you want to query for sensitive data. If you do not specify this parameter, all audit logs are queried. Valid values:'."\n" - ."\n" - .'* **SQL_CONSOLE**: data query'."\n" - .'* **SQL_CONSOLE_EXPORT**: query result export'."\n" - .'* **DATA_CHANGE**: data change'."\n" - .'* **DATA_EXPORT**: data export'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SQL_CONSOLE', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '217034', + 'abilityTreeNodes' => ['FEATUREdmsG96PX9'], + ], + 'parameters' => [ [ - 'name' => 'OpUserName', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The username of the requester.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ExampleOpUserName', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the instance ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '183****', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'SchemaName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database that stores the sensitive data.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ExampleDbName', - ], + 'schema' => ['description' => 'The database name. You can also call the [SearchDatabase](~~141876~~) operation to query the name of the database.'."\n" + ."\n" + .'> You can also call the [ListDatabases](~~141873~~) operation to query the value of the SchemaName parameter of a physical database, or the [ListLogicDatabases](~~141874~~) operation to query the value of the SchemaName parameter of a logical database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_schema', 'title' => ''], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table that stores the sensitive data.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ExampleTableName', - ], + 'schema' => ['description' => 'The name of the table. You can call the [ListSensitiveColumns](~~188103~~) operation to query the table name.'."\n" + ."\n" + .'> You can also call the [ListTables](~~141878~~) operation to query the table name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_table', 'title' => ''], ], [ 'name' => 'ColumnName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the column that contains sensitive data.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ExampleColumnName', - ], + 'schema' => ['description' => 'The name of the sensitive field. You can call the [ListSensitiveColumns](~~188103~~) operation to query the name of the sensitive field.'."\n" + ."\n" + .'> You can also call the [ListColumns](~~141870~~) operation to query the name of the sensitive field.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_column', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Example: 100'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '100', - 'default' => '20', - ], + 'schema' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E0D21075-CD3E-4D98-8264-FD8AD04A63B6', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SensitiveDataAuditLogList' => [ - 'description' => 'The audit logs for sensitive data.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'UserName' => [ - 'description' => 'The username of the requester.'."\n", - 'type' => 'string', - 'example' => 'ExampleUserName', - ], - 'UserId' => [ - 'description' => 'The user ID of the requester.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1**', - ], - 'ModuleName' => [ - 'description' => 'The name of the function module whose audit logs were queried.'."\n", - 'type' => 'string', - 'example' => 'SQL_CONSOLE', - ], - 'DbDisplayName' => [ - 'description' => 'The name of the database that stores the sensitive data.'."\n", - 'type' => 'string', - 'example' => 'ExampleDbName@xxx.xxx.xxx.xxx:3306', - ], - 'OpTime' => [ - 'description' => 'The time when the operation was performed. The time is in the yyyy-MM-DD HH:mm:ss format.'."\n", - 'type' => 'string', - 'example' => '2022-11-18 10:01:00', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], - 'TargetName' => [ - 'description' => 'The details of the object on which the operation was performed. The value of this parameter is in one of the following formats:'."\n" - ."\n" - .'* Object name - object ID'."\n" - .'* Object name (object ID)'."\n", - 'type' => 'string', - 'example' => 'Ticket - 1\\*\\*\\*\\*'."\n", - ], - 'SensitiveDataLog' => [ - 'description' => 'The logs for sensitive data.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TableName' => [ - 'description' => 'The name of the table that stores the sensitive data.'."\n", - 'type' => 'string', - 'example' => 'ExampleTableName', - ], - 'ColumnName' => [ - 'description' => 'The name of the column that contains sensitive data.'."\n", - 'type' => 'string', - 'example' => 'ExampleColumnName', - ], - 'SecurityLevel' => [ - 'description' => 'The sensitivity level of the data. Valid values:'."\n" - ."\n" - .'* **Low**'."\n" - .'* **Medium**'."\n" - .'* **High**'."\n", - 'type' => 'string', - 'example' => 'Low'."\n", - ], - 'ColumnPermissionType' => [ - 'description' => 'The permission that the user has on the column. Valid values:'."\n" - ."\n" - .'* **No permission**'."\n" - .'* **Partial redaction**'."\n" - .'* **Plaintext**'."\n" - .'* **Change**'."\n" - .'* **Enable data masking**'."\n" - .'* **Disable data masking**'."\n", - 'type' => 'string', - 'example' => 'Change'."\n", + 'RequestId' => ['description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'SensitiveColumnList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SensitiveColumn' => [ + 'description' => 'The details of the sensitive field.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the field.'."\n", + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '183****', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'test_schema', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'test_table', 'title' => ''], + 'ColumnName' => ['description' => 'The name of the sensitive field.'."\n", 'type' => 'string', 'example' => 'test_column', 'title' => ''], + 'CategoryName' => ['description' => 'The name of the category.'."\n", 'type' => 'string', 'example' => '默认分类', 'title' => ''], + 'IsPlain' => ['description' => 'Indicates whether the sensitive field is displayed in plaintext.'."\n", 'type' => 'boolean', 'example' => 'False', 'title' => ''], + 'SecurityLevel' => ['description' => 'The sensitivity level of the field. Valid values:'."\n" + ."\n" + .'* Low'."\n" + .'* Medium'."\n" + .'* High'."\n", 'type' => 'string', 'example' => '低', 'title' => ''], + 'UserSensitivityLevel' => ['description' => 'The user-defined sensitivity level.'."\n", 'type' => 'string', 'example' => 'S1', 'title' => ''], + 'SampleData' => ['description' => 'The sample data.'."\n", 'type' => 'string', 'example' => '西安市', 'title' => ''], + 'DefaultDesensitizationRule' => [ + 'description' => 'The information about the default masking algorithm.'."\n", + 'type' => 'object', + 'properties' => [ + 'RuleId' => ['description' => 'The masking algorithm ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '101**', 'title' => ''], + 'RuleName' => ['description' => 'The masking algorithm name.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], ], - 'DesensitizationRule' => [ - 'description' => 'The algorithm used for data masking.'."\n", - 'type' => 'string', - 'example' => 'Default - Full redaction'."\n", + 'title' => '', + 'example' => '', + ], + 'SemiDesensitizationRuleList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SemiDesensitizationRule' => [ + 'description' => 'The list of partial masking algorithms.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the partial masking algorithm.'."\n", + 'type' => 'object', + 'properties' => [ + 'RuleId' => ['description' => 'The ID of the partial masking algorithm.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10***', 'title' => ''], + 'RuleName' => ['description' => 'The partial masking algorithm name.'."\n", 'type' => 'string', 'example' => 'test01', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries that are returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"SensitiveColumnList\\": {\\n \\"SensitiveColumn\\": [\\n {\\n \\"InstanceId\\": 0,\\n \\"SchemaName\\": \\"test_schema\\",\\n \\"TableName\\": \\"test_table\\",\\n \\"ColumnName\\": \\"test_column\\",\\n \\"CategoryName\\": \\"默认分类\\",\\n \\"IsPlain\\": true,\\n \\"SecurityLevel\\": \\"低\\",\\n \\"UserSensitivityLevel\\": \\"S1\\",\\n \\"SampleData\\": \\"西安市\\",\\n \\"DefaultDesensitizationRule\\": {\\n \\"RuleId\\": 0,\\n \\"RuleName\\": \\"test\\"\\n },\\n \\"SemiDesensitizationRuleList\\": {\\n \\"SemiDesensitizationRule\\": [\\n {\\n \\"RuleId\\": 0,\\n \\"RuleName\\": \\"test01\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"TotalCount\\": 1\\n}","type":"json"}]', + 'title' => 'ListSensitiveColumnInfo', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSensitiveColumnInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E0D21075-CD3E-4D98-8264-FD8AD04A63B6\\",\\n \\"TotalCount\\": 100,\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"SensitiveDataAuditLogList\\": [\\n {\\n \\"UserName\\": \\"ExampleUserName\\",\\n \\"UserId\\": 0,\\n \\"ModuleName\\": \\"SQL_CONSOLE\\",\\n \\"DbDisplayName\\": \\"ExampleDbName@xxx.xxx.xxx.xxx:3306\\",\\n \\"OpTime\\": \\"2022-11-18 10:01:00\\",\\n \\"InstanceId\\": 0,\\n \\"TargetName\\": \\"工单 - 1****\\",\\n \\"SensitiveDataLog\\": [\\n {\\n \\"TableName\\": \\"ExampleTableName\\",\\n \\"ColumnName\\": \\"ExampleColumnName\\",\\n \\"SecurityLevel\\": \\"低敏感\\",\\n \\"ColumnPermissionType\\": \\"变更权限\\",\\n \\"DesensitizationRule\\": \\"系统默认-全遮掩\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListSensitiveDataAuditLogResponse>\\n <RequestId>E0D21075-CD3E-4D98-8264-FD8AD04A63B6</RequestId>\\n <TotalCount>100</TotalCount>\\n <Success>true</Success>\\n <SensitiveDataAuditLogList>\\n <UserName>ExampleUserName</UserName>\\n <ModuleName>SQL_CONSOLE</ModuleName>\\n <DbDisplayName>ExampleDbName@xxx.xxx.xxx.xxx:3306</DbDisplayName>\\n <OpTime>2022-11-18 10:01:00</OpTime>\\n <TargetName>工单 - 1****</TargetName>\\n <SensitiveDataLog>\\n <TableName>ExampleTableName</TableName>\\n <ColumnName>ExampleColumnName</ColumnName>\\n <SecurityLevel>低敏感</SecurityLevel>\\n <ColumnPermissionType>变更权限</ColumnPermissionType>\\n <DesensitizationRule>系统默认-全遮掩</DesensitizationRule>\\n </SensitiveDataLog>\\n </SensitiveDataAuditLogList>\\n</ListSensitiveDataAuditLogResponse>","errorExample":""}]', - 'title' => 'ListSensitiveDataAuditLog', ], 'ListSensitiveColumns' => [ 'summary' => 'Queries sensitive fields in a table of a database.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -35896,118 +26162,64 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3', 'title' => ''], ], [ 'name' => 'SchemaName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database. You can call the [SearchDatabase](~~141876~~) operation to query the name of the database.'."\n" - ."\n" - .'> You can also call the [ListDatabases](~~141873~~) operation to query the name of a physical database and the [ListLogicDatabases](~~141874~~) operation to query the name of a logical database.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'test_schema', - ], + 'schema' => ['description' => 'The name of the database. You can call the [SearchDatabase](~~141876~~) operation to query the name of the database.'."\n" + ."\n" + .'> You can also call the [ListDatabases](~~141873~~) operation to query the name of a physical database and the [ListLogicDatabases](~~141874~~) operation to query the name of a logical database.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test_schema', 'title' => ''], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table. You can call the [ListTables](~~141878~~) operation to query the ID of the table.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'test_table', - ], + 'schema' => ['description' => 'The name of the table. You can call the [ListTables](~~141878~~) operation to query the ID of the table.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test_table', 'title' => ''], ], [ 'name' => 'ColumnName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the field. You can call the [ListColumns](~~141870~~) operation to query the name of the field.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_column', - ], + 'schema' => ['description' => 'The name of the field. You can call the [ListColumns](~~141870~~) operation to query the name of the field.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_column', 'title' => ''], ], [ 'name' => 'SecurityLevel', 'in' => 'query', - 'schema' => [ - 'description' => 'The sensitivity level of the field. Valid values:'."\n" - ."\n" - .'* SENSITIVE: medium sensitivity level'."\n" - .'* CONFIDENTIAL: high sensitivity level'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SENSITIVE', - ], + 'schema' => ['description' => 'The sensitivity level of the field. Valid values:'."\n" + ."\n" + .'* SENSITIVE: medium sensitivity level'."\n" + .'* CONFIDENTIAL: high sensitivity level'."\n", 'type' => 'string', 'required' => false, 'example' => 'SENSITIVE', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], ], [ 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database. You can call the [SearchDatabase](~~141876~~) operation to query the ID of the database.'."\n" - ."\n" - .'> You can also call the [ListDatabases](~~141873~~) operation to query the ID of the physical database and the [ListLogicDatabases](~~141874~~) operation to query the ID of a logical database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1860', - ], + 'schema' => ['description' => 'The ID of the database. You can call the [SearchDatabase](~~141876~~) operation to query the ID of the database.'."\n" + ."\n" + .'> You can also call the [ListDatabases](~~141873~~) operation to query the ID of the physical database and the [ListLogicDatabases](~~141874~~) operation to query the ID of a logical database.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1860', 'title' => ''], ], [ 'name' => 'Logic', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* true: The database is a logical database.'."\n" - .'* false: The database is a physical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* true: The database is a logical database.'."\n" + .'* false: The database is a physical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ @@ -36015,27 +26227,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of returned entries.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '09D82FD7-F87F-59EF-AA82-AEF71B09E306', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], + 'TotalCount' => ['description' => 'The total number of returned entries.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '09D82FD7-F87F-59EF-AA82-AEF71B09E306', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], 'SensitiveColumnList' => [ 'type' => 'object', 'itemNode' => true, @@ -36047,74 +26242,64 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ColumnName' => [ - 'description' => 'The name of the field.'."\n", - 'type' => 'string', - 'example' => 'test_column', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'test_table', - ], - 'SecurityLevel' => [ - 'description' => 'The sensitivity level of the field. Valid values:'."\n" - ."\n" - .'* SENSITIVE'."\n" - .'* CONFIDENTIAL'."\n", - 'type' => 'string', - 'example' => 'SENSITIVE', - ], - 'ColumnCount' => [ - 'description' => 'The number of sensitive fields.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'test_schema', - ], - 'FunctionType' => [ - 'description' => 'The type of the de-identification algorithm. Valid values:'."\n" - ."\n" - .'* DEFAULT: All characters are masked. This is the default value.'."\n" - .'* FIX_POS: The characters at specific positions are masked.'."\n" - .'* FIX_CHAR: Specific characters are masked.'."\n", - 'type' => 'string', - 'example' => 'DEFAULT', - ], + 'ColumnName' => ['description' => 'The name of the field.'."\n", 'type' => 'string', 'example' => 'test_column', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'test_table', 'title' => ''], + 'SecurityLevel' => ['description' => 'The sensitivity level of the field. Valid values:'."\n" + ."\n" + .'* SENSITIVE'."\n" + .'* CONFIDENTIAL'."\n", 'type' => 'string', 'example' => 'SENSITIVE', 'title' => ''], + 'ColumnCount' => ['description' => 'The number of sensitive fields.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'test_schema', 'title' => ''], + 'FunctionType' => ['description' => 'The type of the de-identification algorithm. Valid values:'."\n" + ."\n" + .'* DEFAULT: All characters are masked. This is the default value.'."\n" + .'* FIX_POS: The characters at specific positions are masked.'."\n" + .'* FIX_CHAR: Specific characters are masked.'."\n", 'type' => 'string', 'example' => 'DEFAULT', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'- true: The request is successful.'."\n" - .'- false: The request fails.', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + .'- false: The request fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"09D82FD7-F87F-59EF-AA82-AEF71B09E306\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"SensitiveColumnList\\": {\\n \\"SensitiveColumn\\": [\\n {\\n \\"ColumnName\\": \\"test_column\\",\\n \\"TableName\\": \\"test_table\\",\\n \\"SecurityLevel\\": \\"SENSITIVE\\",\\n \\"ColumnCount\\": 1,\\n \\"SchemaName\\": \\"test_schema\\",\\n \\"FunctionType\\": \\"DEFAULT\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListSensitiveColumnsResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>09D82FD7-F87F-59EF-AA82-AEF71B09E306</RequestId>\\n <SensitiveColumnList>\\n <ColumnName>test_column</ColumnName>\\n <TableName>test_table</TableName>\\n <SecurityLevel>SENSITIVE</SecurityLevel>\\n <ColumnCount>1</ColumnCount>\\n <SchemaName>test_schema</SchemaName>\\n <FunctionType>DEFAULT</FunctionType>\\n </SensitiveColumnList>\\n <Success>true</Success>\\n</ListSensitiveColumnsResponse>","errorExample":""}]', 'title' => 'ListSensitiveColumns', + 'description' => '此API已废弃,文档不再维护,建议您使用[ListSensitiveColumnInfo](~~2539519~~)接口获取敏感字段的脱敏算法相关信息。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSensitiveColumns', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"09D82FD7-F87F-59EF-AA82-AEF71B09E306\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"SensitiveColumnList\\": {\\n \\"SensitiveColumn\\": [\\n {\\n \\"ColumnName\\": \\"test_column\\",\\n \\"TableName\\": \\"test_table\\",\\n \\"SecurityLevel\\": \\"SENSITIVE\\",\\n \\"ColumnCount\\": 1,\\n \\"SchemaName\\": \\"test_schema\\",\\n \\"FunctionType\\": \\"DEFAULT\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListSensitiveColumnsResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>09D82FD7-F87F-59EF-AA82-AEF71B09E306</RequestId>\\n <SensitiveColumnList>\\n <ColumnName>test_column</ColumnName>\\n <TableName>test_table</TableName>\\n <SecurityLevel>SENSITIVE</SecurityLevel>\\n <ColumnCount>1</ColumnCount>\\n <SchemaName>test_schema</SchemaName>\\n <FunctionType>DEFAULT</FunctionType>\\n </SensitiveColumnList>\\n <Success>true</Success>\\n</ListSensitiveColumnsResponse>","errorExample":""}]', ], 'ListSensitiveColumnsDetail' => [ 'summary' => 'Queries the details of a sensitive field.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -36122,88 +26307,50 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ 'name' => 'SchemaName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the name of the database.'."\n" - ."\n" - .'> * You can also call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the name of a physical database.'."\n" - .'> * You can also call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation to obtain the name of a logical database.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'SchemaName_test', - ], + 'schema' => ['description' => 'The name of the database. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the name of the database.'."\n" + ."\n" + .'> * You can also call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the name of a physical database.'."\n" + .'> * You can also call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation to obtain the name of a logical database.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'SchemaName_test', 'title' => ''], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the name of the table.'."\n" - ."\n" - .'> You can also call the [ListTables](~~141878~~) operation to obtain the name of the table.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'The name of the table. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the name of the table.'."\n" + ."\n" + .'> You can also call the [ListTables](~~141878~~) operation to obtain the name of the table.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'ColumnName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the field. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the name of the field.'."\n" - ."\n" - .'> You can also call the [ListColumns](~~141870~~) operation to obtain the name of the field.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ColumnName_test', - ], + 'schema' => ['description' => 'The name of the field. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the name of the field.'."\n" + ."\n" + .'> You can also call the [ListColumns](~~141870~~) operation to obtain the name of the field.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ColumnName_test', 'title' => ''], ], [ 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database. The database can be a physical database or a logical database.'."\n" - ."\n" - .'* To obtain the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" - .'* To obtain the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1860****', - ], + 'schema' => ['description' => 'The ID of the database. The database can be a physical database or a logical database.'."\n" + ."\n" + .'* To obtain the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" + .'* To obtain the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1860****', 'title' => ''], ], [ 'name' => 'Logic', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is a physical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ @@ -36211,11 +26358,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7629888F-C9FB-4D16-A7D3-B443FE06FBD4', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '7629888F-C9FB-4D16-A7D3-B443FE06FBD4', 'title' => ''], 'SensitiveColumnsDetailList' => [ 'type' => 'object', 'itemNode' => true, @@ -36227,103 +26370,68 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'DbId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1860****', - ], - 'ColumnName' => [ - 'description' => 'The name of the field.'."\n", - 'type' => 'string', - 'example' => 'ColumnName_test', - ], - 'ColumnDescription' => [ - 'description' => 'The description of the field.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'DbType' => [ - 'description' => 'The type of the database.'."\n", - 'type' => 'string', - 'example' => 'mysql', - ], - 'ColumnType' => [ - 'description' => 'The data type of the field.'."\n", - 'type' => 'string', - 'example' => 'varchar(32)', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database.'."\n" - .'* **false**: The database is not a logical database.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'SchemaName_test', - ], - 'SearchName' => [ - 'description' => 'The name that is used to search for the database.'."\n", - 'type' => 'string', - 'example' => 'test@xxx:3306', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database belongs.'."\n", - 'type' => 'string', - 'example' => 'product', - ], + 'DbId' => ['description' => 'The ID of the database.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1860****', 'title' => ''], + 'ColumnName' => ['description' => 'The name of the field.'."\n", 'type' => 'string', 'example' => 'ColumnName_test', 'title' => ''], + 'ColumnDescription' => ['description' => 'The description of the field.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'DbType' => ['description' => 'The type of the database.'."\n", 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'ColumnType' => ['description' => 'The data type of the field.'."\n", 'type' => 'string', 'example' => 'varchar(32)', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is not a logical database.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'SchemaName_test', 'title' => ''], + 'SearchName' => ['description' => 'The name that is used to search for the database.'."\n", 'type' => 'string', 'example' => 'test@xxx:3306', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the database belongs.'."\n", 'type' => 'string', 'example' => 'product', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'ErrorCode' => [ - 'description' => 'The error code returned.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - ], + 'ErrorCode' => ['description' => 'The error code returned.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7629888F-C9FB-4D16-A7D3-B443FE06FBD4\\",\\n \\"SensitiveColumnsDetailList\\": {\\n \\"SensitiveColumnsDetail\\": [\\n {\\n \\"DbId\\": 0,\\n \\"ColumnName\\": \\"ColumnName_test\\",\\n \\"ColumnDescription\\": \\"test\\",\\n \\"TableName\\": \\"test\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"ColumnType\\": \\"varchar(32)\\",\\n \\"Logic\\": false,\\n \\"SchemaName\\": \\"SchemaName_test\\",\\n \\"SearchName\\": \\"test@xxx:3306\\",\\n \\"EnvType\\": \\"product\\"\\n }\\n ]\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListSensitiveColumnsDetailResponse>\\n <RequestId>7629888F-C9FB-4D16-A7D3-B443FE06FBD4</RequestId>\\n <SensitiveColumnsDetailList>\\n <ColumnName>ColumnName_test</ColumnName>\\n <ColumnDescription>test</ColumnDescription>\\n <TableName>test</TableName>\\n <DbType>mysql</DbType>\\n <ColumnType>varchar(32)</ColumnType>\\n <Logic>false</Logic>\\n <SchemaName>SchemaName_test</SchemaName>\\n <SearchName>test@xxx:3306</SearchName>\\n <EnvType>product</EnvType>\\n </SensitiveColumnsDetailList>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</ListSensitiveColumnsDetailResponse>","errorExample":""}]', 'title' => 'ListSensitiveColumnsDetail', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ChangeColumnSecLevel' => [ - 'summary' => 'Adjusts the sensitivity level of fields.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSensitiveColumnsDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7629888F-C9FB-4D16-A7D3-B443FE06FBD4\\",\\n \\"SensitiveColumnsDetailList\\": {\\n \\"SensitiveColumnsDetail\\": [\\n {\\n \\"DbId\\": 0,\\n \\"ColumnName\\": \\"ColumnName_test\\",\\n \\"ColumnDescription\\": \\"test\\",\\n \\"TableName\\": \\"test\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"ColumnType\\": \\"varchar(32)\\",\\n \\"Logic\\": false,\\n \\"SchemaName\\": \\"SchemaName_test\\",\\n \\"SearchName\\": \\"test@xxx:3306\\",\\n \\"EnvType\\": \\"product\\"\\n }\\n ]\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListSensitiveColumnsDetailResponse>\\n <RequestId>7629888F-C9FB-4D16-A7D3-B443FE06FBD4</RequestId>\\n <SensitiveColumnsDetailList>\\n <ColumnName>ColumnName_test</ColumnName>\\n <ColumnDescription>test</ColumnDescription>\\n <TableName>test</TableName>\\n <DbType>mysql</DbType>\\n <ColumnType>varchar(32)</ColumnType>\\n <Logic>false</Logic>\\n <SchemaName>SchemaName_test</SchemaName>\\n <SearchName>test@xxx:3306</SearchName>\\n <EnvType>product</EnvType>\\n </SensitiveColumnsDetailList>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</ListSensitiveColumnsDetailResponse>","errorExample":""}]', + ], + 'ListSensitiveDataAuditLog' => [ + 'summary' => 'Queries the audit logs for sensitive information.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -36331,240 +26439,201 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '43253', - ], + 'schema' => ['description' => 'The beginning of the time range for which you want to query the audit logs for sensitive information. Specify the time in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-11-18 10:00:00', 'title' => ''], ], [ - 'name' => 'DbId', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database. You can call the [SearchDatabase](~~141876~~) operation to obtain the ID of the database.'."\n" - ."\n" - .'> You can also call the [ListDatabases](~~141873~~) operation to obtain the ID of a physical database and the [ListLogicDatabases](~~141874~~) operation to obtain the ID of a logical database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '325', - ], + 'schema' => ['description' => 'The end of the time range for which you want to query the audit logs for sensitive information. Specify the time in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-11-18 11:00:00', 'title' => ''], ], [ - 'name' => 'IsLogic', + 'name' => 'ModuleName', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* true: The database is a physical database.'."\n" - .'* false: The database is a logical database.'."\n", - 'type' => 'boolean', - 'required' => true, - 'example' => 'false', - ], + 'schema' => ['description' => 'The function module whose audit logs you want to query for sensitive data. If you do not specify this parameter, all audit logs are queried. Valid values:'."\n" + ."\n" + .'* **SQL_CONSOLE**: data query'."\n" + .'* **SQL_CONSOLE_EXPORT**: query result export'."\n" + .'* **DATA_CHANGE**: data change'."\n" + .'* **DATA_EXPORT**: data export'."\n", 'type' => 'string', 'required' => false, 'example' => 'SQL_CONSOLE', 'title' => ''], ], [ - 'name' => 'SchemaName', + 'name' => 'OpUserName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the name of the database.'."\n" - ."\n" - .'* You can also call the [SearchDatabase](~~141876~~) operation to obtain the name of the database.'."\n" - .'* You can also call the [ListDatabases](~~141873~~) operation to obtain the name of a physical database and the [ListLogicDatabases](~~141874~~) operation to obtain the name of a logical database.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_schema', - ], + 'schema' => ['description' => 'The username of the requester.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ExampleOpUserName', 'title' => ''], + ], + [ + 'name' => 'DbName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the database that stores the sensitive data.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ExampleDbName', 'title' => ''], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the name of the table.'."\n" - ."\n" - .'> You can also call the [ListTables](~~141878~~) operation to obtain the name of the table.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_table', - ], + 'schema' => ['description' => 'The name of the table that stores the sensitive data.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ExampleTableName', 'title' => ''], ], [ 'name' => 'ColumnName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the field. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the name of the field.'."\n" - ."\n" - .'> You can also call the [ListColumns](~~141870~~) operation to obtain the name of the field.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_column', - ], + 'schema' => ['description' => 'The name of the column that contains sensitive data.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ExampleColumnName', 'title' => ''], ], [ - 'name' => 'NewLevel', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '新的敏感等级', - 'description' => 'The new sensitivity level of the field that you want to specify. Valid values:'."\n" - ."\n" - .'* INNER: low sensitivity level'."\n" - .'* SENSITIVE: medium sensitivity level'."\n" - .'* CONFIDENTIAL: high sensitivity level'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'SENSITIVE', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Example: 100'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '100', 'default' => '20', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'false', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'E0D21075-CD3E-4D98-8264-FD8AD04A63B6'], + 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SensitiveDataAuditLogList' => [ + 'description' => 'The audit logs for sensitive data.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UserName' => ['description' => 'The username of the requester.'."\n", 'type' => 'string', 'example' => 'ExampleUserName', 'title' => ''], + 'UserId' => ['description' => 'The user ID of the requester.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1**', 'title' => ''], + 'ModuleName' => ['description' => 'The name of the function module whose audit logs were queried.'."\n", 'type' => 'string', 'example' => 'SQL_CONSOLE', 'title' => ''], + 'DbDisplayName' => ['description' => 'The name of the database that stores the sensitive data.'."\n", 'type' => 'string', 'example' => 'ExampleDbName@xxx.xxx.xxx.xxx:3306', 'title' => ''], + 'OpTime' => ['description' => 'The time when the operation was performed. The time is in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'example' => '2022-11-18 10:01:00', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12****', 'title' => ''], + 'TargetName' => ['description' => 'The details of the object on which the operation was performed. The value of this parameter is in one of the following formats:'."\n" + ."\n" + .'* Object name - object ID'."\n" + .'* Object name (object ID)'."\n", 'type' => 'string', 'example' => 'Ticket-1****', 'title' => ''], + 'SensitiveDataLog' => [ + 'description' => 'The logs for sensitive data.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TableName' => ['description' => 'The name of the table that stores the sensitive data.'."\n", 'type' => 'string', 'example' => 'ExampleTableName', 'title' => ''], + 'ColumnName' => ['description' => 'The name of the column that contains sensitive data.'."\n", 'type' => 'string', 'example' => 'ExampleColumnName', 'title' => ''], + 'SecurityLevel' => ['description' => 'The sensitivity level of the data. Valid values:'."\n" + ."\n" + .'* **Low**'."\n" + .'* **Medium**'."\n" + .'* **High**'."\n", 'type' => 'string', 'example' => '低敏感', 'title' => ''], + 'ColumnPermissionType' => ['description' => 'The permission that the user has on the column. Valid values:'."\n" + ."\n" + .'* **No permission**'."\n" + .'* **Partial redaction**'."\n" + .'* **Plaintext**'."\n" + .'* **Change**'."\n" + .'* **Enable data masking**'."\n" + .'* **Disable data masking**'."\n", 'type' => 'string', 'example' => '变更权限', 'title' => ''], + 'DesensitizationRule' => ['description' => 'The algorithm used for data masking.'."\n", 'type' => 'string', 'example' => '系统默认-全遮掩', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"<ChangeColumnSecLevelResponse>\\n <RequestId>C51420E3-144A-4A94-B473-8662FCF4AD10</RequestId>\\n <Success>false</Success>\\n</ChangeColumnSecLevelResponse>","errorExample":""}]', - 'title' => 'ChangeColumnSecLevel', - ], - 'ChangeColumnSecurityLevel' => [ - 'summary' => 'Changes the security level of a column.', - 'methods' => [ - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E0D21075-CD3E-4D98-8264-FD8AD04A63B6\\",\\n \\"TotalCount\\": 100,\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"SensitiveDataAuditLogList\\": [\\n {\\n \\"UserName\\": \\"ExampleUserName\\",\\n \\"UserId\\": 0,\\n \\"ModuleName\\": \\"SQL_CONSOLE\\",\\n \\"DbDisplayName\\": \\"ExampleDbName@xxx.xxx.xxx.xxx:3306\\",\\n \\"OpTime\\": \\"2022-11-18 10:01:00\\",\\n \\"InstanceId\\": 0,\\n \\"TargetName\\": \\"Ticket-1****\\",\\n \\"SensitiveDataLog\\": [\\n {\\n \\"TableName\\": \\"ExampleTableName\\",\\n \\"ColumnName\\": \\"ExampleColumnName\\",\\n \\"SecurityLevel\\": \\"低敏感\\",\\n \\"ColumnPermissionType\\": \\"变更权限\\",\\n \\"DesensitizationRule\\": \\"系统默认-全遮掩\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListSensitiveDataAuditLog', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSensitiveDataAuditLog'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSensitiveDataAuditLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListSensitivityLevel' => [ + 'summary' => 'Queries the sensitivity levels of a classification template.', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) in the topic "Manage DMS tenants."'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20***', 'title' => ''], ], [ - 'name' => 'DbId', + 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'The database ID. The database can be a physical database or a logical database.'."\n" - ."\n" - .'* The ID of a physical database: You can call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the physical database ID.'."\n" - .'* To obtain the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '325**', - ], + 'schema' => ['description' => 'The ID of the classification template. You can call the [ListClassificationTemplates](~~460613~~) operation to query the ID of the classification template.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '15**', 'title' => ''], ], [ - 'name' => 'IsLogic', + 'name' => 'TemplateType', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + 'description' => 'The type of the classification template. You can call the [ListClassificationTemplates](~~460613~~) operation to query the type of the classification template.'."\n" ."\n" - .'* **true**: The database is a logical database'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'required' => true, - 'example' => 'false', - ], - ], - [ - 'name' => 'SchemaName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The database name. You can call the [ListSensitiveColumns](~~188103~~) or [SearchDatabase](~~141876~~) operation to query the database name.'."\n" + .'Valid values:'."\n" ."\n" - .'> You can call the [ListDatabases](~~141873~~) operation to query the name of a physical database and call the [ListLogicDatabases](~~141874~~) operation to query the name of a logical database.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_schema', - ], - ], - [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table. You can call the [ListSensitiveColumns](~~188103~~) or [ListTables](~~141878~~) operation to query the table name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_table', - ], - ], - [ - 'name' => 'ColumnName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the field. You can call the [ListSensitiveColumns](~~188103~~) or [ListColumns](~~141870~~) operation to query the column name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_column', - ], - ], - [ - 'name' => 'NewSensitivityLevel', - 'in' => 'query', - 'schema' => [ - 'description' => 'The new security level of the column. The valid values are the same as the sensitivity levels of the classification template that is associated with the instance. You can call the [ListSensitivityLevel](~~2539519~~) operation to obtain the sensitivity levels of the classification template.'."\n", + .'* USER_DEFINE: a custom template.'."\n" + .'* INNER: a built-in template.', 'type' => 'string', - 'required' => true, - 'example' => 'S2', + 'required' => false, + 'enumValueTitles' => ['USER_DEFINE' => '', 'INNER' => ''], + 'example' => 'INNER', + 'title' => '', ], ], ], @@ -36575,50 +26644,74 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'E103C5F9-DE47-53F2-BF34-D71DF38F****', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The status code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'SensitivityLevelList' => [ + 'description' => 'The sensitivity levels.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the sensitive level.'."\n", 'type' => 'string', 'example' => 'S2', 'title' => ''], + 'TemplateId' => ['description' => 'The ID of the classification template.'."\n", 'type' => 'string', 'example' => '1070', 'title' => ''], + 'TemplateType' => [ + 'description' => 'The type of the classification template. Valid values:'."\n" + ."\n" + .'* **INNER**: a built-in template.'."\n" + .'* **USER_DEFINE**: a custom template.'."\n", + 'type' => 'string', + 'enumValueTitles' => ['USER_DEFINE' => '', 'INNER' => ''], + 'example' => 'INNER', + 'enum' => ['INNER', 'USER_DEFINE'], + 'title' => '', + ], + 'IsPlain' => [ + 'description' => 'Indicates whether the fields of the sensitive level are displayed in plaintext.', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], + 'example' => 'true', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListSensitivityLevel', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSensitivityLevel', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E103C5F9-DE47-53F2-BF34-D71DF38F****\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'ChangeColumnSecurityLevel', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"SensitivityLevelList\\": [\\n {\\n \\"Name\\": \\"S2\\",\\n \\"TemplateId\\": \\"1070\\",\\n \\"TemplateType\\": \\"INNER\\",\\n \\"IsPlain\\": true\\n }\\n ]\\n}","type":"json"}]', ], - 'GetClassificationTemplate' => [ - 'summary' => 'Queries the information about the classification and grading template associated with an instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListStandardGroups' => [ + 'summary' => 'Queries security rule sets.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -36626,114 +26719,84 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the instance ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '169****', - ], - ], - [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '23***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ClassificationResourceTemplateMap' => [ - 'description' => 'The information about the classification template that is associated to the instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'TemplateId' => [ - 'description' => 'The ID of the classification and grading template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3***', - ], - 'TemplateType' => [ - 'description' => 'The type of the classification and grading template. Valid values:'."\n" + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'xxx', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'StandardGroupList' => [ + 'description' => 'The security rule sets returned.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'GroupName' => ['title' => '', 'description' => 'The name of the security rule set.'."\n", 'type' => 'string', 'example' => 'Finance-production'], + 'Description' => ['description' => 'The description of the security rule set.'."\n", 'type' => 'string', 'example' => 'Finance production environment instance rule', 'title' => ''], + 'DbType' => ['description' => 'The type of the database engine. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'LastMenderId' => ['description' => 'The ID of the user who queries the security sets.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '51****', 'title' => ''], + 'GroupMode' => ['description' => 'The control mode. Valid values:'."\n" ."\n" - .'* **INNER**: a built-in template.'."\n" - .'* **USER_DEFINE**: a custom template.'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'USER_DEFINE' => 'USER_DEFINE', - 'INNER' => 'INNER', - ], - 'example' => 'INNER', - ], - 'ResourceId' => [ - 'description' => 'The ID of the resource. The supported resource type is INSTANCE. The resource ID corresponds to the value of InstanceId. You can call the [ListInstances](~~141936~~) operation to obtain the value of InstanceId.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24****', - ], - 'ResourceType' => [ - 'description' => 'The resource type. The value is fixed as **INSTANCE**.'."\n", - 'type' => 'string', - 'example' => 'INSTANCE', + .'* **NONE_CONTROL**: Flexible Management'."\n" + .'* **STABLE**: Stable Change'."\n" + .'* **COMMON**: Security Collaboration'."\n", 'type' => 'string', 'example' => 'COMMON', 'title' => ''], + 'GroupId' => ['description' => 'The ID of the security rule set.', 'type' => 'integer', 'format' => 'int64', 'example' => '41****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ClassificationResourceTemplateMap\\": {\\n \\"TemplateId\\": 0,\\n \\"TemplateType\\": \\"INNER\\",\\n \\"ResourceId\\": 0,\\n \\"ResourceType\\": \\"INSTANCE\\"\\n },\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'GetClassificationTemplate', - ], - 'ListSensitivityLevel' => [ - 'summary' => 'Queries the sensitivity levels of a classification template.', - 'methods' => [ - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"xxx\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"StandardGroupList\\": [\\n {\\n \\"GroupName\\": \\"Finance-production\\",\\n \\"Description\\": \\"Finance production environment instance rule\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"LastMenderId\\": 0,\\n \\"GroupMode\\": \\"COMMON\\",\\n \\"GroupId\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListStandardGroups', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListStandardGroups'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListStandardGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListTableColumns' => [ + 'summary' => 'Queries the details about fields in a table.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -36742,149 +26805,132 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) in the topic "Manage DMS tenants."'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20***', - ], + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'TemplateId', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the classification template. You can call the [ListClassificationTemplates](~~460613~~) operation to query the ID of the classification template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '15**', - ], + 'schema' => ['description' => 'The ID of a physical database: You can call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the physical database ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '123', 'title' => ''], ], [ - 'name' => 'TemplateType', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the classification template. You can call the [ListClassificationTemplates](~~460613~~) operation to query the type of the classification template.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* USER_DEFINE: a custom template.'."\n" - .'* INNER: a built-in template.', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'USER_DEFINE' => '', - 'INNER' => '', - ], - 'example' => 'INNER', - ], + 'schema' => ['description' => 'The table name.'."\n" + ."\n" + .'> You can also call the [ListTables](~~141878~~) operation to query the table name.'."\n", 'type' => 'string', 'required' => true, 'example' => '100g_customer', 'title' => ''], + ], + [ + 'name' => 'TableSchemaName', + 'in' => 'query', + 'schema' => ['description' => 'The schema name of the table, which is required only for SQL Server instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'dbo', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The status code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'SensitivityLevelList' => [ - 'description' => 'The sensitivity levels.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the sensitive level.'."\n", - 'type' => 'string', - 'example' => 'S2', - ], - 'TemplateId' => [ - 'description' => 'The ID of the classification template.'."\n", - 'type' => 'string', - 'example' => '1070', - ], - 'TemplateType' => [ - 'description' => 'The type of the classification template. Valid values:'."\n" - ."\n" - .'* **INNER**: a built-in template.'."\n" - .'* **USER_DEFINE**: a custom template.'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'USER_DEFINE' => '', - 'INNER' => '', - ], - 'example' => 'INNER', - 'enum' => [ - 'INNER', - 'USER_DEFINE', - ], - ], - 'IsPlain' => [ - 'description' => 'Indicates whether the fields of the sensitive level are displayed in plaintext.', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => 'true', - 'false' => 'false', + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ColumnList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Column' => [ + 'description' => 'The details about fields in the table.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ColumnId' => ['description' => 'The ID of the field.'."\n", 'type' => 'string', 'example' => '12345', 'title' => ''], + 'ColumnType' => ['description' => 'The data type of the field.'."\n", 'type' => 'string', 'example' => 'varchar', 'title' => ''], + 'Description' => ['description' => 'The description of the field.'."\n", 'type' => 'string', 'example' => 'column desc', 'title' => ''], + 'AutoIncrement' => ['description' => 'Indicates whether the field is an auto-increment field. Valid values:'."\n" + ."\n" + .'* true: The field is an auto-increment field.'."\n" + .'* false: The field is not an auto-increment field.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'FunctionType' => ['description' => 'The type of the masking algorithm that is used for the field. Valid values:'."\n" + ."\n" + .'* null: No masking algorithm is used.'."\n" + .'* DEFAULT: A full masking algorithm is used.'."\n" + .'* FIX_POS: The fixed position is masked.'."\n" + .'* FIX_CHAR: The fixed characters are replaced.'."\n", 'type' => 'string', 'example' => 'NULL', 'title' => ''], + 'DataPrecision' => ['description' => 'The number of valid digits for the column.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'DefaultValue' => ['description' => 'The default value of the column.'."\n", 'type' => 'string', 'example' => 'aaa', 'title' => ''], + 'ColumnName' => ['description' => 'The field name.'."\n", 'type' => 'string', 'example' => 'c1', 'title' => ''], + 'SecurityLevel' => ['description' => 'The security level of the field. Valid values:'."\n" + ."\n" + .'* INNER: The field is an internal field but not sensitive.'."\n" + .'* SENSITIVE: The field is sensitive.'."\n" + .'* CONFIDENTIAL: The field is a confidential column.'."\n", 'type' => 'string', 'example' => 'INNER', 'title' => ''], + 'DataScale' => ['description' => 'The number of decimal places of the field data.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'DataLength' => ['description' => 'The length of the field.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '32', 'title' => ''], + 'Sensitive' => ['description' => 'Indicates whether the field is a sensitive column. Valid values:'."\n" + ."\n" + .'* true: The field is a sensitive field.'."\n" + .'* false: The field is not a sensitive field.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Nullable' => ['description' => 'Indicates whether the field can be empty. Valid values:'."\n" + ."\n" + .'* true: The field can be empty.'."\n" + .'* false: The field cannot be empty.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'example' => 'true', + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListTableColumns', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListTableColumns', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"SensitivityLevelList\\": [\\n {\\n \\"Name\\": \\"S2\\",\\n \\"TemplateId\\": \\"1070\\",\\n \\"TemplateType\\": \\"INNER\\",\\n \\"IsPlain\\": true\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListSensitivityLevel', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ColumnList\\": {\\n \\"Column\\": [\\n {\\n \\"ColumnId\\": \\"12345\\",\\n \\"ColumnType\\": \\"varchar\\",\\n \\"Description\\": \\"column desc\\",\\n \\"AutoIncrement\\": false,\\n \\"FunctionType\\": \\"NULL\\",\\n \\"DataPrecision\\": 0,\\n \\"DefaultValue\\": \\"aaa\\",\\n \\"ColumnName\\": \\"c1\\",\\n \\"SecurityLevel\\": \\"INNER\\",\\n \\"DataScale\\": 0,\\n \\"DataLength\\": 32,\\n \\"Sensitive\\": false,\\n \\"Nullable\\": true\\n }\\n ]\\n },\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'ListSensitiveColumnInfo' => [ - 'summary' => 'Queries the information about a sensitive field. The information includes the masking algorithm ID, masking algorithm name, and field security level.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTables' => [ + 'summary' => 'Lists the details of all tables in a database.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -36894,93 +26940,49 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeCode' => '217034', - 'abilityTreeNodes' => [ - 'FEATUREdmsG96PX9', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the instance ID.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '183****', - ], + 'schema' => ['description' => 'The tenant ID. You can obtain this ID by calling [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'SchemaName', + 'name' => 'DatabaseId', 'in' => 'query', - 'schema' => [ - 'description' => 'The database name. You can also call the [SearchDatabase](~~141876~~) operation to query the name of the database.'."\n" - ."\n" - .'> You can also call the [ListDatabases](~~141873~~) operation to query the value of the SchemaName parameter of a physical database, or the [ListLogicDatabases](~~141874~~) operation to query the value of the SchemaName parameter of a logical database.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_schema', - ], + 'schema' => ['description' => 'The ID of the physical database. You can obtain this ID by calling [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1860****', 'title' => ''], ], [ - 'name' => 'TableName', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table. You can call the [ListSensitiveColumns](~~188103~~) operation to query the table name.'."\n" - ."\n" - .'> You can also call the [ListTables](~~141878~~) operation to query the table name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_table', - ], + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ColumnName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the sensitive field. You can call the [ListSensitiveColumns](~~188103~~) operation to query the name of the sensitive field.'."\n" - ."\n" - .'> You can also call the [ListColumns](~~141870~~) operation to query the name of the sensitive field.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_column', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'SearchName', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The keyword for a fuzzy search on table names.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'ReturnGuid', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => 'Specifies whether to return the globally unique identifier (GUID) of the table. Valid values:'."\n" + ."\n" + .'- **true**: Returns the GUID of the table.'."\n" + ."\n" + .'- **false**: Does not return the GUID of the table.', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'RealLoginUserUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the user that calls the API.', 'type' => 'string', 'required' => false, 'example' => '1234', 'title' => ''], ], ], 'responses' => [ @@ -36988,361 +26990,351 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'SensitiveColumnList' => [ + 'TotalCount' => ['description' => 'The total number of matching tables.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B16FB618-5E96-4FFD-BB0D-490C890A4030', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'TableList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'SensitiveColumn' => [ - 'description' => 'The details of the sensitive field.'."\n", + 'Table' => [ + 'description' => 'The list of tables.', 'type' => 'array', 'items' => [ - 'description' => 'The details of the field.'."\n", 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '183****', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'test_schema', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'test_table', - ], - 'ColumnName' => [ - 'description' => 'The name of the sensitive field.'."\n", - 'type' => 'string', - 'example' => 'test_column', - ], - 'CategoryName' => [ - 'description' => 'The name of the category.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'IsPlain' => [ - 'description' => 'Indicates whether the sensitive field is displayed in plaintext.'."\n", - 'type' => 'boolean', - 'example' => 'False', - ], - 'SecurityLevel' => [ - 'description' => 'The sensitivity level of the field. Valid values:'."\n" - ."\n" - .'* Low'."\n" - .'* Medium'."\n" - .'* High'."\n", - 'type' => 'string', - 'example' => '', - ], - 'UserSensitivityLevel' => [ - 'description' => 'The user-defined sensitivity level.'."\n", - 'type' => 'string', - 'example' => 'S1', - ], - 'SampleData' => [ - 'description' => 'The sample data.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'DefaultDesensitizationRule' => [ - 'description' => 'The information about the default masking algorithm.'."\n", + 'DatabaseId' => ['description' => 'The ID of the physical database.', 'type' => 'string', 'example' => '1860****', 'title' => ''], + 'TableName' => ['description' => 'The table name.', 'type' => 'string', 'example' => 'consumption_records', 'title' => ''], + 'StoreCapacity' => ['description' => 'The approximate storage space that the table uses, in MB.', 'type' => 'integer', 'format' => 'int64', 'example' => '1024', 'title' => ''], + 'OwnerIdList' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'RuleId' => [ - 'description' => 'The masking algorithm ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '101**', - ], - 'RuleName' => [ - 'description' => 'The masking algorithm name.'."\n", - 'type' => 'string', - 'example' => 'test', + 'OwnerIds' => [ + 'description' => 'The user IDs of the table owners.', + 'type' => 'array', + 'items' => ['description' => 'The user ID of a table owner.', 'type' => 'string', 'example' => '51****', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => 'The IDs of the table owners.', + 'title' => '', + 'example' => '', ], - 'SemiDesensitizationRuleList' => [ + 'Description' => ['description' => 'The description of the table.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Encoding' => ['description' => 'The encoding of the table.', 'type' => 'string', 'example' => 'utf8', 'title' => ''], + 'OwnerNameList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'SemiDesensitizationRule' => [ - 'description' => 'The list of partial masking algorithms.'."\n", + 'OwnerNames' => [ + 'description' => 'The nicknames of the table owners.', 'type' => 'array', - 'items' => [ - 'description' => 'The details of the partial masking algorithm.'."\n", - 'type' => 'object', - 'properties' => [ - 'RuleId' => [ - 'description' => 'The ID of the partial masking algorithm.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10***', - ], - 'RuleName' => [ - 'description' => 'The partial masking algorithm name.'."\n", - 'type' => 'string', - 'example' => 'test01', - ], - ], - ], + 'items' => ['description' => 'The nickname of a table owner.', 'type' => 'string', 'example' => 'owner_name', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => 'The nicknames of the table owners.', + 'title' => '', + 'example' => '', ], + 'TableSchemaName' => ['description' => 'The database that contains the table.', 'type' => 'string', 'example' => 'qntest', 'title' => ''], + 'TableType' => ['description' => 'The type of the table. Default: NORMAL.', 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], + 'TableGuid' => ['description' => 'The GUID of the table in DMS.', 'type' => 'string', 'example' => 'IDB_44743****.qntest.consumption_records', 'title' => ''], + 'Engine' => ['description' => 'The table engine.', 'type' => 'string', 'example' => 'InnoDB', 'title' => ''], + 'NumRows' => ['description' => 'The estimated number of rows in the table.', 'type' => 'integer', 'format' => 'int64', 'example' => '10085', 'title' => ''], + 'TableId' => ['description' => 'The table ID.', 'type' => 'string', 'example' => '44743****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => 'The details about the tables.', + 'title' => '', + 'example' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries that are returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates if the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request succeeded.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"SensitiveColumnList\\": {\\n \\"SensitiveColumn\\": [\\n {\\n \\"InstanceId\\": 0,\\n \\"SchemaName\\": \\"test_schema\\",\\n \\"TableName\\": \\"test_table\\",\\n \\"ColumnName\\": \\"test_column\\",\\n \\"CategoryName\\": \\"默认分类\\",\\n \\"IsPlain\\": true,\\n \\"SecurityLevel\\": \\"低\\",\\n \\"UserSensitivityLevel\\": \\"S1\\",\\n \\"SampleData\\": \\"西安市\\",\\n \\"DefaultDesensitizationRule\\": {\\n \\"RuleId\\": 0,\\n \\"RuleName\\": \\"test\\"\\n },\\n \\"SemiDesensitizationRuleList\\": {\\n \\"SemiDesensitizationRule\\": [\\n {\\n \\"RuleId\\": 0,\\n \\"RuleName\\": \\"test01\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"TotalCount\\": 1\\n}","type":"json"}]', - 'title' => 'ListSensitiveColumnInfo', - ], - 'CreateProxy' => [ - 'summary' => 'Enables the secure access proxy feature for a database instance.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"B16FB618-5E96-4FFD-BB0D-490C890A4030\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"TableList\\": {\\n \\"Table\\": [\\n {\\n \\"DatabaseId\\": \\"1860****\\",\\n \\"TableName\\": \\"consumption_records\\",\\n \\"StoreCapacity\\": 1024,\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"51****\\"\\n ]\\n },\\n \\"Description\\": \\"test\\",\\n \\"Encoding\\": \\"utf8\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"owner_name\\"\\n ]\\n },\\n \\"TableSchemaName\\": \\"qntest\\",\\n \\"TableType\\": \\"NORMAL\\",\\n \\"TableGuid\\": \\"IDB_44743****.qntest.consumption_records\\",\\n \\"Engine\\": \\"InnoDB\\",\\n \\"NumRows\\": 10085,\\n \\"TableId\\": \\"44743****\\"\\n }\\n ]\\n },\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListTables', + 'description' => 'This API can only be used for database instances where the control mode is set to secure collaboration.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTables'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListTablesInCategory' => [ + 'summary' => 'Obtains the list of tables in a category.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '43589', - 'abilityTreeNodes' => [ - 'FEATUREdmsKBRCZC', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database instance. You can call the [ListInstances](https://www.alibabacloud.com/help/en/data-management-service/latest/listinstances) or [GetInstance](https://www.alibabacloud.com/help/en/data-management-service/latest/getinstance) operation to query the database instance ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '183****', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Username', + 'name' => 'CategoryId', 'in' => 'query', - 'schema' => [ - 'description' => 'The username of the database account.', - 'type' => 'string', - 'required' => true, - 'example' => 'username', - ], + 'schema' => ['description' => 'The category ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30000235593', 'title' => ''], ], [ - 'name' => 'Password', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The password of the database account.', - 'type' => 'string', - 'required' => true, - 'example' => '******', - ], + 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) operation to query the tenant ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The number of entries to return per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'example' => '20', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '4FFD154E-F57F-5374-B568-D6276F15****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.', - 'type' => 'string', - 'example' => 'the instance proxy already exists.', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.', - 'type' => 'string', - 'example' => 'InvalidParameterValid', - ], - 'ProxyId' => [ - 'description' => 'The ID of the secure access proxy.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4**', + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request succeeded.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'EntityList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'MetaCategoryTableEntity' => [ + 'description' => 'List of table information associated with the asset category.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The table information associated with the specified asset category.'."\n", '$ref' => '#/components/schemas/MetaCategoryTableEntity', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4FFD154E-F57F-5374-B568-D6276F15****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"实例代理已存在\\",\\n \\"ErrorCode\\": \\"InvalidParameterValid\\",\\n \\"ProxyId\\": 0\\n}","errorExample":""},{"type":"xml","example":"<CreateProxyResponse>\\n <RequestId>4FFD154E-F57F-5374-B568-D6276F15****</RequestId>\\n <ProxyId>4**</ProxyId>\\n <Success>true</Success>\\n</CreateProxyResponse>","errorExample":""}]', - 'title' => 'CreateProxy', - 'description' => '- The database instance runs the MySQL or MariaDB database engine. For example, the database instance can be an ApsaraDB RDS for MySQL instance, a PolarDB for MySQL cluster, a Distributed Relational Database Service (DRDS) cluster, or an AnalyticDB for MySQL cluster. The database instance can also be a self-managed MySQL or MariaDB database, or a MySQL or MariaDB database in a third-party cloud.'."\n" - .'- The database instance resides in the China (Hangzhou) or China (Beijing) region.'."\n" - .'- You are a Data Management (DMS) administrator, a database administrator (DBA), or the owner of the database instance.', - ], - 'DeleteProxy' => [ - 'summary' => 'You can call this operation to disable the data security protection proxy of a DB instance.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListTablesInCategory', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListTablesInCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 1,\\n \\"EntityList\\": {\\n \\"MetaCategoryTableEntity\\": [\\n {\\n \\"CategoryId\\": 0,\\n \\"TableName\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"InstanceId\\": 0,\\n \\"TableSchemaName\\": \\"\\",\\n \\"DbId\\": 0,\\n \\"CatalogName\\": \\"\\",\\n \\"DatabaseSearchName\\": \\"\\",\\n \\"SchemaName\\": \\"\\",\\n \\"DbType\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListTagMetaAsset' => [ + 'summary' => 'Lists Database and Table assets associated with a specific Tag in a DataAgent Workspace.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ProxyId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the security protection agent. You can call the [ListProxies](https://www.alibabacloud.com/help/en/data-management-service/latest/listproxies) or [GetProxy](https://www.alibabacloud.com/help/en/data-management-service/latest/getproxy) operation to obtain this parameter.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> You can find the tenant ID by hovering the pointer over the profile picture in the upper-right corner of the Data Management Service (DMS) console. For more information, see [View tenant information](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'TagName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) or [ListUserTenants](https://www.alibabacloud.com/help/en/data-management-service/latest/listusertenants) operation to obtain this parameter.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The name of the tag. To retrieve database and table assets from a DataAgent Workspace, specify the tag name in the format `sys::DMS-DA::${DataAgentRegionId}::space:${DataAgentWorkspaceId}`.', 'type' => 'string', 'required' => true, 'example' => 'sys::DMS-DA::cn-hangzhou::space:abcde', 'title' => ''], + ], + [ + 'name' => 'MetaType', + 'in' => 'query', + 'schema' => ['description' => '- Specify `META_DATABASE` to retrieve databases.'."\n" + ."\n" + .'- Specify `META_TABLE` to retrieve tables in a specific database.', 'type' => 'string', 'required' => true, 'example' => 'META_DATABASE', 'title' => ''], + ], + [ + 'name' => 'MetaParentId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the parent asset.'."\n" + ."\n" + .'- Omit this parameter to retrieve databases.'."\n" + ."\n" + .'- To retrieve tables in a specific database, set this parameter to the `dbId` of the database.', 'type' => 'string', 'required' => false, 'example' => '123456', 'title' => ''], + ], + [ + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['description' => 'A keyword for fuzzy search.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '1000', 'minimum' => '1', 'example' => '50', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the call was successful.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned to the query task.', - 'type' => 'string', - 'example' => '200', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code for a failed request.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message for a failed request.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MetaType' => ['description' => '- `META_DATABASE`: The asset is a database.'."\n" + ."\n" + .'- `META_TABLE`: The asset is a table.', 'type' => 'string', 'example' => 'META_DATABASE', 'title' => ''], + 'MetaEntityAttrs' => ['description' => 'If **`MetaType` is `META_DATABASE`**, this object contains the following fields:'."\n" + ."\n" + .'- `schemaName`: The name of the database. For PostgreSQL-compatible databases, this field indicates the schema name.'."\n" + ."\n" + .'- `catalogName`: The name of the catalog. This field applies only to PostgreSQL-compatible databases.'."\n" + ."\n" + .'- `dbId`: The ID of the database in Data Management Service (DMS).'."\n" + ."\n" + .'- `instanceResourceId`: The resource ID of the instance. If the database is in an ApsaraDB RDS instance, this field indicates the ID of the RDS instance.'."\n" + ."\n" + .'- `dbType`: The type of the database in DMS.'."\n" + ."\n" + .'If **`MetaType` is `META_TABLE`**, this object contains the following fields:'."\n" + ."\n" + .'- `schemaName`: The name of the database containing the table. For PostgreSQL-compatible databases, this field indicates the schema name.'."\n" + ."\n" + .'- `catalogName`: The name of the catalog. This field applies only to PostgreSQL-compatible databases.'."\n" + ."\n" + .'- `dbId`: The ID of the database in DMS.'."\n" + ."\n" + .'- `dbType`: The type of the database in DMS.'."\n" + ."\n" + .'- `tableName`: The name of the table.'."\n" + ."\n" + .'- `tableSchemaName`: The name of the table schema. This field is valid only for SQL Server.', 'type' => 'object', 'example' => '{"schemaName": "test"}', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'A list of assets.', + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of matching entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteProxyResponse>\\n <RequestId>EEC84F7F-E60E-5513-8DE6-F22EF368BD4D</RequestId>\\n <Success>true</Success>\\n</DeleteProxyResponse>","errorExample":""}]', - 'title' => 'DeleteProxy', - 'description' => 'After you disable this feature, your DB instance loses the JDBC protocol. All authorization information is recycled.', - ], - 'ListProxies' => [ - 'summary' => 'Queries the proxies that are generated by the secure access proxy feature.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListTagMetaAsset', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": [\\n {\\n \\"MetaType\\": \\"META_DATABASE\\",\\n \\"MetaEntityAttrs\\": {\\n \\"schemaName\\": \\"test\\"\\n }\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]', + ], + 'ListTaskFlow' => [ + 'summary' => 'Queries a list of task flows.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -37351,159 +27343,95 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', + 'abilityTreeCode' => '133045', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5812180E-555F-5F90-BE4F-280576F4****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'User can not access to Tenant [123445]', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ProxyList' => [ - 'description' => 'The proxies that are generated by the secure access proxy feature.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The proxy that is generated by the secure access proxy feature.'."\n", - 'type' => 'object', - 'properties' => [ - 'ProxyId' => [ - 'description' => 'The ID of the secure access proxy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4**', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who enabled the secure access proxy feature.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], - 'CreatorName' => [ - 'description' => 'The nickname of the user who enabled the secure access proxy feature.'."\n", - 'type' => 'string', - 'example' => 'test_name', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '183****', - ], - 'PrivateEnable' => [ - 'description' => 'Indicates whether the internal endpoint is enabled. Default value: **true**.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'PrivateHost' => [ - 'description' => 'The internal endpoint.'."\n", - 'type' => 'string', - 'example' => 'dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com', - ], - 'PublicEnable' => [ - 'description' => 'Indicates whether the public endpoint is enabled. Valid values:'."\n" - ."\n" - .'* **true**: The public endpoint is enabled.'."\n" - .'* **false**: The public endpoint is disabled.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'PublicHost' => [ - 'description' => 'The public endpoint. A public endpoint is returned no matter whether the public endpoint is enabled or disabled.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* If the value of the PublicEnable parameter is **true**, a valid public endpoint that can be resolved by using Alibaba Cloud DNS (DNS) is returned.'."\n" - ."\n" - .'* If the value of the PublicEnable parameter is **false**, an invalid public endpoint that cannot be resolved by using DNS is returned.'."\n", - 'type' => 'string', - 'example' => 'dphzmy-5j8oimjsz6ze****-pub.proxy.dms.aliyuncs.com', - ], - 'HttpsPort' => [ - 'description' => 'The number of the port that was used by HTTPS clients to connect to the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '443', - ], - 'ProtocolType' => [ - 'title' => '数据库协议类型,例如:MYSQL', - 'description' => 'The type of the database. Example: MYSQL.'."\n", - 'type' => 'string', - 'example' => 'MYSQL', - ], - 'ProtocolPort' => [ - 'title' => '数据库协议连接端口号', - 'description' => 'The number of the port that is used to connect the database instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3306', - ], - 'RegionId' => [ - 'title' => '区域', - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4116147E-C628-5816-8779-8EEAF8E973F4', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TaskFlowList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'TaskFlow' => [ + 'description' => 'The information about the task flows returned.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '134137****', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who creates the task flow.'."\n", 'type' => 'string', 'example' => '51****', 'title' => ''], + 'CreatorNickName' => ['description' => 'The name of the user who creates the task flow.'."\n", 'type' => 'string', 'example' => 'Creator_NickName', 'title' => ''], + 'DagOwnerNickName' => ['description' => 'The name of the task flow owner.'."\n", 'type' => 'string', 'example' => 'Owner_NickName', 'title' => ''], + 'DeployId' => ['description' => 'The ID of the latest deployment record.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12**', 'title' => ''], + 'Status' => ['description' => 'The status of the task flow. Valid values:'."\n" + ."\n" + .'* **0**: The task flow is invalid.'."\n" + .'* **1**: Scheduling is disabled for the task flow.'."\n" + .'* **2**: The task flow is waiting to be scheduled.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'LatestInstanceStatus' => ['description' => 'The status of the latest execution. Valid values:'."\n" + ."\n" + .'* **0**: invalid.'."\n" + .'* **1**: scheduling disabled.'."\n" + .'* **2**: waiting to be scheduled.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'LatestInstanceTime' => ['description' => 'The time when the latest execution record was generated.'."\n", 'type' => 'string', 'example' => '2022-04-13', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5812180E-555F-5F90-BE4F-280576F4****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"User can not access to Tenant [123445]\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ProxyList\\": [\\n {\\n \\"ProxyId\\": 0,\\n \\"CreatorId\\": 0,\\n \\"CreatorName\\": \\"test_name\\",\\n \\"InstanceId\\": 0,\\n \\"PrivateEnable\\": true,\\n \\"PrivateHost\\": \\"dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com\\",\\n \\"PublicEnable\\": false,\\n \\"PublicHost\\": \\"dphzmy-5j8oimjsz6ze****-pub.proxy.dms.aliyuncs.com\\",\\n \\"HttpsPort\\": 443,\\n \\"ProtocolType\\": \\"MYSQL\\",\\n \\"ProtocolPort\\": 3306,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListProxiesResponse>\\n <ProxyList>\\n <PublicHost>dphzmy-5j8oimjsz6ze****-pub.proxy.dms.aliyuncs.com</PublicHost>\\n <PrivateHost>dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com</PrivateHost>\\n <InstanceId>183****</InstanceId>\\n <ProxyId>4**</ProxyId>\\n <CreatorId>12****</CreatorId>\\n <MysqlPort>3306</MysqlPort>\\n <PrivateEnable>true</PrivateEnable>\\n <CreatorName>test_name</CreatorName>\\n <PublicEnable>false</PublicEnable>\\n <HttpsPort>443</HttpsPort>\\n </ProxyList>\\n <ProxyList>\\n <PublicHost>dphzmy-vwjxfkclz17bb7y****.proxy.dms.aliyuncs.com</PublicHost>\\n <PrivateHost>dphzmy-vwjxfkclz17b****.proxy.dms.aliyuncs.com</PrivateHost>\\n <InstanceId>164****</InstanceId>\\n <ProxyId>4*</ProxyId>\\n <CreatorId>47****</CreatorId>\\n <MysqlPort>3306</MysqlPort>\\n <PrivateEnable>true</PrivateEnable>\\n <CreatorName>test1_name</CreatorName>\\n <PublicEnable>true</PublicEnable>\\n <HttpsPort>443</HttpsPort>\\n </ProxyList>\\n <RequestId>5812180E-555F-5F90-BE4F-280576F4****</RequestId>\\n <Success>true</Success>\\n</ListProxiesResponse>","errorExample":""}]', - 'title' => 'ListProxies', - ], - 'GetProxy' => [ - 'summary' => 'Queries the details of a secure access proxy.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListTaskFlow', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4116147E-C628-5816-8779-8EEAF8E973F4\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TaskFlowList\\": {\\n \\"TaskFlow\\": [\\n {\\n \\"Id\\": 0,\\n \\"CreatorId\\": \\"51****\\",\\n \\"CreatorNickName\\": \\"Creator_NickName\\",\\n \\"DagOwnerNickName\\": \\"Owner_NickName\\",\\n \\"DeployId\\": 0,\\n \\"Status\\": 2,\\n \\"LatestInstanceStatus\\": 0,\\n \\"LatestInstanceTime\\": \\"2022-04-13\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTaskFlowResponse>\\n <RequestId>4116147E-C628-5816-8779-8EEAF8E973F4</RequestId>\\n <Success>true</Success>\\n <TaskFlowList>\\n <CreatorId>51****</CreatorId>\\n <CreatorNickName>Creator_NickName</CreatorNickName>\\n <DagOwnerNickName>Owner_NickName</DagOwnerNickName>\\n <Status>2</Status>\\n <LatestInstanceStatus>0</LatestInstanceStatus>\\n <LatestInstanceTime>2022-04-13</LatestInstanceTime>\\n </TaskFlowList>\\n</ListTaskFlowResponse>","errorExample":""}]', + ], + 'ListTaskFlowConstants' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -37512,369 +27440,455 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', + 'abilityTreeCode' => '149650', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'ProxyId', + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> :To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'DagId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '3****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the secure access proxy. You can call the [ListProxies](~~295371~~) operation to query the ID of the secure access proxy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '4**', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '028BF827-3801-5869-8548-F4A039256304', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DagConstants' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DagConstant' => [ + 'description' => 'A list of constant key-value pairs for the task flow.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The constant key.'."\n", 'type' => 'string', 'example' => 'example', 'title' => ''], + 'Value' => ['description' => 'The constant value.'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'ListTaskFlowConstants', + 'summary' => 'Queries the constants for a task flow.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlowConstants', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"028BF827-3801-5869-8548-F4A039256304\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"DagConstants\\": {\\n \\"DagConstant\\": [\\n {\\n \\"Key\\": \\"example\\",\\n \\"Value\\": \\"0\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTaskFlowConstantsResponse>\\n <RequestId>028BF827-3801-5869-8548-F4A039256304</RequestId>\\n <Success>true</Success>\\n <DagConstants>\\n <Key>example</Key>\\n <Value>0</Value>\\n </DagConstants>\\n</ListTaskFlowConstantsResponse>","errorExample":""}]', + ], + 'ListTaskFlowCooperators' => [ + 'summary' => 'Queries a list of users that are involved in a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '147902', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], + ], + 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'DagId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15****', 'title' => ''], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F49D4598-2B3C-5723-865E-2CCB818E****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'The condition cannot be empty!', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ProxyId' => [ - 'description' => 'The ID of the secure access proxy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4**', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who enabled the secure access proxy feature.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], - 'CreatorName' => [ - 'description' => 'The nickname of the user who enabled the secure access proxy feature.'."\n", - 'type' => 'string', - 'example' => 'test_name', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '183****', - ], - 'PrivateEnable' => [ - 'description' => 'Indicates whether the internal endpoint was enabled. Default value: **true**.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'PrivateHost' => [ - 'description' => 'The internal endpoint.'."\n", - 'type' => 'string', - 'example' => 'dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com', - ], - 'PublicEnable' => [ - 'description' => 'Indicates whether the public endpoint was enabled. Valid values:'."\n" - ."\n" - .'* **true**: The public endpoint was enabled.'."\n" - .'* **false**: The public endpoint was disabled.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'PublicHost' => [ - 'description' => 'The public endpoint. A public endpoint is returned no matter whether the public endpoint is enabled or disabled.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* If the value of the PublicEnable parameter is **true**, a valid public endpoint that can be resolved by using Alibaba Cloud DNS is returned.'."\n" - ."\n" - .'* If the value of the PublicEnable parameter is **false**, an invalid public endpoint that cannot be resolved by using Alibaba Cloud DNS is returned.'."\n", - 'type' => 'string', - 'example' => 'dphzmy-5j8oimjsz6zed7k****.proxy.dms.aliyuncs.com', - ], - 'HttpsPort' => [ - 'description' => 'The port number used by the HTTPS protocol.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '443', - ], - 'ProtocolType' => [ - 'title' => '数据库协议类型,例如:MYSQL', - 'description' => 'The protocol type of the database. Example: MYSQL.'."\n", - 'type' => 'string', - 'example' => 'MYSQL', - ], - 'ProtocolPort' => [ - 'title' => '数据库协议连接端口号', - 'description' => 'The port number used by the protocol.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3306', - ], - 'RegionId' => [ - 'title' => '区域', - 'description' => 'The ID of the region in which the instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '54C99C70-2DFF-5A8C-A252-EBAA1EB668EC', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'CooperatorList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Cooperator' => [ + 'description' => 'The users that are involved in the task flow.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NickName' => ['description' => 'The alias of the user.'."\n", 'type' => 'string', 'example' => 'name', 'title' => ''], + 'Email' => ['description' => 'The email address of the user.'."\n", 'type' => 'string', 'example' => 'test@XX.com', 'title' => ''], + 'LoginName' => ['description' => 'The username.'."\n", 'type' => 'string', 'example' => 'name', 'title' => ''], + 'UserId' => ['description' => 'userId.', 'type' => 'string', 'example' => '123', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F49D4598-2B3C-5723-865E-2CCB818E****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"The condition cannot be empty!\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ProxyId\\": 0,\\n \\"CreatorId\\": 0,\\n \\"CreatorName\\": \\"test_name\\",\\n \\"InstanceId\\": 0,\\n \\"PrivateEnable\\": true,\\n \\"PrivateHost\\": \\"dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com\\",\\n \\"PublicEnable\\": true,\\n \\"PublicHost\\": \\"dphzmy-5j8oimjsz6zed7k****.proxy.dms.aliyuncs.com\\",\\n \\"HttpsPort\\": 443,\\n \\"ProtocolType\\": \\"MYSQL\\",\\n \\"ProtocolPort\\": 3306,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n}","errorExample":""},{"type":"xml","example":"<GetProxyResponse>\\n <PublicHost>dphzmy-5j8oimjsz6zed7k****.proxy.dms.aliyuncs.com</PublicHost>\\n <PrivateHost>dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com</PrivateHost>\\n <RequestId>F49D4598-2B3C-5723-865E-2CCB818E****</RequestId>\\n <InstanceId>183****</InstanceId>\\n <ProxyId>4**</ProxyId>\\n <CreatorId>12****</CreatorId>\\n <Success>true</Success>\\n <MysqlPort>3306</MysqlPort>\\n <CreatorName>test_name</CreatorName>\\n <HttpsPort>443</HttpsPort>\\n</GetProxyResponse>","errorExample":""}]', - 'title' => 'GetProxy', - ], - 'CreateProxyAccess' => [ - 'summary' => 'Grants a user the permissions to access a database instance by using the secure access proxy feature.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListTaskFlowCooperators', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlowCooperators', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54C99C70-2DFF-5A8C-A252-EBAA1EB668EC\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"CooperatorList\\": {\\n \\"Cooperator\\": [\\n {\\n \\"NickName\\": \\"name\\",\\n \\"Email\\": \\"test@XX.com\\",\\n \\"LoginName\\": \\"name\\",\\n \\"UserId\\": \\"123\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTaskFlowCooperatorsResponse>\\n <RequestId>54C99C70-2DFF-5A8C-A252-EBAA1EB668EC</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n <CooperatorList>\\n <NickName>name</NickName>\\n <Email>test@XX.com</Email>\\n <LoginName>name</LoginName>\\n </CooperatorList>\\n</ListTaskFlowCooperatorsResponse>","errorExample":""}]', + ], + 'ListTaskFlowEdgesByCondition' => [ + 'summary' => 'Queries the edges of the directed acyclic graph (DAG) for a task flow based on multiple conditions.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '43700', - 'abilityTreeNodes' => [ - 'FEATUREdmsKBRCZC', - ], + 'operationType' => 'list', + 'abilityTreeCode' => '147812', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'UserId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the user. You can call the [ListUsers](https://www.alibabacloud.com/help/en/data-management-service/latest/listusers) or [GetUser](https://www.alibabacloud.com/help/en/data-management-service/latest/getuser) operation to obtain this parameter.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'ProxyId', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the security protection agent. You can call the [ListProxies](https://www.alibabacloud.com/help/en/data-management-service/latest/listproxies) or [GetProxy](https://www.alibabacloud.com/help/en/data-management-service/latest/getproxy) operation to obtain this parameter.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15***', 'title' => ''], ], [ - 'name' => 'IndepAccount', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'The database account.', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx', - ], + 'schema' => ['description' => 'The ID of the task flow edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '24***', 'title' => ''], ], [ - 'name' => 'IndepPassword', + 'name' => 'NodeFrom', 'in' => 'query', - 'schema' => [ - 'description' => 'The password that is used to log on to the database.', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx', - ], + 'schema' => ['description' => 'The ID of the start node on the edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '44***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'NodeEnd', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) or [ListUserTenants](https://www.alibabacloud.com/help/en/data-management-service/latest/listusertenants) operation to obtain this parameter.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the end node on the edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '44***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the call was successful.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned to the query task.', - 'type' => 'string', - 'example' => '200', - ], - 'ProxyAccessId' => [ - 'description' => 'The ID of the security protection authorization. After the security protection agent authorizes the target user, the system automatically generates a security protection authorization ID. The ID is globally unique.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'D86249CD-422F-5ACF-85BA-9187C986AE0B', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Edges' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Edge' => [ + 'description' => 'The list of task flow edges.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the task flow edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '24***', 'title' => ''], + 'NodeEnd' => ['description' => 'The ID of the end node on the edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '44***', 'title' => ''], + 'NodeFrom' => ['description' => 'The ID of the start node on the edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '44***', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"200\\",\\n \\"ProxyAccessId\\": 1\\n}","errorExample":""},{"type":"xml","example":"<CreateProxyAccessResponse>\\n <RequestId>22A0495C-566D-5A90-A51A-7E737AD5980A</RequestId>\\n <ProxyAccessId>1</ProxyAccessId>\\n <Success>true</Success>\\n</CreateProxyAccessResponse>","errorExample":""}]', - 'title' => 'CreateProxyAccess', - 'description' => '- The data security protection feature is enabled for the instance.'."\n" - .'- Your user role is the administrator role, DBA role, or the owner of data security protection for the current instance.', - ], - 'DeleteProxyAccess' => [ - 'summary' => 'Revokes the permissions to access a database instance by using the secure access proxy feature from a user.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListTaskFlowEdgesByCondition', + 'description' => 'This operation is used for multi-condition query. You can call this operation to query the edges of a specified task flow that meet all specified conditions.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlowEdgesByCondition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D86249CD-422F-5ACF-85BA-9187C986AE0B\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Edges\\": {\\n \\"Edge\\": [\\n {\\n \\"Id\\": 0,\\n \\"NodeEnd\\": 0,\\n \\"NodeFrom\\": 0\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTaskFlowEdgesByConditionResponse>\\n <RequestId>D86249CD-422F-5ACF-85BA-9187C986AE0B</RequestId>\\n <Edges>\\n <Edge>\\n <NodeFrom>44***</NodeFrom>\\n <NodeEnd>44***</NodeEnd>\\n <Id>24***</Id>\\n </Edge>\\n </Edges>\\n <Success>true</Success>\\n</ListTaskFlowEdgesByConditionResponse>","errorExample":""}]', + ], + 'ListTaskFlowInstance' => [ + 'summary' => 'Queries the execution records of a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '43701', - 'abilityTreeNodes' => [ - 'FEATUREdmsKBRCZC', - ], + 'operationType' => 'list', + 'abilityTreeCode' => '132914', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'ProxyAccessId', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the security protection authorization. After the security protection agent authorizes the target user, the system automatically generates a security protection authorization ID. The ID is globally unique. You can call the [ListProxyAccesses](https://www.alibabacloud.com/help/en/data-management-service/latest/listproxyaccesses) operation to obtain this parameter.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', 'title' => ''], + ], + [ + 'name' => 'TriggerType', + 'in' => 'query', + 'schema' => ['description' => 'The mode in which the task flow is triggered. Valid values:'."\n" + ."\n" + .'* **0**: The task flow is automatically triggered based on periodic scheduling.'."\n" + .'* **1**: The task flow is manually triggered.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'StartTimeBegin', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query the execution records of the task flow. Specify the time in the yyyy-MM-DD format.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '2022-01-07', 'title' => ''], + ], + [ + 'name' => 'StartTimeEnd', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query the execution records of the task flow. Specify the time in the yyyy-MM-DD format.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '2022-04-08', 'title' => ''], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '20', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) or [ListUserTenants](https://www.alibabacloud.com/help/en/data-management-service/latest/listusertenants) operation to obtain this parameter.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'UseBizDate', + 'in' => 'query', + 'schema' => ['description' => 'Adjust filter conditions:'."\n" + ."\n" + .'- true: StartTimeBegin and StartTimeEnd are the time range for filtering services.'."\n" + ."\n" + .'- false: StartTimeBegin and StartTimeEnd are the time range for the task to run.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => 'The running status of the task node. Valid values:'."\n" + ."\n" + .'- **0**: Waiting for scheduling'."\n" + ."\n" + .'- **1**: Running'."\n" + ."\n" + .'- **2**: Suspend'."\n" + ."\n" + .'- **3**: Failed to run'."\n" + ."\n" + .'- **4**: Run successfully'."\n" + ."\n" + .'- **5**: Completed', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the call was successful.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned to the query task.', - 'type' => 'string', - 'example' => '200', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '8CFF2295-8249-5287-B888-DBD4F0D76CB0', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DAGInstanceList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DAGInstance' => [ + 'description' => 'The information about the execution records returned.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the execution record.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '9234', 'title' => ''], + 'BusinessTime' => ['description' => 'The business time of the task flow. The time is displayed in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'example' => '2021-11-10 14:37:26', 'title' => ''], + 'startTime' => ['description' => 'The time when the execution of the task flow was start. The time is displayed in the yyyy-MM-DD HH:mm:ss format.', 'type' => 'string', 'example' => '2021-11-11 14:35:57'."\n", 'title' => ''], + 'EndTime' => ['description' => 'The time when the execution of the task flow was complete. The time is displayed in the yyyy-MM-DD HH:mm:ss format.'."\n", 'type' => 'string', 'example' => '2021-11-11 14:38:57', 'title' => ''], + 'DagId' => ['description' => 'The ID of the task flow.'."\n", 'type' => 'string', 'example' => '7***', 'title' => ''], + 'TriggerType' => ['description' => 'The mode in which the task flow is triggered. Valid values:'."\n" + ."\n" + .'* **0**: The task flow is automatically triggered based on periodic scheduling.'."\n" + .'* **1**: The task flow is manually triggered.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Status' => ['description' => 'The status of the task flow. Valid values:'."\n" + ."\n" + .'* **0**: The task flow is waiting to be scheduled.'."\n" + .'* **1**: The task flow is being executed.'."\n" + .'* **2**: The task flow is paused.'."\n" + .'* **3**: The task flow failed.'."\n" + .'* **4**: The task flow is executed.'."\n" + .'* **5**: The task flow is complete.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'Message' => ['description' => 'The description of the task.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'HistoryDagId' => ['description' => 'The ID of the previously published version of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2****', 'title' => ''], + 'DagName' => ['description' => 'The name of the task flow.'."\n", 'type' => 'string', 'example' => 'Spark_SQL_test', 'title' => ''], + 'OwnerName' => ['description' => 'The name of the task flow owner.'."\n", 'type' => 'string', 'example' => 'test_name', 'title' => ''], + 'DagVersion' => ['description' => 'The version of the task flow.', 'type' => 'string', 'example' => '[]', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of execution records returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteProxyAccessResponse>\\n <RequestId>7640A4CB-B988-5CDB-B428-11952D7E7682</RequestId>\\n <Success>true</Success>\\n</DeleteProxyAccessResponse>","errorExample":""}]', - 'title' => 'DeleteProxyAccess', - ], - 'ListProxyAccesses' => [ - 'summary' => 'Queries information about users that are authorized to access a database instance by using the secure access proxy feature.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListTaskFlowInstance', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlowInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8CFF2295-8249-5287-B888-DBD4F0D76CB0\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"DAGInstanceList\\": {\\n \\"DAGInstance\\": [\\n {\\n \\"Id\\": 9234,\\n \\"BusinessTime\\": \\"2021-11-10 14:37:26\\",\\n \\"startTime\\": \\"2021-11-11 14:35:57\\\\n\\",\\n \\"EndTime\\": \\"2021-11-11 14:38:57\\",\\n \\"DagId\\": \\"7***\\",\\n \\"TriggerType\\": 1,\\n \\"Status\\": 4,\\n \\"Message\\": \\"test\\",\\n \\"HistoryDagId\\": 0,\\n \\"DagName\\": \\"Spark_SQL_test\\",\\n \\"OwnerName\\": \\"test_name\\",\\n \\"DagVersion\\": \\"[]\\"\\n }\\n ]\\n },\\n \\"TotalCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<ListTaskFlowInstanceResponse>\\n <RequestId>8CFF2295-8249-5287-B888-DBD4F0D76CB0</RequestId>\\n <Success>true</Success>\\n <DAGInstanceList>\\n <Id>9234</Id>\\n <BusinessTime>2021-11-10 14:37:26</BusinessTime>\\n <EndTime>2021-11-11 14:38:57</EndTime>\\n <DagId>7***</DagId>\\n <TriggerType>1</TriggerType>\\n <Status>4</Status>\\n <Message>test</Message>\\n <DagName>Spark_SQL_test</DagName>\\n <OwnerName>test_name</OwnerName>\\n </DAGInstanceList>\\n <TotalCount>1</TotalCount>\\n</ListTaskFlowInstanceResponse>","errorExample":""}]', + ], + 'ListTaskFlowTimeVariables' => [ + 'summary' => 'Lists the time variables for a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -37883,152 +27897,96 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', + 'abilityTreeCode' => '148791', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'ProxyId', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the secure access proxy. '."\n" - ."\n" - .'> You can call the [ListProxies](https://www.alibabacloud.com/help/en/data-management-service/latest/listproxies) operation to query the ID of the secure access proxy.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '47', - ], + 'schema' => ['description' => 'The task flow ID. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to get this ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '11****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. '."\n" - ."\n" - .'> You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) operation to query the ID of the tenant.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view your tenant ID, hover over your profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [View tenant information](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'E53D178A-85E9-5E1F-88B6-3CB1FCF2****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned.', - 'type' => 'string', - 'example' => 'ProxyId is mandatory for this action.', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.', - 'type' => 'string', - 'example' => 'MissingProxyId', - ], - 'ProxyAccessList' => [ - 'description' => 'The information about the users that are authorized to access the database instance by using the secure access proxy feature.', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProxyAccessId' => [ - 'description' => 'The ID that DMS generates after the user is authorized to access the database instance by using the secure access proxy feature. The ID is unique in DMS.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '****', - ], - 'GmtCreate' => [ - 'description' => 'The time when the user is authorized to access the database instance by using the secure access proxy feature.', - 'type' => 'string', - 'example' => '2021-03-31 10:34:18', - ], - 'AccessId' => [ - 'description' => 'The username of the database account that is authorized to access the database instance by using the secure access proxy feature.', - 'type' => 'string', - 'example' => 'MXPL8HalI22m****', - ], - 'OriginInfo' => [ - 'description' => 'The method that is used to authorize the user to access the database instance by using the secure access proxy feature. Valid values: '."\n" - ."\n" - .'- **Authorization by the Alibaba Cloud Account ()**: The information in the parentheses () indicates the user ID (UID) of the Alibaba Cloud account.'."\n" - .'- **Authorization by submitting the ticket ()**:The information in the parentheses () indicates the number of the ticket that the user submits to apply for permissions.', - 'type' => 'string', - 'example' => 'Authorization by the Alibaba Cloud Account(29490401597700****)', - ], - 'IndepAccount' => [ - 'description' => 'The username of the independent database account.', - 'type' => 'string', - 'example' => '****', - ], - 'UserId' => [ - 'description' => 'The ID of the user.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '26****', - ], - 'UserUid' => [ - 'description' => 'The UID of the Alibaba Cloud account.', - 'type' => 'string', - 'example' => '25936669186260****', - ], - 'UserName' => [ - 'description' => 'The nickname of the user.', - 'type' => 'string', - 'example' => 'user', - ], - 'ProxyId' => [ - 'description' => 'The ID of the secure access proxy.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '47', - ], - 'InstanceId' => [ - 'description' => 'The ID of the database instance.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '164****', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'EC12A3BE-149F-5365-AF33-12CC8C963923', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TimeVariables' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'TimeVariable' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the time variable.', 'type' => 'string', 'example' => 'time_test', 'title' => ''], + 'Pattern' => ['description' => 'The format of the time variable.', 'type' => 'string', 'example' => '2018-09-26|+7h', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of time variables for the task flow.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The collection of time variables.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E53D178A-85E9-5E1F-88B6-3CB1FCF2****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"ProxyId is mandatory for this action.\\",\\n \\"ErrorCode\\": \\"MissingProxyId\\",\\n \\"ProxyAccessList\\": [\\n {\\n \\"ProxyAccessId\\": 0,\\n \\"GmtCreate\\": \\"2021-03-31 10:34:18\\",\\n \\"AccessId\\": \\"MXPL8HalI22m****\\",\\n \\"OriginInfo\\": \\"责任人授权(29490401597700****)\\",\\n \\"IndepAccount\\": \\"****\\",\\n \\"UserId\\": 0,\\n \\"UserUid\\": \\"25936669186260****\\",\\n \\"UserName\\": \\"user\\",\\n \\"ProxyId\\": 47,\\n \\"InstanceId\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListProxyAccessesResponse>\\n <RequestId>E53D178A-85E9-5E1F-88B6-3CB1FCF2****</RequestId>\\n <Success>true</Success>\\n <ProxyAccessList>\\n <GmtCreate>2021-03-31 10:34:18</GmtCreate>\\n <UserName>user</UserName>\\n <AccessId>MXPL8HalI22m****</AccessId>\\n <InstanceId>164****</InstanceId>\\n <UserId>26****</UserId>\\n <UserUid>25936669186260****</UserUid>\\n <ProxyId>47</ProxyId>\\n <ProxyAccessId>**</ProxyAccessId>\\n <OriginInfo>责任人授权(29490401597700****)</OriginInfo>\\n </ProxyAccessList>\\n <ProxyAccessList>\\n <GmtCreate>2021-03-30 10:44:15</GmtCreate>\\n <UserName>user1</UserName>\\n <AccessId>8t1RshbwmWOQ****</AccessId>\\n <InstanceId>164****</InstanceId>\\n <UserId>47****</UserId>\\n <UserUid>188097248834****</UserUid>\\n <ProxyId>47</ProxyId>\\n <ProxyAccessId>**</ProxyAccessId>\\n <OriginInfo>责任人授权(29490401597700****)</OriginInfo>\\n </ProxyAccessList>\\n</ListProxyAccessesResponse>","errorExample":""}]', - 'title' => 'ListProxyAccesses', - ], - 'InspectProxyAccessSecret' => [ - 'summary' => 'You can call this operation to obtain the authorization password of the security protection agent InspectProxyAccessSecret.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EC12A3BE-149F-5365-AF33-12CC8C963923\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TimeVariables\\": {\\n \\"TimeVariable\\": [\\n {\\n \\"Name\\": \\"time_test\\",\\n \\"Pattern\\": \\"2018-09-26|+7h\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'ListTaskFlowTimeVariables', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskFlowTimeVariables'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlowTimeVariables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListTaskFlowsByPage' => [ + 'summary' => 'Queries the details of task flows by page.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -38037,84 +27995,158 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', + 'abilityTreeCode' => '149056', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'ProxyAccessId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the security protection authorization. After the security protection agent authorizes the target user, the system automatically generates a security protection authorization ID. The ID is globally unique. You can call the [ListProxyAccesses](https://www.alibabacloud.com/help/en/data-management-service/latest/listproxyaccesses) operation to obtain this parameter.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'ScenarioId', + 'in' => 'query', + 'schema' => ['description' => 'Filter condition, application scenario ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12***', 'title' => ''], + ], + [ + 'name' => 'DagIdList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](https://www.alibabacloud.com/help/en/data-management-service/latest/getuseractivetenant) or [ListUserTenants](https://www.alibabacloud.com/help/en/data-management-service/latest/listusertenants) operation to obtain this parameter.', - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'Filter condition, task flow ID list.', + 'type' => 'array', + 'items' => ['description' => 'Filter condition, task flow ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4512', 'title' => ''], 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['description' => 'The keyword that is used to search for task flow names.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Test node', 'title' => ''], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'default' => '20', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the call was successful.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned to the query task.', - 'type' => 'string', - 'example' => '200', - ], - 'AccessSecret' => [ - 'description' => 'The authorization password of the security protection agent.', - 'type' => 'string', - 'example' => 'xxx', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '6CB28697-BFE2-5739-9228-3971990E982C', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TaskFlowList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'TaskFlow' => [ + 'description' => 'The details of the returned task flows.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '7***', 'title' => ''], + 'DagName' => ['description' => 'The name of the task flow.'."\n", 'type' => 'string', 'example' => 'poc_task_test', 'title' => ''], + 'Description' => ['description' => 'The description of the task flow.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who created the task flow.'."\n", 'type' => 'string', 'example' => '51****', 'title' => ''], + 'CreatorNickName' => ['description' => 'The username of the user who created the task flow.'."\n", 'type' => 'string', 'example' => 'Creator_NickName', 'title' => ''], + 'DagOwnerNickName' => ['description' => 'The username of the owner of the task flow.'."\n", 'type' => 'string', 'example' => 'Owner_NickName', 'title' => ''], + 'DeployId' => ['description' => 'The ID of the last deployment record of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '65***', 'title' => ''], + 'Status' => ['description' => 'The status of the task flow. Valid values:'."\n" + ."\n" + .'* **0**: invalid'."\n" + .'* **1**: scheduling disabled'."\n" + .'* **2**: waiting to be scheduled'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'LatestInstanceStatus' => ['description' => 'The status of the last execution of the task flow. Valid values:'."\n" + ."\n" + .'* **0**: invalid'."\n" + .'* **1**: scheduling disabled'."\n" + .'* **2**: waiting to be scheduled'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'LatestInstanceTime' => ['description' => 'The time when the last execution record was created.'."\n", 'type' => 'string', 'example' => '2022-04-13', 'title' => ''], + 'ScenarioId' => ['description' => 'The ID of the application scenario.', 'type' => 'string', 'example' => '1245', 'title' => ''], + 'CronSwitch' => ['description' => 'Whether to enable scheduled scheduling.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'CronStr' => ['description' => 'Scheduled Cron.', 'type' => 'string', 'example' => '0 0 1 * * ? *', 'title' => ''], + 'ScheduleParam' => ['description' => 'Event scheduling configuration, JSON string format.', 'type' => 'string', 'example' => '{\\"triggerType\\":\\"1\\",\\"specificTime\\":\'2022-11-15 11:59\'}', 'title' => ''], + 'TriggerType' => ['description' => 'The trigger type. Valid values:'."\n" + .'- **0**: Periodic scheduling'."\n" + .'- **1**: Run manually', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'CronType' => ['description' => 'Scheduling cycle type. Valid values:'."\n" + .'- **2**: Hourly scheduling'."\n" + .'- **3**: Daily scheduling'."\n" + .'- **4**: Weekly scheduling'."\n" + .'- **5**: Monthly scheduling', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'CronBeginDate' => ['description' => 'The start time of scheduled scheduling. The task flow is not scheduled before this point in time.', 'type' => 'string', 'example' => '1970-01-01', 'title' => ''], + 'CronEndDate' => ['description' => 'The end time of scheduled scheduling. The task flow is not scheduled after this point in time.', 'type' => 'string', 'example' => '2023-01-01', 'title' => ''], + 'TimeZoneId' => ['description' => 'Time zone setting. Default value: East 8(Asia/Shanghai).', 'type' => 'string', 'example' => 'Asia/Shanghai', 'title' => ''], + 'DagOwnerId' => ['description' => 'The user ID of the task flow owner.', 'type' => 'string', 'example' => '12***89', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '24', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"200\\",\\n \\"AccessSecret\\": \\"xxx\\"\\n}","errorExample":""},{"type":"xml","example":"<InspectProxyAccessSecretResponse>\\n <AccessSecret>nxxxxxxuxxxxxxxi</AccessSecret>\\n <RequestId>E6F2971A-CDCC-5451-86EB-328868715619</RequestId>\\n <Success>true</Success>\\n</InspectProxyAccessSecretResponse>","errorExample":""}]', - 'title' => 'InspectProxyAccessSecret', - ], - 'GetProxyAccess' => [ - 'summary' => 'Queries the authorization information about the secure access proxy feature.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6CB28697-BFE2-5739-9228-3971990E982C\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TaskFlowList\\": {\\n \\"TaskFlow\\": [\\n {\\n \\"Id\\": 0,\\n \\"DagName\\": \\"poc_task_test\\",\\n \\"Description\\": \\"test\\",\\n \\"CreatorId\\": \\"51****\\",\\n \\"CreatorNickName\\": \\"Creator_NickName\\",\\n \\"DagOwnerNickName\\": \\"Owner_NickName\\",\\n \\"DeployId\\": 0,\\n \\"Status\\": 1,\\n \\"LatestInstanceStatus\\": 0,\\n \\"LatestInstanceTime\\": \\"2022-04-13\\",\\n \\"ScenarioId\\": \\"1245\\",\\n \\"CronSwitch\\": false,\\n \\"CronStr\\": \\"0 0 1 * * ? *\\",\\n \\"ScheduleParam\\": \\"{\\\\\\\\\\\\\\"triggerType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"specificTime\\\\\\\\\\\\\\":\'2022-11-15 11:59\'}\\",\\n \\"TriggerType\\": 0,\\n \\"CronType\\": 2,\\n \\"CronBeginDate\\": \\"1970-01-01\\",\\n \\"CronEndDate\\": \\"2023-01-01\\",\\n \\"TimeZoneId\\": \\"Asia/Shanghai\\",\\n \\"DagOwnerId\\": \\"12***89\\"\\n }\\n ]\\n },\\n \\"TotalCount\\": 24\\n}","errorExample":""},{"type":"xml","example":"<ListTaskFlowsByPageResponse>\\n <RequestId>6CB28697-BFE2-5739-9228-3971990E982C</RequestId>\\n <Success>true</Success>\\n <TaskFlowList>\\n <DagName>poc_task_test</DagName>\\n <Description>test</Description>\\n <CreatorId>51****</CreatorId>\\n <CreatorNickName>Creator_NickName</CreatorNickName>\\n <DagOwnerNickName>Owner_NickName</DagOwnerNickName>\\n <Status>1</Status>\\n <LatestInstanceStatus>0</LatestInstanceStatus>\\n <LatestInstanceTime>2022-04-13</LatestInstanceTime>\\n </TaskFlowList>\\n <TotalCount>24</TotalCount>\\n</ListTaskFlowsByPageResponse>","errorExample":""}]', + 'title' => 'ListTaskFlowsByPage', + 'requestParamsDescription' => '过滤条件之间的关系为AND。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskFlowsByPage'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlowsByPage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListTasksInTaskFlow' => [ + 'summary' => 'Queries the tasks in a specified task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -38123,265 +28155,264 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', + 'abilityTreeCode' => '145478', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'ProxyAccessId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID that Data Management (DMS) generates after the user is authorized to enable the secure access proxy feature for an instance. The ID is unique in DMS. You can call the [ListProxyAccesses](~~295386~~) operation to query the ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '32***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The schema of the response.'."\n", + 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '3CDB8601-AD74-4A47-8114-08E08CD6****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'The specified user not exists.', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UserNotExist', - ], - 'ProxyAccess' => [ - 'description' => 'The authorization information about the secure access proxy feature.'."\n", + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '8B36B063-6B7D-5595-9FCF-3844B7B7ACD4', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'The task flow does not exist or you do not have the permission.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Tasks' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'ProxyAccessId' => [ - 'description' => 'The ID that DMS generates after the user is authorized to enable the secure access proxy feature for an instance. The ID is unique in DMS. You can call the [ListProxyAccesses](~~295386~~) operation to query the ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2002', - ], - 'GmtCreate' => [ - 'description' => 'The time when the user is authorized to enable the secure access proxy feature for an instance.'."\n", - 'type' => 'string', - 'example' => '1643034647', - ], - 'AccessId' => [ - 'description' => 'The username of the database account that is authorized to enable the secure access proxy feature for an instance.'."\n", - 'type' => 'string', - 'example' => 'hObpgEXoca42q***', - ], - 'OriginInfo' => [ - 'description' => 'The method that is used to authorize the user to enable the secure access proxy feature for an instance. Valid values:'."\n" - ."\n" - .'* **Authorization by the Alibaba Cloud Account ()**: The information in the parentheses () indicates the ID of the Alibaba Cloud account.'."\n" - .'* **Authorization by submitting the ticket ()**:The information in the parentheses () indicates the number of the ticket that the user submits to apply for permissions.'."\n", - 'type' => 'string', - 'example' => 'Authorization by the Alibaba Cloud account (29490401597700\\*\\*\\*\\*)'."\n", - ], - 'IndepAccount' => [ - 'description' => 'The username of the independent database account.'."\n", - 'type' => 'string', - 'example' => '***', - ], - 'UserId' => [ - 'description' => 'The ID of the user.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12***', - ], - 'UserUid' => [ - 'description' => 'The ID of the Alibaba Cloud account.'."\n", - 'type' => 'string', - 'example' => '25936669186260****', - ], - 'UserName' => [ - 'description' => 'The nickname of the user.'."\n", - 'type' => 'string', - 'example' => 'user', - ], - 'ProxyId' => [ - 'description' => 'The ID of the secure access proxy.'."\n" - ."\n" - .'> You can call the [ListProxies](~~295371~~) operation to query the ID of the secure access proxy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1905', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance for which the secure access proxy feature is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1922545', + 'Task' => [ + 'description' => 'The tasks in the task flow.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the task.'."\n", + 'type' => 'object', + 'properties' => [ + 'NodeName' => ['description' => 'The name of the node.'."\n", 'type' => 'string', 'example' => 'Cross-Database Spark SQL-1', 'title' => ''], + 'NodeType' => ['description' => 'The type of the node. For more information about the valid values for this parameter, see [NodeType parameter](~~424705~~).'."\n", 'type' => 'string', 'example' => 'SPARK_SQL', 'title' => ''], + 'NodeContent' => ['description' => 'The configuration for the node.'."\n", 'type' => 'string', 'example' => '{ "dbId":123456, // 数据库Id "sql":"/* 请使用当前节点所选择的数据库语法编写SQL */", // sql语句 "dbType":"polardb" // 数据库类型 }', 'title' => ''], + 'TimeVariables' => ['description' => 'The time variables configured for the node.'."\n", 'type' => 'string', 'example' => '{ "variables":[ // "variables"为固定值 { "name":"var", // name指定变量名 "pattern":"yyyy-MM-dd|+0m+0h-2d+0w+0M+1y" // 见后面解释 } ] }', 'title' => ''], + 'NodeConfig' => ['description' => 'The advanced configuration for the node.'."\n", 'type' => 'string', 'example' => '{ "rerun":{ // 必填固定值 "rerunEnable":true, // 是否开启重跑 "rerunCount":1, // 重跑次数 "rerunInterval":10 // 重跑间隔 } }', 'title' => ''], + 'NodeOutput' => ['description' => 'The output variables for the task.'."\n", 'type' => 'string', 'example' => '{ "outputs":[ { /* 变量提取设置 { "row":0, // 行,-1为所有行 "column":-1, // 列,-1为所有列 /* 分隔符 当选中所有行或所有列时,需要指定连接符。变量返回值为字符串 */ "combiner":"," } */ "extractMethod":"{\\"row\\":0,\\"column\\":-1,\\"combiner\\":\\",\\"}", "variableName":"var", // 变量名 "description":"For demo" // 变量介绍 } ] }', 'title' => ''], + 'GraphParam' => ['description' => 'The position of the node on the Directed Acyclic Graph (DAG).'."\n", 'type' => 'string', 'example' => '{\\"x\\":435,\\"y\\":192,\\"layoutType\\":\\"Horizontal\\"}', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the node.'."\n", 'type' => 'string', 'example' => '92***', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3CDB8601-AD74-4A47-8114-08E08CD6****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"The specified user not exists.\\",\\n \\"ErrorCode\\": \\"UserNotExist\\",\\n \\"ProxyAccess\\": {\\n \\"ProxyAccessId\\": 2002,\\n \\"GmtCreate\\": \\"1643034647\\",\\n \\"AccessId\\": \\"hObpgEXoca42q***\\",\\n \\"OriginInfo\\": \\"责任人授权(29490401597700****)\\",\\n \\"IndepAccount\\": \\"***\\",\\n \\"UserId\\": 0,\\n \\"UserUid\\": \\"25936669186260****\\",\\n \\"UserName\\": \\"user\\",\\n \\"ProxyId\\": 1905,\\n \\"InstanceId\\": 1922545\\n }\\n}","type":"json"}]', - 'title' => 'GetProxyAccess', - ], - 'GrantTemplateAuthority' => [ - 'summary' => 'Grants permissions on resources to users by using a permission template.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8B36B063-6B7D-5595-9FCF-3844B7B7ACD4\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"The task flow does not exist or you do not have the permission.\\",\\n \\"Success\\": true,\\n \\"Tasks\\": {\\n \\"Task\\": [\\n {\\n \\"NodeName\\": \\"Cross-Database Spark SQL-1\\",\\n \\"NodeType\\": \\"SPARK_SQL\\",\\n \\"NodeContent\\": \\"{ \\\\\\"dbId\\\\\\":123456, // 数据库Id \\\\\\"sql\\\\\\":\\\\\\"/* 请使用当前节点所选择的数据库语法编写SQL */\\\\\\", // sql语句 \\\\\\"dbType\\\\\\":\\\\\\"polardb\\\\\\" // 数据库类型 }\\",\\n \\"TimeVariables\\": \\"{ \\\\\\"variables\\\\\\":[ // \\\\\\"variables\\\\\\"为固定值 { \\\\\\"name\\\\\\":\\\\\\"var\\\\\\", // name指定变量名 \\\\\\"pattern\\\\\\":\\\\\\"yyyy-MM-dd|+0m+0h-2d+0w+0M+1y\\\\\\" // 见后面解释 } ] }\\",\\n \\"NodeConfig\\": \\"{ \\\\\\"rerun\\\\\\":{ // 必填固定值 \\\\\\"rerunEnable\\\\\\":true, // 是否开启重跑 \\\\\\"rerunCount\\\\\\":1, // 重跑次数 \\\\\\"rerunInterval\\\\\\":10 // 重跑间隔 } }\\",\\n \\"NodeOutput\\": \\"{ \\\\\\"outputs\\\\\\":[ { /* 变量提取设置 { \\\\\\"row\\\\\\":0, // 行,-1为所有行 \\\\\\"column\\\\\\":-1, // 列,-1为所有列 /* 分隔符 当选中所有行或所有列时,需要指定连接符。变量返回值为字符串 */ \\\\\\"combiner\\\\\\":\\\\\\",\\\\\\" } */ \\\\\\"extractMethod\\\\\\":\\\\\\"{\\\\\\\\\\\\\\"row\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"column\\\\\\\\\\\\\\":-1,\\\\\\\\\\\\\\"combiner\\\\\\\\\\\\\\":\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"}\\\\\\", \\\\\\"variableName\\\\\\":\\\\\\"var\\\\\\", // 变量名 \\\\\\"description\\\\\\":\\\\\\"For demo\\\\\\" // 变量介绍 } ] }\\",\\n \\"GraphParam\\": \\"{\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":435,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":192,\\\\\\\\\\\\\\"layoutType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Horizontal\\\\\\\\\\\\\\"}\\",\\n \\"NodeId\\": \\"92***\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListTasksInTaskFlow', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTasksInTaskFlow'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTasksInTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListUserOwnedResources' => [ + 'summary' => 'Obtains', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsY7L2P4'], + 'autoTest' => true, ], 'parameters' => [ [ - 'name' => 'TemplateId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1563', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'UserIds', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of users to which you want to grant permissions on resources by using the permission template.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[12***,34***,56***]', - ], + 'schema' => ['description' => 'The ID of the user.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1***', 'title' => ''], ], [ - 'name' => 'ExpireDate', + 'name' => 'DatabaseName', + 'in' => 'query', + 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'db_name', 'title' => ''], + ], + [ + 'name' => 'OwnerType', 'in' => 'query', 'schema' => [ - 'description' => 'The time when the permission expires. Specify the time in the yyyy-MM-DD HH:mm:ss format.'."\n", + 'description' => 'The type of the owner. Valid values:'."\n" + ."\n" + .'* INSTANCE: an owner of an instance.'."\n" + .'* DATABASE: an owner of a physical database.'."\n" + .'* TABLE: an owner of a physical table.'."\n", 'type' => 'string', 'required' => true, - 'example' => '2023-03-08 17:58:53', + 'example' => 'INSTANCE', + 'enum' => ['INSTANCE', 'DATABASE', 'TABLE'], + 'title' => '', ], ], [ - 'name' => 'Comment', + 'name' => 'Logic', 'in' => 'query', - 'schema' => [ - 'description' => 'The reason why you want to grant permissions on resources to the users by using the permission template.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Business test.'."\n", - ], + 'schema' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true.**: The database is a logical database'."\n" + .'* **false**: The database is a physical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'EnvType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" + ."\n" + .'* **product**: production environment.'."\n" + .'* **dev**: development environment.'."\n" + .'* **pre**: pre-release environment.'."\n" + .'* **test**: test environment.'."\n" + .'* **sit**: system integration testing (SIT) environment.'."\n" + .'* **uat**: user acceptance testing (UAT) environment.'."\n" + .'* **pet**: stress testing environment.'."\n" + .'* **stag**: staging environment.'."\n", 'type' => 'string', 'required' => false, 'example' => 'product', 'title' => ''], + ], + [ + 'name' => 'DbType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the database instance. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Result' => [ - 'description' => 'Indicates whether the permissions on resources were granted to the users by using the permission template.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'TotalCount' => ['description' => 'The total number of entries returned. By default, this parameter is not returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '8E88933E-E3D4-5BA8-8CBF-0A1CAEXXXXXX', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'resourceList' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The data returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => '291XXX', 'title' => ''], + 'DbId' => ['description' => 'The ID of the database in DMS.'."\n", 'type' => 'string', 'example' => '29697XXX', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'as_task_engine', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database'."\n" + .'* **false**: The database is a physical database.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'SearchName' => ['description' => 'The query name of the database.'."\n", 'type' => 'string', 'example' => 'dtstest [dtstest_dms]', 'title' => ''], + 'TableName' => ['description' => 'The table name.'."\n", 'type' => 'string', 'example' => 'addepmap', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the database instance belongs.'."\n", 'type' => 'string', 'example' => 'product', 'title' => ''], + 'DbType' => ['description' => 'The database engine type. For more information about the valid values of the DbType parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'TableId' => ['description' => 'The table ID.'."\n", 'type' => 'string', 'example' => '1760934XXX', 'title' => ''], + 'Alias' => ['description' => 'The alias of the instance.'."\n", 'type' => 'string', 'example' => 'DMS_GYX_TESTupdata', 'title' => ''], + 'Host' => ['description' => 'The endpoint of the instance to which the database belongs.'."\n", 'type' => 'string', 'example' => 'rm-wz98XXXXXX1303c5.mysql.rds.aliyuncs.com', 'title' => ''], + 'Port' => ['description' => 'The connection port of the instance to which the database belongs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '6379', 'title' => ''], + 'DbInstanceId' => ['description' => 'The ID of the instance to which the database belongs.'."\n", 'type' => 'string', 'example' => '876XXX', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'ListUserOwnedResources', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListUserOwnedResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"Result\\": true\\n}","type":"json"}]', - 'title' => 'GrantTemplateAuthority', - 'description' => 'You must be a database administrator (DBA) or a Data Management (DMS) administrator. For more information about how to view system roles, see [View system roles](~~324212~~).'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"8E88933E-E3D4-5BA8-8CBF-0A1CAEXXXXXX\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Data\\": {\\n \\"resourceList\\": [\\n {\\n \\"InstanceId\\": \\"291XXX\\",\\n \\"DbId\\": \\"29697XXX\\",\\n \\"SchemaName\\": \\"as_task_engine\\",\\n \\"Logic\\": false,\\n \\"SearchName\\": \\"dtstest [dtstest_dms]\\",\\n \\"TableName\\": \\"addepmap\\",\\n \\"EnvType\\": \\"product\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"TableId\\": \\"1760934XXX\\",\\n \\"Alias\\": \\"DMS_GYX_TESTupdata\\",\\n \\"Host\\": \\"rm-wz98XXXXXX1303c5.mysql.rds.aliyuncs.com\\",\\n \\"Port\\": 6379,\\n \\"DbInstanceId\\": \\"876XXX\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'RevokeTemplateAuthority' => [ - 'summary' => 'Revokes permissions on resources from Data Management (DMS) users by using a permission template.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListUserPermissions' => [ + 'summary' => 'Queries the permissions of a user on databases and tables.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -38389,41 +28420,78 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'TemplateId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1563', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'UserIds', + 'name' => 'PermType', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of users from whom you want to revoke permissions by using a permission template.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[12***,34***,56***]', - ], + 'schema' => ['description' => 'The permissions on a specific type of resources that you want to query. Valid values:'."\n" + ."\n" + .'* DATABASE: permissions on databases'."\n" + .'* TABLE: permissions on tables'."\n" + .'* COLUMN: permissions on fields'."\n" + .'* INSTANCE: permissions on instances'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DATABASE', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the user. You can call the [GetUser](~~147098~~) or [ListUsers](~~141938~~) operation to query the ID of the user.'."\n" + ."\n" + .'> The user ID is different from the ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '51****', 'title' => ''], + ], + [ + 'name' => 'DatabaseName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'db_name', 'title' => ''], + ], + [ + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['description' => 'The keyword used in the query. For example, if you want to query permissions on an instance, you can specify the endpoint of the instance, such as rm-bp144d5ky4l4r****.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rm-bp144d5ky4l4r****', 'title' => ''], + ], + [ + 'name' => 'Logic', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* true: The database is a logical database.'."\n" + .'* false: The database is a physical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'EnvType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the environment to which the database belongs. Valid values:'."\n" + ."\n" + .'* product: production environment'."\n" + .'* dev: development environment'."\n" + .'* pre: staging environment'."\n" + .'* test: test environment'."\n" + .'* sit: SIT environment'."\n" + .'* uat: user acceptance testing (UAT) environment'."\n" + .'* pet: stress testing environment'."\n" + .'* stag: STAG environment'."\n", 'type' => 'string', 'required' => false, 'example' => 'dev', 'title' => ''], + ], + [ + 'name' => 'DbType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'polardb', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''], ], ], 'responses' => [ @@ -38431,93 +28499,153 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Result' => [ - 'description' => 'Indicates whether the permissions were revoked from the users.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'TotalCount' => ['description' => 'The total number of entries that meet the query conditions.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'UserPermissions' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UserPermission' => [ + 'description' => 'The details of the permissions that the user has.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DbId' => ['description' => 'The ID of the database.'."\n", 'type' => 'string', 'example' => '1860****', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'test_table', 'title' => ''], + 'UserId' => ['description' => 'The ID of the user.'."\n", 'type' => 'string', 'example' => '51****', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'test_db', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* true: The database is a logical database.'."\n" + .'* false: The database is a physical database.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'UserNickName' => ['description' => 'The nickname of the user.'."\n", 'type' => 'string', 'example' => 'nick_name', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => '174****', 'title' => ''], + 'PermDetails' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'PermDetail' => [ + 'description' => 'The details of permissions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OriginFrom' => ['description' => 'The user who grants the permissions.'."\n", 'type' => 'string', 'example' => 'Xxx authorization', 'title' => ''], + 'PermType' => ['description' => 'The type of the permissions. Valid values:'."\n" + ."\n" + .'* QUERY: the query permissions'."\n" + .'* EXPORT: the export permissions'."\n" + .'* CORRECT: the change permissions'."\n", 'type' => 'string', 'example' => 'QUERY', 'title' => ''], + 'ExpireDate' => ['description' => 'The time when the permissions expire.'."\n", 'type' => 'string', 'example' => '2020-12-12 00:00:00', 'title' => ''], + 'CreateDate' => ['description' => 'The time when the permissions were granted.'."\n", 'type' => 'string', 'example' => '2019-12-12 00:00:00', 'title' => ''], + 'UserAccessId' => ['description' => 'The ID of the authorization record.'."\n", 'type' => 'string', 'example' => '758****', 'title' => ''], + 'ExtraData' => ['description' => 'This parameter is reserved.'."\n", 'type' => 'string', 'example' => 'xxx', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'EnvType' => ['description' => 'The type of the environment to which the database belongs. Valid values:'."\n" + ."\n" + .'- product: production environment'."\n" + .'- dev: development environment'."\n" + .'- pre: staging environment'."\n" + .'- test: test environment'."\n" + .'- sit: SIT environment'."\n" + .'- uat: UAT environment'."\n" + .'- pet: stress testing environment'."\n" + .'- stag: STAG environment', 'type' => 'string', 'example' => 'dev', 'title' => ''], + 'ColumnName' => ['description' => 'The name of the field.', 'type' => 'string', 'example' => 'column_name', 'title' => ''], + 'DbType' => ['description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](https://www.alibabacloud.com/help/en/data-management-service/latest/dbtype-parameter).', 'type' => 'string', 'example' => 'polardb', 'title' => ''], + 'DsType' => ['description' => 'The permissions on a specific type of objects that are granted to the user. Valid values: '."\n" + ."\n" + .'- DATABASE: permissions on physical databases'."\n" + .'- LOGIC_DATABASE: permissions on logical databases'."\n" + .'- TABLE: permissions on physical tables'."\n" + .'- LOGIC_TABLE: permissions on logical tables', 'type' => 'string', 'example' => 'DATABASE', 'title' => ''], + 'TableId' => ['description' => 'The ID of the table.', 'type' => 'string', 'example' => '13434', 'title' => ''], + 'SearchName' => ['description' => 'The name that is used to search for the database.', 'type' => 'string', 'example' => 'test_db@xxx:3306', 'title' => ''], + 'Alias' => ['description' => 'The alias of the instance.', 'type' => 'string', 'example' => 'instance_alias', 'title' => ''], + 'Host' => ['description' => 'The endpoint that is used to connect the database.', 'type' => 'string', 'example' => 'rm-bp144d5ky4l4r****', 'title' => ''], + 'Port' => ['description' => 'The port that is used to connect to the instance.', 'type' => 'integer', 'format' => 'int64', 'example' => '3306', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + .'- false: The request fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'RevokeTemplateAuthority', - 'description' => 'You must be a database administrator (DBA) or a DMS administrator. For more information about how to view system roles, see [View system roles](~~324212~~).'."\n", - ], - 'CreateAuthorityTemplate' => [ - 'summary' => 'Creates a permission template', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"UserPermissions\\": {\\n \\"UserPermission\\": [\\n {\\n \\"DbId\\": \\"1860****\\",\\n \\"TableName\\": \\"test_table\\",\\n \\"UserId\\": \\"51****\\",\\n \\"SchemaName\\": \\"test_db\\",\\n \\"Logic\\": false,\\n \\"UserNickName\\": \\"nick_name\\",\\n \\"InstanceId\\": \\"174****\\",\\n \\"PermDetails\\": {\\n \\"PermDetail\\": [\\n {\\n \\"OriginFrom\\": \\"Xxx authorization\\",\\n \\"PermType\\": \\"QUERY\\",\\n \\"ExpireDate\\": \\"2020-12-12 00:00:00\\",\\n \\"CreateDate\\": \\"2019-12-12 00:00:00\\",\\n \\"UserAccessId\\": \\"758****\\",\\n \\"ExtraData\\": \\"xxx\\"\\n }\\n ]\\n },\\n \\"EnvType\\": \\"dev\\",\\n \\"ColumnName\\": \\"column_name\\",\\n \\"DbType\\": \\"polardb\\",\\n \\"DsType\\": \\"DATABASE\\",\\n \\"TableId\\": \\"13434\\",\\n \\"SearchName\\": \\"test_db@xxx:3306\\",\\n \\"Alias\\": \\"instance_alias\\",\\n \\"Host\\": \\"rm-bp144d5ky4l4r****\\",\\n \\"Port\\": 3306\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListUserPermissions', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserPermissions'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListUserPermissions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListUserTenants' => [ + 'summary' => 'Queries tenants.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the permission template.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Test template.'."\n", - ], - ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the permission template.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'This template is used for business testing.'."\n", - ], - ], - [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -38525,143 +28653,127 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'AuthorityTemplateView' => [ - 'description' => 'The details of the permission template.'."\n", - 'type' => 'object', - 'properties' => [ - 'TemplateId' => [ - 'description' => 'The ID of the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563', - ], - 'Name' => [ - 'description' => 'The name of the permission template.'."\n", - 'type' => 'string', - 'example' => 'Test template.'."\n", - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who created the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12***', - ], - 'Description' => [ - 'description' => 'The description of the permission template.'."\n", - 'type' => 'string', - 'example' => 'This template is used for business testing.'."\n", - ], - 'CreateTime' => [ - 'description' => 'The time when the permission template was created. The time is in the yyyy-MM-DD HH:mm:ss format.'."\n", - 'type' => 'string', - 'example' => '2023-01-11 14:17:33', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C478D9DA-3615-50F6-A2BC-7855AD65****', 'title' => ''], + 'TenantList' => [ + 'description' => 'The details of the tenants that were returned.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The status of the tenant. Valid values:'."\n" + ."\n" + .'* **ACTIVE**: The tenant is used to access DMS.'."\n" + .'* **IN_ACTIVE**: The tenant is not used.'."\n", 'type' => 'string', 'example' => 'ACTIVE', 'title' => ''], + 'Tid' => ['description' => 'The ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3***', 'title' => ''], + 'TenantName' => ['description' => 'The name of the tenant.'."\n", 'type' => 'string', 'example' => 'test_name', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Tid' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3***', - ], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'TenantNotExist', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'The specified tenant does not exist.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"AuthorityTemplateView\\": {\\n \\"TemplateId\\": 1563,\\n \\"Name\\": \\"测试模板。\\",\\n \\"CreatorId\\": 0,\\n \\"Description\\": \\"此模板用于业务测试。\\",\\n \\"CreateTime\\": \\"2023-01-11 14:17:33\\"\\n },\\n \\"Success\\": true,\\n \\"Tid\\": 0\\n}","type":"json"}]', - 'title' => 'CreateAuthorityTemplate', - 'description' => 'You are a database administrator (DBA) or a Data Management (DMS) administrator. For more information about how to view system roles, see [View system roles](~~324212~~).'."\n", - ], - 'UpdateAuthorityTemplate' => [ - 'summary' => 'Modifies a permission template.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListUserTenants', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListUserTenants', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C478D9DA-3615-50F6-A2BC-7855AD65****\\",\\n \\"TenantList\\": [\\n {\\n \\"Status\\": \\"ACTIVE\\",\\n \\"Tid\\": 0,\\n \\"TenantName\\": \\"test_name\\"\\n }\\n ],\\n \\"ErrorCode\\": \\"TenantNotExist\\",\\n \\"ErrorMessage\\": \\"The specified tenant does not exist.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListUserTenantsResponse>\\n <RequestId>C478D9DA-3615-50F6-A2BC-7855AD65****</RequestId>\\n <TenantList>\\n <Status>ACTIVE</Status>\\n <TenantName>test_name</TenantName>\\n <Tid>3***</Tid>\\n </TenantList>\\n <Success>true</Success>\\n</ListUserTenantsResponse>","errorExample":""}]', + ], + 'ListUsers' => [ + 'summary' => 'Queries the details of users.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', + 'abilityTreeCode' => '12582', + 'abilityTreeNodes' => ['FEATUREdms90TD19'], ], 'parameters' => [ [ - 'name' => 'TemplateId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1563', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Name', + 'name' => 'Role', 'in' => 'query', 'schema' => [ - 'description' => 'The name of the permission template.'."\n" + 'description' => 'The role that is assigned to the user. Valid values:'."\n" + ."\n" + .'* **USER**: a regular user.'."\n" + .'* **DBA** : a database administrator (DBA).'."\n" + .'* **ADMIN**: a Data Management (DMS) administrator.'."\n" + .'* **SECURITY_ADMIN**: a security administrator.'."\n" + .'* **STRUCT_READ_ONLY**: a schema read-only user.'."\n" ."\n" - .'> You must specify the Name or Description parameter. Otherwise, the API call fails.'."\n", + .'> To check your role, move the pointer over the profile picture in the upper-right corner of the DMS console.'."\n", 'type' => 'string', - 'required' => true, - 'example' => 'Test template.'."\n", + 'required' => false, + 'docRequired' => false, + 'example' => 'DBA', + 'enum' => ['DBA', 'ADMIN', 'USER', 'SECURITY_ADMIN', 'STRUCT_READ_ONLY'], + 'title' => '', ], ], [ - 'name' => 'Description', + 'name' => 'UserState', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the permission template.'."\n" - ."\n" - .'> You must specify the Name or Description parameter. Otherwise, the API call fails.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'This template is used for business testing.'."\n", - ], + 'schema' => ['description' => 'The status of the user. Valid values:'."\n" + ."\n" + .'* **NORMAL**: The user is normal.'."\n" + .'* **DISABLE**: The user is disabled.'."\n" + .'* **DELETE**: The user is deleted.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'NORMAL', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'SearchKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The search keyword. Fuzzy match is supported.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'**'."\n" + ."\n" + .'Valid values: 10, 20, 50, and 100.**** Default value: 10.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -38669,196 +28781,185 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'AuthorityTemplateView' => [ - 'description' => 'The details of the permission template.'."\n", + 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '69161997-6030-53BA-A333-DBEC83B732FF', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'InvalidTid', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'Specified parameter Tid is not valid.', 'title' => ''], + 'UserList' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'TemplateId' => [ - 'description' => 'The ID of the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who created the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12***', - ], - 'Name' => [ - 'description' => 'The name of the permission template.'."\n", - 'type' => 'string', - 'example' => 'Test template.'."\n", - ], - 'Description' => [ - 'description' => 'The description of the permission template.'."\n", - 'type' => 'string', - 'example' => 'This template is used for business testing.'."\n", + 'User' => [ + 'description' => 'The details of users.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the user.'."\n", + 'type' => 'object', + 'properties' => [ + 'State' => ['description' => 'The status of the user. Valid values:'."\n" + ."\n" + .'* **NORMAL**: The user is normal.'."\n" + .'* **DISABLE**: The user is disabled.'."\n" + .'* **DELETE**: The user is deleted.'."\n", 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], + 'CurResultCount' => ['description' => 'The number of rows that were queried on the current day.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'UserId' => ['description' => 'The ID of the user.'."\n", 'type' => 'string', 'example' => '8****', 'title' => ''], + 'LastLoginTime' => ['description' => 'The time when the user last logged on to the console.'."\n", 'type' => 'string', 'example' => '2021-11-08 13:43:43', 'title' => ''], + 'MaxResultCount' => ['description' => 'The maximum number of rows that can be queried on the current day.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '50000', 'title' => ''], + 'ParentUid' => ['description' => 'The ID of the Alibaba Cloud account of the user.'."\n", 'type' => 'string', 'example' => '140692647406****', 'title' => ''], + 'RoleIdList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'RoleIds' => [ + 'description' => 'The IDs of the roles.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the role that is assigned to the user. Valid values:'."\n" + ."\n" + .'* **1**: a regular user role.'."\n" + .'* **2**: a DBA role.'."\n" + .'* **3**: a DMS administrator role.'."\n" + .'* **4**: a security administrator role.'."\n" + .'* **6**: a schema read-only user role.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'RoleNameList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'RoleNames' => [ + 'description' => 'The names of roles.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The name of the role that is assigned to the user. Valid values:'."\n" + ."\n" + .'* **USER**: a regular user.'."\n" + .'* **DBA** : a DBA.'."\n" + .'* **ADMIN**: a DMS administrator.'."\n" + .'* **SECURITY_ADMIN**: a security administrator.'."\n" + .'* **STRUCT_READ_ONLY**: a schema read-only user.'."\n", 'type' => 'string', 'example' => 'ADMIN', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'NickName' => ['description' => 'The nickname of the user.'."\n", 'type' => 'string', 'example' => 'test_NickName', 'title' => ''], + 'MaxExecuteCount' => ['description' => 'The maximum number of queries that can be performed on the current day.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2000', 'title' => ''], + 'CurExecuteCount' => ['description' => 'The number of queries that were performed on the current day.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Mobile' => ['description' => 'The mobile phone number of the user.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The system returns this parameter if you have set a mobile phone number in the console. To set a mobile phone number in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to **Notice**.'."\n" + ."\n" + .'* The system does not return this parameter if you have not set a mobile phone number.'."\n", 'type' => 'string', 'example' => '1389999****', 'title' => ''], + 'Uid' => ['description' => 'The ID of the Alibaba Cloud account.'."\n", 'type' => 'string', 'example' => '167382665015****', 'title' => ''], + 'Email' => ['description' => 'The email address that is used to receive notifications.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The system returns this parameter if you have set an email address in the console. To set an email address in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to **Notice**.'."\n" + ."\n" + .'* The system does not return this parameter if you have not set an email address.'."\n", 'type' => 'string', 'example' => 'username@example.com', 'title' => ''], + 'DingRobot' => ['description' => 'The DingTalk chatbot URL that is used to receive notifications.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The system returns this parameter if you have set a DingTalk chatbot URL in the console. To set a DingTalk chatbot URL in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to **Notice**.'."\n" + ."\n" + .'* The system does not return this parameter if you have not set a DingTalk chatbot URL.'."\n", 'type' => 'string', 'example' => 'https://XXX.dingtalk.com/robot/send?access_token=9b7a4a562cbe7fcdea9962afac7b9d7b4504d564948083419750f9cafa78e4ef', 'title' => ''], + 'Webhook' => ['description' => 'The webhook URL that is used to receive notifications.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If you have set a webhook URL, DMS sends notifications to the specified URL.'."\n" + ."\n" + .'* The system does not return this parameter if you have not set a webhook URL.'."\n", 'type' => 'string', 'example' => 'http://dms-XXX.aliyun.com:8***', 'title' => ''], + 'SignatureMethod' => ['description' => 'The signature method that is used to secure connections when a webhook URL is used. Valid values:'."\n" + ."\n" + .'* **NONE**: no signature.'."\n" + .'* **HMAC_SHA1**: HMAC_SHA1.'."\n", 'type' => 'string', 'example' => 'HMAC_SHA1', 'title' => ''], + 'NotificationMode' => ['description' => 'The notification method. The system returns one or more values. Valid values:'."\n" + ."\n" + .'* **SMS**: text message'."\n" + .'* **EMAIL**: email.'."\n" + .'* **DINGDING**: DingTalk.'."\n" + .'* **DINGROBOT**: DingTalk chatbot.'."\n" + .'* **WEBHOOK**: webhook.'."\n", 'type' => 'string', 'example' => 'DINGROBOT', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Tid' => [ - 'description' => 'The ID of the tenant.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3***', - ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"AuthorityTemplateView\\": {\\n \\"TemplateId\\": 1563,\\n \\"CreatorId\\": 0,\\n \\"Name\\": \\"测试模板。\\",\\n \\"Description\\": \\"此模板用于业务测试。\\"\\n },\\n \\"Success\\": true,\\n \\"Tid\\": 0\\n}","type":"json"}]', - 'title' => 'UpdateAuthorityTemplate', - 'description' => 'You are a database administrator (DBA) or a Data Management (DMS) administrator. For more information about how to view system roles, see [View system roles](~~324212~~).'."\n", - ], - 'AddAuthorityTemplateItems' => [ - 'summary' => 'Adds instances, databases, and tables to the specified permission template.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + 'title' => 'ListUsers', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 3,\\n \\"RequestId\\": \\"69161997-6030-53BA-A333-DBEC83B732FF\\",\\n \\"ErrorCode\\": \\"InvalidTid\\",\\n \\"ErrorMessage\\": \\"Specified parameter Tid is not valid.\\",\\n \\"UserList\\": {\\n \\"User\\": [\\n {\\n \\"State\\": \\"NORMAL\\",\\n \\"CurResultCount\\": 0,\\n \\"UserId\\": \\"8****\\",\\n \\"LastLoginTime\\": \\"2021-11-08 13:43:43\\",\\n \\"MaxResultCount\\": 50000,\\n \\"ParentUid\\": \\"140692647406****\\",\\n \\"RoleIdList\\": {\\n \\"RoleIds\\": [\\n 3\\n ]\\n },\\n \\"RoleNameList\\": {\\n \\"RoleNames\\": [\\n \\"ADMIN\\"\\n ]\\n },\\n \\"NickName\\": \\"test_NickName\\",\\n \\"MaxExecuteCount\\": 2000,\\n \\"CurExecuteCount\\": 0,\\n \\"Mobile\\": \\"1389999****\\",\\n \\"Uid\\": \\"167382665015****\\",\\n \\"Email\\": \\"username@example.com\\",\\n \\"DingRobot\\": \\"https://XXX.dingtalk.com/robot/send?access_token=9b7a4a562cbe7fcdea9962afac7b9d7b4504d564948083419750f9cafa78e4ef\\",\\n \\"Webhook\\": \\"http://dms-XXX.aliyun.com:8***\\",\\n \\"SignatureMethod\\": \\"HMAC_SHA1\\",\\n \\"NotificationMode\\": \\"DINGROBOT\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + ], + 'ListWorkFlowNodes' => [ + 'summary' => 'Queries approval nodes.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdms6MV762', - ], - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'TemplateId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the permission template. You can call the [CreateAuthorityTemplate](~~600705~~) operation to obtain the value of this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '15***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '-1', 'title' => ''], ], [ - 'name' => 'Items', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The resources that you want to add to the permission template.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the resource.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The instance ID. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the instance ID.'."\n" - ."\n" - .'> This parameter is required if the ResourceType parameter is set to INSTANCE.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '237****', - ], - 'DbId' => [ - 'description' => 'The database ID. Databases are divided into physical databases and logical databases.'."\n" - ."\n" - .'* To query the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" - .'* To query the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n" - ."\n" - .'> This parameter is required if the ResourceType parameter is set to META_DB, LOGIC_DB, META_TABLE, or LOGIC_TABLE.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2478****', - ], - 'TableName' => [ - 'description' => 'The table name. You can call the [ListTables](~~141878~~) operation to query the name of the table.'."\n" - ."\n" - .'> This parameter is required if the ResourceType parameter is set to META_TABLE or LOGIC_TABLE.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_table', - ], - 'ResourceType' => [ - 'description' => 'The type of the resource from which you want to remove tags. Valid values:'."\n" - ."\n" - .'* **INSTANCE**: instance'."\n" - .'* **LOGIC_DB**: logical database'."\n" - .'* **META_DB**: physical database'."\n" - .'* **LOGIC_TABLE**: logical table'."\n" - .'* **LOGIC_TABLE**: physical table'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', - ], - 'PermissionTypes' => [ - 'description' => 'The permission types.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The permissions type.'."\n" - ."\n" - .'* **QUERY**: the query permission'."\n" - .'* **EXPORT**: the data export permission'."\n" - .'* **CORRECT**: the data change permission'."\n" - .'* **LOGIN**: the logon permission'."\n" - .'* **PERF**: the performance query permission'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'QUERY,CORRECT', - ], - 'required' => false, - 'enumValueTitles' => [], - ], - ], - 'required' => false, - ], - 'required' => true, - ], - ], - [ - 'name' => 'Tid', + 'name' => 'SearchName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The name that is used to search for approval nodes.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'admin', 'title' => ''], ], ], 'responses' => [ @@ -38866,52 +28967,100 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '3D3FB827-E667-50DB-AD59-C83F8237FECB', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed. The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Data' => [ - 'description' => 'Indicates whether the resource is added to the permission template.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CFD8FE00-36D9-4C1B-940D-65A7B73D9066', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'WorkflowNodes' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'WorkflowNode' => [ + 'description' => 'The details of approval nodes.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Comment' => ['description' => 'The description of the approval template.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'CreateUserNickName' => ['description' => 'The name of the user who creates the approval node.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'NodeType' => ['description' => 'The type of the approval node. Valid values:'."\n" + ."\n" + .'* SYS: The approval node is predefined by the system.'."\n" + .'* USER_LIST: The approval node is created by a user.'."\n", 'type' => 'string', 'example' => 'SYS', 'title' => ''], + 'NodeName' => ['description' => 'The name of the approval node.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'AuditUsers' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'AuditUser' => [ + 'description' => 'The details about approvers.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RealName' => ['description' => 'The real name of the approver.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'UserId' => ['description' => 'The ID of the approver. The ID is different from the ID of the Alibaba Cloud account of the approver.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + 'NickName' => ['description' => 'The nickname of the approver.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'CreateUserId' => ['description' => 'The ID of the creator. This ID is different from the ID of the Alibaba Cloud account of the creator.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the approval node.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3D3FB827-E667-50DB-AD59-C83F8237FECB\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Data\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'AddAuthorityTemplateItems', - ], - 'GetAuthorityTemplateItem' => [ - 'summary' => 'Queries the resources in a permission template.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListWorkFlowNodes', + 'description' => '仅系统角色为管理员或DBA的用户可使用此API。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListWorkFlowNodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CFD8FE00-36D9-4C1B-940D-65A7B73D9066\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"WorkflowNodes\\": {\\n \\"WorkflowNode\\": [\\n {\\n \\"Comment\\": \\"test\\",\\n \\"CreateUserNickName\\": \\"test\\",\\n \\"NodeType\\": \\"SYS\\",\\n \\"NodeName\\": \\"test\\",\\n \\"AuditUsers\\": {\\n \\"AuditUser\\": [\\n {\\n \\"RealName\\": \\"test\\",\\n \\"UserId\\": 123,\\n \\"NickName\\": \\"test\\"\\n }\\n ]\\n },\\n \\"CreateUserId\\": 123,\\n \\"NodeId\\": 123\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + ], + 'ListWorkFlowTemplates' => [ + 'summary' => 'Queries approval templates.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -38919,35 +29068,19 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '165972', - 'abilityTreeNodes' => [ - 'FEATUREdms6MV762', - ], - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'TemplateId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1563', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '-1', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'SearchName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The name that is used to query approval templates.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'Admin', 'title' => ''], ], ], 'responses' => [ @@ -38955,121 +29088,108 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5B96E35F-A58E-5399-9041-09CF9A1E46EA', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'AuthorityTemplateItemList' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '41067071-0243-4AAB-B3CF-4DE6D54F53B4', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'WorkFlowTemplates' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'AuthorityTemplateItem' => [ - 'description' => 'The permission templates.'."\n", + 'WorkFlowTemplate' => [ + 'description' => 'The approval templates.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ItemId' => [ - 'description' => 'The ID of the resource.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12***', - ], - 'TemplateId' => [ - 'description' => 'The ID of the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563', - ], - 'ModifierId' => [ - 'description' => 'The ID of the user who modifies the resource.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51***', - ], - 'ResourceType' => [ - 'description' => 'The type of the resource. Valid values:'."\n" - ."\n" - .'* **INSTANCE**: instance'."\n" - .'* **LOGIC_DB**: logical database'."\n" - .'* **META_DB**: physical database'."\n" - .'* **LOGIC_TABLE**: logical table'."\n" - .'* **LOGIC_TABLE**: physical table'."\n", - 'type' => 'string', - 'example' => 'INSTANCE', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '188****', - ], - 'DbId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '43***', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'ExampleTable', - ], - 'Attribute' => [ - 'description' => 'The additional information. For example, permissions to log on to an instance are added to the permission template.'."\n", - 'type' => 'string', - 'example' => '"permissionTypes": ['."\n" - .' "LOGIN"'."\n" - .' ]', + 'IsSystem' => ['description' => 'Indicates whether the approval template is predefined by the system. Valid values:'."\n" + ."\n" + .'* 1: The approval template is predefined by the system.'."\n" + .'* 0: The approval template is not predefined by the system.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'WorkflowNodes' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'WorkflowNode' => [ + 'description' => 'The details of approval nodes.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Comment' => ['description' => 'The description of the approval node.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'NodeType' => ['description' => 'The type of the approval node. Valid values:'."\n" + ."\n" + .'* SYS: The approval node is predefined by the system.'."\n" + .'* USER_LIST: The approval node is created by a user.'."\n", 'type' => 'string', 'example' => 'SYS', 'title' => ''], + 'NodeName' => ['description' => 'The name of the approval node.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Position' => ['description' => 'The position of the approval node.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'CreateUserId' => ['description' => 'The ID of the creator.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1234', 'title' => ''], + 'TemplateId' => ['description' => 'The ID of the template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the approval node.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'Comment' => ['description' => 'The description of the approval template.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Enabled' => ['description' => 'Indicates whether the approval template is enabled. Valid values:'."\n" + ."\n" + .'* Y: The approval template is enabled.'."\n" + .'* N: The approval template is disabled.'."\n", 'type' => 'string', 'example' => 'Y', 'title' => ''], + 'TemplateName' => ['description' => 'The name of the approval template.'."\n", 'type' => 'string', 'example' => 'Admin', 'title' => ''], + 'TemplateId' => ['description' => 'The ID of the approval template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], + 'CreateUserId' => ['description' => 'The ID of the creator.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1234', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Tid' => [ - 'description' => 'The ID of the tenant.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3***', + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5B96E35F-A58E-5399-9041-09CF9A1E46EA\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"AuthorityTemplateItemList\\": {\\n \\"AuthorityTemplateItem\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"TemplateId\\": 1563,\\n \\"ModifierId\\": 0,\\n \\"ResourceType\\": \\"INSTANCE\\",\\n \\"InstanceId\\": 0,\\n \\"DbId\\": 0,\\n \\"TableName\\": \\"ExampleTable\\",\\n \\"Attribute\\": \\"\\\\\\"permissionTypes\\\\\\": [\\\\n \\\\\\"LOGIN\\\\\\"\\\\n ]\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Tid\\": 0\\n}","type":"json"}]', - 'title' => 'GetAuthorityTemplateItem', - 'description' => 'You are a database administrator (DBA) or a Data Management (DMS) administrator. For more information about how to view system roles, see [View system roles](~~324212~~).'."\n", - ], - 'GetAuthorityTemplate' => [ - 'summary' => 'Queries the information about a permission template.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListWorkFlowTemplates', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListWorkFlowTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"41067071-0243-4AAB-B3CF-4DE6D54F53B4\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"WorkFlowTemplates\\": {\\n \\"WorkFlowTemplate\\": [\\n {\\n \\"IsSystem\\": 1,\\n \\"WorkflowNodes\\": {\\n \\"WorkflowNode\\": [\\n {\\n \\"Comment\\": \\"test\\",\\n \\"NodeType\\": \\"SYS\\",\\n \\"NodeName\\": \\"test\\",\\n \\"Position\\": 1,\\n \\"CreateUserId\\": 1234,\\n \\"TemplateId\\": 12345,\\n \\"NodeId\\": 123\\n }\\n ]\\n },\\n \\"Comment\\": \\"test\\",\\n \\"Enabled\\": \\"Y\\",\\n \\"TemplateName\\": \\"Admin\\",\\n \\"TemplateId\\": 12345,\\n \\"CreateUserId\\": 1234\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + ], + 'ListWorkspaceUsers' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -39078,30 +29198,33 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'TemplateId', + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1563', - ], + 'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => '12****'], ], [ - 'name' => 'Tid', + 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'string', 'example' => '1', 'default' => '1', 'required' => false, 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The maximum number of entries to return on each page. You can use this parameter with `NextToken` to implement pagination.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The token used to retrieve the next page of results. For the first request, leave this parameter empty. For subsequent requests, set this parameter to the NextToken value returned in the previous response.', 'type' => 'string', 'required' => false, 'example' => 'f056501ada12c1cc', 'title' => ''], ], ], 'responses' => [ @@ -39109,154 +29232,55 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'AuthorityTemplateView' => [ - 'description' => 'The details of the permission template.'."\n", - 'type' => 'object', - 'properties' => [ - 'TemplateId' => [ - 'description' => 'The ID of the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who created the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12***', - ], - 'Name' => [ - 'description' => 'The name of the permission template.'."\n", - 'type' => 'string', - 'example' => 'TestTemplate'."\n", - ], - 'Description' => [ - 'description' => 'The description of the permission template.'."\n", - 'type' => 'string', - 'example' => 'This template is used for business testing.'."\n", - ], - 'CreateTime' => [ - 'description' => 'The time when the permission template was created. The time is in the yyyy-MM-DD HH:mm:ss format.'."\n", - 'type' => 'string', - 'example' => '2023-01-01 00:00:00', - ], - 'AuthorityTemplateItemList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'AuthorityTemplateItem' => [ - 'description' => 'The resource information in the permission template.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ItemId' => [ - 'description' => 'The ID of the resource.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12***', - ], - 'TemplateId' => [ - 'description' => 'The ID of the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1563', - ], - 'ModifierId' => [ - 'description' => 'The ID of the user who modified the resource.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51***', - ], - 'ResourceType' => [ - 'description' => 'The type of the resource. Valid values:'."\n" - ."\n" - .'* **INSTANCE**: instance'."\n" - .'* **LOGIC_DB**: logical database'."\n" - .'* **META_DB**: physical database'."\n" - .'* **LOGIC_TABLE**: logical table'."\n" - .'* **SINGLE_TABLE**: physical table'."\n", - 'type' => 'string', - 'example' => 'INSTANCE', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '188****', - ], - 'DbId' => [ - 'description' => 'The ID of the database.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '43***', - ], - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'ExampleTable', - ], - 'Attribute' => [ - 'description' => 'Other information. For example, you can add the logon permission on an instance to the permission template.'."\n", - 'type' => 'string', - 'example' => '"permissionTypes": ['."\n" - .' "LOGIN"'."\n" - .' ]', - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of matching entries.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DmsUserId' => ['description' => 'The ID of the DMS user.', 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], + 'NickName' => ['description' => 'The nickname of the user.', 'type' => 'string', 'example' => 'dynamic_320514_20250429102514', 'title' => ''], + 'LoginName' => ['description' => 'The login name of the user.', 'type' => 'string', 'example' => 'li', 'title' => ''], ], + 'title' => '', + 'description' => 'Details of a user.', + 'example' => '', ], + 'title' => '', + 'description' => 'The list of users.', + 'example' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Tid' => [ - 'description' => 'The ID of the tenant.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3***', - ], + 'MaxResults' => ['description' => 'The maximum number of entries returned on each page, as specified in the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'NextToken' => ['description' => 'The token to use to retrieve the next page of results. If this parameter is empty, all results have been returned.', 'type' => 'string', 'example' => 'NesLoKLEdIZrKhDT7I2gS****', 'title' => ''], ], + 'title' => '', + 'description' => 'The response object.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"AuthorityTemplateView\\": {\\n \\"TemplateId\\": 1563,\\n \\"CreatorId\\": 0,\\n \\"Name\\": \\"测试模板。\\",\\n \\"Description\\": \\"此模板用于业务测试。\\",\\n \\"CreateTime\\": \\"2023-01-01 00:00:00\\",\\n \\"AuthorityTemplateItemList\\": {\\n \\"AuthorityTemplateItem\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"TemplateId\\": 1563,\\n \\"ModifierId\\": 0,\\n \\"ResourceType\\": \\"INSTANCE\\",\\n \\"InstanceId\\": 0,\\n \\"DbId\\": 0,\\n \\"TableName\\": \\"ExampleTable\\",\\n \\"Attribute\\": \\"\\\\\\"permissionTypes\\\\\\": [\\\\n \\\\\\"LOGIN\\\\\\"\\\\n ]\\"\\n }\\n ]\\n }\\n },\\n \\"Success\\": true,\\n \\"Tid\\": 0\\n}","type":"json"}]', - 'title' => 'GetAuthorityTemplate', - 'description' => 'You must be a Data Management (DMS) administrator or a database administrator (DBA). For more information about how to view system roles, see [View system roles](~~324212~~).'."\n", - ], - 'ListAuthorityTemplate' => [ - 'summary' => 'Queries the information about permission templates, including the template creator, template name, and total number of templates.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListWorkspaceUsers', + 'summary' => 'Lists the users in a specified workspace.', + 'description' => '## Prerequisites'."\n" + ."\n" + .'- A VPC has been created.'."\n" + ."\n" + .'- You have logged on to the DMS console with an Alibaba Cloud account (main account) or a RAM user with administrative privileges, and have granted the `AliyunDMSProcessingDataRolePolicy` permission to DMS to access cloud resources.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": \\"1\\",\\n \\"Data\\": [\\n {\\n \\"DmsUserId\\": 12345,\\n \\"NickName\\": \\"dynamic_320514_20250429102514\\",\\n \\"LoginName\\": \\"li\\"\\n }\\n ],\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gS****\\"\\n}","type":"json"}]', + ], + 'ListWorkspaces' => [ + 'summary' => 'Queries a list of workspaces of the tenant.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -39266,59 +29290,52 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ', 'FEATUREdmsKIHNZQ'], ], 'parameters' => [ [ + 'name' => 'AlreadyJoined', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Specifies whether the current user has joined the workspace.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ 'name' => 'SearchKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword that is used to search for permission templates.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['title' => '', 'description' => 'The search keyword. Fuzzy match is supported.'."\n", 'type' => 'string', 'required' => false, 'example' => 'poc_test'], ], [ - 'name' => 'PageSize', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values:'."\n" - ."\n" - .'* 5'."\n" - .'* 10'."\n" - .'* 20'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '200', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['title' => '', 'description' => 'The region in which the bucket is located.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ServiceAccountId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The service account ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12345'], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['title' => '', 'description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'Tid', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['title' => '', 'description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['title' => 'vpc id', 'description' => 'The virtual private cloud (VPC) ID.'."\n" + ."\n" + .'> This parameter cannot be used as a filter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-bp10wnlcmor****'], ], ], 'responses' => [ @@ -39326,187 +29343,157 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '31853A2B-DC9D-5B39-8492-D2AC8BCF550E', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Tid' => [ - 'description' => 'The ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3***', - ], - 'AuthorityTemplateViewList' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'EE214ECD-4330-503A-82F0-FFB03975****'], + 'ErrorCode' => ['title' => '', 'description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UserNotExist'], + 'ErrorMessage' => ['title' => '', 'description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the call was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request succeeded.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of workspaces that meet the conditions.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'AuthorityTemplateView' => [ - 'description' => 'The permission templates.'."\n", + 'BaseWorkspaces' => [ + 'title' => '', + 'description' => 'The dataset.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TemplateId' => [ - 'description' => 'The ID of the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2592', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who created the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '522****', - ], - 'Name' => [ - 'description' => 'The name of the permission template.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'Description' => [ - 'description' => 'The description of the permission template.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'CreateTime' => [ - 'description' => 'The time when the permission template was created. The time is in the yyyy-MM-DD HH:mm:ss format.'."\n", - 'type' => 'string', - 'example' => '2023-10-26 11:37:47', - ], + 'Description' => ['title' => '', 'description' => 'The description of the workspace.'."\n", 'type' => 'string', 'example' => 'Test'], + 'CreatorId' => ['title' => '', 'description' => 'The ID of the creator.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'OwnerUid' => ['title' => '', 'description' => 'The Alibaba Cloud UID of the owner.'."\n", 'type' => 'string', 'example' => '15608564799****'], + 'WorkspaceId' => ['title' => '', 'description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '8652340494****'], + 'GmtModified' => ['title' => '', 'description' => 'The update time.'."\n", 'type' => 'string', 'example' => '2025-01-01 00:00:00'], + 'ServiceAccountId' => ['title' => '', 'description' => 'The ID of the service account.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], + 'CreatorUid' => ['title' => '', 'description' => 'The Alibaba Cloud account UID of the creator.'."\n", 'type' => 'string', 'example' => '1344****'], + 'ServiceAccountNickName' => ['title' => '', 'description' => 'The nickname of the service account.'."\n", 'type' => 'string', 'example' => 'testname'], + 'Name' => ['title' => '', 'description' => 'The name of the workspace.'."\n", 'type' => 'string', 'example' => 'workspace-xxxx'], + 'AlreadyJoined' => ['title' => '', 'description' => 'Whether the current user has joined the workspace.'."\n", 'type' => 'boolean', 'example' => 'true'], + 'TenantId' => ['title' => '', 'description' => 'The ID of the tenant to which the workspace belongs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '23456'], + 'GmtCreate' => ['title' => '', 'description' => 'The creation time.'."\n", 'type' => 'string', 'example' => '2025-01-01 00:00:00'], + 'ServiceAccountUid' => ['title' => '', 'description' => 'The Alibaba Cloud account UID of the service account.'."\n", 'type' => 'string', 'example' => '1422****'], + 'OwnerId' => ['title' => '', 'description' => 'The owner ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123****'], + 'VpcId' => ['title' => 'vpc id', 'description' => 'The VPC ID.'."\n", 'type' => 'string', 'example' => 'vpc-25fl3qjqb****'], + 'Region' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou'], + 'WorkspaceName' => ['title' => '', 'description' => 'The name of the workspace.'."\n", 'type' => 'string', 'example' => 'test-workspace'], + 'CreatorNickName' => ['title' => '', 'description' => 'The nickname of the creator.'."\n", 'type' => 'string', 'example' => 'work*****'], + 'OwnerNickName' => ['title' => '', 'description' => 'The nickname of the owner.'."\n", 'type' => 'string', 'example' => 'hel****'], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'TotalCount' => [ - 'description' => 'The total number of permission templates.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], + 'NextToken' => ['title' => '', 'description' => 'NextToken does not take effect.'."\n", 'type' => 'string', 'example' => 'token-xxx'], + 'MaxResults' => ['title' => '', 'description' => 'The total number of workspaces that meet the condition, which is the same as the TotalCount parameter.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31853A2B-DC9D-5B39-8492-D2AC8BCF550E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Tid\\": 0,\\n \\"AuthorityTemplateViewList\\": {\\n \\"AuthorityTemplateView\\": [\\n {\\n \\"TemplateId\\": 2592,\\n \\"CreatorId\\": 0,\\n \\"Name\\": \\"权限模板测试\\",\\n \\"Description\\": \\"该模板为测试使用。\\",\\n \\"CreateTime\\": \\"2023-10-26 11:37:47\\"\\n }\\n ]\\n },\\n \\"TotalCount\\": 10\\n}","type":"json"}]', - 'title' => 'ListAuthorityTemplate', - ], - 'DeleteAuthorityTemplate' => [ - 'summary' => 'Deletes a permission template.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListWorkspaces', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListWorkspaces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EE214ECD-4330-503A-82F0-FFB03975****\\",\\n \\"ErrorCode\\": \\"UserNotExist\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 10,\\n \\"Data\\": {\\n \\"BaseWorkspaces\\": [\\n {\\n \\"Description\\": \\"Test\\",\\n \\"CreatorId\\": 123,\\n \\"OwnerUid\\": \\"15608564799****\\",\\n \\"WorkspaceId\\": 0,\\n \\"GmtModified\\": \\"2025-01-01 00:00:00\\",\\n \\"ServiceAccountId\\": 12345,\\n \\"CreatorUid\\": \\"1344****\\",\\n \\"ServiceAccountNickName\\": \\"testname\\",\\n \\"Name\\": \\"workspace-xxxx\\",\\n \\"AlreadyJoined\\": true,\\n \\"TenantId\\": 23456,\\n \\"GmtCreate\\": \\"2025-01-01 00:00:00\\",\\n \\"ServiceAccountUid\\": \\"1422****\\",\\n \\"OwnerId\\": 0,\\n \\"VpcId\\": \\"vpc-25fl3qjqb****\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"WorkspaceName\\": \\"test-workspace\\",\\n \\"CreatorNickName\\": \\"work*****\\",\\n \\"OwnerNickName\\": \\"hel****\\"\\n }\\n ]\\n },\\n \\"NextToken\\": \\"token-xxx\\",\\n \\"MaxResults\\": 10\\n}","type":"json"}]', + ], + 'MakeTaskFlowInstanceSuccess' => [ + 'summary' => 'Sets the status of a task flow to "Successful".', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', + 'abilityTreeCode' => '145423', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'TemplateId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the permission template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '2592', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', 'title' => ''], + ], + [ + 'name' => 'DagInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the execution record of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to query the execution record ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '47****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Tid' => [ - 'description' => 'The ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3***', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '028BF827-3801-5869-8548-F4A039256304', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Tid\\": 0\\n}","type":"json"}]', - 'title' => 'DeleteAuthorityTemplate', - ], - 'CreateAbacPolicy' => [ - 'summary' => 'Creates a policy to manage the permissions on DMS features and data resources managed in DMS in a fine-grained manner.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + 'title' => 'MakeTaskFlowInstanceSuccess', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:MakeTaskFlowInstanceSuccess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"028BF827-3801-5869-8548-F4A039256304\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<MakeTaskFlowInstanceSuccessResponse>\\n <RequestId>028BF827-3801-5869-8548-F4A039256304</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</MakeTaskFlowInstanceSuccessResponse>","errorExample":""}]', + ], + 'ModifyDataCorrectExecSQL' => [ + 'summary' => 'Modify the SQL script submitted in a data change ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -39515,512 +29502,518 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '228408', - 'abilityTreeNodes' => [ - 'FEATUREdmsCFVL8F', - ], + 'abilityTreeNodes' => [], ], 'parameters' => [ [ - 'name' => 'AbacPolicyName', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'title' => '策略名称,租户内唯一', - 'description' => 'The name of the policy. The name must be unique for the tenant.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'policy_test', - ], + 'schema' => ['description' => 'The ID of the data change ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '4328****', 'title' => ''], ], [ - 'name' => 'AbacPolicyDesc', + 'name' => 'ExecSQL', 'in' => 'query', - 'schema' => [ - 'title' => '策略描述', - 'description' => 'The description of the policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The new SQL script.'."\n", 'type' => 'string', 'required' => true, 'example' => 'update tb set id = 1 where id = 1;', 'title' => ''], ], [ - 'name' => 'AbacPolicyContent', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'title' => '策略内容', - 'description' => 'The content of the policy. Specifies whether the authorized user can access and use the resources and features defined in the policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{'."\n" - .' "Statement": ['."\n" - .' {'."\n" - .' "Action": "*",'."\n" - .' "Effect": "Allow",'."\n" - .' "Resource": "*",'."\n" - .' "Condition": {'."\n" - .' "StringEqualsIgnoreCase": {'."\n" - .' "dms:DbType": ['."\n" - .' "redis"'."\n" - .' ]'."\n" - .' }'."\n" - .' }'."\n" - .' }'."\n" - .' ],'."\n" - .' "Version": "1"'."\n" - .'}', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '4****', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'RealLoginUserUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The UID of the Alibaba Cloud account of the user who actually invokes the API. <props="china">For more information, see [Specify an API caller](~~2835451~~).</props>', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'CreatePolicyResult' => [ - 'description' => 'The ID of the policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'Specified parameter OrderId is not valid.', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'InvalidOrderId', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"Specified parameter OrderId is not valid.\\",\\n \\"ErrorCode\\": \\"InvalidOrderId\\"\\n}","type":"json"}]', + 'title' => 'Modify the SQL script of a data change ticket', + 'description' => 'This API can be invoked only for database instances whose control mode is Security Collaboration.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ModifyDataCorrectExecSQL', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"CreatePolicyResult\\": 0\\n}","type":"json"}]', - 'title' => 'CreateAbacPolicy', - 'description' => 'Currently, this feature is in the phased release phase. Only users who have phased out can use this feature and related APIs. For more information about the policy feature, see [Manage policies](~~2848565~~).'."\n", ], - 'ListAbacPolicies' => [ - 'summary' => 'Queries a list of policies that are created by a user.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ModifyDesensitizationStrategy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '228361', - 'abilityTreeNodes' => [ - 'FEATUREdmsCFVL8F', - ], - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '200', - 'minimum' => '1', - 'example' => '20', - ], + 'schema' => ['description' => 'The ID of the database. You can call the [ListDatabases](~~141873~~) operation to obtain the ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '123', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'IsLogic', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a physical database.'."\n" + .'* **false**: The database is a logical database.'."\n", 'type' => 'boolean', 'required' => true, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'SchemaName', 'in' => 'query', - 'schema' => [ - 'description' => 'The search keyword. Fuzzy match is supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'policy_test'."\n", - ], + 'schema' => ['description' => 'The name of the database. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the database name.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If the database is a physical database, you can call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the database name.'."\n" + ."\n" + .'* If the database is a logical database, you can call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation to obtain the name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_schema', 'title' => ''], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the table. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the table name.'."\n" + ."\n" + .'> You can also call the [ListTables](~~141878~~) operation to obtain the table name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_table', 'title' => ''], + ], + [ + 'name' => 'ColumnName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the field. You can call the [ListSensitiveColumns](~~188103~~) operation to obtain the field name.'."\n" + ."\n" + .'> You can also call the [ListColumns](~~141870~~) operation to obtain the field name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_column', 'title' => ''], + ], + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the masking rule.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '53', 'title' => ''], + ], + [ + 'name' => 'IsReset', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to reset the masking rule. Valid value:'."\n" + ."\n" + .'* **true**: Reset the masking rule.'."\n" + .'* **false**: Do not reset the masking rule. This is the default value.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'IsDefault', + 'in' => 'query', + 'schema' => ['description' => 'The desensitization algorithm of the field setting. The default value is false. The values are as follows:'."\n" + ."\n" + .'- **true**: default desensitization algorithm.'."\n" + ."\n" + .'- **false** :semi-desensitization algorithm.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) in the topic "Manage DMS tenants."'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Tid' => [ - 'description' => 'The ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3***', - ], - 'PolicyList' => [ - 'description' => 'The details of the permission policies.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the permission policy.'."\n", - 'type' => 'object', - 'properties' => [ - 'AbacPolicyId' => [ - 'description' => 'The ID of the policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], - 'AbacPolicyName' => [ - 'description' => 'The name of the policy.'."\n", - 'type' => 'string', - 'example' => 'policy_test'."\n", - ], - 'AbacPolicyDesc' => [ - 'description' => 'The description of the policy.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'AbacPolicyContent' => [ - 'description' => 'The content of the policy.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "Statement": ['."\n" - .' {'."\n" - .' "Action": "*",'."\n" - .' "Effect": "Allow",'."\n" - .' "Resource": "*",'."\n" - .' "Condition": {'."\n" - .' "StringEqualsIgnoreCase": {'."\n" - .' "dms:DbType": ['."\n" - .' "redis"'."\n" - .' ]'."\n" - .' }'."\n" - .' }'."\n" - .' }'."\n" - .' ],'."\n" - .' "Version": "1"'."\n" - .'}', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who created the policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51****'."\n", - ], - 'AbacPolicySource' => [ - 'description' => 'The source of the policy.'."\n", - 'type' => 'string', - 'example' => 'USER_DEFINE'."\n", - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => 'The total number of policies.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '283C461F-11D8-48AA-B695-DF092DA32AF3'], + 'ErrorCode' => ['description' => 'The status code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Result' => ['description' => 'The returned result.'."\n", 'type' => 'boolean', 'example' => 'True', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'ModifyDesensitizationStrategy', + 'summary' => 'Modifies the masking rule bound to a specified field.', + 'extraInfo' => "\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ModifyDesensitizationStrategy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Tid\\": 0,\\n \\"PolicyList\\": [\\n {\\n \\"AbacPolicyId\\": 0,\\n \\"AbacPolicyName\\": \\"policy_test\\\\n\\",\\n \\"AbacPolicyDesc\\": \\"test\\",\\n \\"AbacPolicyContent\\": \\"{\\\\n \\\\\\"Statement\\\\\\": [\\\\n {\\\\n \\\\\\"Action\\\\\\": \\\\\\"*\\\\\\",\\\\n \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n \\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\",\\\\n \\\\\\"Condition\\\\\\": {\\\\n \\\\\\"StringEqualsIgnoreCase\\\\\\": {\\\\n \\\\\\"dms:DbType\\\\\\": [\\\\n \\\\\\"redis\\\\\\"\\\\n ]\\\\n }\\\\n }\\\\n }\\\\n ],\\\\n \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"\\\\n}\\",\\n \\"CreatorId\\": 0,\\n \\"AbacPolicySource\\": \\"USER_DEFINE\\\\n\\"\\n }\\n ],\\n \\"TotalCount\\": 5\\n}","type":"json"}]', - 'title' => 'ListAbacPolicies', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"283C461F-11D8-48AA-B695-DF092DA32AF3\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": false,\\n \\"Result\\": true\\n}","errorExample":""},{"type":"xml","example":"<ModifyDesensitizationStrategyResponse>\\n <RequestId>283C461F-11D8-48AA-B695-DF092DA32AF3</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>false</Success>\\n <Result>true</Result>\\n</ModifyDesensitizationStrategyResponse>","errorExample":""}]', ], - 'UpdateAbacPolicy' => [ - 'summary' => 'Updates the name, description, or content of a policy.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ModifyInstance' => [ + 'summary' => 'Modifies the basic and advanced information about a database instance in Data Management (DMS). The basic information includes the hosting mode of the instance, the instance account username and password, and features that are enabled for the instance. The advanced information includes the environment type, the instance name in DMS, and the timeout period for querying and exporting data.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '228488', - 'abilityTreeNodes' => [ - 'FEATUREdmsCFVL8F', - ], + 'abilityTreeCode' => '201929', + 'abilityTreeNodes' => ['FEATUREdms19SL1H'], ], 'parameters' => [ [ - 'name' => 'AbacPolicyName', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'title' => '权限策略名称', - 'description' => 'The name of the permission policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'policy_test', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '183****', 'title' => ''], ], [ - 'name' => 'AbacPolicyDesc', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'title' => '权限策略描述', - 'description' => 'The description of the policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> You can move the pointer over the profile picture in the upper-right corner of the DMS console to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '23****'."\n", 'title' => ''], ], [ - 'name' => 'AbacPolicyContent', + 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'title' => '权限策略内容', - 'description' => 'The content of the policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "Statement": ['."\n" - .' {'."\n" - .' "Action": "*",'."\n" - .' "Effect": "Allow",'."\n" - .' "Resource": "*",'."\n" - .' "Condition": {'."\n" - .' "StringEqualsIgnoreCase": {'."\n" - .' "dms:DbType": ['."\n" - .' "redis"'."\n" - .' ]'."\n" - .' }'."\n" - .' }'."\n" - .' }'."\n" - .' ],'."\n" - .' "Version": "1"'."\n" - .'}', - ], + 'schema' => ['description' => 'The type of the database instance. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'MySQL', 'title' => ''], ], [ - 'name' => 'AbacPolicyId', + 'name' => 'InstanceSource', + 'in' => 'query', + 'schema' => ['description' => 'The source of the database instance. Valid values:'."\n" + ."\n" + .'* **PUBLIC_OWN**: a self-managed database instance that is deployed on the Internet.'."\n" + .'* **RDS**: an ApsaraDB RDS instance.'."\n" + .'* **ECS_OWN**: a self-managed database instance that is deployed on an Elastic Compute Service (ECS) instance.'."\n" + .'* **VPC_IDC**: a self-managed database instance that is deployed in a data center connected over a virtual private cloud (VPC).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'RDS', 'title' => ''], + ], + [ + 'name' => 'NetworkType', + 'in' => 'query', + 'schema' => ['description' => 'The network type of the database instance. Valid values:'."\n" + ."\n" + .'* **CLASSIC**: the classic network.'."\n" + .'* **VPC**: VPC.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'VPC', 'title' => ''], + ], + [ + 'name' => 'EnvType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" + ."\n" + .'* **product**: production environment.'."\n" + .'* **dev**: development environment.'."\n" + .'* **pre**: pre-release environment.'."\n" + .'* **test**: test environment.'."\n" + .'* **sit**: system integration testing (SIT) environment.'."\n" + .'* **uat**: user acceptance testing (UAT) environment.'."\n" + .'* **pet**: stress testing environment.'."\n" + .'* **stag**: staging environment.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'dev', 'title' => ''], + ], + [ + 'name' => 'EcsInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the ECS instance.'."\n" + ."\n" + .'> This parameter is required if InstanceSource is set to ECS_OWN.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i-2zei9gs1t7h8l7ac****', 'title' => ''], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The VPC ID.'."\n" + ."\n" + .'> This parameter is required if InstanceSource is set to VPC_IDC.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-bp10wnlcmor****', 'title' => ''], + ], + [ + 'name' => 'EcsRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region in which the ECS instance resides.'."\n" + ."\n" + .'> This parameter is required if InstanceSource is set to RDS, ECS_OWN, or VPC_IDC.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'Host', + 'in' => 'query', + 'schema' => ['description' => 'The endpoint that is used to connect to the database instance.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '192.XXX.0.56', 'title' => ''], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => 'The port that is used to connect to the database instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '3306', 'title' => ''], + ], + [ + 'name' => 'Sid', + 'in' => 'query', + 'schema' => ['description' => 'The system ID (SID) of the database instance.'."\n" + ."\n" + .'> This parameter is required if InstanceType is set to ORACLE.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testSid', 'title' => ''], + ], + [ + 'name' => 'DatabaseUser', + 'in' => 'query', + 'schema' => ['description' => 'The account that is used to log on to the database instance.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'testsdb'."\n", 'title' => ''], + ], + [ + 'name' => 'DatabasePassword', + 'in' => 'query', + 'schema' => ['description' => 'The password of the account that is used to log on to the database instance.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test***'."\n", 'title' => ''], + ], + [ + 'name' => 'InstanceAlias', + 'in' => 'query', + 'schema' => ['description' => 'The alias of the database instance. Specify an alias that can help you quickly identify the database instance in Data Management (DMS).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'instance_test', 'title' => ''], + ], + [ + 'name' => 'DbaId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the user who assumes the database administrator (DBA) role. You can call the [ListUsers](~~141938~~) or [GetInstance](~~141567~~) operation to obtain the value of this parameter.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '27****', 'title' => ''], + ], + [ + 'name' => 'QueryTimeout', + 'in' => 'query', + 'schema' => ['description' => 'The timeout period for querying data from the database instance. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '7200', 'title' => ''], + ], + [ + 'name' => 'ExportTimeout', + 'in' => 'query', + 'schema' => ['description' => 'The timeout period for exporting data from the database instance. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '86400', 'title' => ''], + ], + [ + 'name' => 'EnableSellTrust', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Specifies whether to enable the security hosting feature for the database instance. Valid values:'."\n" + ."\n" + .'* Y: Enable.'."\n" + .'* N: Disable.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Y'], + ], + [ + 'name' => 'EnableSellStable', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Specifies whether to enable Stable Change for the database instance. Valid values:'."\n" + ."\n" + .'* Y: Enable.'."\n" + .'* N: Disable.'."\n", 'type' => 'string', 'required' => false, 'example' => 'N'], + ], + [ + 'name' => 'EnableSellCommon', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Specifies whether to enable Security Collaboration for the database instance. Valid values:'."\n" + ."\n" + .'* Y: Enable.'."\n" + .'* N: Disable.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Y'], + ], + [ + 'name' => 'SafeRule', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The name of the security rule set for the database instance. This parameter is required if Security Collaboration is enabled. You can call the[ListStandardGroups](~~465940~~) or [GetInstance](~~465826~~) operation to obtain the name of the security rule set from GroupName.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'Finance-production'], + ], + [ + 'name' => 'EnableSellSitd', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Specifies whether to enable sensitive data protection. Valid values:'."\n" + ."\n" + .'* Y: Enable.'."\n" + .'* N: Disable.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Y'], + ], + [ + 'name' => 'DataLinkName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the database link for cross-database queries.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* This property must be specified when UseDsql is set to 1.'."\n" + ."\n" + .'* The name can contain only lowercase letters and underscores (\\_).'."\n" + ."\n" + .'* The name must be unique within a tenant.'."\n", 'type' => 'string', 'required' => false, 'example' => 'dblink_test', 'title' => ''], + ], + [ + 'name' => 'DdlOnline', 'in' => 'query', 'schema' => [ - 'title' => '权限策略id', - 'description' => 'The ID of the policy.'."\n", + 'description' => 'Specifies whether to enable lock-free schema change. Valid values:'."\n" + ."\n" + .'* **0**: Disable Lock-free Schema Change.'."\n" + .'* **1**: MySQL native online DDL first.'."\n" + .'* **2**: DMS native online DDL first.'."\n" + ."\n" + .'> Supported databases include ApsaraDB RDS for MySQL, PolarDB for MySQL, ApsaraDB MyBase for MySQL, and third-party MySQL databases.'."\n", 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12****', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + 'enum' => ['0', '1', '2'], + 'title' => '', ], ], [ - 'name' => 'Tid', + 'name' => 'UseDsql', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" + 'description' => 'Specifies whether to enable cross-instance query for the database instance. Valid values:'."\n" + ."\n" + .'* **0**: Disables cross-database query.'."\n" + .'* **1**: Enables cross-database query.'."\n" ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", + .'> Supported databases include MySQL, SQL Server, PostgreSQL, PolarDB for Oracle, and Redis.'."\n", 'type' => 'integer', - 'format' => 'int64', + 'format' => 'int32', 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + 'example' => '1', + 'enum' => ['0', '1'], + 'title' => '', ], ], + [ + 'name' => 'SkipTest', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to skip the connectivity test. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The ID of the classification and grading template. You can call the [ListClassificationTemplates](~~465947~~) operation to query the template ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '31***'], + ], + [ + 'name' => 'TemplateType', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The type of the classification and grading template. You can call the [ListClassificationTemplates](~~465947~~) operation to query the template type.'."\n", 'type' => 'string', 'required' => false, 'example' => 'INNER'], + ], + [ + 'name' => 'UseSsl', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Specifies whether to allow Data Management Service (DMS) to connect to the database instance by using SSL connections. Before you use SSL connections, make sure that the SSL encryption feature is enabled for the database instance. Valid values:'."\n" + ."\n" + .'* **0** (default): DMS automatically checks whether self-negotiation is enabled for the database instance. DMS automatically checks whether the SSL encryption feature is enabled for the database instance. If the SSL encryption feature is enabled, DMS connects to the database instance by using SSL connections. Otherwise, DMS connects to the database instance without encryption.'."\n" + .'* **1**: DMS connects to the database instance by using SSL connections. This value is invalid if the SSL encryption feature is disabled for the database instance.'."\n" + .'* **-1**: DMS does not connect to the database instance by using SSL connections.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* This parameter is available only for a MySQL or Redis database instance.'."\n" + ."\n" + .'* SSL encrypts network connections at the transport layer to improve the security and integrity of data in transmission. However, SSL increases the response time of network connections.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1', 'minimum' => '-1', 'example' => '0'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'CE43759B-5A72-560A-BF3D-862F38B36B9E', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'UpdatePolicyResult' => [ - 'description' => 'Indicates whether the policy is updated.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CE43759B-5A72-560A-BF3D-862F38B36B9E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"UpdatePolicyResult\\": 0\\n}","type":"json"}]', - 'title' => 'UpdateAbacPolicy', - ], - 'DeleteAbacPolicy' => [ - 'summary' => 'Deletes a created permission policy.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ModifyInstance', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstance'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ModifyInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'MoveTaskFlowToScenario' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '228464', - 'abilityTreeNodes' => [ - 'FEATUREdmsCFVL8F', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '148613', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'AbacPolicyId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'title' => '权限策略id', - 'description' => 'The ID of the policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12****'."\n", - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '11****', 'title' => ''], + ], + [ + 'name' => 'ScenarioId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the business scenario to which you want to migrate your task flow. If this parameter is set to the default value or a value that is less than or equal to 0, the task flow is migrated to the default business scenario.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1****', 'title' => ''], ], ], 'responses' => [ @@ -40028,55 +30021,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'DeletePolicyResult' => [ - 'description' => 'Indicates whether the policy is deleted.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'D85FD18C-4322-5D49-8C14-5A10E668F86C', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'MoveTaskFlowToScenario', + 'summary' => 'Migrates a task flow to a specified business scenario.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:MoveTaskFlowToScenario', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DeletePolicyResult\\": true\\n}","type":"json"}]', - 'title' => 'DeleteAbacPolicy', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D85FD18C-4322-5D49-8C14-5A10E668F86C\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<MoveTaskFlowToScenarioResponse>\\n <RequestId>D85FD18C-4322-5D49-8C14-5A10E668F86C</RequestId>\\n <Success>true</Success>\\n</MoveTaskFlowToScenarioResponse>","errorExample":""}]', ], - 'GetAbacPolicy' => [ - 'summary' => 'Queries the details of a policy, including the name, content, and the user who created the policy.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'OfflineTaskFlow' => [ + 'summary' => 'Unpublishes a published task flow in Data Management (DMS).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -40086,704 +30066,331 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '229515', - 'abilityTreeNodes' => [ - 'FEATUREdmsCFVL8F', - ], + 'abilityTreeCode' => '135062', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'AbacPolicyId', - 'in' => 'query', - 'schema' => [ - 'title' => '策略id', - 'description' => 'The ID of the policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', - ], - ], - [ - 'name' => 'AbacPolicyName', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'title' => '策略名称', - 'description' => 'The name of the policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'policy_test'."\n", - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '2B7844DE-A0C3-50ED-A796-8F07D377144C', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Policy' => [ - 'description' => 'The details of the policy.'."\n", - 'type' => 'object', - 'properties' => [ - 'PolicyName' => [ - 'title' => '策略名', - 'description' => 'The name of the policy.'."\n", - 'type' => 'string', - 'example' => 'policy_test', - ], - 'PolicyDesc' => [ - 'title' => '策略描述', - 'description' => 'The description of the policy.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'PolicyContent' => [ - 'title' => '策略内容', - 'description' => 'The content of the policy.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "Statement": ['."\n" - .' {'."\n" - .' "Action": "*",'."\n" - .' "Effect": "Allow",'."\n" - .' "Resource": "*",'."\n" - .' "Condition": {'."\n" - .' "StringEqualsIgnoreCase": {'."\n" - .' "dms:DbType": ['."\n" - .' "redis"'."\n" - .' ]'."\n" - .' }'."\n" - .' }'."\n" - .' }'."\n" - .' ],'."\n" - .' "Version": "1"'."\n" - .'}', - ], - 'CreatorId' => [ - 'title' => '策略创建人', - 'description' => 'The ID of the user who create the policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51****'."\n", - ], - 'PolicySource' => [ - 'title' => '策略来源', - 'description' => 'The source of the policy. Valid values:'."\n", - 'type' => 'string', - 'example' => '', - ], - 'AuthorizedQuantity' => [ - 'title' => '关联的授权数量', - 'description' => 'The number of users or custom roles to which the policy is attached.'."\n", - 'type' => 'string', - 'example' => '3', - ], - 'PolicyId' => [ - 'description' => 'The ID of the policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A8FE12AA-300D-5FDF-806F-C2CB99161F32', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'OfflineTaskFlow', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:OfflineTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2B7844DE-A0C3-50ED-A796-8F07D377144C\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Policy\\": {\\n \\"PolicyName\\": \\"policy_test\\",\\n \\"PolicyDesc\\": \\"test\\",\\n \\"PolicyContent\\": \\"{\\\\n \\\\\\"Statement\\\\\\": [\\\\n {\\\\n \\\\\\"Action\\\\\\": \\\\\\"*\\\\\\",\\\\n \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n \\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\",\\\\n \\\\\\"Condition\\\\\\": {\\\\n \\\\\\"StringEqualsIgnoreCase\\\\\\": {\\\\n \\\\\\"dms:DbType\\\\\\": [\\\\n \\\\\\"redis\\\\\\"\\\\n ]\\\\n }\\\\n }\\\\n }\\\\n ],\\\\n \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"\\\\n}\\",\\n \\"CreatorId\\": 0,\\n \\"PolicySource\\": \\"自定义\\",\\n \\"AuthorizedQuantity\\": \\"3\\",\\n \\"PolicyId\\": 0\\n }\\n}","type":"json"}]', - 'title' => 'GetAbacPolicy', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A8FE12AA-300D-5FDF-806F-C2CB99161F32\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<OfflineTaskFlowResponse>\\n <RequestId>A8FE12AA-300D-5FDF-806F-C2CB99161F32</RequestId>\\n <Success>true</Success>\\n</OfflineTaskFlowResponse>","errorExample":""}]', ], - 'CreateAbacAuthorization' => [ - 'summary' => 'Attaches a system policy or custom policy to a DMS user or custom role.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'OptimizeSqlByMetaAgent' => [ + 'summary' => 'Analyzes and optimizes the SQL statements in the specified database.', + 'description' => 'You can call this operation to analyze and optimize the SQL statements in the specified database.'."\n", + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', - 'abilityTreeCode' => '228501', - 'abilityTreeNodes' => [ - 'FEATUREdmsCFVL8F', - ], + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'IdentityType', - 'in' => 'query', - 'schema' => [ - 'title' => '授权对象类型', - 'description' => 'Principal Type. Valid values:**user**or**custom role**.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* USER'."\n" - .'* ROLE'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'USER', - 'enum' => [ - 'USER', - 'ROLE', - ], - ], - ], - [ - 'name' => 'UserId', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'title' => '用户id', - 'description' => 'The ID of the user. You can call the [GetUser](~~465816~~) operation to query the user ID.'."\n" - ."\n" - .'> If IdentityType is set to USER, this parameter is required.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '51****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the database. You can call the [ListDatabases](~~141873~~) operation to obtain the ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '1***'], ], [ - 'name' => 'PolicyId', + 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'title' => '权限策略id', - 'description' => 'The ID of the policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12****', - ], + 'schema' => ['title' => '', 'description' => 'The remarks.'."\n", 'type' => 'string', 'required' => false, 'example' => '是否为慢SQL'], ], [ - 'name' => 'RoleId', + 'name' => 'Sql', 'in' => 'query', - 'schema' => [ - 'title' => '角色id', - 'description' => 'The ID of the role.'."\n" - ."\n" - .'> If IdentityType is set to ROLE, this parameter is required.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '31****', - ], + 'schema' => ['title' => '', 'description' => 'The SQL statement that you want to analyze.'."\n", 'type' => 'string', 'required' => true, 'example' => 'select * from table where col = 1'], ], [ - 'name' => 'Tid', + 'name' => 'Model', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['title' => '', 'description' => 'The name of the selected model. You can use only Qwen series models.'."\n", 'type' => 'string', 'required' => false, 'example' => 'qwen-plus'], ], ], 'responses' => [ 200 => [ + 'description' => '成功返回', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'title' => '', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request succeeded.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Result' => [ - 'description' => 'Indicates whether the policy is attached.'."\n", - 'type' => 'string', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'ErrorCode' => ['title' => '', 'description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError'], + 'ErrorMessage' => ['title' => '', 'description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true'], + 'Data' => [ + 'title' => '', + 'description' => 'The data returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'Content' => ['title' => '', 'description' => 'The answer.'."\n", 'type' => 'string', 'example' => 'SQL优化结果...'], + 'SessionId' => ['title' => '', 'description' => 'The session ID.'."\n", 'type' => 'string', 'example' => 'f63a6eed-0e3c-4564-8533-b1295db8d6ff'], + ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'OptimizeSqlByMetaAgent', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:OptimizeSqlByMetaAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Result\\": \\"true\\"\\n}","type":"json"}]', - 'title' => 'CreateAbacAuthorization', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Content\\": \\"SQL优化结果...\\",\\n \\"SessionId\\": \\"f63a6eed-0e3c-4564-8533-b1295db8d6ff\\"\\n }\\n}","type":"json"}]', ], - 'ListAbacAuthorizations' => [ - 'summary' => 'Queries a list of users to which the specified policy is attached and the number of the users.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'PauseDataCorrectSQLJob' => [ + 'summary' => 'Pauses a SQL task for data change.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '228489', - 'abilityTreeNodes' => [ - 'FEATUREdmsCFVL8F', - ], - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries on each page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '200', - 'minimum' => '1', - 'example' => '20', - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the data change ticket. You can call the [ListOrders](~~144643~~) operation to query the ID of the data change ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '43253', 'title' => ''], ], [ - 'name' => 'PolicyId', + 'name' => 'Type', 'in' => 'query', 'schema' => [ - 'title' => '需要搜索的权限策略id', - 'description' => 'The ID of the policy.'."\n", + 'description' => 'The type of the pause operation. Valid values:'."\n" + ."\n" + .'* ALL: pauses all SQL tasks.'."\n" + .'* SINGLE: pauses a single SQL task.'."\n", 'type' => 'string', - 'required' => false, - 'example' => '12****', + 'required' => true, + 'example' => 'SINGLE', + 'enum' => ['ALL', 'SINGLE'], + 'title' => '', ], ], [ - 'name' => 'PolicySource', + 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'title' => '权限策略来源', - 'description' => 'The type of the policy. The value can be custom or system.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* USER_DEFINE'."\n" - .'* SYSTEM'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'USER_DEFINE', - 'enum' => [ - 'USER_DEFINE', - 'SYSTEM', - ], - ], + 'schema' => ['description' => 'The ID of the SQL task. You can call the [GetDataCorrectTaskDetail](~~208481~~) or [ListDBTaskSQLJob](~~207049~~) operation to obtain the value of this parameter.'."\n" + ."\n" + .'> If Type is set to SINGLE, you must pass in the value of JobId to confirm the ID of the SQL task that you want to pause.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '43253', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '4325', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned when the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned when the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'AuthorizationList' => [ - 'description' => 'The list of users to which the specified policy is attached.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'PolicyId' => [ - 'title' => '策略id', - 'description' => 'The ID of the policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], - 'PolicyName' => [ - 'title' => '策略名称', - 'description' => 'The name of the policy.'."\n", - 'type' => 'string', - 'example' => 'policy_test', - ], - 'PolicySource' => [ - 'title' => '策略来源', - 'description' => 'The source of the policy.'."\n", - 'type' => 'string', - 'example' => 'USER_DEFINE', - ], - 'AuthorizationId' => [ - 'description' => 'The authorization ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '32****', - ], - 'IdentityId' => [ - 'title' => '授权对象id', - 'description' => 'The ID of the object to which the policy is attached.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51****'."\n", - ], - 'IdentityName' => [ - 'title' => '授权对象名称', - 'description' => 'The name of the object to which the policy is attached.'."\n", - 'type' => 'string', - 'example' => 'test_user', - ], - 'IdentityType' => [ - 'title' => '授权对象类型', - 'description' => 'The type of the object to which the policy is attached.'."\n", - 'type' => 'string', - 'example' => 'USER', - ], - ], - 'description' => '', - ], - ], - 'TotalCount' => [ - 'description' => 'The number of objects to which the policy is attached.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '335C5BC8-490C-56EF-BDDE-94A4B53FEB72'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'PauseDataCorrectSQLJob', + 'description' => 'You can call this operation only for database instances that are managed in Security Collaboration mode.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:PauseDataCorrectSQLJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"AuthorizationList\\": [\\n {\\n \\"PolicyId\\": 0,\\n \\"PolicyName\\": \\"policy_test\\",\\n \\"PolicySource\\": \\"USER_DEFINE\\",\\n \\"AuthorizationId\\": 0,\\n \\"IdentityId\\": 0,\\n \\"IdentityName\\": \\"test_user\\",\\n \\"IdentityType\\": \\"USER\\"\\n }\\n ],\\n \\"TotalCount\\": 3\\n}","type":"json"}]', - 'title' => 'ListAbacAuthorizations', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"335C5BC8-490C-56EF-BDDE-94A4B53FEB72\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","errorExample":""},{"type":"xml","example":"<PauseDataCorrectSQLJobResponse>\\n <RequestId>335C5BC8-490C-56EF-BDDE-94A4B53FEB72</RequestId>\\n <Success>true</Success>\\n</PauseDataCorrectSQLJobResponse>","errorExample":""}]', ], - 'DeleteAbacAuthorization' => [ - 'summary' => 'Detaches a policy from a user or role.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'PauseDataExportJob' => [ + 'summary' => 'Terminates a SQL result set export task.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '228543', - 'abilityTreeNodes' => [ - 'FEATUREdmsCFVL8F', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '245851', + 'abilityTreeNodes' => ['FEATUREdmsPWN318'], ], 'parameters' => [ [ - 'name' => 'AuthorizationId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'title' => '授权id', - 'description' => 'The authorization ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '123***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'IdentityType', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'title' => '授权对象类型', - 'description' => 'The type of object to which you want to attach the policy.********'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* USER'."\n" - .'* ROLE'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'USER', - 'enum' => [ - 'USER', - 'ROLE', - ], - ], + 'schema' => ['description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '546****', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***'."\n", - ], + 'schema' => ['description' => 'The ID of the SQL result set export task. You can call the [GetDataExportOrderDetail](~~465911~~) operation to obtain the value of this parameter. If you set this parameter to Null, no SQL result set export task is suspended.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1276****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '207176D7-A9B3-55CE-A9DA-14E223A31913', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Result' => [ - 'description' => 'Indicates whether the policy is detached from the user.'."\n", - 'type' => 'string', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"207176D7-A9B3-55CE-A9DA-14E223A31913\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Result\\": \\"true\\"\\n}","type":"json"}]', - 'title' => 'DeleteAbacAuthorization', - ], - 'ExecuteScript' => [ - 'summary' => 'Executes SQL statements.', - 'methods' => [ - 'post', - 'get', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'PauseDataExportJob', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:PauseDataExportJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'PreviewWorkflow' => [ + 'summary' => 'Previews the approval process of a ticket before the ticket is submitted.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsCYIMWT', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DbId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database.'."\n" - ."\n" - .'> This parameter is equivalent to the DatabaseId parameter in the SearchDatabase, ListDatabases, and GetDatabase operations. You can call one of these operations to obtain the required database ID. For more information, see [SearchDatabase](~~141876~~), [ListDatabases](~~141873~~), and [GetDatabase](~~141869~~).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '1', - 'example' => '123', - ], - ], - [ - 'name' => 'Script', - 'in' => 'query', - 'schema' => [ - 'description' => 'The SQL statements to be executed. Data query language (DQL) statements, data definition language (DDL) statements, and data manipulation language (DML) statements are supported. The control mode of the instance that you want to query determines whether you can execute DDL and DML statements.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'select dt from report_daily', - ], - ], - [ - 'name' => 'Logic', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database.'."\n", - 'type' => 'boolean', - 'required' => true, - 'docRequired' => true, - 'example' => 'false', - ], + 'schema' => ['description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1069****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To obtain the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Tenant information](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '234', - ], - ], - [ - 'name' => 'RealLoginUserUid', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '23****', 'title' => ''], ], ], 'responses' => [ @@ -40791,90 +30398,121 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04', - ], - 'Results' => [ - 'description' => 'The results of the SQL statements that are executed, in the format of an array. Each entry in the array indicates the result of an SQL statement.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ColumnNames' => [ - 'description' => 'The fields that are queried after the SQL statement is executed.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'col1', - ], - ], - 'Rows' => [ - 'description' => 'The rows that are queried after the SQL statement is executed.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'example' => '[{"col1": "value1", "col2":"value2"}]', + 'RequestId' => ['description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'WorkflowDetail' => [ + 'description' => 'The details of the workflow.'."\n", + 'type' => 'object', + 'properties' => [ + 'WfCateName' => ['description' => 'The name of the approval template.'."\n", 'type' => 'string', 'example' => 'Owner与DBA', 'title' => ''], + 'Comment' => ['description' => 'The remarks of the approval template.'."\n", 'type' => 'string', 'example' => 'The system defines a predefined approval workflow: first the data owner approves, then the DBA approves.', 'title' => ''], + 'WorkflowNodeList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'WorkflowNode' => [ + 'description' => 'The approval nodes.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NodeName' => ['description' => 'The name of the approval node.'."\n", 'type' => 'string', 'example' => 'Owner', 'title' => ''], + 'NodeType' => [ + 'description' => 'The type of the approval node.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* USER_LIST: The approval node is created by a user.'."\n" + .'* UNKNOWN: The source of the approval node is unknown.'."\n" + .'* SYS: The approval node is predefined by the system.'."\n", + 'type' => 'string', + 'enumValueTitles' => ['USER_LIST' => '', 'UNKNOWN' => '', 'SYS' => ''], + 'example' => 'SYS', + 'title' => '', + ], + 'Comment' => ['description' => 'The remarks of the approval node.'."\n", 'type' => 'string', 'example' => 'System node with dynamic calculation: the approval is completed by the owner of the resource that the user operates on.', 'title' => ''], + 'AuditUserList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'AuditUser' => [ + 'description' => 'The approvers.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UserId' => ['description' => 'The ID of the approver.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '16***', 'title' => ''], + 'NickName' => ['description' => 'The nickname of the approver.'."\n", 'type' => 'string', 'example' => 'Owner', 'title' => ''], + 'RealName' => ['description' => 'The name of the approver.'."\n", 'type' => 'string', 'example' => 'db_test', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'Success' => [ - 'description' => 'Indicates whether the SQL statement is executed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Message' => [ - 'description' => 'The error message that is returned if the SQL statement fails to be executed. For example, an error message is returned because the SQL statement is invalid.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'RowCount' => [ - 'description' => 'The total number of entries that are returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message about the gateway.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"Results\\": [\\n {\\n \\"ColumnNames\\": [\\n \\"col1\\"\\n ],\\n \\"Rows\\": [\\n [\\n {\\n \\"col1\\": \\"value1\\",\\n \\"col2\\": \\"value2\\"\\n }\\n ]\\n ],\\n \\"Success\\": true,\\n \\"Message\\": \\"UnknownError\\",\\n \\"RowCount\\": 1\\n }\\n ],\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RequestId>FE8EE2F1-4880-46BC-A704-5CF63EAF9A04</RequestId>\\n<Results>\\n <Message>UnknownError</Message>\\n <RowCount>1</RowCount>\\n <Success>true</Success>\\n</Results>\\n<Results>\\n <ColumnNames>[\\"col1\\", \\"col2\\"]</ColumnNames>\\n <Rows>[{\\"col1\\": \\"value1\\", \\"col2\\":\\"value2\\"}]</Rows>\\n</Results>\\n<ErrorCode>UnknownError</ErrorCode>\\n<ErrorMessage>UnknownError</ErrorMessage>\\n<Success>true</Success>","errorExample":""}]', - 'title' => 'ExecuteScript', - 'description' => 'You can call this operation only for instances that are managed in Security Collaboration mode.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'UpdateTaskFlowConstants' => [ - 'summary' => 'Updates the constants for a specified task flow.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"WorkflowDetail\\": {\\n \\"WfCateName\\": \\"Owner与DBA\\",\\n \\"Comment\\": \\"The system defines a predefined approval workflow: first the data owner approves, then the DBA approves.\\",\\n \\"WorkflowNodeList\\": {\\n \\"WorkflowNode\\": [\\n {\\n \\"NodeName\\": \\"Owner\\",\\n \\"NodeType\\": \\"SYS\\",\\n \\"Comment\\": \\"System node with dynamic calculation: the approval is completed by the owner of the resource that the user operates on.\\",\\n \\"AuditUserList\\": {\\n \\"AuditUser\\": [\\n {\\n \\"UserId\\": 0,\\n \\"NickName\\": \\"Owner\\",\\n \\"RealName\\": \\"db_test\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'PreviewWorkflow', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PreviewWorkflow'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:PreviewWorkflow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'PublishAndDeployTaskFlow' => [ + 'summary' => 'Publishes and deploys a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -40883,113 +30521,69 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '149649', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'none', + 'abilityTreeCode' => '145472', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '3****', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '36***', 'title' => ''], ], [ - 'name' => 'DagConstants', + 'name' => 'VersionComments', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The constants for the task flow.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The key name of a constant for the task flow.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'poc_test', - ], - 'Value' => [ - 'description' => 'The key value of a constant for the task flow.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'poc_test', - ], - ], - 'required' => false, - ], - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['description' => 'The description of the version.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vc_test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C4CCC000-C193-5A32-B701-573F497BF729', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'A7160423-2A83-592B-97E2-D8AE7B11C520', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'Unknown server error', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DeployId' => ['description' => 'The ID of the deployment record.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '61***', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C4CCC000-C193-5A32-B701-573F497BF729\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowConstantsResponse>\\n <RequestId>C4CCC000-C193-5A32-B701-573F497BF729</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</UpdateTaskFlowConstantsResponse>","errorExample":""}]', - 'title' => 'UpdateTaskFlowConstants', - ], - 'DeleteTaskFlow' => [ - 'summary' => 'Deletes a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'PublishAndDeployTaskFlow', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:PublishAndDeployTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A7160423-2A83-592B-97E2-D8AE7B11C520\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"Unknown server error\\",\\n \\"Success\\": true,\\n \\"DeployId\\": 0\\n}","errorExample":""},{"type":"xml","example":"<PublishAndDeployTaskFlowResponse>\\n <RequestId>64E26249-B61F-51C6-B6DF-47EFF50128CC</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>Unknown server error</ErrorMessage>\\n <Success>true</Success>\\n</PublishAndDeployTaskFlowResponse>","errorExample":""}]', + ], + 'QueryDataTrackResultDownloadStatus' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -40997,85 +30591,84 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '133185', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'DagId', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '134137***', - ], + 'schema' => ['description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '11****', 'title' => ''], + ], + [ + 'name' => 'DownloadKeyId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the download key, which is used to identify the parsing progress of data tracking logs. You can call the DownloadDataTrackResult operation to query the ID of the key.'."\n", 'type' => 'string', 'required' => true, 'example' => 'e23dd7ec-a19f-4a69-8eb3-8ffd26e6****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response schema.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9AFE13F6-A4FD-581B-BFDE-B63B1CDC2336', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'StatusResult' => [ + 'description' => 'The information about the download progress.'."\n", + 'type' => 'object', + 'properties' => [ + 'DownloadStatus' => ['description' => 'The status of the download task. Valid values:'."\n" + ."\n" + .'* **INIT**: The download task is being initialized.'."\n" + .'* **LISTING**: The download task is in a transient intermediate state during the initialization.'."\n" + .'* **DOWNLOADING**: The download task is being processed.'."\n" + .'* **DOWNLOAD_SUCCESS**: The download task was successfully processed.'."\n" + .'* **DOWNLOAD_FAIL**: The download task failed.'."\n", 'type' => 'string', 'example' => 'DOWNLOAD_SUCCESS', 'title' => ''], + 'DownloadUrl' => ['description' => 'The URL that is used to download data tracking logs. This parameter is returned only when the value of DownloadStatus is DOWNLOAD_SUCCESS.'."\n", 'type' => 'string', 'example' => 'https://idbsaasstore.oss-cn-zhangjiakou.aliyuncs.com/****_REDO_31201_207.zip?Expires=1682239593&OSSAccessKeyId=****&Signature=****'."\n", 'title' => ''], + 'StatusDesc' => ['description' => 'The description of the state.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '69', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9AFE13F6-A4FD-581B-BFDE-B63B1CDC2336\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteTaskFlowResponse>\\n <RequestId>9AFE13F6-A4FD-581B-BFDE-B63B1CDC2336</RequestId>\\n <Success>true</Success>\\n</DeleteTaskFlowResponse>","errorExample":""}]', - 'title' => 'DeleteTaskFlow', - ], - 'OfflineTaskFlow' => [ - 'summary' => 'Unpublishes a published task flow in Data Management (DMS).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'QueryDataTrackResultDownloadStatus', + 'summary' => 'Queries the download and parsing progress of data tracking logs.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:QueryDataTrackResultDownloadStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"StatusResult\\": {\\n \\"DownloadStatus\\": \\"DOWNLOAD_SUCCESS\\",\\n \\"DownloadUrl\\": \\"https://idbsaasstore.oss-cn-zhangjiakou.aliyuncs.com/****_REDO_31201_207.zip?Expires=1682239593&OSSAccessKeyId=****&Signature=****\\\\n\\",\\n \\"StatusDesc\\": \\"SUCCESS\\",\\n \\"TotalCount\\": 69\\n }\\n}","type":"json"}]', + ], + 'ReDeployLhDagVersion' => [ + 'summary' => 'Redeploys the published versions of a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -41085,36 +30678,24 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '135062', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'abilityTreeCode' => '131692', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '7***', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', 'title' => ''], + ], + [ + 'name' => 'DagVersion', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the task flow version. You can call the [ListDAGVersions](~~424682~~) operation to obtain the ID of the task flow version.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2****', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the ID of the tenant.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -41122,46 +30703,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A8FE12AA-300D-5FDF-806F-C2CB99161F32', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '035C92E0-2EAD-50E5-A6DD-550F5F73D7CE', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DeployId' => ['description' => 'The ID of the deployment record.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '15990', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A8FE12AA-300D-5FDF-806F-C2CB99161F32\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<OfflineTaskFlowResponse>\\n <RequestId>A8FE12AA-300D-5FDF-806F-C2CB99161F32</RequestId>\\n <Success>true</Success>\\n</OfflineTaskFlowResponse>","errorExample":""}]', - 'title' => 'OfflineTaskFlow', - ], - 'ListTaskFlow' => [ - 'summary' => 'Queries a list of task flows.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ReDeployLhDagVersion', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ReDeployLhDagVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"035C92E0-2EAD-50E5-A6DD-550F5F73D7CE\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"DeployId\\": 15990\\n}","errorExample":""},{"type":"xml","example":"<ReDeployLhDagVersionResponse>\\n <RequestId>035C92E0-2EAD-50E5-A6DD-550F5F73D7CE</RequestId>\\n <DeployId>15990</DeployId>\\n <Success>true</Success>\\n</ReDeployLhDagVersionResponse>","errorExample":""}]', + ], + 'ReRunTaskFlowInstance' => [ + 'summary' => 'Reruns a task flow instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -41170,654 +30747,586 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '133045', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '145425', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '极度限流API,无法跑通自动化测试', + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'DagId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', 'title' => ''], + ], + [ + 'name' => 'DagInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the execution record of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to query the execution record ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '47****', 'title' => ''], + ], + [ + 'name' => 'DagVersion', + 'in' => 'query', + 'schema' => ['description' => 'The version number of the task flow. You can call the ListTaskFlowVersions operation to query the version number of the task flow.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '2****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4116147E-C628-5816-8779-8EEAF8E973F4', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TaskFlowList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'TaskFlow' => [ - 'description' => 'The information about the task flows returned.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '134137****', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who creates the task flow.'."\n", - 'type' => 'string', - 'example' => '51****', - ], - 'CreatorNickName' => [ - 'description' => 'The name of the user who creates the task flow.'."\n", - 'type' => 'string', - 'example' => 'Creator_NickName', - ], - 'DagOwnerNickName' => [ - 'description' => 'The name of the task flow owner.'."\n", - 'type' => 'string', - 'example' => 'Owner_NickName', - ], - 'DeployId' => [ - 'description' => 'The ID of the latest deployment record.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12**', - ], - 'Status' => [ - 'description' => 'The status of the task flow. Valid values:'."\n" - ."\n" - .'* **0**: The task flow is invalid.'."\n" - .'* **1**: Scheduling is disabled for the task flow.'."\n" - .'* **2**: The task flow is waiting to be scheduled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'LatestInstanceStatus' => [ - 'description' => 'The status of the latest execution. Valid values:'."\n" - ."\n" - .'* **0**: invalid.'."\n" - .'* **1**: scheduling disabled.'."\n" - .'* **2**: waiting to be scheduled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'LatestInstanceTime' => [ - 'description' => 'The time when the latest execution record was generated.'."\n", - 'type' => 'string', - 'example' => '2022-04-13', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '8CFF2295-8249-5287-B888-DBD4F0D76CB0', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4116147E-C628-5816-8779-8EEAF8E973F4\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TaskFlowList\\": {\\n \\"TaskFlow\\": [\\n {\\n \\"Id\\": 0,\\n \\"CreatorId\\": \\"51****\\",\\n \\"CreatorNickName\\": \\"Creator_NickName\\",\\n \\"DagOwnerNickName\\": \\"Owner_NickName\\",\\n \\"DeployId\\": 0,\\n \\"Status\\": 2,\\n \\"LatestInstanceStatus\\": 0,\\n \\"LatestInstanceTime\\": \\"2022-04-13\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTaskFlowResponse>\\n <RequestId>4116147E-C628-5816-8779-8EEAF8E973F4</RequestId>\\n <Success>true</Success>\\n <TaskFlowList>\\n <CreatorId>51****</CreatorId>\\n <CreatorNickName>Creator_NickName</CreatorNickName>\\n <DagOwnerNickName>Owner_NickName</DagOwnerNickName>\\n <Status>2</Status>\\n <LatestInstanceStatus>0</LatestInstanceStatus>\\n <LatestInstanceTime>2022-04-13</LatestInstanceTime>\\n </TaskFlowList>\\n</ListTaskFlowResponse>","errorExample":""}]', - 'title' => 'ListTaskFlow', - ], - 'GetTaskInstanceRelation' => [ - 'summary' => 'Queries the task nodes of a task flow instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ReRunTaskFlowInstance', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ReRunTaskFlowInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8CFF2295-8249-5287-B888-DBD4F0D76CB0\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ReRunTaskFlowInstanceResponse>\\n <RequestId>8CFF2295-8249-5287-B888-DBD4F0D76CB0</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</ReRunTaskFlowInstanceResponse>","errorExample":""}]', + ], + 'RefundPayAsYouGoOrder' => [ + 'summary' => 'Unsubscribes from a pay-as-you-go Data Management (DMS) resource.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'DagId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '7***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'DagInstanceId', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the execution record of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to obtain the execution record ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '47****', - ], + 'schema' => ['title' => '', 'description' => 'The order ID of the order for the pay-as-you-go resource. You can call the ListEffectiveOrders operation to query the order ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '2190037****'], ], [ - 'name' => 'Tid', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['title' => '', 'description' => 'The instance ID in the sales order.'."\n", 'type' => 'string', 'required' => true, 'example' => '27****'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '028BF827-3801-5869-8548-F4A039256304', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'NodeList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Node' => [ - 'description' => 'The information about the nodes in the execution record of the task flow.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the execution record of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '14059', - ], - 'NodeId' => [ - 'description' => 'The ID of the node.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '14059', - ], - 'NodeName' => [ - 'description' => 'The name of the node.'."\n", - 'type' => 'string', - 'example' => 'Spark SQL-1', - ], - 'NodeType' => [ - 'description' => 'The type of the node. For more information about the valid values for this parameter, see [NodeType parameter](~~424705~~).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'BusinessTime' => [ - 'description' => 'The business time of the node.'."\n", - 'type' => 'string', - 'example' => '2021-11-09 14:37:26', - ], - 'Status' => [ - 'description' => 'The status of the node. Valid values:'."\n" - ."\n" - .'* **0**: The node is waiting to be scheduled.'."\n" - .'* **1**: The node is running.'."\n" - .'* **2**: The node is suspended.'."\n" - .'* **3**: The node failed to run.'."\n" - .'* **4**: The node is run.'."\n" - .'* **5**: The node is complete.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'Message' => [ - 'description' => 'The description of the task.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'ExecuteTime' => [ - 'description' => 'The amount of time consumed for running the node. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '170655', - ], - 'EndTime' => [ - 'description' => 'The time when the execution of the task flow was complete. The time is displayed in the yyyy-MM-DD HH:mm:ss format.'."\n", - 'type' => 'string', - 'example' => '2021-11-11 14:38:57', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"028BF827-3801-5869-8548-F4A039256304\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"NodeList\\": {\\n \\"Node\\": [\\n {\\n \\"Id\\": 14059,\\n \\"NodeId\\": 14059,\\n \\"NodeName\\": \\"Spark SQL-1\\",\\n \\"NodeType\\": 0,\\n \\"BusinessTime\\": \\"2021-11-09 14:37:26\\",\\n \\"Status\\": 4,\\n \\"Message\\": \\"test\\",\\n \\"ExecuteTime\\": 170655,\\n \\"EndTime\\": \\"2021-11-11 14:38:57\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTaskInstanceRelationResponse>\\n <RequestId>028BF827-3801-5869-8548-F4A039256304</RequestId>\\n <Success>true</Success>\\n <NodeList>\\n <Id>14059</Id>\\n <NodeId>14059</NodeId>\\n <NodeName>Spark SQL-1</NodeName>\\n <NodeType>36</NodeType>\\n <BusinessTime>2021-11-09 14:37:26</BusinessTime>\\n <Status>4</Status>\\n <Message>test</Message>\\n <ExecuteTime>170655</ExecuteTime>\\n <EndTime>2021-11-11 14:38:57</EndTime>\\n </NodeList>\\n</GetTaskInstanceRelationResponse>","errorExample":""}]', - 'title' => 'GetTaskInstanceRelation', - ], - 'ListTaskFlowInstance' => [ - 'summary' => 'Queries the execution records of a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'RefundPayAsYouGoOrder', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:RefundPayAsYouGoOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","errorExample":""},{"type":"xml","example":"<RefundPayAsYouGoOrderResponse>\\n <RequestId>C51420E3-144A-4A94-B473-8662FCF4AD10</RequestId>\\n <Success>true</Success>\\n</RefundPayAsYouGoOrderResponse>","errorExample":""}]', + ], + 'RegisterInstance' => [ + 'summary' => 'Register a database instance in DMS.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '132914', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREdms19SL1H'], ], 'parameters' => [ [ - 'name' => 'DagId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '7***', - ], + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) operation to get this ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'TriggerType', + 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The mode in which the task flow is triggered. Valid values:'."\n" - ."\n" - .'* **0**: The task flow is automatically triggered based on periodic scheduling.'."\n" - .'* **1**: The task flow is manually triggered.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The database type. For more information, see [DbType parameter description](~~198106~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MySQL', 'title' => ''], ], [ - 'name' => 'StartTimeBegin', + 'name' => 'InstanceSource', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query the execution records of the task flow. Specify the time in the yyyy-MM-DD format.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '2022-01-07', - ], + 'schema' => ['description' => 'The source of the database instance. Valid values:'."\n" + ."\n" + .'- **PUBLIC\\_OWN**: a self-managed instance connected over the Internet.'."\n" + ."\n" + .'- **RDS**: an ApsaraDB RDS instance.'."\n" + ."\n" + .'- **ECS\\_OWN**: a self-managed instance that is deployed on an Elastic Compute Service (ECS) instance.'."\n" + ."\n" + .'- **VPC\\_IDC**: a self-managed instance in a data center that is connected to a Virtual Private Cloud (VPC).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'RDS', 'title' => ''], ], [ - 'name' => 'StartTimeEnd', + 'name' => 'NetworkType', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query the execution records of the task flow. Specify the time in the yyyy-MM-DD format.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '2022-04-08', - ], + 'schema' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- **CLASSIC**: classic network'."\n" + ."\n" + .'- **VPC**: Virtual Private Cloud (VPC)', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'VPC', 'title' => ''], ], [ - 'name' => 'PageIndex', + 'name' => 'EnvType', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The environment type. Valid values:'."\n" + ."\n" + .'- `product`: production environment'."\n" + ."\n" + .'- `dev`: development environment'."\n" + ."\n" + .'- `pre`: pre-release environment'."\n" + ."\n" + .'- `test`: test environment'."\n" + ."\n" + .'- `sit`: system integration testing (SIT) environment'."\n" + ."\n" + .'- `uat`: user acceptance testing (UAT) environment'."\n" + ."\n" + .'- `pet`: performance testing environment'."\n" + ."\n" + .'- `stag`: staging environment', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'product', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'EcsInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '20', - ], + 'schema' => ['description' => 'The ID of the ECS instance.'."\n" + ."\n" + .'> This parameter is required if `InstanceSource` is set to `ECS_OWN`.', 'type' => 'string', 'required' => false, 'example' => 'i-2zei9gs1t7h8l7ac****', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the VPC.'."\n" + ."\n" + .'> This parameter is required if `InstanceSource` is set to `VPC_IDC`.', 'type' => 'string', 'required' => false, 'example' => 'vpc-xxxxxxxxxxxxxxxxxxxxx', 'title' => ''], ], [ - 'name' => 'UseBizDate', + 'name' => 'EcsRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region where the instance is located.'."\n" + ."\n" + .'> This parameter is required if `InstanceSource` is set to `RDS`, `ECS_OWN`, or `VPC_IDC`.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'Host', + 'in' => 'query', + 'schema' => ['description' => 'The endpoint of the database instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '172.XX.XXX.254', 'title' => ''], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => 'The connection port of the database instance.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '3306', 'title' => ''], + ], + [ + 'name' => 'Sid', + 'in' => 'query', + 'schema' => ['description' => 'The system ID (SID) of the database.'."\n" + ."\n" + .'> This parameter is required if `InstanceType` is set to `ORACLE`.', 'type' => 'string', 'required' => false, 'example' => 'XXX', 'title' => ''], + ], + [ + 'name' => 'DatabaseUser', + 'in' => 'query', + 'schema' => ['description' => 'The username for the database account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dmstest', 'title' => ''], + ], + [ + 'name' => 'DatabasePassword', + 'in' => 'query', + 'schema' => ['description' => 'The password for the database account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '******', 'title' => ''], + ], + [ + 'name' => 'InstanceAlias', + 'in' => 'query', + 'schema' => ['description' => 'An alias for the instance to help you identify it quickly.', 'type' => 'string', 'example' => 'Test instance', 'required' => true, 'docRequired' => true, 'title' => ''], + ], + [ + 'name' => 'DbaUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the user with the Database Administrator (DBA) role for the instance. You can call the [ListUsers](~~141938~~) or [GetInstance](~~141567~~) operation to get this ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '22275482072787****', 'title' => ''], + ], + [ + 'name' => 'SafeRule', + 'in' => 'query', + 'schema' => ['description' => 'The name of the Security Rule Set (GroupName) for the instance. You can call the [ListStandardGroups](~~417891~~) or [GetInstance](~~141567~~) operation to get this value.', 'type' => 'string', 'example' => 'For testing', 'required' => true, 'docRequired' => true, 'title' => ''], + ], + [ + 'name' => 'QueryTimeout', + 'in' => 'query', + 'schema' => ['description' => 'The query timeout period, in seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '60', 'title' => ''], + ], + [ + 'name' => 'ExportTimeout', + 'in' => 'query', + 'schema' => ['description' => 'The export timeout period, in seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '600', 'title' => ''], + ], + [ + 'name' => 'DataLinkName', + 'in' => 'query', + 'schema' => ['description' => 'The datalink name for cross-instance queries.'."\n" + ."\n" + .'> - This parameter is required if `UseDsql` is set to `1`.'."\n" + .'>'."\n" + .'> - The datalink name can contain only lowercase letters and underscores (\\_).'."\n" + .'>'."\n" + .'> - The datalink name must be unique within the tenant.', 'type' => 'string', 'required' => false, 'example' => 'dblink_test', 'title' => ''], + ], + [ + 'name' => 'DdlOnline', 'in' => 'query', 'schema' => [ - 'description' => 'Adjust filter conditions:'."\n" + 'description' => 'The strategy for lock-free schema changes. Valid values:'."\n" + ."\n" + .'- **0**: Disabled.'."\n" ."\n" - .'- true: StartTimeBegin and StartTimeEnd are the time range for filtering services.'."\n" + .'- **1**: Prioritize native lock-free operations. If an operation fails, it falls back to Data Management (DMS) for execution.'."\n" ."\n" - .'- false: StartTimeBegin and StartTimeEnd are the time range for the task to run.', - 'type' => 'boolean', + .'- **2**: Use Data Management (DMS) for lock-free schema changes.'."\n" + ."\n" + .'> Supported database types: ApsaraDB RDS for MySQL, PolarDB for MySQL, ApsaraDB for MyBase (MySQL), and other MySQL-compatible databases.', + 'type' => 'integer', + 'format' => 'int32', 'required' => false, - 'example' => 'true', + 'enum' => ['0', '1', '2'], + 'example' => '2', + 'title' => '', ], ], [ - 'name' => 'Status', + 'name' => 'UseDsql', 'in' => 'query', 'schema' => [ - 'description' => 'The running status of the task node. Valid values:'."\n" + 'description' => 'Specifies whether to enable cross-instance queries. Valid values:'."\n" ."\n" - .'- **0**: Waiting for scheduling'."\n" + .'- **0**: Disabled'."\n" ."\n" - .'- **1**: Running'."\n" + .'- **1**: Enabled'."\n" ."\n" - .'- **2**: Suspend'."\n" - ."\n" - .'- **3**: Failed to run'."\n" - ."\n" - .'- **4**: Run successfully'."\n" - ."\n" - .'- **5**: Completed', + .'> Supported database types: MySQL, SQL Server, PostgreSQL, PolarDB for PostgreSQL (Oracle-compatible), and Redis.', 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'example' => '3', + 'enum' => ['0', '1'], + 'example' => '1', + 'title' => '', ], ], + [ + 'name' => 'SkipTest', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to skip the connectivity test. Valid values:'."\n" + ."\n" + .'- **true**: Skip the test.'."\n" + ."\n" + .'- **false**: Perform the test.', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'EnableSellSitd', + 'in' => 'query', + 'schema' => ['description' => '- **Y**: Enable sensitive data protection.'."\n" + ."\n" + .'- **NULL or other values**: Disable sensitive data protection.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'Y'], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the sensitivity classification template. You can call the [ListClassificationTemplates](~~460613~~) operation to get this ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '31***'], + ], + [ + 'name' => 'TemplateType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the sensitivity classification template. You can call the [ListClassificationTemplates](~~460613~~) operation to get this value.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'INNER'], + ], + [ + 'name' => 'DbaUidByString', + 'in' => 'query', + 'schema' => ['description' => 'This parameter replaces `DbaUid` and supports non-numeric UIDs, such as the UIDs of RAM roles.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '22275482072787****'], + ], + [ + 'name' => 'ResourceGroup', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '8CFF2295-8249-5287-B888-DBD4F0D76CB0', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'DAGInstanceList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'DAGInstance' => [ - 'description' => 'The information about the execution records returned.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the execution record.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '9234', - ], - 'BusinessTime' => [ - 'description' => 'The business time of the task flow. The time is displayed in the yyyy-MM-DD HH:mm:ss format.'."\n", - 'type' => 'string', - 'example' => '2021-11-10 14:37:26', - ], - 'startTime' => [ - 'description' => 'The time when the execution of the task flow was start. The time is displayed in the yyyy-MM-DD HH:mm:ss format.', - 'type' => 'string', - 'example' => '2021-11-11 14:35:57'."\n", - ], - 'EndTime' => [ - 'description' => 'The time when the execution of the task flow was complete. The time is displayed in the yyyy-MM-DD HH:mm:ss format.'."\n", - 'type' => 'string', - 'example' => '2021-11-11 14:38:57', - ], - 'DagId' => [ - 'description' => 'The ID of the task flow.'."\n", - 'type' => 'string', - 'example' => '7***', - ], - 'TriggerType' => [ - 'description' => 'The mode in which the task flow is triggered. Valid values:'."\n" - ."\n" - .'* **0**: The task flow is automatically triggered based on periodic scheduling.'."\n" - .'* **1**: The task flow is manually triggered.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Status' => [ - 'description' => 'The status of the task flow. Valid values:'."\n" - ."\n" - .'* **0**: The task flow is waiting to be scheduled.'."\n" - .'* **1**: The task flow is being executed.'."\n" - .'* **2**: The task flow is paused.'."\n" - .'* **3**: The task flow failed.'."\n" - .'* **4**: The task flow is executed.'."\n" - .'* **5**: The task flow is complete.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'Message' => [ - 'description' => 'The description of the task.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'HistoryDagId' => [ - 'description' => 'The ID of the previously published version of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2****', - ], - 'DagName' => [ - 'description' => 'The name of the task flow.'."\n", - 'type' => 'string', - 'example' => 'Spark_SQL_test', - ], - 'OwnerName' => [ - 'description' => 'The name of the task flow owner.'."\n", - 'type' => 'string', - 'example' => 'test_name', - ], - 'DagVersion' => [ - 'description' => 'The version of the task flow.', - 'type' => 'string', - 'example' => '[]', - ], - ], - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => 'The total number of execution records returned.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F4E2A94B-604F-43FF-93E7-F4EE3DCF412E', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" + ."\n" + .'- **true**: The request succeeded.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => 'The response data.', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8CFF2295-8249-5287-B888-DBD4F0D76CB0\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"DAGInstanceList\\": {\\n \\"DAGInstance\\": [\\n {\\n \\"Id\\": 9234,\\n \\"BusinessTime\\": \\"2021-11-10 14:37:26\\",\\n \\"startTime\\": \\"2021-11-11 14:35:57\\\\n\\",\\n \\"EndTime\\": \\"2021-11-11 14:38:57\\",\\n \\"DagId\\": \\"7***\\",\\n \\"TriggerType\\": 1,\\n \\"Status\\": 4,\\n \\"Message\\": \\"test\\",\\n \\"HistoryDagId\\": 0,\\n \\"DagName\\": \\"Spark_SQL_test\\",\\n \\"OwnerName\\": \\"test_name\\",\\n \\"DagVersion\\": \\"[]\\"\\n }\\n ]\\n },\\n \\"TotalCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<ListTaskFlowInstanceResponse>\\n <RequestId>8CFF2295-8249-5287-B888-DBD4F0D76CB0</RequestId>\\n <Success>true</Success>\\n <DAGInstanceList>\\n <Id>9234</Id>\\n <BusinessTime>2021-11-10 14:37:26</BusinessTime>\\n <EndTime>2021-11-11 14:38:57</EndTime>\\n <DagId>7***</DagId>\\n <TriggerType>1</TriggerType>\\n <Status>4</Status>\\n <Message>test</Message>\\n <DagName>Spark_SQL_test</DagName>\\n <OwnerName>test_name</OwnerName>\\n </DAGInstanceList>\\n <TotalCount>1</TotalCount>\\n</ListTaskFlowInstanceResponse>","errorExample":""}]', - 'title' => 'ListTaskFlowInstance', - ], - 'ListDAGVersions' => [ - 'summary' => 'Queries the published versions of a task flow.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F4E2A94B-604F-43FF-93E7-F4EE3DCF412E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'RegisterInstance', + 'description' => 'Prerequisites: You must have the Administrator or Database Administrator (DBA) role. You can get the `RoleIdList` by calling the [ListUsers](~~141938~~) or [GetUser](~~147098~~) API.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => '### Sample code for SDK for Python'."\n" + ."\n" + .'The following sample code provides an example on how to register a database instance that is deployed in a data center connected over a VPC.'."\n" + ."\n" + .' #coding=utf-8'."\n" + .' from aliyunsdkcore.client import AcsClient'."\n" + .' from aliyunsdkdms_enterprise.request.v20181101.RegisterInstanceRequest import RegisterInstanceRequest'."\n" + .' client = AcsClient('."\n" + .' "<your-access-key-id>",'."\n" + .' "<your-access-key-secret>",'."\n" + .' "<your-region-id>"'."\n" + .' )'."\n" + .' # Example'."\n" + .' request = RegisterInstanceRequest()'."\n" + .' # The ID of the tenant.'."\n" + .' request.set_Tid(1)'."\n" + .' # The host address that is used to connect to the database instance.'."\n" + .' request.set_Host("192.168.16.113")'."\n" + .' # The port that is used to connect to the database instance.'."\n" + .' request.set_Port(3314)'."\n" + .' # The type of the database. In this example, the parameter is set to MySQL.'."\n" + .' request.set_InstanceType("MySQL")'."\n" + .' # The source of the database instance. In this example, the parameter is set to VPC_IDC.'."\n" + .' request.set_InstanceSource("VPC_IDC")'."\n" + .' # The network type of the database instance. In this example, the parameter is set to VPC.'."\n" + .' request.set_NetworkType("VPC")'."\n" + .' request.set_EnvType("PRODUCT")'."\n" + .' # request.set_EcsInstanceId()'."\n" + .' # The ID of the VPC to which the database instance belongs.'."\n" + .' request.set_VpcId("VPC ID of the database instance")'."\n" + .' # The ID of the region in which the database instance resides. Example: cn-hangzhou.'."\n" + .' request.set_EcsRegion("Region ID of the database instance")'."\n" + .' # request.set_Sid();'."\n" + .' # The account that is used to log on to the database.'."\n" + .' request.set_DatabaseUser("Logon account of the database")'."\n" + .' # The password that is used to log on to the database.'."\n" + .' request.set_DatabasePassword("Logon password of the database")'."\n" + .' # The alias of the database instance. This alias helps you identify the database instance in DMS.'."\n" + .' request.set_InstanceAlias("Alias of the database instance")'."\n" + .' # The ID of the user who assumes the DBA role of the database instance. The user must be added to DMS Enterprise by using the console or the relevant API operation in advance.'."\n" + .' request.set_DbaUid(-1)'."\n" + .' request.set_SafeRule("Name of the security rule set that is configured in DMS Enterprise")'."\n" + .' request.set_QueryTimeout(60)'."\n" + .' request.set_ExportTimeout(600)'."\n" + .' response = client.do_action_with_exception(request)'."\n" + .' print response'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RegisterInstance'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:RegisterInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'RegisterUser' => [ + 'summary' => 'Adds a user of your enterprise.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '133412', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'DagId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '7***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To query ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '-1', 'title' => ''], ], [ - 'name' => 'PageIndex', + 'name' => 'Uid', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The UID of the Alibaba Cloud account of the user that you want to register.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12345678', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'UserNick', 'in' => 'query', + 'schema' => ['description' => 'The nickname of the user.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'dmstest', 'title' => ''], + ], + [ + 'name' => 'RoleNames', + 'in' => 'query', + 'schema' => ['description' => 'The role that you want to assign to the user. Valid values:'."\n" + ."\n" + .'* **USER**: a regular user role'."\n" + .'* **DBA**: a database administrator (DBA) role'."\n" + .'* **ADMIN**: a DMS administrator role'."\n" + .'* **SECURITY_ADMIN**: a security administrator role'."\n" + ."\n" + .'> If you do not specify this parameter, the regular user role is assigned to the user by default. You can assign one or more roles to the user. Separate multiple roles with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => 'USER,DBA', 'title' => ''], + ], + [ + 'name' => 'Mobile', + 'in' => 'query', + 'schema' => ['description' => 'The mobile number of the user.'."\n", 'type' => 'string', 'required' => false, 'example' => '130000000xx', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '20', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '34E01EDD-6A16-4CF0-9541-C644D1BE01AA', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => '403', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'The specified user already exists.', 'title' => ''], + 'Success' => ['description' => '* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'RegisterUser', + 'description' => 'If you are an **administrator** in Data Management (DMS), you can call this operation to register a user for your enterprise. To view users that are assigned the administrator role, perform the following steps: Log on to the DMS console. In the top navigation bar, click O&M. In the left-side navigation pane, click User.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:RegisterUser', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"The specified user already exists.\\",\\n \\"Success\\": true\\n}","errorExample":"{\\n \\"RequestId\\": \\"34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\",\\n \\"HostId\\": \\"dms-enterprise.aliyuncs.com\\",\\n \\"Code\\": \\"UserExisted\\",\\n \\"Message\\": \\"The specified user already exists.\\"\\n}"},{"type":"xml","example":"<RegisterUserResponse>\\n <RequestId>ADE24A7C-DB8B-4D32-94AD-E50E3B921197</RequestId>\\n <Success>true</Success>\\n</RegisterUserResponse>\\n","errorExample":"<Error>\\n <RequestId>ADE24A7C-DB8B-4D32-94AD-E50E3B921197</RequestId>\\n <HostId>dms-enterprise.aliyuncs.com</HostId>\\n <Code>UserExisted</Code>\\n <Message>The specified user already exists.</Message>\\n</Error>"}]', + ], + 'RemoveDataExportJob' => [ + 'summary' => 'Deletes a data export task.', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '245858', + 'abilityTreeNodes' => ['FEATUREdmsPWN318'], + ], + 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'OrderId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '420****', 'title' => ''], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the SQL result set export task. You can call the [GetDataExportOrderDetail](~~465911~~) operation to obtain the value of this parameter. If you set this parameter to Null, no SQL result set export task is suspended.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1276****', 'title' => ''], ], ], 'responses' => [ @@ -41825,150 +31334,91 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C7775630-7901-51B9-8782-9B585EC0799A', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DagVersionList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'DagVersion' => [ - 'description' => 'The information about the published versions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DagName' => [ - 'description' => 'The name of the task flow.'."\n", - 'type' => 'string', - 'example' => 'Spark SQL', - ], - 'DagOwnerId' => [ - 'description' => 'The ID of the task flow owner.'."\n", - 'type' => 'string', - 'example' => '51****', - ], - 'DagOwnerNickName' => [ - 'description' => 'The name of the task flow owner.'."\n", - 'type' => 'string', - 'example' => 'name', - ], - 'VersionComments' => [ - 'description' => 'The description of the version.'."\n", - 'type' => 'string', - 'example' => 'test_OSS', - ], - 'VersionId' => [ - 'description' => 'The ID of the version.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2****', - ], - 'LastVersionId' => [ - 'description' => 'The ID of the previously published version.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2****', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID. You can use the request ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7775630-7901-51B9-8782-9B585EC0799A\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 1,\\n \\"DagVersionList\\": {\\n \\"DagVersion\\": [\\n {\\n \\"DagName\\": \\"Spark SQL\\",\\n \\"DagOwnerId\\": \\"51****\\",\\n \\"DagOwnerNickName\\": \\"name\\",\\n \\"VersionComments\\": \\"test_OSS\\",\\n \\"VersionId\\": 0,\\n \\"LastVersionId\\": 0\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListDAGVersionsResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>C7775630-7901-51B9-8782-9B585EC0799A</RequestId>\\n <DagVersionList>\\n <DagVersion>\\n <VersionId>2****</VersionId>\\n <DagOwnerId>51****</DagOwnerId>\\n <VersionComments>test_OSS</VersionComments>\\n <DagName>Spark SQL</DagName>\\n <DagOwnerNickName>name</DagOwnerNickName>\\n </DagVersion>\\n </DagVersionList>\\n <Success>true</Success>\\n</ListDAGVersionsResponse>","errorExample":""}]', - 'title' => 'ListDAGVersions', - ], - 'ReDeployLhDagVersion' => [ - 'summary' => 'Redeploys the published versions of a task flow.', - 'methods' => [ - 'post', - 'get', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'RemoveDataExportJob', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:RemoveDataExportJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'RemoveTableFromCategory' => [ + 'summary' => 'Removes table from the asset category.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '131692', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'DagId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '7***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3****', 'title' => ''], ], [ - 'name' => 'DagVersion', + 'name' => 'CategoryId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow version. You can call the [ListDAGVersions](~~424682~~) operation to obtain the ID of the task flow version.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2****', - ], + 'schema' => ['description' => 'The category ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30000235594', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the ID of the tenant.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The database ID. You can call the [ListDatabases](~~141873~~) operation to query the ID of a physical database and the [ListLogicDatabases](~~141874~~) operation to query the ID of a logical database.'."\n" + ."\n" + .'> The value of DatabaseId is that of DbId.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '43153', 'title' => ''], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['description' => 'The table name.'."\n" + ."\n" + .'> You can also call the [ListTables](~~141878~~) operation to query the table name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_table', 'title' => ''], + ], + [ + 'name' => 'TableSchemaName', + 'in' => 'query', + 'schema' => ['description' => 'The schema name of the table, which is required only for SQL Server instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'dbo', 'title' => ''], ], ], 'responses' => [ @@ -41976,160 +31426,274 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '035C92E0-2EAD-50E5-A6DD-550F5F73D7CE', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'DeployId' => [ - 'description' => 'The ID of the deployment record.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15990', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '19DA51A9-AC3E-5C36-8351-07EBCD2B89A1', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the call failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"035C92E0-2EAD-50E5-A6DD-550F5F73D7CE\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"DeployId\\": 15990\\n}","errorExample":""},{"type":"xml","example":"<ReDeployLhDagVersionResponse>\\n <RequestId>035C92E0-2EAD-50E5-A6DD-550F5F73D7CE</RequestId>\\n <DeployId>15990</DeployId>\\n <Success>true</Success>\\n</ReDeployLhDagVersionResponse>","errorExample":""}]', - 'title' => 'ReDeployLhDagVersion', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'RemoveTableFromCategory', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:RemoveTableFromCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"19DA51A9-AC3E-5C36-8351-07EBCD2B89A1\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'UpdateScenario' => [ - 'summary' => 'Updates the name and description of the business scenario for a specified task flow.', - 'methods' => [ - 'post', - 'get', + 'RemoveWorkspaceUser' => [ + 'summary' => 'Removes a user from a workspace.', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], + 'tenantRelevance' => 'tenant', ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => '12****'], + ], + [ + 'name' => 'DmsUserIds', + 'in' => 'query', + 'schema' => ['description' => 'The IDs of the DMS users.', 'type' => 'string', 'required' => true, 'example' => '123***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'E5EE2B9E-2F95-57FA-B284-CB441CEE49D6'], + 'Success' => ['description' => 'Indicates whether the request succeeded:'."\n" + ."\n" + .'- **true**: The request succeeded.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the users were successfully removed from the workspace.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'description' => 'The data returned.', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'RemoveWorkspaceUser', + 'description' => '## Prerequisites'."\n" + ."\n" + .'- A VPC has been created.'."\n" + ."\n" + .'- Log on to the DMS console using an Alibaba Cloud account (root account) or a RAM user with the required permissions, and grant DMS permissions to access cloud resources (AliyunDMSProcessingDataRolePolicy).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5EE2B9E-2F95-57FA-B284-CB441CEE49D6\\",\\n \\"Success\\": true,\\n \\"Data\\": true\\n}","type":"json"}]', + ], + 'RestartDataCorrectSQLJob' => [ + 'summary' => 'Retry a data change SQL job that has already failed to execute.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '149050', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the data change ticket. You can call the [ListOrders](~~144643~~) operation to query the ID of the data change ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '453****', 'title' => ''], ], [ - 'name' => 'ScenarioId', + 'name' => 'Type', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the business scenario.'."\n", + 'description' => 'The type of the rerun operation. Valid values:'."\n" + ."\n" + .'* **ALL**: reruns all SQL tasks.'."\n" + .'* **SINGLE**: reruns a single SQL task.'."\n", 'type' => 'string', 'required' => true, - 'docRequired' => true, - 'example' => '12***', + 'example' => 'ALL', + 'enum' => ['ALL', 'SINGLE'], + 'title' => '', ], ], [ - 'name' => 'ScenarioName', + 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the business scenario.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Business scenario - test'."\n", - ], + 'schema' => ['description' => 'The ID of the SQL task. You can call the [GetDataCorrectTaskDetail](~~208481~~) and [ListDBTaskSQLJob](~~207049~~) operations to obtain the value of this parameter.'."\n" + ."\n" + .'If the Type parameter is set to SINGLE, you must pass the value of the JobId parameter to confirm the ID of the SQL task that you want to rerun.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '43253', 'title' => ''], ], [ - 'name' => 'Description', + 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'RealLoginUserUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the Alibaba Cloud account of the user who actually invokes the API.<props="china">For more information, see [Specify an API caller](~~2835451~~).</props>', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The description of the business scenario.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '809B52F2-CD2B-53DA-88C8-F7042787E673'], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: The request is successful.'."\n" + .'* **false**: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + ], + 'example' => '', ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"809B52F2-CD2B-53DA-88C8-F7042787E673\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","type":"json"}]', + 'title' => 'Retry a failed data change SQL job', + 'description' => 'This API can be invoked only for database instances whose control mode is Security Collaboration.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:RestartDataCorrectSQLJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'RestartDataExportJob' => [ + 'summary' => 'Restarts a SQL result set export task.', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '245856', + 'abilityTreeNodes' => ['FEATUREdmsPWN318'], + ], + 'parameters' => [ + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '23****', 'title' => ''], + ], + [ + 'name' => 'OrderId', + 'in' => 'query', + 'schema' => ['description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '420****', 'title' => ''], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the SQL result set export task. You can call the [GetDataExportOrderDetail](~~465911~~) operation to obtain the value of this parameter. If you set this parameter to Null, no SQL result set export task is suspended.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1276****', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'RestartDataExportJob', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:RestartDataExportJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateScenarioResponse>\\n <RequestId>7FAD400F-7A5C-4193-8F9A-39D86C4F0231</RequestId>\\n <Success>true</Success>\\n</UpdateScenarioResponse>","errorExample":""}]', - 'title' => 'UpdateScenario', ], 'ResumeTaskFlowInstance' => [ 'summary' => 'Resumes a suspended task flow instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -42140,58 +31704,28 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '149248', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '11****', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '11****', 'title' => ''], ], [ 'name' => 'DagInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the execution record of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to query the execution record ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '3****', - ], + 'schema' => ['description' => 'The ID of the execution record of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to query the execution record ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '3****', 'title' => ''], ], [ 'name' => 'DagVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The version number of the task flow. You can call the [ListDAGVersions](~~424682~~) operation to query the version number.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '[]', - ], + 'schema' => ['description' => 'The version number of the task flow. You can call the [ListDAGVersions](~~424682~~) operation to query the version number.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '[]', 'title' => ''], ], ], 'responses' => [ @@ -42199,145 +31733,112 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7FF2E325-763F-5E27-9157-C3CFA02F4CBF', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '7FF2E325-763F-5E27-9157-C3CFA02F4CBF', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7FF2E325-763F-5E27-9157-C3CFA02F4CBF\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ResumeTaskFlowInstanceResponse>\\n <RequestId>7FF2E325-763F-5E27-9157-C3CFA02F4CBF</RequestId>\\n <Success>true</Success>\\n</ResumeTaskFlowInstanceResponse>","errorExample":""}]', 'title' => 'ResumeTaskFlowInstance', 'description' => 'You can call this operation only for task flows that are suspended.'."\n", - ], - 'UpdateTaskContent' => [ - 'summary' => 'Updates tasks in a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ResumeTaskFlowInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7FF2E325-763F-5E27-9157-C3CFA02F4CBF\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ResumeTaskFlowInstanceResponse>\\n <RequestId>7FF2E325-763F-5E27-9157-C3CFA02F4CBF</RequestId>\\n <Success>true</Success>\\n</ResumeTaskFlowInstanceResponse>","errorExample":""}]', + ], + 'RetryDataCorrectPreCheck' => [ + 'summary' => 'Re-execute the precheck step of a data change ticket.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '149054', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the ["View information about the current tenant"](~~181330~~) section of the Manage DMS tenants topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the data change ticket. You can call the [ListOrders](~~144643~~) operation to query the ID of the data change ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '414****', 'title' => ''], ], [ - 'name' => 'NodeId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '43****', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'NodeContent', + 'name' => 'RealLoginUserUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The node configurations after modification.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{ "dbId":12****, "sql":"select * from test_table", "dbType":"lindorm_sql" }', - ], + 'schema' => ['description' => 'The UID of the Alibaba Cloud account of the user who actually invokes the API.<props="china">For more information, see [Specify an API caller](~~2835451~~).</props>', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '39557312-28D5-528F-9554-80C0700EB489', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5BC081C7-5F77-5C92-9758-E1ED17CA****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'OrderId is mandatory for this action.', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'MissingOrderId', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"39557312-28D5-528F-9554-80C0700EB489\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskContentResponse>\\n <RequestId>39557312-28D5-528F-9554-80C0700EB489</RequestId>\\n <Success>true</Success>\\n</UpdateTaskContentResponse>","errorExample":""}]', - 'title' => 'UpdateTaskContent', - 'description' => 'You can call this operation to modify node configurations.'."\n", - ], - 'ListTaskFlowsByPage' => [ - 'summary' => 'Queries the details of task flows by page.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5BC081C7-5F77-5C92-9758-E1ED17CA****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"OrderId is mandatory for this action.\\",\\n \\"ErrorCode\\": \\"MissingOrderId\\"\\n}","type":"json"}]', + 'title' => 'Re-execute the precheck of a data change ticket', + 'description' => 'This API can be invoked only for database instances whose control mode is Security Collaboration.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:RetryDataCorrectPreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'RevokeTemplateAuthority' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -42345,279 +31846,420 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '149056', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1563', 'title' => ''], + ], + [ + 'name' => 'UserIds', + 'in' => 'query', + 'schema' => ['description' => 'The IDs of users from whom you want to revoke permissions by using a permission template.'."\n", 'type' => 'string', 'required' => true, 'example' => '[12***,34***,56***]', 'title' => ''], + ], + [ 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Result' => ['description' => 'Indicates whether the permissions were revoked from the users.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'RevokeTemplateAuthority', + 'summary' => 'Revokes permissions on resources from Data Management (DMS) users by using a permission template.', + 'description' => 'You must be a database administrator (DBA) or a DMS administrator. For more information about how to view system roles, see [View system roles](~~324212~~).'."\n", + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'ScenarioId', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:RevokeTemplateAuthority', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Result\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'RevokeUserPermission' => [ + 'summary' => 'Revokes the permissions on instances, databases, and tables from a user.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ + [ + 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => ['description' => 'The user ID. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to query the ID of the user.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '51****', 'title' => ''], + ], + [ + 'name' => 'DsType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the object on which you want to revoke permissions from a user. Valid values:'."\n" + ."\n" + .'* **INSTANCE**: instances.'."\n" + .'* **DATABASE**: physical databases.'."\n" + .'* **LOGIC_DATABASE**: logical databases.'."\n" + .'* **TABLE**: physical tables.'."\n" + .'* **LOGIC_TABLE**: logical tables.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DATABASE', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The database instance ID. You must specify this parameter if you revoke a permission from the database instance. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the ID of the database instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '174****', 'title' => ''], + ], + [ + 'name' => 'DbId', + 'in' => 'query', + 'schema' => ['description' => 'The database ID. The database can be a physical database or a logical database.'."\n" + ."\n" + .'* To query the ID of a physical database, call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation.'."\n" + .'* To query the ID of a logical database, call the [ListLogicDatabases](~~141874~~) or [SearchDatabase](~~141876~~) operation.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '1860****', 'title' => ''], + ], + [ + 'name' => 'Logic', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether the database is a logical database. Valid values:'."\n" + ."\n" + .'* **true**: The database is a logical database.'."\n" + .'* **false**: The database is a physical database.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If the database is a logical database, set this parameter to **true**.'."\n" + ."\n" + .'* If the database is a physical database, set this parameter to **false**.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'TableId', + 'in' => 'query', + 'schema' => ['description' => 'The table ID. You must specify this parameter if you revoke a permission from the table. You can call the [ListTables](~~141878~~) operation to query the table ID.'."\n", 'type' => 'string', 'required' => false, 'example' => '13****', 'title' => ''], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the table. You can call the [ListTables](~~141878~~) operation to query the table name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'table_name', 'title' => ''], + ], + [ + 'name' => 'PermTypes', + 'in' => 'query', + 'schema' => ['description' => 'The type of the permissions. Valid values:'."\n" + ."\n" + .'* **QUERY**: query permissions.'."\n" + .'* **EXPORT**: export permissions.'."\n" + .'* **CORRECT**: change permissions.'."\n" + .'* **LOGIN**: logon permissions.'."\n" + .'* **PERF**: query permissions on the performance details of an instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'CORRECT', 'title' => ''], + ], + [ + 'name' => 'UserAccessId', + 'in' => 'query', + 'schema' => ['description' => 'The permission ID. You can call the [ListUserPermission](~~146957~~) operation to query the permission ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '774****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Filter condition, application scenario ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12***', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'A99CD576-1E18-4E86-931E-C3CCE56D****', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned.'."\n", 'type' => 'string', 'example' => 'MissingUserId', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned.'."\n", 'type' => 'string', 'example' => 'UserId is mandatory for this action.', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'RevokeUserPermission', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:RevokeUserPermission', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A99CD576-1E18-4E86-931E-C3CCE56D****\\",\\n \\"ErrorCode\\": \\"MissingUserId\\",\\n \\"ErrorMessage\\": \\"UserId is mandatory for this action.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RevokeUserPermissionResponse>\\n <RequestId>A99CD576-1E18-4E86-931E-C3CCE56D****</RequestId>\\n <Success>true</Success>\\n</RevokeUserPermissionResponse>","errorExample":""}]', + ], + 'SearchDataTrackResult' => [ + 'summary' => 'Searches for the parsing result of a data tracking task.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DagIdList', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'OrderId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the ticket. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '420****', 'title' => ''], + ], + [ + 'name' => 'FilterStartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the time range in which you want to track data operations. The time must be in the yyyy-MM-dd HH:mm:ss format.'."\n", 'type' => 'string', 'required' => false, 'example' => '2023-04-23 00:00:00', 'title' => ''], + ], + [ + 'name' => 'FilterEndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the time range in which you want to track data operations. The time must be in the yyyy-MM-dd HH:mm:ss format.'."\n", 'type' => 'string', 'required' => false, 'example' => '2023-04-23 10:00:00', 'title' => ''], + ], + [ + 'name' => 'FilterTableList', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'Filter condition, task flow ID list.', + 'description' => 'The names of the tables for which you want to track data operations.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'Filter condition, task flow ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '45***', - ], + 'items' => ['description' => 'The name of a table for which you want to track data operations.'."\n", 'type' => 'string', 'required' => false, 'example' => 'table2', 'title' => ''], 'required' => false, - 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'SearchKey', + 'name' => 'FilterTypeList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The keyword that is used to search for task flow names.'."\n", - 'type' => 'string', + 'description' => 'The types of data operations that you want to track.'."\n", + 'type' => 'array', + 'items' => ['description' => 'A type of data operation that you want to track.'."\n", 'type' => 'string', 'required' => false, 'example' => 'UPDATE', 'title' => ''], 'required' => false, - 'example' => 'Test node'."\n", + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'PageIndex', + 'name' => 'ColumnFilter', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The condition to filter columns.'."\n", + 'type' => 'object', + 'properties' => [ + 'ColumnName' => ['description' => 'The name of the column.'."\n", 'type' => 'string', 'required' => false, 'example' => 'c_payer_name', 'title' => ''], + 'Operator' => [ + 'description' => 'The type of the operator used to configure the filter condition. Valid values:'."\n" + ."\n" + .'* **EQUAL**: retrieves the column whose value is equal to the specified value.'."\n" + .'* **NOT_EQUAL**: retrieves the column whose value is not equal to the specified value.'."\n" + .'* **IN**: retrieves the column whose value is in the IN list.'."\n" + .'* **BETWEEN**: retrieves the column whose value is in the specified range.'."\n" + .'* **LESS**: retrieves the column whose value is less than the specified value.'."\n" + .'* **MORE**: retrieves the column whose value is greater than the specified value.'."\n" + .'* **NOT_IN**: retrieves the column whose value is not in the IN list.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'EQUAL', + 'enum' => ['EQUAL', 'NOT_EQUAL', 'IN', 'BETWEEN', 'LESS', 'MORE', 'NOT_IN'], + 'title' => '', + ], + 'Value' => ['description' => 'The value used in the filter condition.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + 'BetweenStart' => ['description' => 'The start value of the range used in the filter condition. This parameter takes effect only when Operator is set to BETWEEN.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + 'BetweenEnd' => ['description' => 'The end value of the range used in the filter condition. This parameter takes effect only when Operator is set to BETWEEN.'."\n", 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], + 'InList' => [ + 'description' => 'The IN list used in the filter condition. This parameter takes effect only when Operator is set to IN or NOT_IN.'."\n", + 'type' => 'array', + 'items' => ['description' => 'A value in the IN list. This parameter takes effect only when Operator is set to IN or NOT_IN.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => '1', - 'default' => '1', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - 'default' => '20', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '62***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response schema.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6CB28697-BFE2-5739-9228-3971990E982C', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TaskFlowList' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'TrackResult' => [ + 'description' => 'The parsing result of the data tracking task.'."\n", 'type' => 'object', - 'itemNode' => true, 'properties' => [ - 'TaskFlow' => [ - 'description' => 'The details of the returned task flows.'."\n", + 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '109', 'title' => ''], + 'EventList' => [ + 'description' => 'The details of the event logs.'."\n", 'type' => 'array', 'items' => [ + 'description' => 'The details of an event log.'."\n", 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '7***', - ], - 'DagName' => [ - 'description' => 'The name of the task flow.'."\n", - 'type' => 'string', - 'example' => 'poc_task_test', - ], - 'Description' => [ - 'description' => 'The description of the task flow.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who created the task flow.'."\n", - 'type' => 'string', - 'example' => '51****', - ], - 'CreatorNickName' => [ - 'description' => 'The username of the user who created the task flow.'."\n", - 'type' => 'string', - 'example' => 'Creator_NickName', - ], - 'DagOwnerNickName' => [ - 'description' => 'The username of the owner of the task flow.'."\n", - 'type' => 'string', - 'example' => 'Owner_NickName', - ], - 'DeployId' => [ - 'description' => 'The ID of the last deployment record of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '65***', - ], - 'Status' => [ - 'description' => 'The status of the task flow. Valid values:'."\n" - ."\n" - .'* **0**: invalid'."\n" - .'* **1**: scheduling disabled'."\n" - .'* **2**: waiting to be scheduled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'LatestInstanceStatus' => [ - 'description' => 'The status of the last execution of the task flow. Valid values:'."\n" - ."\n" - .'* **0**: invalid'."\n" - .'* **1**: scheduling disabled'."\n" - .'* **2**: waiting to be scheduled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'LatestInstanceTime' => [ - 'description' => 'The time when the last execution record was created.'."\n", - 'type' => 'string', - 'example' => '2022-04-13', - ], - 'ScenarioId' => [ - 'description' => 'The ID of the application scenario.', - 'type' => 'string', - 'example' => '1245', - ], - 'CronSwitch' => [ - 'description' => 'Whether to enable scheduled scheduling.', - 'type' => 'boolean', - 'example' => 'false', - ], - 'CronStr' => [ - 'description' => 'Scheduled Cron.', - 'type' => 'string', - 'example' => '0 0 1 * * ? *', - ], - 'ScheduleParam' => [ - 'description' => 'Event scheduling configuration, JSON string format.', - 'type' => 'string', - 'example' => '{\\"triggerType\\":\\"1\\",\\"specificTime\\":\'2022-11-15 11:59\'}', - ], - 'TriggerType' => [ - 'description' => 'The trigger type. Valid values:'."\n" - .'- **0**: Periodic scheduling'."\n" - .'- **1**: Run manually', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CronType' => [ - 'description' => 'Scheduling cycle type. Valid values:'."\n" - .'- **2**: Hourly scheduling'."\n" - .'- **3**: Daily scheduling'."\n" - .'- **4**: Weekly scheduling'."\n" - .'- **5**: Monthly scheduling', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'CronBeginDate' => [ - 'description' => 'The start time of scheduled scheduling. The task flow is not scheduled before this point in time.', - 'type' => 'string', - 'example' => '1970-01-01', - ], - 'CronEndDate' => [ - 'description' => 'The end time of scheduled scheduling. The task flow is not scheduled after this point in time.', - 'type' => 'string', - 'example' => '2023-01-01', + 'DataAfter' => [ + 'description' => 'The data records after you perform data operations in the database.'."\n", + 'type' => 'array', + 'items' => ['description' => 'A data record after you perform data operations in the database.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'TimeZoneId' => [ - 'description' => 'Time zone setting. Default value: East 8(Asia/Shanghai).', - 'type' => 'string', - 'example' => 'Asia/Shanghai', + 'DataBefore' => [ + 'description' => 'The data records before you perform data operations in the database.'."\n", + 'type' => 'array', + 'items' => ['description' => 'A data record before you perform data operations in the database.'."\n", 'type' => 'string', 'example' => '2', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'DagOwnerId' => [ - 'description' => 'The user ID of the task flow owner.', - 'type' => 'string', - 'example' => '12***89', + 'EventLength' => ['description' => 'The length of the event content. Unit: bytes.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4324', 'title' => ''], + 'EventTimestamp' => ['description' => 'The event time.'."\n", 'type' => 'string', 'example' => '2023-04-23 10:25:47', 'title' => ''], + 'EventType' => ['description' => 'The type of the event. Valid values:'."\n" + ."\n" + .'* **WRITE_ROWS**: indicates an INSERT operation.'."\n" + .'* **UPDATE_ROWS**: indicates an UPDATE operation.'."\n" + .'* **DELETE_ROWS**: indicates a DELETE operation.'."\n" + .'* **EXT_WRITE_ROWS**: indicates an INSERT operation, which is equivalent to WRITE_ROWS.'."\n" + .'* **EXT_UPDATE_ROWS**: indicates an UPDATE operation, which is equivalent to UPDATE_ROWS.'."\n" + .'* **EXT_DELETE_ROWS**: indicates a DELETE operation, which is equivalent to DELETE_ROWS.'."\n", 'type' => 'string', 'example' => 'UPDATE_ROWS', 'title' => ''], + 'EventId' => ['description' => 'The ID of the event.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RollSQL' => ['description' => 'The SQL statements used to roll back the data change.'."\n", 'type' => 'string', 'example' => '-- Timestamp:2023-04-23 10:25:47 #1\\r\\nUPDATE `dc_test`.`tb_chunk_dml` SET `id`=1 , `gmt_create`=\'2021-09-30T00:00:00\' , `content`=\'2023-03-30 14:51:50\' , `c1`=\'2023-04-17 13:42:03\' , `c_id`=1 , `c13425`=\'b\\\\\'\' , `c432532535`= null , `c1432`= null , `c143243253`= null , `c1432535`= null , `c43125325`= null , `c3425325`= null WHERE (`id`=1)"', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'TableInfoList' => [ + 'description' => 'The metadata of tables for which you track data operations.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The metadata of a table for which you track data operations.'."\n", + 'type' => 'object', + 'properties' => [ + 'SchemaName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'prod_eb_vas', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'import_table_test1', 'title' => ''], + 'Columns' => [ + 'description' => 'The information about columns.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about a column.'."\n", + 'type' => 'object', + 'properties' => [ + 'ColumnName' => ['description' => 'The name of the column.'."\n", 'type' => 'string', 'example' => 'basic_platform', 'title' => ''], + 'ColumnPosition' => ['description' => 'The position of the column.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ColumnType' => ['description' => 'The data type of the column. Examples: BIGINT, INT, and VARCHAR.'."\n", 'type' => 'string', 'example' => 'BIGINT', 'title' => ''], + 'Fictive' => ['description' => 'Indicates whether the column is a virtual column. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'Description' => ['description' => 'The description of the column.'."\n", 'type' => 'string', 'example' => 'auto-description', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '24', + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6CB28697-BFE2-5739-9228-3971990E982C\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TaskFlowList\\": {\\n \\"TaskFlow\\": [\\n {\\n \\"Id\\": 0,\\n \\"DagName\\": \\"poc_task_test\\",\\n \\"Description\\": \\"test\\",\\n \\"CreatorId\\": \\"51****\\",\\n \\"CreatorNickName\\": \\"Creator_NickName\\",\\n \\"DagOwnerNickName\\": \\"Owner_NickName\\",\\n \\"DeployId\\": 0,\\n \\"Status\\": 1,\\n \\"LatestInstanceStatus\\": 0,\\n \\"LatestInstanceTime\\": \\"2022-04-13\\",\\n \\"ScenarioId\\": \\"1245\\",\\n \\"CronSwitch\\": false,\\n \\"CronStr\\": \\"0 0 1 * * ? *\\",\\n \\"ScheduleParam\\": \\"{\\\\\\\\\\\\\\"triggerType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"specificTime\\\\\\\\\\\\\\":\'2022-11-15 11:59\'}\\",\\n \\"TriggerType\\": 0,\\n \\"CronType\\": 2,\\n \\"CronBeginDate\\": \\"1970-01-01\\",\\n \\"CronEndDate\\": \\"2023-01-01\\",\\n \\"TimeZoneId\\": \\"Asia/Shanghai\\",\\n \\"DagOwnerId\\": \\"12***89\\"\\n }\\n ]\\n },\\n \\"TotalCount\\": 24\\n}","errorExample":""},{"type":"xml","example":"<ListTaskFlowsByPageResponse>\\n <RequestId>6CB28697-BFE2-5739-9228-3971990E982C</RequestId>\\n <Success>true</Success>\\n <TaskFlowList>\\n <DagName>poc_task_test</DagName>\\n <Description>test</Description>\\n <CreatorId>51****</CreatorId>\\n <CreatorNickName>Creator_NickName</CreatorNickName>\\n <DagOwnerNickName>Owner_NickName</DagOwnerNickName>\\n <Status>1</Status>\\n <LatestInstanceStatus>0</LatestInstanceStatus>\\n <LatestInstanceTime>2022-04-13</LatestInstanceTime>\\n </TaskFlowList>\\n <TotalCount>24</TotalCount>\\n</ListTaskFlowsByPageResponse>","errorExample":""}]', - 'title' => 'ListTaskFlowsByPage', - ], - 'ListScenarios' => [ - 'summary' => 'Queries business scenarios.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'SearchDataTrackResult', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:SearchDataTrackResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"TrackResult\\": {\\n \\"TotalCount\\": 109,\\n \\"EventList\\": [\\n {\\n \\"DataAfter\\": [\\n \\"1\\"\\n ],\\n \\"DataBefore\\": [\\n \\"2\\"\\n ],\\n \\"EventLength\\": 4324,\\n \\"EventTimestamp\\": \\"2023-04-23 10:25:47\\",\\n \\"EventType\\": \\"UPDATE_ROWS\\",\\n \\"EventId\\": 1,\\n \\"RollSQL\\": \\"-- Timestamp:2023-04-23 10:25:47 #1\\\\\\\\r\\\\\\\\nUPDATE `dc_test`.`tb_chunk_dml` SET `id`=1 , `gmt_create`=\'2021-09-30T00:00:00\' , `content`=\'2023-03-30 14:51:50\' , `c1`=\'2023-04-17 13:42:03\' , `c_id`=1 , `c13425`=\'b\\\\\\\\\\\\\\\\\'\' , `c432532535`= null , `c1432`= null , `c143243253`= null , `c1432535`= null , `c43125325`= null , `c3425325`= null WHERE (`id`=1)\\\\\\"\\"\\n }\\n ],\\n \\"TableInfoList\\": [\\n {\\n \\"SchemaName\\": \\"prod_eb_vas\\",\\n \\"TableName\\": \\"import_table_test1\\",\\n \\"Columns\\": [\\n {\\n \\"ColumnName\\": \\"basic_platform\\",\\n \\"ColumnPosition\\": 1,\\n \\"ColumnType\\": \\"BIGINT\\",\\n \\"Fictive\\": true\\n }\\n ],\\n \\"Description\\": \\"auto-description\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'SearchDatabase' => [ + 'summary' => 'Index Details.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -42627,26 +32269,76 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeCode' => '149049', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '12589', + 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to obtain the tenant ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['description' => 'The keyword to search for databases.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'testdb', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'EnvType', + 'in' => 'query', + 'schema' => ['description' => 'The environment type of the database. For more information, see [Instance environment description](~~163309~~).', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'SearchRange', + 'in' => 'query', + 'schema' => ['description' => 'The permission scope. Valid values:'."\n" + ."\n" + .'- **HAS\\_PERMSSION**: databases that you have permissions on.'."\n" + ."\n" + .'- **OWNER**: databases that you own.'."\n" + ."\n" + .'- **MY\\_FOCUS**: databases that you follow.'."\n" + ."\n" + .'- **UNKNOWN**: all databases.', 'type' => 'string', 'required' => false, 'example' => 'HAS_PERMSSION', 'title' => ''], + ], + [ + 'name' => 'SearchTarget', + 'in' => 'query', + 'schema' => ['description' => 'The search target. Valid values:'."\n" + ."\n" + .'- **DB**: all databases, including physical and logical databases.'."\n" + ."\n" + .'- **SINGLE\\_DB**: physical databases.'."\n" + ."\n" + .'- **LOGIC\\_DB**: logical databases.', 'type' => 'string', 'required' => false, 'example' => 'SINGLE_DB', 'title' => ''], + ], + [ + 'name' => 'DbType', + 'in' => 'query', + 'schema' => ['description' => 'The database engine type. For more information about the valid values, see [DbType parameter](~~198106~~).', 'type' => 'string', 'required' => false, 'example' => 'MYSQL', 'title' => ''], + ], + [ + 'name' => 'RealLoginUserUid', + 'in' => 'query', + 'schema' => ['description' => 'The method for sorting the query results. Valid values:'."\n" + ."\n" + .'- **LAST\\_ACTIVE\\_TIME**: sorts the results by the last active time.'."\n" + ."\n" + .'- **DB\\_NAME**: sorts the results by the database name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], ], ], 'responses' => [ @@ -42654,76 +32346,122 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ScenarioList' => [ - 'description' => 'The details of the returned business scenarios.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the business scenario.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '41***', - ], - 'ScenarioName' => [ - 'description' => 'The name of the business scenario.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who created the business scenario.'."\n", - 'type' => 'string', - 'example' => '23***', - ], - 'Description' => [ - 'description' => 'The description of the business scenario.'."\n", - 'type' => 'string', - 'example' => 'test', + 'TotalCount' => ['description' => 'The total number of entries that meet the filter criteria.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'E0D21075-CD3E-4D98-8264-FD8AD04A63B6', 'title' => ''], + 'SearchDatabaseList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SearchDatabase' => [ + 'description' => 'A list of databases.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of databases.', + 'type' => 'object', + 'properties' => [ + 'DatabaseId' => ['description' => 'The ID of the database.', 'type' => 'string', 'example' => '2528****', 'title' => ''], + 'Host' => ['description' => 'The endpoint that is used to connect to the database.', 'type' => 'string', 'example' => 'rm-xxxx.mysql.rds.aliyuncs.com', 'title' => ''], + 'DbaId' => ['description' => 'The ID of the database administrator (DBA) of the instance.', 'type' => 'string', 'example' => '10****', 'title' => ''], + 'SchemaName' => ['description' => 'The name of the database.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Logic' => ['description' => 'Indicates whether the database is a logical database. Valid values:'."\n" + ."\n" + .'- **true**: The database is a logical database.'."\n" + ."\n" + .'- **false**: The database is not a logical database.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'DatalinkName' => ['description' => 'The name of the database link for cross-database queries.', 'type' => 'string', 'example' => 'datalink_name', 'title' => ''], + 'Port' => ['description' => 'The port that is used to connect to the database.', 'type' => 'integer', 'format' => 'int32', 'example' => '3306', 'title' => ''], + 'EnvType' => ['description' => 'The environment type of the instance. For more information, see [Instance environments](~~163309~~).', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Sid' => ['description' => 'The system ID (SID) of the instance.', 'type' => 'string', 'example' => 'testSid', 'title' => ''], + 'OwnerIdList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerIds' => [ + 'description' => 'The IDs of the database owners.', + 'type' => 'array', + 'items' => ['description' => 'The ID of a database owner.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Encoding' => ['description' => 'The character set that is used in the database.', 'type' => 'string', 'example' => 'utf8', 'title' => ''], + 'DbType' => ['description' => 'The type of the database.', 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'OwnerNameList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerNames' => [ + 'description' => 'The nicknames of the database owners.', + 'type' => 'array', + 'items' => ['description' => 'The nickname of a database owner.', 'type' => 'string', 'example' => 'user1', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SearchName' => ['description' => 'The name that is used to search for the database.', 'type' => 'string', 'example' => 'test@xxx.xxx.xxx.xxx:3306', 'title' => ''], + 'Alias' => ['description' => 'The alias of the database.', 'type' => 'string', 'example' => 'test_rds', 'title' => ''], + 'CatalogName' => ['description' => 'The name of the database catalog.'."\n" + ."\n" + .'> For PostgreSQL databases, the database name is returned.', 'type' => 'string', 'example' => 'dmstest', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'ErrorCode' => ['description' => 'The error code that is returned if the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"ScenarioList\\": [\\n {\\n \\"Id\\": 0,\\n \\"ScenarioName\\": \\"test\\",\\n \\"CreatorId\\": \\"23***\\",\\n \\"Description\\": \\"test\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListScenariosResponse>\\n <RequestId>7FAD400F-7A5C-4193-8F9A-39D86C4F0231</RequestId>\\n <Success>true</Success>\\n <ScenarioList>\\n <ScenarioName>test</ScenarioName>\\n <CreatorId>23***</CreatorId>\\n <Description>test</Description>\\n </ScenarioList>\\n</ListScenariosResponse>","errorExample":""}]', - 'title' => 'ListScenarios', - ], - 'UpdateTaskConfig' => [ - 'summary' => 'Updates the advanced configuration of a task node.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"E0D21075-CD3E-4D98-8264-FD8AD04A63B6\\",\\n \\"SearchDatabaseList\\": {\\n \\"SearchDatabase\\": [\\n {\\n \\"DatabaseId\\": \\"2528****\\",\\n \\"Host\\": \\"rm-xxxx.mysql.rds.aliyuncs.com\\",\\n \\"DbaId\\": \\"10****\\",\\n \\"SchemaName\\": \\"test\\",\\n \\"Logic\\": false,\\n \\"DatalinkName\\": \\"datalink_name\\",\\n \\"Port\\": 3306,\\n \\"EnvType\\": \\"test\\",\\n \\"Sid\\": \\"testSid\\",\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"1\\"\\n ]\\n },\\n \\"Encoding\\": \\"utf8\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"user1\\"\\n ]\\n },\\n \\"SearchName\\": \\"test@xxx.xxx.xxx.xxx:3306\\",\\n \\"Alias\\": \\"test_rds\\",\\n \\"CatalogName\\": \\"dmstest\\"\\n }\\n ]\\n },\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'SearchDatabase', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:SearchDatabase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'SearchInventoryAsset' => [ + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -42732,47 +32470,43 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '149772', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The inventory task ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001', 'title' => ''], ], [ - 'name' => 'NodeId', + 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '43****', - ], + 'schema' => ['description' => 'The keyword for a fuzzy search of asset information, such as table names.', 'type' => 'string', 'required' => false, 'example' => 'order', 'title' => ''], ], [ - 'name' => 'NodeConfig', + 'name' => 'Size', 'in' => 'query', - 'schema' => [ - 'description' => 'The advanced configuration for the node. The value of this parameter must be a JSON string.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '{ "rerun":{ "rerunEnable":true, "rerunCount":1, "rerunInterval":10 } }', - ], + 'schema' => ['description' => 'The number of items to return on each page. Default: 20. Maximum: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'Offset', + 'in' => 'query', + 'schema' => ['description' => 'The pagination offset. Default: 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['description' => 'The sort field. Valid values: `confidence` and `entityId`. The default value is `confidence`.', 'type' => 'string', 'required' => false, 'example' => 'confidence', 'title' => ''], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => ['description' => 'The sort order. Valid values: `asc` for ascending order and `desc` for descending order. The default value is `desc`.', 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => ''], ], ], 'responses' => [ @@ -42780,58 +32514,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F4E2A94B-604F-43FF-93E7-F4EE3DCF412E', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => 'The total count.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], + 'Items' => [ + 'type' => 'array', + 'items' => ['description' => 'The details of a single table asset. For the object\'s structure, refer to the response example.'."\n" + ."\n" + .'>', '$ref' => '#/components/schemas/TableKnowledgeVO', 'example' => '[]', 'title' => ''], + 'title' => '', + 'description' => 'A list of table assets.', + 'example' => '', + ], + ], + 'title' => '', + 'description' => 'The paginated result for table assets.', + 'example' => '', ], ], + 'title' => '', + 'description' => 'The response object.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F4E2A94B-604F-43FF-93E7-F4EE3DCF412E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskConfigResponse>\\n <RequestId>F4E2A94B-604F-43FF-93E7-F4EE3DCF412E</RequestId>\\n <Success>true</Success>\\n</UpdateTaskConfigResponse>","errorExample":""}]', - 'title' => 'UpdateTaskConfig', - 'description' => 'You can call this operation to configure a failed task or rerun a task.'."\n", - 'requestParamsDescription' => 'The following sample code provides an example on how to specify the NodeConfig parameter:'."\n" - ."\n" - .'```'."\n" - .' '."\n" - .' "rerun":{ // This field is required.'."\n" - .' "rerunEnable":true, // Specifies whether to enable rerun.'."\n" - .' "rerunCount":1, // The number of reruns.'."\n" - .' "rerunInterval":10 // The interval between each rerun.'."\n" - .' '."\n" - .' '."\n" - .'```'."\n", - ], - 'ListTaskFlowConstants' => [ - 'summary' => 'Queries the constants for a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'SearchInventoryAsset', + 'summary' => 'Retrieves a paginated list of table assets from a specific inventory task.', + 'description' => 'This operation retrieves a paginated list of table-level assets generated by a specific inventory task. It corresponds to the `/knowledge/job/inventory/asset` page in the console and supports keyword filtering and sorting.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TotalCount\\": 50,\\n \\"Items\\": [\\n {\\n \\"TableId\\": 0,\\n \\"TableName\\": \\"\\",\\n \\"DbId\\": 0,\\n \\"DbName\\": \\"\\",\\n \\"DbType\\": \\"\\",\\n \\"InstanceId\\": 0,\\n \\"InstanceName\\": \\"\\",\\n \\"SchemaName\\": \\"\\",\\n \\"EnvType\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"AssetDescription\\": \\"\\",\\n \\"Summary\\": \\"\\",\\n \\"Title\\": \\"\\",\\n \\"AssetCreatedGmt\\": \\"\\",\\n \\"AssetModifiedGmt\\": \\"\\",\\n \\"Size\\": 0,\\n \\"NumRows\\": 0,\\n \\"Level\\": 0,\\n \\"HotLevel\\": 0,\\n \\"LevelType\\": \\"\\",\\n \\"Logic\\": false\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'SearchInventoryKnowledge' => [ + 'summary' => 'Retrieves a paginated list of knowledge generated by an inventory task. You can filter the results by keyword, knowledge type, and other criteria.', + 'description' => 'Retrieves a paginated list of knowledge from an inventory task. You can filter the results by criteria such as keyword, knowledge type, and sort order.', + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -42840,111 +32574,103 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '149650', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> :To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001', 'title' => ''], ], [ - 'name' => 'DagId', + 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '3****', - ], + 'schema' => ['description' => 'The keyword for a fuzzy search on knowledge content.', 'type' => 'string', 'required' => false, 'example' => '订单', 'title' => ''], + ], + [ + 'name' => 'ShowType', + 'in' => 'query', + 'schema' => ['description' => 'The type of knowledge to retrieve. Valid values are `TABLE`, `COLUMN`, `SQL`, `SEG`, `LINEAGE`, and `TERM`.', 'type' => 'string', 'required' => false, 'example' => 'TABLE', 'title' => ''], + ], + [ + 'name' => 'Size', + 'in' => 'query', + 'schema' => ['description' => 'The number of items per page. The default value is 20, and the maximum value is 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'Offset', + 'in' => 'query', + 'schema' => ['description' => 'The pagination offset. The default value is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['description' => 'The sort field. Valid values are `confidence` and `entityId`. The default value is `confidence`.', 'type' => 'string', 'required' => false, 'example' => 'confidence', 'title' => ''], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => ['description' => 'The sort order. Valid values are `asc` for ascending order and `desc` for descending order. The default value is `desc`.', 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'description' => '成功返回', 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '028BF827-3801-5869-8548-F4A039256304', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'DagConstants' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request succeeded.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => [ 'type' => 'object', - 'itemNode' => true, 'properties' => [ - 'DagConstant' => [ - 'description' => 'A list of constant key-value pairs for the task flow.'."\n", + 'TotalCount' => ['description' => 'The total number of matching knowledge items.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'Items' => [ 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The constant key.'."\n", - 'type' => 'string', - 'example' => 'example', - ], - 'Value' => [ - 'description' => 'The constant value.'."\n", - 'type' => 'string', - 'example' => '0', - ], - ], - ], + 'items' => ['description' => 'An object that represents a single knowledge item.[](~~141878~~)'."\n" + ."\n" + .'>', '$ref' => '#/components/schemas/KnowledgeBaseVO', 'example' => '[]', 'title' => ''], + 'title' => '', + 'description' => 'The list of knowledge items for the current page.', + 'example' => '', ], ], + 'title' => '', + 'description' => 'The object containing the paginated knowledge results.', + 'example' => '', ], ], + 'title' => '', + 'description' => 'The data returned for the request.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"028BF827-3801-5869-8548-F4A039256304\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"DagConstants\\": {\\n \\"DagConstant\\": [\\n {\\n \\"Key\\": \\"example\\",\\n \\"Value\\": \\"0\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTaskFlowConstantsResponse>\\n <RequestId>028BF827-3801-5869-8548-F4A039256304</RequestId>\\n <Success>true</Success>\\n <DagConstants>\\n <Key>example</Key>\\n <Value>0</Value>\\n </DagConstants>\\n</ListTaskFlowConstantsResponse>","errorExample":""}]', - 'title' => 'ListTaskFlowConstants', - ], - 'BackFill' => [ - 'summary' => 'Backfills data for a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'SearchInventoryKnowledge', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TotalCount\\": 100,\\n \\"Items\\": [\\n {\\n \\"KnowledgeId\\": \\"\\",\\n \\"EntityId\\": 0,\\n \\"KnowledgeType\\": \\"\\",\\n \\"ShowType\\": \\"\\",\\n \\"Category\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Summary\\": \\"\\",\\n \\"OldSummary\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"OldDescription\\": \\"\\",\\n \\"Expr\\": \\"\\",\\n \\"InstanceName\\": \\"\\",\\n \\"DbName\\": \\"\\",\\n \\"TableName\\": \\"\\",\\n \\"DbId\\": 0,\\n \\"Env\\": \\"\\",\\n \\"GmtCreate\\": \\"\\",\\n \\"LevelType\\": \\"\\",\\n \\"ParseDesc\\": \\"\\",\\n \\"RelationType\\": \\"\\",\\n \\"Confidence\\": 0,\\n \\"ReasoningLogic\\": \\"\\",\\n \\"IsDelete\\": false\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'SearchTable' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -42953,149 +32679,247 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '149001', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'DagId', + 'name' => 'SearchKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '15***', - ], + 'schema' => ['description' => 'The keyword that is used to query tables.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'StartNodeIds', + 'name' => 'PageNumber', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The number of nodes for which you want to backfill data.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The number of task nodes to be replenished.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1', 'minimum' => '1', 'title' => ''], ], [ - 'name' => 'FilterNodeIds', + 'name' => 'PageSize', 'in' => 'query', - 'style' => 'json', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10', 'maximum' => '100', 'minimum' => '1', 'title' => ''], + ], + [ + 'name' => 'EnvType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the environment to which databases belong. For more information, see [Change the environment type of an instance](~~163309~~).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'PRODUCT', 'title' => ''], + ], + [ + 'name' => 'SearchRange', + 'in' => 'query', + 'schema' => ['description' => 'The scope of tables that you want to query. Valid values:'."\n" + ."\n" + .'* **HAS_PERMSSION**: the tables on which the current account has permissions.'."\n" + .'* **OWNER**: the tables owned by the current account.'."\n" + .'* **MY_FOCUS**: the tables that the current account follows.'."\n" + .'* **UNKNOWN**: all tables.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'OWNER', 'title' => ''], + ], + [ + 'name' => 'SearchTarget', + 'in' => 'query', + 'schema' => ['description' => 'The type of table that you want to query. Valid values:'."\n" + ."\n" + .'* **TABLE**: physical and logical tables'."\n" + .'* **SINGLE_TABLE**: physical tables'."\n" + .'* **LOGIC_TABLE**: logical tables'."\n", 'type' => 'string', 'required' => false, 'example' => 'LOGIC_TABLE', 'title' => ''], + ], + [ + 'name' => 'DbType', + 'in' => 'query', + 'schema' => ['description' => 'The type of database. Valid values:'."\n" + ."\n" + .'* **MySQL**'."\n" + .'* **SQLServer**'."\n" + .'* **PostgreSQL**'."\n" + .'* **Oracle**'."\n" + .'* **DRDS**'."\n" + .'* **OceanBase**'."\n" + .'* **Mongo**'."\n" + .'* **Redis**'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'MySQL', 'title' => ''], + ], + [ + 'name' => 'ReturnGuid', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to return the GUID of each table.'."\n", 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'false', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Filter condition, which specifies the list of node IDs in the task flow that do not need to supplement data.', - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the node that does not need to supplement data in the task flow.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12***', + 'type' => 'object', + 'properties' => [ + 'SearchTableList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SearchTable' => [ + 'description' => 'The details of the tables.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TableId' => ['description' => 'The ID of the table.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'Description' => ['description' => 'The description of the table.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'DatabaseId' => ['description' => 'The ID of the database to which the table belongs.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'Encoding' => ['description' => 'The encoding format of the table.'."\n", 'type' => 'string', 'example' => 'utf8', 'title' => ''], + 'DBSearchName' => ['description' => 'The name that is used to search for the database to which the table belongs.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'EnvType' => ['description' => 'The type of the environment to which the database belongs.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'DbType' => ['description' => 'The type of the database. Valid values:'."\n" + ."\n" + .'* **MySQL**'."\n" + .'* **SQLServer**'."\n" + .'* **PostgreSQL**'."\n" + .'* **Oracle**'."\n" + .'* **DRDS**'."\n" + .'* **OceanBase**'."\n" + .'* **Mongo**'."\n" + .'* **Redis**'."\n", 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'test_table', 'title' => ''], + 'TableGuid' => ['description' => 'The GUID of the table.'."\n", 'type' => 'string', 'example' => 'IDB_L_9032.db-test.yuyang_test', 'title' => ''], + 'TableSchemaName' => ['description' => 'The name of the database to which the table belongs.'."\n", 'type' => 'string', 'example' => 'test@xxx.xxx.xxx.xxx:3306', 'title' => ''], + 'DbName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'OwnerNameList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerNames' => [ + 'description' => 'The nicknames of the table owners.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The nickname of the table owner.'."\n", 'type' => 'string', 'example' => 'user', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Logic' => ['description' => 'Indicates whether the table is a logical table. Valid values:'."\n" + ."\n" + .'* **true**: The table is a logical table.'."\n" + .'* **false**: The table is not a logical table.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'OwnerIdList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OwnerIds' => [ + 'description' => 'The IDs of the table owners.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the table owner.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Engine' => ['description' => 'The engine of the table.'."\n", 'type' => 'string', 'example' => 'innodb', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'TotalCount' => ['description' => 'The total number of entries that are returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '1489257F-1B5D-4B5B-89EF-923C12CEEBD1', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'SearchTable', + 'summary' => 'Queries detailed information about tables.', + 'description' => 'You can call this operation only for database instances that are managed in Security Collaboration mode.'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'IsTriggerSubTree', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to run descendant nodes. Default value: true.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:SearchTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"SearchTableList\\": {\\n \\"SearchTable\\": [\\n {\\n \\"TableId\\": \\"1\\",\\n \\"Description\\": \\"test\\",\\n \\"DatabaseId\\": \\"1\\",\\n \\"Encoding\\": \\"utf8\\",\\n \\"DBSearchName\\": \\"test\\",\\n \\"EnvType\\": \\"test\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"TableName\\": \\"test_table\\",\\n \\"TableGuid\\": \\"IDB_L_9032.db-test.yuyang_test\\",\\n \\"TableSchemaName\\": \\"test@xxx.xxx.xxx.xxx:3306\\",\\n \\"DbName\\": \\"test\\",\\n \\"OwnerNameList\\": {\\n \\"OwnerNames\\": [\\n \\"user\\"\\n ]\\n },\\n \\"Logic\\": false,\\n \\"OwnerIdList\\": {\\n \\"OwnerIds\\": [\\n \\"1\\"\\n ]\\n },\\n \\"Engine\\": \\"innodb\\"\\n }\\n ]\\n },\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"1489257F-1B5D-4B5B-89EF-923C12CEEBD1\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + ], + 'SearchTableAssetKnowledge' => [ + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'BackFillDate', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The date for the data to be backfilled. This parameter is required if you specify a date for data backfill.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2022-01-14', - ], + 'schema' => ['description' => 'The ID of the database. Call the [ListDatabases](~~141873~~) API to obtain this ID.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1***', 'title' => ''], ], [ - 'name' => 'BackFillDateBegin', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The start date of the date range for the data to be backfilled. This parameter is required if you specify a date range for data backfill.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2022-01-14', - ], + 'schema' => ['description' => 'The name of the table.', 'type' => 'string', 'required' => true, 'example' => 'order_info', 'title' => ''], ], [ - 'name' => 'BackFillDateEnd', + 'name' => 'SearchKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The end date of the date range for the data to be backfilled. This parameter is required if you specify a date range for data backfill.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2022-09-29', - ], + 'schema' => ['description' => 'The keyword for a fuzzy search on knowledge content.', 'type' => 'string', 'required' => false, 'example' => '订单', 'title' => ''], ], [ - 'name' => 'Interval', + 'name' => 'ShowType', 'in' => 'query', - 'schema' => [ - 'description' => 'The interval at which data backfill is performed. Unit: hours. Minimum value: 1. Default value: 24.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '24', - ], + 'schema' => ['description' => 'The type of knowledge to return. Valid values: `TABLE`, `COLUMN`, `SQL`, and `SEG`. If this parameter is omitted, all types are returned.', 'type' => 'string', 'required' => false, 'example' => 'TABLE', 'title' => ''], ], [ - 'name' => 'Asc', + 'name' => 'Size', 'in' => 'query', - 'schema' => [ - 'description' => 'The running sequence of task flows for data backfill. Valid values:'."\n" - ."\n" - .'* **0**: reverse chronological order.'."\n" - .'* **1**: chronological order. This is the default value.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The number of entries to return per page. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'HistoryDagId', + 'name' => 'Offset', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the historical task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '16***', - ], + 'schema' => ['description' => 'The pagination offset. The default value is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], ], 'responses' => [ @@ -43103,62 +32927,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'DagInstanceId' => [ - 'description' => 'The ID of the execution record of the task flow.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '47****', - ], - 'NodeId' => [ - 'description' => 'The ID of the node.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '43****', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'Items' => [ + 'type' => 'array', + 'items' => ['description' => 'An object that contains the details of an asset knowledge item.'."\n" + ."\n" + .'>', '$ref' => '#/components/schemas/KnowledgeBaseVO', 'example' => '[]', 'title' => ''], + 'title' => '', + 'description' => 'A list of asset knowledge items.', + 'example' => '', + ], + ], + 'title' => '', + 'description' => 'The paginated asset knowledge results.', + 'example' => '', ], ], + 'title' => '', + 'description' => 'The response body.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"DagInstanceId\\": 0,\\n \\"NodeId\\": 0\\n}","errorExample":""},{"type":"xml","example":"<BackFillResponse>\\n <RequestId>7FAD400F-7A5C-4193-8F9A-39D86C4F0231</RequestId>\\n <Success>true</Success>\\n</BackFillResponse>","errorExample":""}]', - 'title' => 'BackFill', - 'description' => 'During a data backfill, task flows are run in sequence based on their dates. You can specify whether task flows are run in chronological or reverse chronological order. After the data backfill is complete, you can specify a date or date range, and a node range to run task flows.', - 'requestParamsDescription' => 'The BackFillDate parameter is required if you specify a date for data backfill.'."\n" - ."\n" - .'The BackFillDateBegin and BackFillDateEnd parameters are required if you specify a date range for data backfill.'."\n", - ], - 'UpdateTaskTimeVariables' => [ - 'summary' => 'Updates time variables for a task.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'SearchTableAssetKnowledge', + 'summary' => 'Queries a paginated list of asset knowledge related to a specific table. This knowledge includes information about tables, columns, SQL statements, and snippets.', + 'description' => 'Queries a paginated list of asset knowledge related to a specific table. You can filter the results by criteria such as knowledge type and keyword. The API returns a paginated list of `KnowledgeBaseVO` objects.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TotalCount\\": 100,\\n \\"Items\\": [\\n {\\n \\"KnowledgeId\\": \\"\\",\\n \\"EntityId\\": 0,\\n \\"KnowledgeType\\": \\"\\",\\n \\"ShowType\\": \\"\\",\\n \\"Category\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Summary\\": \\"\\",\\n \\"OldSummary\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"OldDescription\\": \\"\\",\\n \\"Expr\\": \\"\\",\\n \\"InstanceName\\": \\"\\",\\n \\"DbName\\": \\"\\",\\n \\"TableName\\": \\"\\",\\n \\"DbId\\": 0,\\n \\"Env\\": \\"\\",\\n \\"GmtCreate\\": \\"\\",\\n \\"LevelType\\": \\"\\",\\n \\"ParseDesc\\": \\"\\",\\n \\"RelationType\\": \\"\\",\\n \\"Confidence\\": 0,\\n \\"ReasoningLogic\\": \\"\\",\\n \\"IsDelete\\": false\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'SearchTableKnowledge' => [ + 'summary' => 'Searches for Table Knowledge based on a user\'s query.', + 'description' => 'Searches for Table Knowledge based on a user\'s query.', + 'path' => '/', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -43167,96 +32987,75 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '148809', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> :To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the database. You can call the [ListDatabases](~~141873~~) API to get the ID.', 'type' => 'string', 'required' => true, 'example' => '1***', 'title' => ''], ], [ - 'name' => 'NodeId', + 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '43****', - ], + 'schema' => ['description' => 'The user\'s query.', 'type' => 'string', 'example' => '查看当前的灰度情况', 'title' => '', 'required' => false], ], [ - 'name' => 'TimeVariables', + 'name' => 'Model', 'in' => 'query', - 'schema' => [ - 'description' => 'The time variables configured for the node. The value of this parameter must be a JSON string.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '{"variables":[ {"name":"var", "pattern":"yyyy-MM-dd|+0m+0h-2d+0w+0M+1y"} ]}', - ], + 'schema' => ['description' => 'The model name. Only Qwen series models are supported.', 'type' => 'string', 'required' => false, 'example' => 'qwen-plus', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'description' => '成功返回', 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '39557312-28D5-528F-9554-80C0700EB489', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => ['description' => 'The answer content.', 'type' => 'string', 'example' => 'SQL修复结果...', 'title' => ''], + 'SessionId' => ['description' => 'The session ID.', 'type' => 'string', 'example' => 'f63a6eed-0e3c-4564-8533-b1295db8d6ff', 'title' => ''], + ], + 'title' => '', + 'description' => 'The returned data.', + 'example' => '', ], ], + 'title' => '', + 'description' => 'The response object.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"39557312-28D5-528F-9554-80C0700EB489\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskTimeVariablesResponse>\\n <RequestId>39557312-28D5-528F-9554-80C0700EB489</RequestId>\\n <Success>true</Success>\\n</UpdateTaskTimeVariablesResponse>","errorExample":""}]', - 'title' => 'UpdateTaskTimeVariables', - ], - 'ListTaskFlowTimeVariables' => [ - 'summary' => 'Queries the time variables for a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'SearchTableKnowledge', + 'changeSet' => [], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Content\\": \\"SQL修复结果...\\",\\n \\"SessionId\\": \\"f63a6eed-0e3c-4564-8533-b1295db8d6ff\\"\\n }\\n}","type":"json"}]', + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + ], + 'SearchWorkspaceRoles' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -43266,38 +33065,36 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeCode' => '148791', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'DagId', + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '11****', - ], + 'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => '12****'], ], [ - 'name' => 'Tid', + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => ['description' => 'An idempotent token used to ensure request idempotency.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '123'], + ], + [ + 'name' => 'SearchKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> :To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The keyword used for the search. Fuzzy search is supported.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries to return on a single page.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The token used to retrieve the next page of results. Set this parameter to the NextToken value returned in the previous response.', 'type' => 'string', 'required' => false, 'example' => 'f056501ada12c1cc', 'title' => ''], ], ], 'responses' => [ @@ -43305,118 +33102,83 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'EC12A3BE-149F-5365-AF33-12CC8C963923', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TimeVariables' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'TimeVariable' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'type' => 'string', - ], - 'Pattern' => [ - 'type' => 'string', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931'], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries that meet the search criteria. This parameter is optional and is not returned by default.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RoleId' => ['description' => 'The ID of the role.'."\n" + ."\n" + .'>', 'type' => 'integer', 'format' => 'int64', 'example' => 'MANAGER', 'title' => ''], + 'RoleName' => ['description' => 'The name of the role.', 'type' => 'string', 'example' => 'SLBLogDefaultRole', 'title' => ''], + 'RoleSource' => ['description' => 'The source of the role.', 'type' => 'string', 'example' => 'INNER', 'title' => ''], + 'RoleSourceName' => ['description' => 'The name of the source.', 'type' => 'string', 'example' => 'inner', 'title' => ''], + ], + 'description' => 'The dataset.', + 'title' => '', + 'example' => '', ], + 'description' => 'A list of the returned roles.', + 'title' => '', + 'example' => '', ], + 'MaxResults' => ['description' => 'The maximum number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'NextToken' => ['description' => 'The token used to retrieve the next page of results. This parameter is omitted if no more results are available.', 'type' => 'string', 'example' => 'NesLoKLEdIZrKhDT7I2gS****', 'title' => ''], ], + 'title' => '', + 'description' => 'The response schema.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC12A3BE-149F-5365-AF33-12CC8C963923\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TimeVariables\\": {\\n \\"timeVariable\\": [\\n {\\n \\"Name\\": \\"time_test\\",\\n \\"Pattern\\": \\"2018-09-26|+7h\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTaskFlowTimeVariablesResponse>\\n <RequestId>EC12A3BE-149F-5365-AF33-12CC8C963923</RequestId>\\n <TimeVariables>\\n <TimeVariable>\\n <Pattern>2018-09-26|+7h</Pattern>\\n <Name>test</Name>\\n </TimeVariable>\\n <TimeVariable>\\n <Pattern>yyyy-MM-dd|+0d</Pattern>\\n <Name>test01</Name>\\n </TimeVariable>\\n </TimeVariables>\\n <Success>true</Success>\\n</ListTaskFlowTimeVariablesResponse>","errorExample":""}]', - 'title' => 'ListTaskFlowTimeVariables', - ], - 'UpdateTaskFlowTimeVariables' => [ - 'summary' => 'Updates the time variables for a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'SearchWorkspaceRoles', + 'summary' => 'Searches for roles in a workspace.', + 'description' => '## Prerequisites'."\n" + ."\n" + .'- A VPC has been created.'."\n" + ."\n" + .'- You have logged in to the DMS console as an Alibaba Cloud account or a RAM user with high-level permissions and have granted DMS access to cloud resources by using the AliyunDMSProcessingDataRolePolicy policy.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": \\"1\\",\\n \\"Data\\": [\\n {\\n \\"RoleId\\": 0,\\n \\"RoleName\\": \\"SLBLogDefaultRole\\",\\n \\"RoleSource\\": \\"INNER\\",\\n \\"RoleSourceName\\": \\"inner\\"\\n }\\n ],\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"NesLoKLEdIZrKhDT7I2gS****\\"\\n}","type":"json"}]', + ], + 'SetForecastAgentInstance' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '148792', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsFS2Q9U'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'InstanceUuid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> :To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The unique ID of the client used to restore database backups on the target server.'."\n" + ."\n" + .'> You can call the [DescribeUniBackupDatabase](~~DescribeUniBackupDatabase~~) operation to obtain this parameter.', 'type' => 'string', 'required' => false, 'example' => 'v1dhf8mn8i298s', 'title' => ''], ], [ - 'name' => 'DagId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '43****', - ], - ], - [ - 'name' => 'TimeVariables', + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The time variables for the task flow.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '{"variables":[ {"name":"var", "pattern":"yyyy-MM-dd|+0m+0h-2d+0w+0M+1y"} ]}', - ], + 'schema' => ['description' => 'The region where the data lake is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ @@ -43424,319 +33186,313 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '39557312-28D5-528F-9554-80C0700EB489', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request succeeded.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Message' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Root' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceUuid' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'dcf4bf7c47f011ef800000163e1474a0', 'title' => ''], + 'ForecastAgentIdentity' => ['description' => 'The identity of the forecast agent.', 'type' => 'string', 'example' => 'dcf4bf7c47f011ef800000163e1474a0', 'title' => ''], + ], + 'description' => 'Dify-related information.', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'description' => 'The response body.', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'SetForecastAgentInstance', + 'summary' => 'Sets the credentials for an instance.', + 'description' => 'Note: This operation removes the instance from the DMS instance list. It does not delete the instance or take it offline.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"39557312-28D5-528F-9554-80C0700EB489\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowTimeVariablesResponse>\\n <RequestId>39557312-28D5-528F-9554-80C0700EB489</RequestId>\\n <Success>true</Success>\\n</UpdateTaskFlowTimeVariablesResponse>","errorExample":""}]', - 'title' => 'UpdateTaskFlowTimeVariables', - 'requestParamsDescription' => 'The value of TimeVariables must be a JSON string. Example:'."\n" - ."\n" - .'```'."\n" - .' '."\n" - .' '."\n" - .' '."\n" - .' "name":"var",// The name of the variable.'."\n" - .' '."\n" - .' The format of the variable.'."\n" - .' As shown in the example, the date can have one or more offsets, including minutes (m), hours (h), days (d), weeks (w), months (M), or years (y). The offsets are optional, and you can specify the offsets in a different order than described here. '."\n" - .' '."\n" - .' '."\n" - .' '."\n" - .' '."\n" - .' '."\n" - .' '."\n" - .' '."\n" - .' '."\n" - .' '."\n" - .'```'."\n", + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"Message\\": \\"UnknownError\\",\\n \\"Root\\": {\\n \\"InstanceUuid\\": \\"dcf4bf7c47f011ef800000163e1474a0\\",\\n \\"ForecastAgentIdentity\\": \\"dcf4bf7c47f011ef800000163e1474a0\\"\\n }\\n}","type":"json"}]', ], - 'UpdateTaskFlowCooperators' => [ - 'summary' => 'Updates the IDs of the users that are involved in a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'SetOwners' => [ + 'summary' => 'Configures the owner of an instance, a database, or a table.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '148725', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> :To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'DagId', + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource. The ID of the resource varies with the owner type. The owner types and resource IDs have the following mappings:'."\n" + ."\n" + .'* INSTANCE: the ID of an instance. You can call the [ListInstances](~~141936~~) operation to query the ID of the instance.'."\n" + .'* DATABASE: the ID of a physical database. You can call the [ListDatabases](~~141873~~) operation to query the ID of the physical database.'."\n" + .'* LOGIC_DATABASE: the ID of a logical database. You can call the [ListLogicDatabases](~~141874~~) operation to query the ID of the logical database.'."\n" + .'* TABLE: the ID of a physical table. You can call the [ListTables](~~141878~~) operation to query the ID of the physical table.'."\n" + .'* LOGIC_DATABASE: the ID of a logical table. You can call the [ListLogicTables](~~141875~~) operation to query the ID of the logical table.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '174****', 'title' => ''], + ], + [ + 'name' => 'OwnerType', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'The type of the owner. Valid values:'."\n" + ."\n" + .'* INSTANCE: an owner of an instance.'."\n" + .'* DATABASE: an owner of a physical database.'."\n" + .'* LOGIC_DATABASE: an owner of a logical database.'."\n" + .'* TABLE: an owner of a physical table.'."\n" + .'* LOGIC_TABLE: an owner of a logical table.'."\n", + 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => '11****', + 'example' => 'INSTANCE', + 'enum' => ['DATABASE', 'LOGIC_DATABASE', 'TABLE', 'LOGIC_TABLE', 'INSTANCE'], + 'title' => '', ], ], [ - 'name' => 'CooperatorIds', + 'name' => 'OwnerIds', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The IDs of the users who are involved in the task flow to be updated.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IDs of the users who are involved in the task flow.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '12****', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The ID of the user whom you want to specify as an owner. Separate multiple IDs with commas (,). You can call the [GetUser](~~147098~~) or [ListUsers](~~141938~~) operation to query the ID of the user.'."\n" + ."\n" + .'> The value of the OwnerIds parameter is that of the UserId parameter.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '51****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'D05B3EE1-B6D3-5B17-8CA6-A8054828E5B2', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A99CD576-1E18-4E86-931E-C3CCE56DC030', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true: The request is successful.'."\n" + .'* false: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D05B3EE1-B6D3-5B17-8CA6-A8054828E5B2\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowCooperatorsResponse>\\n <RequestId>D05B3EE1-B6D3-5B17-8CA6-A8054828E5B2</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</UpdateTaskFlowCooperatorsResponse>","errorExample":""}]', - 'title' => 'UpdateTaskFlowCooperators', - ], - 'CreateScenario' => [ - 'summary' => 'Creates a business scenario to group task flows by business scenario.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'SetOwners', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SetOwners', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A99CD576-1E18-4E86-931E-C3CCE56DC030\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SetOwnersResponse>\\n <RequestId>A99CD576-1E18-4E86-931E-C3CCE56DC030</RequestId>\\n <Success>true</Success>\\n</SetOwnersResponse>","errorExample":""}]', + ], + 'SetWorkflowExtraInfo' => [ + 'summary' => 'Configures whether the operation buttons, such as Agree, Revoke, and Sign, are displayed in the ticket approval section of the DMS console.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '149047', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '174313', + 'abilityTreeNodes' => ['FEATUREdms25Q07S'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'ScenarioName', + 'name' => 'ThirdpartyWorkflowUrl', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the business scenario.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Business scenario - test'."\n", - ], + 'schema' => ['description' => 'The link of approval workflow for third parties.'."\n", 'type' => 'string', 'required' => false, 'example' => 'https://xxx', 'title' => ''], ], [ - 'name' => 'Description', + 'name' => 'ThirdpartyWorkflowComment', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the business scenario.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The remarks of approval workflow for third parties.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'WorkflowInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the approval workflow. You can call the [GetOrderBaseInfo](~~144642~~) operation to query the ID of the approval workflow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '184****', 'title' => ''], + ], + [ + 'name' => 'RenderAgree', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether the Agree button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:'."\n" + ."\n" + .'* **true** (default): The Agree button is displayed.'."\n" + .'* **false**: The Agree button is not displayed.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'RenderReject', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether the Reject button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:'."\n" + ."\n" + .'* **true** (default): The Reject button is displayed.'."\n" + .'* **false**: The Reject button is not displayed.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'RenderAddApprovalNode', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether the Sign button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:'."\n" + ."\n" + .'* **true** (default): The Sign button is displayed.'."\n" + .'* **false**: The Sign button is not displayed.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'RenderTransfer', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether the Forward button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:'."\n" + ."\n" + .'* **true** (default): The Forward button is displayed.'."\n" + .'* **false**: The Forward button is not displayed.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'RenderCancel', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether the Revoke button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:'."\n" + ."\n" + .'* **true** (default): The Revoke button is displayed.'."\n" + .'* **false**: The Revoke button is not displayed.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ScenarioId' => [ - 'description' => 'The ID of the business scenario.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '36***', - ], + 'RequestId' => ['description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '8401893F-4235-55D5-B563-7CF7A7D037DE', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the call was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8401893F-4235-55D5-B563-7CF7A7D037DE\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Data\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'SetWorkflowExtraInfo', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SetWorkflowExtraInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"ScenarioId\\": 0\\n}","errorExample":""},{"type":"xml","example":"<CreateScenarioResponse>\\n <RequestId>4E1D2B4D-3E53-4ABC-999D-1D2520B3471A</RequestId>\\n <ScenarioId>36***</ScenarioId>\\n <Success>true</Success>\\n</CreateScenarioResponse>","errorExample":""}]', - 'title' => 'CreateScenario', ], - 'DeleteScenario' => [ - 'summary' => 'Deletes a business scenario.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'SimplyAddInstance' => [ + 'summary' => 'This API is for special scenarios. To add an instance to DMS, call the AddInstance API instead.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '149048', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '201773', + 'abilityTreeNodes' => ['FEATUREdms19SL1H'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud instance.', 'type' => 'string', 'required' => false, 'example' => 'rm****', 'title' => ''], ], [ - 'name' => 'ScenarioId', + 'name' => 'InstanceRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the business scenario.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '12***', - ], + 'schema' => ['description' => 'The region where the instance is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'Host', + 'in' => 'query', + 'schema' => ['description' => 'The database connection address.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '192.XXX.0.56', 'title' => ''], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => 'The connection port of the instance.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '5432', 'title' => ''], + ], + [ + 'name' => 'DatabaseUser', + 'in' => 'query', + 'schema' => ['description' => 'The database username.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'abc', 'title' => ''], + ], + [ + 'name' => 'DatabasePassword', + 'in' => 'query', + 'schema' => ['description' => 'The database password.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test***', 'title' => ''], + ], + [ + 'name' => 'RealLoginUserUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the Alibaba Cloud account that calls the API.', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ @@ -43744,184 +33500,145 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '12***', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'The unique ID of the request. You can use this ID to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n" + ."\n" + .'- This parameter is not returned if the request succeeds.'."\n" + ."\n" + .'- For a list of possible values, see the **Error codes** section.', 'type' => 'string', 'example' => '403', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Instance' => [ + 'description' => 'The instance details.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The ID of the instance in DMS.', 'type' => 'string', 'example' => '188****', 'title' => ''], + 'Host' => ['description' => 'The connection address of the instance.', 'type' => 'string', 'example' => '192.168.XXX.XXX', 'title' => ''], + 'Port' => ['description' => 'The connection port of the instance.', 'type' => 'string', 'example' => '5432', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => 'The response object.', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"12***\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteScenarioResponse>\\n <RequestId>12***</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</DeleteScenarioResponse>","errorExample":""}]', - 'title' => 'DeleteScenario', - 'description' => 'When you call this operation, make sure that no task flow is specified in the business scenario.', - ], - 'UpdateSLARules' => [ - 'summary' => 'Updates the timeout reminder for the service level agreement (SLA) rules of a task flow.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Instance\\": {\\n \\"InstanceId\\": \\"188****\\",\\n \\"Host\\": \\"192.168.XXX.XXX\\",\\n \\"Port\\": \\"5432\\"\\n }\\n}","type":"json"}]', + 'title' => 'Add Instance (Simplified Version)', + 'description' => 'Your system role must be DBA or administrator. To view your system role, see [View My System Role](~~324212~~).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:SimplyAddInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'SkipDataCorrectRowCheck' => [ + 'summary' => 'Skip the row count validation in the data change precheck.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '148629', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], 'parameters' => [ [ - 'name' => 'DagId', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '11****', - ], + 'schema' => ['description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to obtain the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '420****', 'title' => ''], + ], + [ + 'name' => 'Reason', + 'in' => 'query', + 'schema' => ['description' => 'The reason for skipping the verification on the number of rows in the precheck for data change.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Save testing time', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> :To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'SlaRuleList', + 'name' => 'RealLoginUserUid', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The list of SLA rules.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DagId' => [ - 'description' => 'The ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '15***', - ], - 'NodeId' => [ - 'description' => 'The ID of the task node.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], - 'Type' => [ - 'description' => 'The rule type. Valid values:'."\n" - ."\n" - .'* **0**: SLA rules for task flows'."\n" - .'* **1**: SLA rules for nodes'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], - 'IntervalMinutes' => [ - 'description' => 'The timeout period. Unit: minutes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1080', - ], - ], - 'required' => false, - ], - 'required' => false, - ], + 'schema' => ['description' => 'The UID of the Alibaba Cloud account of the user who actually invokes the API.<props="china">For more information, see [Specify an API caller](~~2835451~~).</props>', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '88E053F7-347B-52DD-A186-1F340EEC0C27', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"88E053F7-347B-52DD-A186-1F340EEC0C27\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateSLARulesResponse>\\n <RequestId>88E053F7-347B-52DD-A186-1F340EEC0C27</RequestId>\\n <Success>true</Success>\\n</UpdateSLARulesResponse>","errorExample":""}]', - 'title' => 'UpdateSLARules', - 'description' => 'SLA rules take effect after task flows are deployed and published.', - ], - 'GetRuleNumLimitOfSLA' => [ - 'summary' => 'Queries the maximum number of custom service-level agreement (SLA) rules for task orchestration.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","type":"json"}]', + 'title' => 'Skip the row count validation in the data change precheck', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SkipDataCorrectRowCheck'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:SkipDataCorrectRowCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'StopTaskFlowInstance' => [ + 'summary' => 'Stops a task flow instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -43930,359 +33647,228 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', + 'abilityTreeCode' => '145428', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + [ 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '11****', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'DagInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the execution record of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to query the execution record ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '47****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'D05B3EE1-B6D3-5B17-8CA6-A8054828E5B2', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'RuleNumLimit' => [ - 'description' => 'The maximum number of SLA rules.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '028BF827-3801-5869-8548-F4A039256308', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D05B3EE1-B6D3-5B17-8CA6-A8054828E5B2\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"RuleNumLimit\\": 12\\n}","errorExample":""},{"type":"xml","example":"<GetRuleNumLimitOfSLAResponse>\\n <RequestId>8EE72AAA-88DE-5747-A63B-43887BFE5480</RequestId>\\n <RuleNumLimit>20</RuleNumLimit>\\n <Success>true</Success>\\n</GetRuleNumLimitOfSLAResponse>","errorExample":""}]', - 'title' => 'GetRuleNumLimitOfSLA', - ], - 'GetIntervalLimitOfSLA' => [ - 'summary' => 'Queries the minimum scheduling cycle of a task flow when a service level agreement (SLA) timeout rule is configured for the task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"028BF827-3801-5869-8548-F4A039256308\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<StopTaskFlowInstanceResponse>\\n <RequestId>028BF827-3801-5869-8548-F4A039256308</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</StopTaskFlowInstanceResponse>","errorExample":""}]', + 'title' => 'StopTaskFlowInstance', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:StopTaskFlowInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'SubmitOrderApproval' => [ + 'summary' => 'Submits a ticket for approval.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '12592', + 'abilityTreeNodes' => ['FEATUREdms25Q07S'], ], 'parameters' => [ [ - 'name' => 'DagId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '11****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '23****', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '123***', 'title' => ''], + ], + [ + 'name' => 'RealLoginUserUid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Alibaba Cloud account that is used to call the API operation.', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '5B96E35F-A58E-5399-9041-09CF9A1E46EA', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'IntervalLimit' => [ - 'description' => 'The minimum scheduling cycle. Unit: minutes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '59', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5B96E35F-A58E-5399-9041-09CF9A1E46EA\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"IntervalLimit\\": 59\\n}","errorExample":""},{"type":"xml","example":"<GetIntervalLimitOfSLAResponse>\\n <RequestId>5B96E35F-A58E-5399-9041-09CF9A1E46EA</RequestId>\\n <Success>true</Success>\\n <IntervalLimit>59</IntervalLimit>\\n</GetIntervalLimitOfSLAResponse>","errorExample":""}]', - 'title' => 'GetIntervalLimitOfSLA', - 'description' => 'The scheduling cycle of a task flow must be greater than the minimum scheduling cycle configured in the SLA rule for the task flow.', - ], - 'ListDefaultSLARules' => [ - 'summary' => 'Queries the default service level agreement (SLA) timeout rules.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'SubmitOrderApproval', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SubmitOrderApproval', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SubmitStructSyncOrderApproval' => [ + 'summary' => 'Submits a schema synchronization ticket for approval.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '148628', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'DagId', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '11****', - ], + 'schema' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'exclusiveMaximum' => false, 'minimum' => '1', 'example' => '4324535', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '3E8AF4C3-A822-53A8-970C-059EE83BBD5A', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SLARuleList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SLARule' => [ - 'description' => 'The list of SLA rules.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the SLA rule.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'DagId' => [ - 'description' => 'The ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'NodeId' => [ - 'description' => 'The ID of the task node.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'RuleType' => [ - 'description' => 'The type of the rule. Valid values:'."\n" - ."\n" - .'* **0**: an SLA rule for a task flow'."\n" - .'* **1**: an SLA rule for a task node'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'IntervalMinutes' => [ - 'description' => 'The timeout period. Unit: minutes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1080', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471D'], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'WorkflowInstanceId' => ['description' => 'The ID of the approval process.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '432523', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3E8AF4C3-A822-53A8-970C-059EE83BBD5A\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"SLARuleList\\": {\\n \\"SLARule\\": [\\n {\\n \\"Id\\": 1,\\n \\"DagId\\": 0,\\n \\"NodeId\\": 0,\\n \\"RuleType\\": 0,\\n \\"IntervalMinutes\\": 1080\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListDefaultSLARulesResponse>\\n <RequestId>3E8AF4C3-A822-53A8-970C-059EE83BBD5A</RequestId>\\n <SLARuleList>\\n <SLARule>\\n <IntervalMinutes>1080</IntervalMinutes>\\n <RuleType>0</RuleType>\\n <Id>1</Id>\\n <DagId>0</DagId>\\n <NodeId>0</NodeId>\\n </SLARule>\\n </SLARuleList>\\n <Success>true</Success>\\n</ListDefaultSLARulesResponse>","errorExample":""}]', - 'title' => 'ListDefaultSLARules', - ], - 'ListTaskFlowCooperators' => [ - 'summary' => 'Queries a list of users that are involved in a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'SubmitStructSyncOrderApproval', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SubmitStructSyncOrderApproval', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471D\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"WorkflowInstanceId\\": 432523\\n}","errorExample":""},{"type":"xml","example":"<SubmitStructSyncOrderApprovalResponse>\\n <RequestId>72768811-B970-4733-85BE-A8659613BF23</RequestId>\\n <WorkflowInstanceId>1000000</WorkflowInstanceId>\\n <Success>true</Success>\\n</SubmitStructSyncOrderApprovalResponse>","errorExample":""}]', + ], + 'SuspendDataExportJob' => [ + 'summary' => 'Suspends an ongoing or scheduled SQL result set export task.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '147902', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '245849', + 'abilityTreeNodes' => ['FEATUREdmsPWN318'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'DagId', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '15****', - ], + 'schema' => ['description' => 'The ticket ID. You can call the [ListOrders](~~144643~~) operation to query the ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '903****', 'title' => ''], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the SQL result set export task. You can call the [GetDataExportOrderDetail](~~465911~~) operation to obtain the value of this parameter. If you set this parameter to Null, no SQL result set export task is suspended.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1276****', 'title' => ''], ], ], 'responses' => [ @@ -44290,82 +33876,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '54C99C70-2DFF-5A8C-A252-EBAA1EB668EC', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'CooperatorList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Cooperator' => [ - 'description' => 'The users that are involved in the task flow.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'NickName' => [ - 'description' => 'The alias of the user.'."\n", - 'type' => 'string', - 'example' => 'name', - ], - 'Email' => [ - 'description' => 'The email address of the user.'."\n", - 'type' => 'string', - 'example' => 'test@XX.com', - ], - 'LoginName' => [ - 'description' => 'The username.'."\n", - 'type' => 'string', - 'example' => 'name', - ], - 'UserId' => [ - 'description' => 'userId.', - 'type' => 'string', - 'example' => '123', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF9A04', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54C99C70-2DFF-5A8C-A252-EBAA1EB668EC\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"CooperatorList\\": {\\n \\"Cooperator\\": [\\n {\\n \\"NickName\\": \\"name\\",\\n \\"Email\\": \\"test@XX.com\\",\\n \\"LoginName\\": \\"name\\",\\n \\"UserId\\": \\"123\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTaskFlowCooperatorsResponse>\\n <RequestId>54C99C70-2DFF-5A8C-A252-EBAA1EB668EC</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n <CooperatorList>\\n <NickName>name</NickName>\\n <Email>test@XX.com</Email>\\n <LoginName>name</LoginName>\\n </CooperatorList>\\n</ListTaskFlowCooperatorsResponse>","errorExample":""}]', - 'title' => 'ListTaskFlowCooperators', - ], - 'ListSLARules' => [ - 'summary' => 'Queries the custom service level agreement (SLA) rules of a task flow.', - 'methods' => [ - 'post', - 'get', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'SuspendDataExportJob', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SuspendDataExportJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'SuspendTaskFlowInstance' => [ + 'summary' => 'Suspends a task flow instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -44374,39 +33923,27 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '148618', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'none', + 'abilityTreeCode' => '145426', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + [ 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '11****', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'DagInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the execution record of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to query the execution record ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '47****', 'title' => ''], ], ], 'responses' => [ @@ -44415,298 +33952,132 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '3D1A59F4-EB2B-5D24-80A5-90C446A00DE2', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SLARuleList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SLARule' => [ - 'description' => 'The list of SLA rules.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the SLA rule.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'DagId' => [ - 'description' => 'The ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11****', - ], - 'NodeId' => [ - 'description' => 'The ID of the task node.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RuleType' => [ - 'description' => 'The type of the rule. Valid values:'."\n" - ."\n" - .'* **0**: an SLA rule for a task flow'."\n" - .'* **1**: an SLA rule for a task node'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'IntervalMinutes' => [ - 'description' => 'The timeout period. Unit: minutes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1080', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '028BF827-3801-5869-8548-F4A039256305', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3D1A59F4-EB2B-5D24-80A5-90C446A00DE2\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"SLARuleList\\": {\\n \\"SLARule\\": [\\n {\\n \\"Id\\": 2,\\n \\"DagId\\": 0,\\n \\"NodeId\\": 1,\\n \\"RuleType\\": 0,\\n \\"IntervalMinutes\\": 1080\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListSLARulesResponse>\\n <RequestId>BD7055C8-798E-5AA7-8E42-9690A0C344B6</RequestId>\\n <SLARuleList>\\n <SLARule>\\n <id>2</id>\\n <DagId>11312</DagId>\\n <RuleType>0</RuleType>\\n <IntervalMinutes>1080</IntervalMinutes>\\n <NodeId>1</NodeId>\\n </SLARule>\\n </SLARuleList>\\n <Success>true</Success>\\n</ListSLARulesResponse>","errorExample":""}]', - 'title' => 'ListSLARules', - ], - 'GetTask' => [ - 'summary' => 'Queries the configurations, including time variables, of a specified task node based on the task node ID.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'SuspendTaskFlowInstance', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:SuspendTaskFlowInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"028BF827-3801-5869-8548-F4A039256305\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SuspendTaskFlowInstanceResponse>\\n <RequestId>028BF827-3801-5869-8548-F4A039256305</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</SuspendTaskFlowInstanceResponse>","errorExample":""}]', + ], + 'SyncDatabaseMeta' => [ + 'summary' => 'Synchronizes the metadata of a database.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'example' => '3***', - 'format' => 'int64', - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'required' => false, - 'type' => 'integer', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '-1', 'title' => ''], ], [ - 'name' => 'NodeId', + 'name' => 'DbId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", - 'docRequired' => true, - 'example' => '51***', - 'format' => 'int64', - 'required' => true, - 'type' => 'integer', - ], + 'schema' => ['description' => 'The ID of the database.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '123', 'title' => ''], + ], + [ + 'name' => 'Logic', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether the database is a logical database.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response', + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'example' => '7838266C-E17B-58F4-B072-4DC356B58258', - 'type' => 'string', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'example' => 'UnknownError', - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'example' => 'UnknownError', - 'type' => 'string', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'example' => 'true', - 'type' => 'boolean', - ], - 'Task' => [ - 'description' => 'The task node.'."\n", - 'properties' => [ - 'DagId' => [ - 'description' => 'The ID of the task flow to which the node belongs.'."\n", - 'example' => '7321', - 'format' => 'int64', - 'type' => 'integer', - ], - 'NodeName' => [ - 'description' => 'The name of the node.'."\n", - 'example' => 'Cross-database Spark SQL-1'."\n", - 'type' => 'string', - ], - 'NodeType' => [ - 'description' => 'The type of the node. For more information about the valid values for this parameter, see [NodeType parameter](~~424705~~).'."\n", - 'example' => 'SPARK_SQL', - 'type' => 'string', - ], - 'NodeContent' => [ - 'description' => 'The configuration for the node.'."\n", - 'example' => '{\\"dbList\\":[{\\"instanceId\\":177****}" }', - 'type' => 'string', - ], - 'TimeVariables' => [ - 'description' => 'The time variables configured for the node.'."\n", - 'example' => '{\\"variables\\":[{\\"name\\":\\"Today\\",\\"pattern\\":\\"yyyy-MM-dd|+1d\\"}]}', - 'type' => 'string', - ], - 'NodeConfig' => [ - 'description' => 'The advanced configuration for the node.'."\n", - 'example' => '{\\\\"dbId\\\\":39\\*\\*\\*\\*,\\\\"dbType\\\\":\\\\"mysql\\\\",\\\\"locale\\\\":\\\\"zh\\\\",\\\\"sql\\\\":\\\\"/\\* Make sure that the following SQL statements meet your business requirements before submitting the SQL statements for execution. \\*/\\\\\\n\\\\\\nCREATE TABLE IF NOT EXISTS \\`momo_weekGather\\` (\\\\\\n\\\\\\t\\`id\\` bigint AUTO_INCREMENT DEFAULT \'0\',\\\\\\n\\\\\\t\\`age\\` bit NULL,\\\\\\n\\\\\\t\\`action\\` varchar(150) NULL,\\\\\\n\\\\\\t\\`elapse_time\\` datetime NULL,\\\\\\n\\\\\\tPRIMARY KEY (\\`id\\`)\\\\\\n) ENGINE=InnoDB\\\\\\nDEFAULT CHARACTER SET=utf8;\\\\"}'."\n", - 'type' => 'string', - ], - 'NodeOutput' => [ - 'description' => 'The output variables for the node. This parameter is available only for some types of nodes.'."\n", - 'example' => '{ "outputs":[ "extractMethod":"json" , "variableName":"var", "description":"demo desc" } ] }', - 'type' => 'string', - ], - 'GraphParam' => [ - 'description' => 'The position of the node on the Directed Acyclic Graph (DAG).'."\n", - 'example' => '{"{\\"x\\":0,\\"y\\":0,\\"layoutType\\":\\"Horizontal\\"}", "id": 51***}', - 'type' => 'string', - ], - ], - 'type' => 'object', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A99CD576-1E18-4E86-931E-C3CCE56DC030', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7838266C-E17B-58F4-B072-4DC356B58258\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Task\\": {\\n \\"DagId\\": 7321,\\n \\"NodeName\\": \\"跨库Spark SQL-1\\",\\n \\"NodeType\\": \\"SPARK_SQL\\",\\n \\"NodeContent\\": \\"{\\\\\\\\\\\\\\"dbList\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":177****}\\\\\\" }\\",\\n \\"TimeVariables\\": \\"{\\\\\\\\\\\\\\"variables\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Today\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pattern\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"yyyy-MM-dd|+1d\\\\\\\\\\\\\\"}]}\\",\\n \\"NodeConfig\\": \\"{\\\\\\\\\\\\\\"dbId\\\\\\\\\\\\\\":39****,\\\\\\\\\\\\\\"dbType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"mysql\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"locale\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"zh\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sql\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/* 请确认以下SQL符合您的变更需求,务必确认无误后再提交执行 */\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\nCREATE TABLE IF NOT EXISTS `momo_weekGather` (\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`id` bigint AUTO_INCREMENT DEFAULT \'0\',\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`age` bit NULL,\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`action` varchar(150) NULL,\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`elapse_time` datetime NULL,\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\tPRIMARY KEY (`id`)\\\\\\\\\\\\\\\\n) ENGINE=InnoDB\\\\\\\\\\\\\\\\nDEFAULT CHARACTER SET=utf8;\\\\\\\\\\\\\\"}\\",\\n \\"NodeOutput\\": \\"{ \\\\\\"outputs\\\\\\":[ \\\\\\"extractMethod\\\\\\":\\\\\\"json\\\\\\" , \\\\\\"variableName\\\\\\":\\\\\\"var\\\\\\", \\\\\\"description\\\\\\":\\\\\\"demo desc\\\\\\" } ] }\\",\\n \\"GraphParam\\": \\"{\\\\\\"{\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"layoutType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Horizontal\\\\\\\\\\\\\\"}\\\\\\", \\\\\\"id\\\\\\": 51***}\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTaskResponse>\\n <Task>\\n <NodeName>跨库Spark SQL-1</NodeName>\\n <NodeType>SPARK_SQL</NodeType>\\n <DagId>73***</DagId>\\n <NodeContent>{\\"dbId\\":39****,\\"dbType\\":\\"mysql\\",\\"locale\\":\\"zh\\",\\"sql\\":\\"\\\\n\\\\nCREATE TABLE IF NOT EXISTS `momo_weekGather` (\\\\n\\\\t`id` bigint AUTO_INCREMENT DEFAULT \'0\',\\\\n\\\\t`age` bit NULL,\\\\n\\\\t`action` varchar(150) NULL,\\\\n\\\\t`elapse_time` datetime NULL,\\\\n\\\\tPRIMARY KEY (`id`)\\\\n) ENGINE=InnoDB\\\\nDEFAULT CHARACTER SET=utf8;\\"}</NodeContent>\\n <NodeConfig>{\\"rerun\\":{\\"rerunEnable\\":false}}</NodeConfig>\\n <GraphParam>{\\"x\\":0,\\"y\\":0,\\"layoutType\\":\\"Horizontal\\"}</GraphParam>\\n </Task>\\n <RequestId>7838266C-E17B-58F4-B072-4DC356B58258</RequestId>\\n <Success>true</Success>\\n</GetTaskResponse>","errorExample":""}]', - 'responseParamsDescription' => 'The value of TimeVariables is a JSON string. The following section provides an example of the TimeVariables value and describes the variables:'."\n" - ."\n" - .'```JSON'."\n" - .'{'."\n" - .' "variables":['."\n" - .' {'."\n" - .' "name":"var",// The name of the variable.'."\n" - .' /*'."\n" - .' Variable format'."\n" - .' As shown in the example, the date can have one or more offsets, including minutes (m), hours (h), days (d), weeks (w), months (M), or years (y). The offsets are optional, and you can specify the offsets in a different order than described here. '."\n" - .' */'."\n" - .' "pattern":"yyyy-MM-dd|+0d" '."\n" - .' },'."\n" - .' {'."\n" - .' "name":"test",'."\n" - .' "pattern":"yyyy-MM-dd|+0d"'."\n" - .' }'."\n" - .' ]'."\n" - .'}'."\n" - .'```'."\n", - 'title' => 'GetTask', - ], - 'MoveTaskFlowToScenario' => [ - 'summary' => 'Migrates a task flow to a specified business scenario.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'SyncDatabaseMeta', + 'description' => '仅管控模式为安全协同的数据库实例可调用此API。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SyncDatabaseMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A99CD576-1E18-4E86-931E-C3CCE56DC030\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SyncInstanceMeta' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '148613', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the [View information about the current tenant](~~181330~~) section of the Manage DMS tenants topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'DagId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '11****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12***', 'title' => ''], ], [ - 'name' => 'ScenarioId', + 'name' => 'IgnoreTable', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the business scenario to which you want to migrate your task flow. If this parameter is set to the default value or a value that is less than or equal to 0, the task flow is migrated to the default business scenario.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1****', - ], + 'schema' => ['description' => 'Specifies whether to skip synchronization for the metadata of table dictionaries. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ @@ -44714,46 +34085,43 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'D85FD18C-4322-5D49-8C14-5A10E668F86C', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A99CD576-1E18-4E86-931E-C3CCE56DC030', 'title' => ''], + 'ErrorCode' => ['description' => 'Details about the topology of the data table.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error code returned.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D85FD18C-4322-5D49-8C14-5A10E668F86C\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<MoveTaskFlowToScenarioResponse>\\n <RequestId>D85FD18C-4322-5D49-8C14-5A10E668F86C</RequestId>\\n <Success>true</Success>\\n</MoveTaskFlowToScenarioResponse>","errorExample":""}]', - 'title' => 'MoveTaskFlowToScenario', - ], - 'GetTaskFlowNotification' => [ - 'summary' => 'Queries the notification settings for task flows.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'SyncInstanceMeta', + 'summary' => 'Synchronizes the metadata of all databases in a database instance.', + 'description' => 'You can call this operation only for database instances whose control mode is Security Collaboration.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SyncInstanceMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A99CD576-1E18-4E86-931E-C3CCE56DC030\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SyncInstanceMetaResponse>\\n <RequestId>A99CD576-1E18-4E86-931E-C3CCE56DC030</RequestId>\\n <Success>true</Success>\\n</SyncInstanceMetaResponse>","errorExample":""}]', + ], + 'TryRunTaskFlow' => [ + 'summary' => 'Tests the task flow of task orchestration.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -44763,34 +34131,17 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdms19SL1H'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '开启了流控配置,无法短时间调用多次', ], 'parameters' => [ [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], - ], - [ 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '15***', - ], + 'schema' => ['description' => 'The task flow ID. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '11****', 'title' => ''], ], ], 'responses' => [ @@ -44798,127 +34149,109 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'F19D575F-EBEA-5683-AFA3-A8F6D9A7DE03', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Notification' => [ - 'description' => 'The notification settings specified by the user.'."\n", - 'type' => 'object', - 'properties' => [ - 'DagNotificationFail' => [ - 'description' => 'Indicates whether notifications for failed task flows are enabled. Valid values:'."\n" - ."\n" - .'* **true**: enabled'."\n" - .'* **false**: disabled'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'DagNotificationSuccess' => [ - 'description' => 'Indicates whether notifications for successful task flows are enabled. Valid values:'."\n" - ."\n" - .'* **true**: enabled'."\n" - .'* **false**: disabled'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'DagNotificationSla' => [ - 'description' => 'Indicates whether service level agreement (SLA) global notifications for task flows are enabled. Valid values:'."\n" - ."\n" - .'* **true**: enabled'."\n" - .'* **false**: disabled'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '9997630E-1993-5E6D-9DF1-4EFEE755FE31', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed. Value values:'."\n" + ."\n" + .'* If the request was successful, the **ErrorCode** parameter is not returned.'."\n" + .'* If the request failed, **ErrorCode** is returned. For more information, see the **Error codes** section in this topic.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the order.'."\n", 'type' => 'string', 'example' => '169****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F19D575F-EBEA-5683-AFA3-A8F6D9A7DE03\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Notification\\": {\\n \\"DagNotificationFail\\": true,\\n \\"DagNotificationSuccess\\": true,\\n \\"DagNotificationSla\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTaskFlowNotificationResponse>\\n <RequestId>F19D575F-EBEA-5683-AFA3-A8F6D9A7DE03</RequestId>\\n <Success>true</Success>\\n <Notification>\\n <DagNotificationSuccess>true</DagNotificationSuccess>\\n <DagNotificationSla>true</DagNotificationSla>\\n <DagNotificationFail>true</DagNotificationFail>\\n </Notification>\\n</GetTaskFlowNotificationResponse>","errorExample":""}]', - 'title' => 'GetTaskFlowNotification', - ], - 'UpdateTaskName' => [ - 'summary' => 'Updates the name of a specified task.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9997630E-1993-5E6D-9DF1-4EFEE755FE31\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"InstanceId\\": \\"169****\\"\\n}","type":"json"}]', + 'title' => 'TryRunTaskFlow', + 'description' => '### [](#)Usage notes'."\n" + ."\n" + .'An edge can be created only when the following conditions are met:'."\n" + ."\n" + .'1. The start and end nodes of the edge exist in the directed acyclic graph (DAG) of the task flow specified by DagId.'."\n" + .'2. After the edge is created, the DAG does not contain loops.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:TryRunTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateAbacPolicy' => [ + 'summary' => 'Updates the name, description, or content of a policy.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '147910', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '228488', + 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'AbacPolicyName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['title' => '', 'description' => 'The name of the permission policy.'."\n", 'type' => 'string', 'required' => false, 'example' => 'policy_test'], ], [ - 'name' => 'NodeId', + 'name' => 'AbacPolicyDesc', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '449***', - ], + 'schema' => ['title' => '', 'description' => 'The description of the policy.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ - 'name' => 'NodeName', + 'name' => 'AbacPolicyContent', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node name.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Spark-test', - ], + 'schema' => ['title' => '', 'description' => 'The content of the policy.'."\n", 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "Statement": ['."\n" + .' {'."\n" + .' "Action": "*",'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*",'."\n" + .' "Condition": {'."\n" + .' "StringEqualsIgnoreCase": {'."\n" + .' "dms:DbType": ['."\n" + .' "redis"'."\n" + .' ]'."\n" + .' }'."\n" + .' }'."\n" + .' }'."\n" + .' ],'."\n" + .' "Version": "1"'."\n" + .'}'], + ], + [ + 'name' => 'AbacPolicyId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The ID of the policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12****'], + ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -44926,97 +34259,75 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C4604178-3BE1-5973-ACF0-7D561AEEF3A8', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'CE43759B-5A72-560A-BF3D-862F38B36B9E'], + 'ErrorCode' => ['description' => 'The error code that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'UpdatePolicyResult' => ['description' => 'Indicates whether the policy is updated.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C4604178-3BE1-5973-ACF0-7D561AEEF3A8\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskNameResponse>\\n <RequestId>C4604178-3BE1-5973-ACF0-7D561AEEF3A8</RequestId>\\n <Success>true</Success>\\n</UpdateTaskNameResponse>","errorExample":""}]', - 'title' => 'UpdateTaskName', - ], - 'UpdateTaskOutput' => [ - 'summary' => 'Updates the output variables for a task node.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CE43759B-5A72-560A-BF3D-862F38B36B9E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"UpdatePolicyResult\\": 0\\n}","type":"json"}]', + 'title' => 'UpdateAbacPolicy', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateAbacPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateAuthorityTemplate' => [ + 'summary' => 'Modifies a permission template.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '147898', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1563', 'title' => ''], ], [ - 'name' => 'NodeId', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '14059', - ], + 'schema' => ['description' => 'The name of the permission template.'."\n" + ."\n" + .'> You must specify the Name or Description parameter. Otherwise, the API call fails.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Test template.', 'title' => ''], ], [ - 'name' => 'NodeOutput', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The output variables for the task.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '{“outputs”:[{"row":0, "column":-1,"combiner":","}"extractMethod":"{\\"row\\":0,\\"column\\":-1,\\"combiner\\":\\",\\"}", "variableName":"var", "description":"For demo" }]}', - ], + 'schema' => ['description' => 'The description of the permission template.'."\n" + ."\n" + .'> You must specify the Name or Description parameter. Otherwise, the API call fails.'."\n", 'type' => 'string', 'required' => true, 'example' => 'This template is used for business testing.', 'title' => ''], + ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ @@ -45024,893 +34335,764 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'AB524768-8A5F-523A-91BD-1147187FCD62', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'AuthorityTemplateView' => [ + 'description' => 'The details of the permission template.'."\n", + 'type' => 'object', + 'properties' => [ + 'TemplateId' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1563', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the user who created the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12***', 'title' => ''], + 'Name' => ['description' => 'The name of the permission template.'."\n", 'type' => 'string', 'example' => 'Test template.', 'title' => ''], + 'Description' => ['description' => 'The description of the permission template.'."\n", 'type' => 'string', 'example' => 'This template is used for business testing.', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Tid' => ['description' => 'The ID of the tenant.', 'type' => 'integer', 'format' => 'int64', 'example' => '3***', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB524768-8A5F-523A-91BD-1147187FCD62\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => 'UpdateTaskOutput', - 'description' => 'Only nodes of single-instance SQL assignment, script code, and ECS remote command have output variables.', - 'requestParamsDescription' => '## Single-instance SQL assignment'."\n" - ."\n" - .'- Example of NodeOutput:```'."\n" - .'Variable extraction settings'."\n" - .' '."\n" - .' "row":0, // Rows. -1 indicates all rows.'."\n" - .' "column":-1, // Columns. -1 indicates all columns.'."\n" - .' '."\n" - .' Delimiter'."\n" - .' If you select all rows or columns, you must specify a connector. The returned value of the variable is a string.'."\n" - .' '."\n" - .' '."\n" - .' '."\n" - .' '."\n" - .' '."\n" - .' "variableName":"var", // Variable name'."\n" - .' "description":"For demo" // Variable description'."\n" - .'```'."\n" - ."\n\n" - .'## Script code /ECS remote command'."\n" - ."\n" - .'- Example of NodeOutput:```'."\n" - .'"extractMethod":"json", // JSON'."\n" - .' "variableName":"var", // Variable name'."\n" - .' "description":"demo desc" // Variable description'."\n" - .'```', - ], - 'DeleteTaskFlowEdgesByCondition' => [ - 'summary' => 'Deletes task flow edges based on multiple conditions.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"AuthorityTemplateView\\": {\\n \\"TemplateId\\": 1563,\\n \\"CreatorId\\": 0,\\n \\"Name\\": \\"Test template.\\",\\n \\"Description\\": \\"This template is used for business testing.\\"\\n },\\n \\"Success\\": true,\\n \\"Tid\\": 0\\n}","type":"json"}]', + 'title' => 'UpdateAuthorityTemplate', + 'description' => 'You are a database administrator (DBA) or a Data Management (DMS) administrator. For more information about how to view system roles, see [View system roles](~~324212~~).'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAuthorityTemplate'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateAuthorityTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateDataLakeDatabase' => [ + 'summary' => 'Updates the information about a database in a data lakehouse.', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '147813', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The catalog name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'DagId', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '15****', - ], + 'schema' => ['description' => 'The name of the database that you want to query.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'Id', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow edge to delete.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '24***', - ], + 'schema' => ['description' => 'The description of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'NodeFrom', + 'name' => 'Location', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the start node on the edge to delete.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '44***', - ], + 'schema' => ['description' => 'The storage path of the database. Supports the OSS, S3, and S3A protocols.'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss://path/to/database', 'title' => ''], ], [ - 'name' => 'NodeEnd', + 'name' => 'Parameters', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The ID of the end node of the edge to delete.'."\n", - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'The key-value pairs of the database attributes.'."\n", + 'type' => 'object', 'required' => false, - 'example' => '44***', + 'additionalProperties' => ['type' => 'string', 'example' => '{"key":"value"}', 'description' => 'The parameter key and value.'."\n", 'title' => ''], + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'DataRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '21234B66-6859-5558-9E5B-006EFE915CD0', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A'], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request succeeded.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Database' => ['description' => 'The database details.'."\n", '$ref' => '#/components/schemas/DLDatabase', 'title' => '', 'example' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"21234B66-6859-5558-9E5B-006EFE915CD0\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteTaskFlowEdgesByConditionResponse>\\n <RequestId>21234B66-6859-5558-9E5B-006EFE915CD0</RequestId>\\n <Success>true</Success>\\n</DeleteTaskFlowEdgesByConditionResponse>","errorExample":""}]', - 'title' => 'DeleteTaskFlowEdgesByCondition', - 'description' => 'This operation is used for multi-condition query. You can call it to delete the edges of a specified task flow that meet all specified conditions.'."\n", - ], - 'ListTaskFlowEdgesByCondition' => [ - 'summary' => 'Queries the edges of the directed acyclic graph (DAG) for a task flow based on multiple conditions.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Database\\": {\\n \\"Description\\": \\"Default database for catalog hive\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"DbId\\": 19,\\n \\"CatalogName\\": \\"hive\\",\\n \\"Name\\": \\"default\\",\\n \\"Location\\": \\"oss://xxx\\"\\n }\\n}","type":"json"}]', + 'title' => 'UpdateDataLakeDatabase', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateDataLakeDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateDataLakeFunction' => [ + 'summary' => 'Updates a user-defined function in a data lakehouse.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '147812', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The catalog name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'DagId', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '15***', - ], + 'schema' => ['description' => 'The name of the database that you want to query.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'Id', + 'name' => 'FunctionInput', + 'in' => 'formData', + 'style' => 'json', + 'schema' => ['description' => 'The details about the function.'."\n", 'required' => true, '$ref' => '#/components/schemas/DLFunctionInput', 'title' => '', 'example' => ''], + ], + [ + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow edge.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '24***', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'NodeFrom', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the start node on the edge.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '44***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ - 'name' => 'NodeEnd', + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the end node on the edge.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '44***', - ], + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], + ], + [ + 'name' => 'FunctionName', + 'in' => 'query', + 'schema' => ['description' => 'The function name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'my_funciton', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'D86249CD-422F-5ACF-85BA-9187C986AE0B', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Edges' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Edge' => [ - 'description' => 'The list of task flow edges.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the task flow edge.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24***', - ], - 'NodeEnd' => [ - 'description' => 'The ID of the end node on the edge.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '44***', - ], - 'NodeFrom' => [ - 'description' => 'The ID of the start node on the edge.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '44***', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'C1D39814-9808-47F8-AFE0-AF167239AC9B'], + 'ErrorCode' => ['description' => 'The error code returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request succeeded.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Function' => ['description' => 'The details about the function.'."\n", '$ref' => '#/components/schemas/DLFunction', 'title' => '', 'example' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D86249CD-422F-5ACF-85BA-9187C986AE0B\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Edges\\": {\\n \\"Edge\\": [\\n {\\n \\"Id\\": 0,\\n \\"NodeEnd\\": 0,\\n \\"NodeFrom\\": 0\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTaskFlowEdgesByConditionResponse>\\n <RequestId>D86249CD-422F-5ACF-85BA-9187C986AE0B</RequestId>\\n <Edges>\\n <Edge>\\n <NodeFrom>44***</NodeFrom>\\n <NodeEnd>44***</NodeEnd>\\n <Id>24***</Id>\\n </Edge>\\n </Edges>\\n <Success>true</Success>\\n</ListTaskFlowEdgesByConditionResponse>","errorExample":""}]', - 'title' => 'ListTaskFlowEdgesByCondition', - 'description' => 'This operation is used for multi-condition query. You can call this operation to query the edges of a specified task flow that meet all specified conditions.'."\n", - ], - 'AddTaskFlowEdges' => [ - 'summary' => 'Creates directed edges for the existing task nodes of a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C1D39814-9808-47F8-AFE0-AF167239AC9B\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Function\\": {\\n \\"FunctionName\\": \\"my_funciton\\",\\n \\"OwnerName\\": \\"zhangsan\\",\\n \\"OwnerType\\": \\"USER\\",\\n \\"CreatorId\\": 0,\\n \\"FunctionType\\": \\"JAVA\\",\\n \\"CreateTime\\": 1731586286,\\n \\"ResourceUris\\": [\\n {\\n \\"ResourceType\\": \\"JAR\\",\\n \\"Uri\\": \\"hdfs://name****.example.com:8020/user/hive/udfs/my_***.jar\\"\\n }\\n ],\\n \\"ClassName\\": \\"com.example.hive.MyCustomUDF\\",\\n \\"CatalogName\\": \\"hive\\",\\n \\"DbName\\": \\"default\\",\\n \\"ModifierId\\": 0\\n }\\n}","type":"json"}]', + 'title' => 'UpdateDataLakeFunction', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:UpdateDataLakeFunction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateDataLakePartition' => [ + 'summary' => 'Updates the partition information of a table in a data lakehouse.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '146064', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'DagId', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '15***', - ], + 'schema' => ['description' => 'The name of the database that you want to query.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'Edges', + 'name' => 'TableName', 'in' => 'query', + 'schema' => ['description' => 'The name of the table'."\n", 'type' => 'string', 'required' => true, 'example' => 'table_name', 'title' => ''], + ], + [ + 'name' => 'PartitionInput', + 'in' => 'formData', 'style' => 'json', - 'schema' => [ - 'description' => 'The list of edges of the task flow.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'NodeEnd' => [ - 'description' => 'The ID of the node where the end node of the edge is located.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '44***', - ], - 'NodeFrom' => [ - 'description' => 'The ID of the node where the start node of the edge is located.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '44***', - ], - ], - 'required' => false, - ], - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['description' => 'The information about the created partition.'."\n", 'required' => true, '$ref' => '#/components/schemas/DLPartitionInput', 'title' => '', 'example' => ''], + ], + [ + 'name' => 'DataRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'Tid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'E5EE2B9E-2F95-57FA-B284-CB441CEE49D6', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'EdgeIds' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'EdgeId' => [ - 'description' => 'The list of task flow edge IDs.', - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the task flow edge.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24***', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D'], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5EE2B9E-2F95-57FA-B284-CB441CEE49D6\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"EdgeIds\\": {\\n \\"EdgeId\\": [\\n 0\\n ]\\n }\\n}","type":"json"}]', - 'title' => 'AddTaskFlowEdges', - 'description' => 'When you add directed edges for a task node, take note of the following limits:'."\n" - ."\n" - .'1. The endpoints of the specified edge exist in the Directed Acyclic Graph (DAG) of the task flow specified by DagId.'."\n" - .'2. After a backward edge is added, the DAG does not contain loops.', - ], - 'UpdateTaskFlowNameAndDesc' => [ - 'summary' => 'Updates the name and description of a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'UpdateDataLakePartition', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateDataLakePartition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateDataLakeTable' => [ + 'summary' => 'Updates the information about a table in a data lakehouse.', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '145766', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'CatalogName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The name of the data catalog.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ - 'name' => 'DagId', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '15***', - ], + 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'DagName', + 'name' => 'TableInput', + 'in' => 'formData', + 'style' => 'json', + 'schema' => ['description' => 'The information about the table.'."\n", 'required' => true, '$ref' => '#/components/schemas/open_struct_DLTableInput', 'title' => '', 'example' => ''], + ], + [ + 'name' => 'DataRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The new name that you want to specify for the task flow.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Description', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The description that you want to specify for the task flow.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the updated table. If you do not need to update the table name, set the TableName and TableInput parameters to the same value.'."\n", 'type' => 'string', 'required' => false, 'example' => '100g_customer', 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'F73CCB9D-0CF3-5D3D-97B0-D852A8022663', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'C5B8E84B-42B6-4374-AD5A-6264E1753325'], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Table' => ['description' => 'The information about the table.'."\n", '$ref' => '#/components/schemas/DLTable', 'title' => '', 'example' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F73CCB9D-0CF3-5D3D-97B0-D852A8022663\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowNameAndDescResponse>\\n <RequestId>F73CCB9D-0CF3-5D3D-97B0-D852A8022663</RequestId>\\n <Success>true</Success>\\n</UpdateTaskFlowNameAndDescResponse>","errorExample":""}]', - 'title' => 'UpdateTaskFlowNameAndDesc', - ], - 'GetTaskFlowGraph' => [ - 'summary' => 'Queries the Directed Acyclic Graph (DAG) of a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C5B8E84B-42B6-4374-AD5A-6264E1753325\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Table\\": {\\n \\"ViewOriginalText\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Owner\\": \\"zhangsan\\",\\n \\"TableType\\": \\"EXTERNAL_TABLE\\",\\n \\"Parameters\\": {\\n \\"EXTERNAL\\": \\"TRUE\\",\\n \\"delta.minReaderVersion\\": \\"1\\"\\n },\\n \\"Description\\": \\"test\\",\\n \\"CreatorId\\": 0,\\n \\"CreateTime\\": 1731586286,\\n \\"StorageDescriptor\\": {\\n \\"OriginalColumns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"SortCols\\": [\\n {\\n \\"Order\\": 1,\\n \\"Col\\": \\"col1\\"\\n }\\n ],\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedInfo\\": {\\n \\"SkewedColValues\\": [\\n [\\n \\"\\\\\\"123\\\\\\"\\"\\n ]\\n ],\\n \\"SkewedColValueLocationMaps\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SkewedColNames\\": [\\n \\"col1\\"\\n ]\\n },\\n \\"InputFormat\\": \\"org.apache.hadoop.mapred.SequenceFileInputFormat\\",\\n \\"OutputFormat\\": \\"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat\\",\\n \\"Columns\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"IsCompressed\\": false,\\n \\"SerdeInfo\\": {\\n \\"SerializationLib\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"DeserializerClass\\": \\"org.apache.hadoop.hive.serde2.OpenCSVSerde\\",\\n \\"Parameters\\": {\\n \\"serialization.format\\": \\"1\\"\\n },\\n \\"Description\\": \\"\\\\\\"serialize\\\\\\"\\",\\n \\"SerdeType\\": 0,\\n \\"SerializerClass\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"Name\\": \\"name\\"\\n },\\n \\"BucketCols\\": [\\n \\"2010\\"\\n ],\\n \\"NumBuckets\\": -1,\\n \\"Location\\": \\"oss://xxx\\"\\n },\\n \\"LastAccessTime\\": 1608707407,\\n \\"Retention\\": 300,\\n \\"Name\\": \\"100g_customer\\",\\n \\"OwnerType\\": \\"USER\\",\\n \\"ViewExpandedText\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DbId\\": 19,\\n \\"DbName\\": \\"default\\",\\n \\"CatalogName\\": \\"hive\\",\\n \\"PartitionKeys\\": [\\n {\\n \\"Comment\\": \\"from deserializer\\",\\n \\"Type\\": \\"string\\",\\n \\"Name\\": \\"col\\"\\n }\\n ],\\n \\"ModifierId\\": 1410769,\\n \\"Location\\": \\"oss://xxx\\"\\n }\\n}","type":"json"}]', + 'title' => 'UpdateDataLakeTable', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateDataLakeTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'InstanceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the database. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'mysql', 'title' => ''], + ], + [ + 'name' => 'InstanceSource', + 'in' => 'query', + 'schema' => ['description' => 'The source of the database instance. Valid values:'."\n" + ."\n" + .'* **PUBLIC_OWN:** a self-managed database instance that is deployed on the Internet'."\n" + .'* **RDS:** an ApsaraDB RDS instance'."\n" + .'* **ECS_OWN:** a self-managed database that is deployed on an Elastic Compute Service (ECS) instance'."\n" + .'* **VPC_IDC:** a self-managed database instance that is deployed in a data center connected over a virtual private cloud (VPC)'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ECS_OWN', 'title' => ''], + ], + [ + 'name' => 'EnvType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" + ."\n" + .'* **product:** production environment'."\n" + .'* **dev:** development environment'."\n" + .'* **pre:** pre-release environment'."\n" + .'* **test:** test environment'."\n" + .'* **sit:** system integration testing (SIT) environment'."\n" + .'* **uat:** user acceptance testing (UAT) environment'."\n" + .'* **pet:** stress testing environment'."\n" + .'* **stag:** staging environment'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => ['product' => 'product', 'pre' => 'pre', 'dev' => 'dev', 'test' => 'test'], + 'example' => 'product', + 'title' => '', + ], + ], + [ + 'name' => 'EcsInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the ECS instance on which the database instance is deployed.'."\n" + ."\n" + .'> This parameter is required if the InstanceSource parameter is set to ECS_OWN.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i-2zei9gs1t7h8l7ac****', 'title' => ''], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the VPC to which the database instance belongs.'."\n" + ."\n" + .'> This parameter is required if the InstanceSource parameter is set to VPC_IDC.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-xxx', 'title' => ''], + ], + [ + 'name' => 'EcsRegion', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the region in which the database instance resides.'."\n" + ."\n" + .'> This parameter is required if InstanceSource is set to RDS, ECS_OWN, and VPC_IDC.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'Host', + 'in' => 'query', + 'schema' => ['description' => 'The host address that is used to connect to the database instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '192.XXX.0.56', 'title' => ''], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => 'The port that is used to connect to the database instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '3306', 'title' => ''], + ], + [ + 'name' => 'Sid', + 'in' => 'query', + 'schema' => ['description' => 'The system ID (SID) of the database instance.'."\n" + ."\n" + .'> This parameter is required if the InstanceType parameter is set to ORACLE.'."\n", 'type' => 'string', 'required' => false, 'example' => 'XXX', 'title' => ''], + ], + [ + 'name' => 'DatabaseUser', + 'in' => 'query', + 'schema' => ['description' => 'The account that is used to log on to the database.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dbuser', 'title' => ''], + ], + [ + 'name' => 'DatabasePassword', + 'in' => 'query', + 'schema' => ['description' => 'The password that is used to log on to the database.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '******', 'title' => ''], + ], + [ + 'name' => 'InstanceAlias', + 'in' => 'query', + 'schema' => ['description' => 'The alias of the database instance. Specify an alias that can help you identify the database instance in DMS.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'instance_test', 'title' => ''], + ], + [ + 'name' => 'DbaId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the user who assumes the database administrator (DBA) role of the database instance. You can call the [ListUsers](~~141938~~) or [GetInstance](~~141567~~) operation to query the user ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '27****', 'title' => ''], + ], + [ + 'name' => 'SafeRuleId', + 'in' => 'query', + 'schema' => ['description' => 'The name of the security rule set (GroupName) for the instance. You can call the [ListStandardGroups](~~417891~~) or [GetInstance](~~141567~~) operation to query the name of the security rule set.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '3****', 'title' => ''], + ], + [ + 'name' => 'QueryTimeout', + 'in' => 'query', + 'schema' => ['description' => 'The timeout period for querying data in the database instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '60', 'title' => ''], + ], + [ + 'name' => 'ExportTimeout', + 'in' => 'query', + 'schema' => ['description' => 'The timeout period for exporting data from the database instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '600', 'title' => ''], + ], + [ + 'name' => 'DataLinkName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the database link for cross-database queries.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* This parameter is required if UseDsql is set to 1.'."\n" + ."\n" + .'* The name can contain only lowercase letters and underscores (\\_).'."\n" + ."\n" + .'* The name must be unique within a tenant.'."\n", 'type' => 'string', 'required' => false, 'example' => 'datalink_test', 'title' => ''], + ], + [ + 'name' => 'DdlOnline', + 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" + 'description' => 'Specifies whether to enable the lock-free schema change feature for the database instance. Valid values:'."\n" ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", + .'* **0:** disables the lock-free schema change feature.'."\n" + .'* **1**: uses the online DDL of MySQL first.'."\n" + .'* **2**: uses the lock-free schema change feature of DMS first.'."\n", 'type' => 'integer', - 'format' => 'int64', + 'format' => 'int32', 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + 'example' => '0', + 'enum' => ['0', '1', '2'], + 'title' => '', ], ], [ - 'name' => 'DagId', + 'name' => 'UseDsql', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", + 'description' => 'Specifies whether to enable the cross-database query feature for the database instance. Valid values:'."\n" + ."\n" + .'* **0**: disables the cross-database query feature.'."\n" + .'* **1**: enables the cross-database query feature.'."\n" + ."\n" + .'> Supported database types: MySQL, SQL Server, PostgreSQL, PolarDB for PostgreSQL (compatible with Oracle), and ApsaraDB for Redis.'."\n", 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '15***', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + 'enum' => ['0', '1'], + 'title' => '', ], ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the database instance. You can call the [GetInstance](~~141567~~) operation to query the instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '126****', 'title' => ''], + ], + [ + 'name' => 'SkipTest', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to skip the connectivity test. Valid values:'."\n" + ."\n" + .'* **true:** skips the connectivity test'."\n" + .'* **false:** does not skip the connectivity test'."\n", 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'EnableSellSitd', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => '* **Y:** enables the sensitive data protection feature'."\n" + .'* **N:** disables the sensitive data protection feature'."\n" + .'* **NULL or other:** does not update the status of the sensitive data protection feature'."\n", 'type' => 'string', 'required' => false, 'example' => 'Y'], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The ID of the classification template. You can call the [ListClassificationTemplates](~~460613~~) operation to query the template ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***'], + ], + [ + 'name' => 'TemplateType', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The type of the classification template. You can call the [ListClassificationTemplates](~~460613~~) operation to query the template type.'."\n", 'type' => 'string', 'required' => false, 'example' => 'INNER'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'D9D91166-A626-5F4E-9CA6-7AB10C59DBD8', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TaskFlowGraph' => [ - 'description' => 'The list of DAG variables of the task flow.'."\n", - 'type' => 'object', - 'properties' => [ - 'DagName' => [ - 'description' => 'The name of the task flow.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Nodes' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Node' => [ - 'description' => 'The node list of the task flow.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DagId' => [ - 'description' => 'The ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15***', - ], - 'NodeId' => [ - 'description' => 'The ID of the node.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '44***', - ], - 'NodeName' => [ - 'description' => 'The name of the node.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'NodeType' => [ - 'description' => 'The type of the node. For more information about the valid values for this parameter, see [NodeType parameter](~~424705~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '36', - ], - 'NodeContent' => [ - 'description' => 'The configuration of the node.'."\n", - 'type' => 'string', - 'example' => '{ODI3OTNRVC****UHVFT29"}', - ], - 'TimeVariables' => [ - 'description' => 'The time variables for the node.'."\n", - 'type' => 'string', - 'example' => '{\\"variables\\":[{\\"name\\":\\"Today\\",\\"pattern\\":\\"yyyy-MM-dd|+1d\\"}]}', - ], - 'NodeConfig' => [ - 'description' => 'The advanced configuration of the node.'."\n", - 'type' => 'string', - 'example' => '{\\"dbId\\":39****,\\"dbType\\":\\"mysql\\",\\"locale\\":\\"zh\\",\\"sql\\":\\"/*XXXXX*/\\\\n\\\\nCREATE TABLE IF NOT EXISTS `momo_weekGather` (\\\\n\\\\t`id` bigint AUTO_INCREMENT DEFAULT \'0\',\\\\n\\\\t`age` bit NULL,\\\\n\\\\t`action` varchar(150) NULL,\\\\n\\\\t`elapse_time` datetime NULL,\\\\n\\\\tPRIMARY KEY (`id`)\\\\n) ENGINE=InnoDB\\\\nDEFAULT CHARACTER SET=utf8;\\"}', - ], - 'GraphParam' => [ - 'description' => 'The position of the node in the DAG.'."\n", - 'type' => 'string', - 'example' => '{\\"x\\":541,\\"y\\":322,\\"layoutType\\":\\"Horizontal\\"}', - ], - ], - ], - ], - ], - ], - 'Edges' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Edge' => [ - 'description' => 'The list of task flow edges.', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DagId' => [ - 'description' => 'The ID of the task flow.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15***', - ], - 'Id' => [ - 'description' => 'The ID of the task flow edge.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24***', - ], - 'NodeEnd' => [ - 'description' => 'The ID of the end node on the edge.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '44***', - ], - 'NodeFrom' => [ - 'description' => 'The ID of the start node on the edge.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '44***', - ], - ], - ], - ], - ], - ], - 'Status' => [ - 'description' => 'The status of the task flow. Valid values:'."\n" - ."\n" - .'- **0**: invalid'."\n" - .'- **1**: not scheduled'."\n" - .'- **2**: to be scheduled', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'CanEdit' => [ - 'description' => 'Indicates whether the task flow is editable. Valid values:'."\n" - ."\n" - .'- **true**: editable'."\n" - .'- **false**: non-editable', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'E9BEBF41-4F69-4605-A5D5-A67955173941', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true:** The request was successful.'."\n" + .'* **false:** The request failed.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D9D91166-A626-5F4E-9CA6-7AB10C59DBD8\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TaskFlowGraph\\": {\\n \\"DagName\\": \\"test\\",\\n \\"Nodes\\": {\\n \\"Node\\": [\\n {\\n \\"DagId\\": 0,\\n \\"NodeId\\": 0,\\n \\"NodeName\\": \\"test\\",\\n \\"NodeType\\": 0,\\n \\"NodeContent\\": \\"{ODI3OTNRVC****UHVFT29\\\\\\"}\\",\\n \\"TimeVariables\\": \\"{\\\\\\\\\\\\\\"variables\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Today\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pattern\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"yyyy-MM-dd|+1d\\\\\\\\\\\\\\"}]}\\",\\n \\"NodeConfig\\": \\"{\\\\\\\\\\\\\\"dbId\\\\\\\\\\\\\\":39****,\\\\\\\\\\\\\\"dbType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"mysql\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"locale\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"zh\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sql\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/* 请确认以下SQL符合您的变更需求,务必确认无误后再提交执行 */\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\nCREATE TABLE IF NOT EXISTS `momo_weekGather` (\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`id` bigint AUTO_INCREMENT DEFAULT \'0\',\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`age` bit NULL,\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`action` varchar(150) NULL,\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\t`elapse_time` datetime NULL,\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\tPRIMARY KEY (`id`)\\\\\\\\\\\\\\\\n) ENGINE=InnoDB\\\\\\\\\\\\\\\\nDEFAULT CHARACTER SET=utf8;\\\\\\\\\\\\\\"}\\",\\n \\"GraphParam\\": \\"{\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":541,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":322,\\\\\\\\\\\\\\"layoutType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Horizontal\\\\\\\\\\\\\\"}\\"\\n }\\n ]\\n },\\n \\"Edges\\": {\\n \\"Edge\\": [\\n {\\n \\"DagId\\": 0,\\n \\"Id\\": 0,\\n \\"NodeEnd\\": 0,\\n \\"NodeFrom\\": 0\\n }\\n ]\\n },\\n \\"Status\\": 2,\\n \\"CanEdit\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTaskFlowGraphResponse>\\n <RequestId>D9D91166-A626-5F4E-9CA6-7AB10C59DBD8</RequestId>\\n <TaskFlowGraph>\\n <Status>2</Status>\\n <DagName>testSpark</DagName>\\n <CanEdit>true</CanEdit>\\n <Edges>\\n </Edges>\\n <Nodes>\\n <Node>\\n <NodeName>Lindorm Spark-1</NodeName>\\n <TimeVariables>{\\"variables\\":[{\\"name\\":\\"my_bizdate\\",\\"pattern\\":\\"yyyy-MM-dd|+6d\\"}]}</TimeVariables>\\n <NodeType>LINDORM_SPARK</NodeType>\\n <NodeId>44***</NodeId>\\n <DagId>15***</DagId>\\n <NodeContent>ODI3OTNRVC****UHVFT29</NodeContent>\\n <GraphParam>{\\"x\\":254,\\"y\\":239,\\"layoutType\\":\\"Horizontal\\"}</GraphParam>\\n </Node>\\n <Node>\\n <NodeName>Lindorm Spark-2</NodeName>\\n <NodeType>LINDORM_SPARK</NodeType>\\n <NodeId>44***</NodeId>\\n <DagId>15***</DagId>\\n <GraphParam>{\\"x\\":538,\\"y\\":161,\\"layoutType\\":\\"Horizontal\\"}</GraphParam>\\n </Node>\\n <Node>\\n <NodeName>Lindorm Spark-3</NodeName>\\n <NodeType>LINDORM_SPARK</NodeType>\\n <NodeId>44***</NodeId>\\n <DagId>15***</DagId>\\n <GraphParam>{\\"x\\":541,\\"y\\":322,\\"layoutType\\":\\"Horizontal\\"}</GraphParam>\\n </Node>\\n </Nodes>\\n </TaskFlowGraph>\\n <Success>true</Success>\\n</GetTaskFlowGraphResponse>","errorExample":""}]', - 'title' => 'GetTaskFlowGraph', - ], - 'UpdateTaskFlowEdges' => [ - 'summary' => 'Updates the start node and end node of multiple edges at a time for a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpdateInstance', + 'summary' => 'Updates the information about a database instance and checks the connectivity of the database instance.', + 'description' => 'Before you call the UpdateInstance operation, call the [GetInstance](~~141567~~) or [ListInstances](~~141936~~) operation to obtain the complete information about the instance.'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E9BEBF41-4F69-4605-A5D5-A67955173941\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"<RequestId>E9BEBF41-4F69-4605-A5D5-A67955173941</RequestId>\\n<Success>true</Success>","errorExample":""}]', + ], + 'UpdateMetaCategory' => [ + 'summary' => 'Update asset category information.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '146068', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '23****', 'title' => ''], ], [ - 'name' => 'DagId', + 'name' => 'CategoryId', 'in' => 'query', - 'schema' => [ - 'description' => 'The task flow ID. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '15***', - ], + 'schema' => ['description' => 'The category ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30000181325', 'title' => ''], ], [ - 'name' => 'Edges', + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The updated name of the category.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Test template.', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'Description.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'Remark', + 'in' => 'query', + 'schema' => ['description' => 'Remarks.', 'type' => 'string', 'required' => false, 'example' => 'ouyanglong', 'title' => ''], + ], + [ + 'name' => 'OwnerIds', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'The list of updated task flow edges.'."\n", + 'description' => 'User IDs of the owners. Separate multiple user IDs with commas. You can obtain the value of UserId by invoking the [GetUser](~~147098~~) or [ListUsers](~~141938~~) API.'."\n" + .'> The parameter name for User ID is UserId.', 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the task flow edge.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '24***', - ], - 'NodeEnd' => [ - 'description' => 'The ID of the end node of the edge.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '44***', - ], - 'NodeFrom' => [ - 'description' => 'The ID of the start node of the edge.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '44***', - ], - ], - 'required' => false, - ], - 'required' => true, - 'docRequired' => true, + 'items' => ['description' => 'User IDs of the owners. Separate multiple user IDs with commas. You can obtain the value of UserId by invoking the [GetUser](~~147098~~) or [ListUsers](~~141938~~) API.'."\n" + .'> The parameter name for User ID is UserId.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51****', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -45919,53 +35101,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '93FC1AE1-EC54-52B1-B146-650180FB82E8', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Category' => ['description' => 'The information about the category.'."\n", '$ref' => '#/components/schemas/MetaCategory', 'title' => '', 'example' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"93FC1AE1-EC54-52B1-B146-650180FB82E8\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'UpdateTaskFlowEdges', - 'description' => '###'."\n" - ."\n" - .'The edges can be updated only when the following conditions are met:'."\n" - ."\n" - .'1. The specified edge exists in the directed acyclic graph (DAG) of the task flow specified by DagId.'."\n" - .'2. The specified edge nodes exist in the DAG of the task flow specified by DagId.'."\n" - .'3. After the update, rings do not exist in the DAG.'."\n", - ], - 'UpdateTaskFlowOwner' => [ - 'summary' => 'Changes the owner of a task flow.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Category\\": {\\n \\"CategoryId\\": 30000181325,\\n \\"Name\\": \\"default\\",\\n \\"Depth\\": 1,\\n \\"ParentCategoryId\\": 30000322682,\\n \\"CreateTime\\": \\"2024-08-13 10:02:02\\",\\n \\"Description\\": \\"test\\",\\n \\"Remark\\": \\"asdasdasda\\",\\n \\"OwnerIds\\": [\\n 0\\n ],\\n \\"OwnerNickNames\\": [\\n \\"test\\"\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Update Asset Category Information', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateMetaCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'UpdateSLARules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -45975,98 +35151,93 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '145744', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'abilityTreeCode' => '148629', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '11****', 'title' => ''], ], [ - 'name' => 'DagId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '15***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> :To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'NewOwnerId', + 'name' => 'SlaRuleList', 'in' => 'query', - 'allowEmptyValue' => false, + 'style' => 'json', 'schema' => [ - 'description' => 'The user ID of the new owner. You can call the [GetUser](~~147098~~) or [ListUsers](~~141938~~) operation to query the user ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '51****', + 'description' => 'The list of SLA rules.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DagId' => ['description' => 'The ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '15***', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the task node.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'title' => ''], + 'Type' => ['description' => 'The rule type. Valid values:'."\n" + ."\n" + .'* **0**: SLA rules for task flows'."\n" + .'* **1**: SLA rules for nodes'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0', 'title' => ''], + 'IntervalMinutes' => ['description' => 'The timeout period. Unit: minutes.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1080', 'title' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '482C61C1-2537-5BFB-8E58-34D9F17AD3C3', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '88E053F7-347B-52DD-A186-1F340EEC0C27', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"482C61C1-2537-5BFB-8E58-34D9F17AD3C3\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowOwnerResponse>\\n <RequestId>482C61C1-2537-5BFB-8E58-34D9F17AD3C3</RequestId>\\n <Success>true</Success>\\n</UpdateTaskFlowOwnerResponse>","errorExample":""}]', - 'title' => 'UpdateTaskFlowOwner', - 'description' => 'Note: The new owner of the task flow must belong to the same tenant as the previous owner.'."\n", - ], - 'UpdateTaskFlowSchedule' => [ - 'summary' => 'Updates the scheduling properties for a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpdateSLARules', + 'summary' => 'Updates the timeout reminder for the service level agreement (SLA) rules of a task flow.', + 'description' => 'SLA rules take effect after task flows are deployed and published.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateSLARules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"88E053F7-347B-52DD-A186-1F340EEC0C27\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateSLARulesResponse>\\n <RequestId>88E053F7-347B-52DD-A186-1F340EEC0C27</RequestId>\\n <Success>true</Success>\\n</UpdateSLARulesResponse>","errorExample":""}]', + ], + 'UpdateScenario' => [ + 'summary' => 'Updates the name and description of the business scenario for a specified task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -46076,279 +35247,175 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '145506', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'abilityTreeCode' => '149050', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'DagId', + 'name' => 'ScenarioId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '7***', - ], + 'schema' => ['description' => 'The ID of the business scenario.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12***', 'title' => ''], ], [ - 'name' => 'ScheduleSwitch', + 'name' => 'ScenarioName', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable scheduling. Valid values:'."\n" - ."\n" - .'* **Enable**'."\n" - .'* **Disable**'."\n", - 'type' => 'boolean', - 'required' => true, - 'docRequired' => true, - 'example' => 'Disable'."\n", - ], + 'schema' => ['description' => 'The name of the business scenario.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Business scenario-test', 'title' => ''], ], [ - 'name' => 'CronBeginDate', + 'name' => 'Description', 'in' => 'query', + 'schema' => ['description' => 'The description of the business scenario.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The start of the time range for scheduling.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CronBeginDate_test', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateScenarioResponse>\\n <RequestId>7FAD400F-7A5C-4193-8F9A-39D86C4F0231</RequestId>\\n <Success>true</Success>\\n</UpdateScenarioResponse>","errorExample":""}]', + 'title' => 'UpdateScenario', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateScenario'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [ [ - 'name' => 'CronEndDate', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range for scheduling.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CronEndDate_test', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateScenario', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'UpdateStandardGroup' => [ + 'summary' => 'Modifies the name and description of a specific security rule set.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ScheduleParam', - 'in' => 'query', - 'schema' => [ - 'description' => 'The event scheduling configuration. The value of this parameter is a JSON string.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ScheduleParam_test', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ [ - 'name' => 'CronStr', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The cron expression for timed scheduling.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CronStr_test', - ], + 'schema' => ['title' => '', 'description' => 'The security rule set ID. You can call the [ListStandardGroups](~~465940~~) operation to obtain the ID of the security rule set.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '242***'], ], [ - 'name' => 'TriggerType', + 'name' => 'GroupName', 'in' => 'query', - 'schema' => [ - 'description' => 'The mode in which the task flow is triggered. Valid values:'."\n" - ."\n" - .'* **Cron**: The task flow is triggered based on timed scheduling.'."\n" - .'* **Event**: The task flow is triggered by events.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Event', - ], + 'schema' => ['title' => '', 'description' => 'The name of the security rule set.'."\n", 'type' => 'string', 'required' => true, 'example' => 'poc_test'], ], [ - 'name' => 'CronType', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the scheduling cycle. Valid values:'."\n" - ."\n" - .'* **MINUTE**: scheduling by minute'."\n" - .'* **HOUR**: scheduling by hour'."\n" - .'* **DAY**: scheduling by day'."\n" - .'* **WEEK**: scheduling by week'."\n" - .'* **MONTH**: scheduling by month'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'HOUR', - ], + 'schema' => ['title' => '', 'description' => 'The description of the security rule set.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Production environment test rule'], ], [ - 'name' => 'TimeZoneId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The time zone. The default time zone is UTC+8 (Asia/Shanghai).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Asia/Shanghai', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '23****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '7BF38A13-C181-5B5E-97F1-8643F8A10093', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'InvalidParameterValid', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'InvalidParameterValid', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '4E1D2B4D-3E53-4ABC-999D-1D2520B3471A'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'StandardGroup' => [ + 'description' => 'The information about the security rule set.'."\n", + 'type' => 'object', + 'properties' => [ + 'GroupName' => ['title' => '', 'description' => 'The name of the security rule set.'."\n", 'type' => 'string', 'example' => 'poc_test'], + 'Description' => ['description' => 'The description of the security rule set.'."\n", 'type' => 'string', 'example' => 'Production environment test rule', 'title' => ''], + 'DbType' => ['description' => 'The type of the database for which the security rules are used.'."\n", 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'LastMenderId' => ['description' => 'The ID of the user who last modified the security rules.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '51****'."\n", 'title' => ''], + 'GroupMode' => ['description' => 'The control mode. Valid values:'."\n" + ."\n" + .'* **NONE_CONTROL**: Flexible Management'."\n" + .'* **STABLE**: Stable Change'."\n" + .'* **COMMON**: Security Collaboration'."\n", 'type' => 'string', 'example' => 'COMMON', 'title' => ''], + 'GroupId' => ['description' => 'The security rule set ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '41****'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7BF38A13-C181-5B5E-97F1-8643F8A10093\\",\\n \\"ErrorCode\\": \\"InvalidParameterValid\\",\\n \\"ErrorMessage\\": \\"InvalidParameterValid\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowScheduleResponse>\\n <RequestId>7BF38A13-C181-5B5E-97F1-8643F8A10093</RequestId>\\n <ErrorCode>InvalidParameterValid</ErrorCode>\\n <ErrorMessage>InvalidParameterValid</ErrorMessage>\\n <Success>true</Success>\\n</UpdateTaskFlowScheduleResponse>","errorExample":""}]', - 'title' => 'UpdateTaskFlowSchedule', - 'description' => 'You can call this operation to update the scheduling properties for a task flow in the editing state. You can configure a **timed scheduling** task flow or an **event scheduling** task flow. When you configure a **timed scheduling** task flow, you can choose from one-time scheduling or periodic scheduling. When you configure an **event scheduling** task flow, you can subscribe to task flows or task flow nodes.****\\'."\n" - .'After you update the scheduling properties, you need to publish and deploy the task flow again. The new task flow instance will run based on the updated scheduling properties.'."\n", - 'requestParamsDescription' => '### Note about scheduling configuration parameters'."\n" - ."\n" - .'When you configure a timed scheduling task flow, you can choose from one-time scheduling or periodic scheduling.'."\n" - ."\n" - .'The following parameters are required:'."\n" - ."\n" - .'* ScheduleSwitch: True'."\n" - .'* TriggerType: Cron'."\n" - .'* CronBeginDate'."\n" - .'* CronEndDate'."\n" - .'* CronStr'."\n" - .'* CronType'."\n" - .'* ScheduleParam: The task can be run by day, week, month, or only once.'."\n" - ."\n" - .'The following section provides examples:'."\n" - ."\n" - .'**Scheduling by day:**'."\n" - ."\n" - .'```json'."\n" - .'{'."\n" - .' "triggerType":"0",'."\n" - .' "dateTime":"00:00"'."\n" - .'}'."\n" - .'```'."\n" - ."\n" - .'**Scheduling by week:** "1" for Sunday, "2" for Monday, ..., and "7" for Saturday.'."\n" - ."\n" - .'```json'."\n" - .'{'."\n" - .' "triggerType":"0",'."\n" - .' "dateWeek":['."\n" - .' "1",'."\n" - .' "5"'."\n" - .' ],'."\n" - .' "weekTime":"00:00"'."\n" - .'}'."\n" - .'```'."\n" - ."\n" - .'**Scheduling by month:**'."\n" - ."\n" - .'```json'."\n" - .'{'."\n" - .' "triggerType":"0",'."\n" - .' "dateMonth":"1",'."\n" - .' "MonthTime":"00:00"'."\n" - .'}'."\n" - .'```'."\n" - ."\n" - .'**Scheduling once:**'."\n" - ."\n" - .'```json'."\n" - .'{'."\n" - .' "triggerType":"1",'."\n" - .' "specificTime":"2022-09-02 00:00"'."\n" - .'}'."\n" - .'```'."\n" - ."\n" - .'**Parameter description**'."\n" - ."\n" - .'1. CronStr: CronStr defines how a task flow is scheduled.'."\n" - .'2. CronBeginDate and CronEndDate: For periodic scheduling, CronBeginDate, CronEndDate, and CronStr together define task flow scheduling. If the time specified by CronStr is within the time range between CronBeginDate and CronEndDate, the task is triggered.'."\n" - .'3. CronType: This is used for verification. Enter a value based on the scheduling cycle specified by CronStr.'."\n" - .'4. ScheduleParam: Enter a value based on the scheduling configuration specified by CronStr.'."\n" - ."\n" - .'**Event Scheduling** (automatically triggered across task flows)'."\n" - ."\n" - .'The following parameters are required:'."\n" - ."\n" - .'* ScheduleSwitch: True'."\n" - .'* TriggerType: Event'."\n" - .'* ScheduleParam'."\n" - ."\n" - .'The following section provides examples:'."\n" - ."\n" - .'```json'."\n" - .'{'."\n" - .' "triggerType":"2" // The scheduling type. The value 2 indicates event scheduling.'."\n" - .' "deps":[ // The subscription configurations for task flows and task nodes.'."\n" - .' {'."\n" - .' "eventType":1, // The type of the subscription. The value 0 indicates subscription to task flows. The value 1 indicates subscription to task nodes.'."\n" - .' "lisDagId":12345, // The task flow to which the subscribed node belongs.'."\n" - .' "lisNodeId":2134 // The ID of the node to which you subscribe.'."\n" - .' },'."\n" - .' {'."\n" - .' "eventType":0,'."\n" - .' "lisDagId":12343 // The ID of the task flow to which you subscribe.'."\n" - .' },'."\n" - .' {'."\n" - .' "eventType":0,'."\n" - .' "lisDagId":23456'."\n" - .' }'."\n" - .' ],'."\n" - .' "maxWait":21600 // The maximum waiting time before all the preceding task flows or nodes to which you subscribe run.'."\n" - .'}'."\n" - .'```'."\n", - ], - 'UpdateTaskFlowRelations' => [ - 'summary' => 'Fully updates the edges of a task flow.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"StandardGroup\\": {\\n \\"GroupName\\": \\"poc_test\\",\\n \\"Description\\": \\"Production environment test rule\\",\\n \\"DbType\\": \\"mysql\\",\\n \\"LastMenderId\\": 0,\\n \\"GroupMode\\": \\"COMMON\\",\\n \\"GroupId\\": 0\\n }\\n}","type":"json"}]', + 'title' => 'UpdateStandardGroup', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateStandardGroup'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateStandardGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateTaskConfig' => [ + 'summary' => 'Updates the advanced configuration of a task node.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -46358,78 +35425,24 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '145901', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'abilityTreeCode' => '149772', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'DagId', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '15***', - ], + 'schema' => ['description' => 'The ID of the task node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '43****', 'title' => ''], ], [ - 'name' => 'Edges', + 'name' => 'NodeConfig', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The list of task flow edges to be updated.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the task flow edge.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '24***', - ], - 'NodeEnd' => [ - 'description' => 'The ID of the end node on the edge.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '44***', - ], - 'NodeFrom' => [ - 'description' => 'The ID of the start node on the edge.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '44***', - ], - ], - 'required' => false, - ], - 'required' => false, - 'docRequired' => false, - ], + 'schema' => ['description' => 'The advanced configuration for the node. The value of this parameter must be a JSON string.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{ "rerun":{ "rerunEnable":true, "rerunCount":1, "rerunInterval":10 } }', 'title' => ''], ], ], 'responses' => [ @@ -46437,47 +35450,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '15D9E71C-405B-57D7-BE6E-707C2C7A8E0B', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F4E2A94B-604F-43FF-93E7-F4EE3DCF412E', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15D9E71C-405B-57D7-BE6E-707C2C7A8E0B\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowRelationsResponse>\\n <RequestId>15D9E71C-405B-57D7-BE6E-707C2C7A8E0B</RequestId>\\n <Success>true</Success>\\n</UpdateTaskFlowRelationsResponse>","errorExample":""}]', - 'title' => 'UpdateTaskFlowRelations', - 'description' => 'You can call this operation to perform a full update. For incremental updates, see AddTaskFlowEdges, UpdateTaskFlowEdges, and DeleteTaskFlowEdgesByMultiCondition.'."\n", - ], - 'UpdateTaskFlowNotification' => [ - 'summary' => 'Updates the notification settings for a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpdateTaskConfig', + 'description' => 'You can call this operation to configure a failed task or rerun a task.'."\n", + 'requestParamsDescription' => 'The following sample code provides an example on how to specify the NodeConfig parameter:'."\n" + ."\n" + .'```'."\n" + .' '."\n" + .' "rerun":{ // This field is required.'."\n" + .' "rerunEnable":true, // Specifies whether to enable rerun.'."\n" + .' "rerunCount":1, // The number of reruns.'."\n" + .' "rerunInterval":10 // The interval between each rerun.'."\n" + .' '."\n" + .' '."\n" + .'```'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F4E2A94B-604F-43FF-93E7-F4EE3DCF412E\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskConfigResponse>\\n <RequestId>F4E2A94B-604F-43FF-93E7-F4EE3DCF412E</RequestId>\\n <Success>true</Success>\\n</UpdateTaskConfigResponse>","errorExample":""}]', + ], + 'UpdateTaskContent' => [ + 'summary' => 'Updates tasks in a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -46487,71 +35506,26 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '147858', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'abilityTreeCode' => '149054', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], - ], - [ - 'name' => 'DagId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The unique ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '15***', - ], - ], - [ - 'name' => 'DagNotificationFail', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable notifications for failed task flows. Notifications are disabled by default. You can enable notifications based on your business requirements.'."\n", - 'type' => 'boolean', - 'required' => true, - 'docRequired' => true, - 'example' => 'true', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the ["View information about the current tenant"](~~181330~~) section of the Manage DMS tenants topic.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'DagNotificationSuccess', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable notifications for successful task flows. Notifications are disabled by default. You can enable notifications based on your business requirements.'."\n", - 'type' => 'boolean', - 'required' => true, - 'docRequired' => true, - 'example' => 'true', - ], + 'schema' => ['description' => 'The ID of the task node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '43****', 'title' => ''], ], [ - 'name' => 'DagNotificationSla', + 'name' => 'NodeContent', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable SLA global notifications for task flows. Notifications are disabled by default. You can enable notifications based on your business requirements.'."\n", - 'type' => 'boolean', - 'required' => true, - 'docRequired' => true, - 'example' => 'true', - ], + 'schema' => ['description' => 'The node configurations after modification.'."\n", 'type' => 'string', 'required' => false, 'example' => '{ "dbId":12****, "sql":"select * from test_table", "dbType":"lindorm_sql" }', 'title' => ''], ], ], 'responses' => [ @@ -46559,46 +35533,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '3BDC762F-2525-5E47-8748-D6C58BDB3B38', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '39557312-28D5-528F-9554-80C0700EB489', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3BDC762F-2525-5E47-8748-D6C58BDB3B38\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowNotificationResponse>\\n <RequestId>3BDC762F-2525-5E47-8748-D6C58BDB3B38</RequestId>\\n <Success>true</Success>\\n</UpdateTaskFlowNotificationResponse>","errorExample":""}]', - 'title' => 'UpdateTaskFlowNotification', - ], - 'ListTasksInTaskFlow' => [ - 'summary' => 'Queries the tasks in a specified task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"39557312-28D5-528F-9554-80C0700EB489\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskContentResponse>\\n <RequestId>39557312-28D5-528F-9554-80C0700EB489</RequestId>\\n <Success>true</Success>\\n</UpdateTaskContentResponse>","errorExample":""}]', + 'title' => 'UpdateTaskContent', + 'description' => 'You can call this operation to modify node configurations.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskContent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateTaskContentV2' => [ + 'summary' => 'Updates the node content in large SQL files.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -46607,143 +35577,68 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '145478', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '145901', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'Tid', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the task node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '449***', 'title' => ''], ], [ - 'name' => 'DagId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '32***', - ], + 'name' => 'NodeContent', + 'in' => 'formData', + 'schema' => ['description' => 'The node configurations after modification.'."\n" + ."\n" + .'> We recommend that you change the SQL type from SELECT to INSERT/CREATE.'."\n", 'type' => 'string', 'required' => false, 'example' => '{ "dbId": 521****, "sql":" INSERT/CREATE SQL", "dbType":"mysql" }', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '8B36B063-6B7D-5595-9FCF-3844B7B7ACD4', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Tasks' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Task' => [ - 'description' => 'The tasks in the task flow.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the task.'."\n", - 'type' => 'object', - 'properties' => [ - 'NodeName' => [ - 'description' => 'The name of the node.'."\n", - 'type' => 'string', - 'example' => 'Cross-Database Spark SQL-1', - ], - 'NodeType' => [ - 'description' => 'The type of the node. For more information about the valid values for this parameter, see [NodeType parameter](~~424705~~).'."\n", - 'type' => 'string', - 'example' => 'SPARK_SQL', - ], - 'NodeContent' => [ - 'description' => 'The configuration for the node.'."\n", - 'type' => 'string', - 'example' => '{ "dbId":123***, "sql":"", "dbType":"polardb" }', - ], - 'TimeVariables' => [ - 'description' => 'The time variables configured for the node.'."\n", - 'type' => 'string', - 'example' => '{\\"variables\\":[{\\"name\\":\\"test1\\",\\"pattern\\":\\"yyyy-MM-dd', - ], - 'NodeConfig' => [ - 'description' => 'The advanced configuration for the node.'."\n", - 'type' => 'string', - 'example' => '{ "rerun":{ "rerunEnable":true, "rerunCount":1, "rerunInterval":10 // }}', - ], - 'NodeOutput' => [ - 'description' => 'The output variables for the task.'."\n", - 'type' => 'string', - 'example' => '{ "outputs":[{ { "row":0, "column":-1, "combiner":"," } "extractMethod":"{\\"row\\":0,\\"column\\":-1,\\"combiner\\":\\",\\"}", "variableName":"var", "description":"For demo"} ] }', - ], - 'GraphParam' => [ - 'description' => 'The position of the node on the Directed Acyclic Graph (DAG).'."\n", - 'type' => 'string', - 'example' => '{\\"x\\":435,\\"y\\":192,\\"layoutType\\":\\"Horizontal\\"}', - ], - 'NodeId' => [ - 'description' => 'The ID of the node.'."\n", - 'type' => 'string', - 'example' => '92***', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'Id of the request.'."\n", 'type' => 'string', 'example' => 'B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773', 'title' => 'Id of the request'], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], ], + 'title' => 'Schema of Response', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8B36B063-6B7D-5595-9FCF-3844B7B7ACD4\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"任务流不存在或没有权限\\",\\n \\"Success\\": true,\\n \\"Tasks\\": {\\n \\"Task\\": [\\n {\\n \\"NodeName\\": \\"Cross-Database Spark SQL-1\\",\\n \\"NodeType\\": \\"SPARK_SQL\\",\\n \\"NodeContent\\": \\"{ \\\\\\"dbId\\\\\\":123456, // 数据库Id \\\\\\"sql\\\\\\":\\\\\\"/* 请使用当前节点所选择的数据库语法编写SQL */\\\\\\", // sql语句 \\\\\\"dbType\\\\\\":\\\\\\"polardb\\\\\\" // 数据库类型 }\\",\\n \\"TimeVariables\\": \\"{ \\\\\\"variables\\\\\\":[ // \\\\\\"variables\\\\\\"为固定值 { \\\\\\"name\\\\\\":\\\\\\"var\\\\\\", // name指定变量名 \\\\\\"pattern\\\\\\":\\\\\\"yyyy-MM-dd|+0m+0h-2d+0w+0M+1y\\\\\\" // 见后面解释 } ] }\\",\\n \\"NodeConfig\\": \\"{ \\\\\\"rerun\\\\\\":{ // 必填固定值 \\\\\\"rerunEnable\\\\\\":true, // 是否开启重跑 \\\\\\"rerunCount\\\\\\":1, // 重跑次数 \\\\\\"rerunInterval\\\\\\":10 // 重跑间隔 } }\\",\\n \\"NodeOutput\\": \\"{ \\\\\\"outputs\\\\\\":[ { /* 变量提取设置 { \\\\\\"row\\\\\\":0, // 行,-1为所有行 \\\\\\"column\\\\\\":-1, // 列,-1为所有列 /* 分隔符 当选中所有行或所有列时,需要指定连接符。变量返回值为字符串 */ \\\\\\"combiner\\\\\\":\\\\\\",\\\\\\" } */ \\\\\\"extractMethod\\\\\\":\\\\\\"{\\\\\\\\\\\\\\"row\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"column\\\\\\\\\\\\\\":-1,\\\\\\\\\\\\\\"combiner\\\\\\\\\\\\\\":\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"}\\\\\\", \\\\\\"variableName\\\\\\":\\\\\\"var\\\\\\", // 变量名 \\\\\\"description\\\\\\":\\\\\\"For demo\\\\\\" // 变量介绍 } ] }\\",\\n \\"GraphParam\\": \\"{\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":435,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":192,\\\\\\\\\\\\\\"layoutType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Horizontal\\\\\\\\\\\\\\"}\\",\\n \\"NodeId\\": \\"92***\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTasksInTaskFlowResponse>\\n <RequestId>8B36B063-6B7D-5595-9FCF-3844B7B7ACD4</RequestId>\\n <Success>true</Success>\\n <Tasks>\\n <NodeName>Cross-Database Spark SQL-1</NodeName>\\n <NodeType>SPARK_SQL</NodeType>\\n <NodeContent>{ \\"dbId\\":123456, // 数据库Id \\"sql\\":\\"/* 请使用当前节点所选择的数据库语法编写SQL */\\", // sql语句 \\"dbType\\":\\"polardb\\" // 数据库类型 }</NodeContent>\\n <TimeVariables>{ \\"variables\\":[ // \\"variables\\"为固定值 { \\"name\\":\\"var\\", // name指定变量名 \\"pattern\\":\\"yyyy-MM-dd|+0m+0h-2d+0w+0M+1y\\" // 见后面解释 } ] }</TimeVariables>\\n <NodeConfig>{ \\"rerun\\":{ // 必填固定值 \\"rerunEnable\\":true, // 是否开启重跑 \\"rerunCount\\":1, // 重跑次数 \\"rerunInterval\\":10 // 重跑间隔 } }</NodeConfig>\\n <NodeOutput>{ \\"outputs\\":[ { /* 变量提取设置 { \\"row\\":0, // 行,-1为所有行 \\"column\\":-1, // 列,-1为所有列 /* 分隔符 当选中所有行或所有列时,需要指定连接符。变量返回值为字符串 */ \\"combiner\\":\\",\\" } */ \\"extractMethod\\":\\"{\\\\\\"row\\\\\\":0,\\\\\\"column\\\\\\":-1,\\\\\\"combiner\\\\\\":\\\\\\",\\\\\\"}\\", \\"variableName\\":\\"var\\", // 变量名 \\"description\\":\\"For demo\\" // 变量介绍 } ] }</NodeOutput>\\n <GraphParam>{\\\\\\"x\\\\\\":435,\\\\\\"y\\\\\\":192,\\\\\\"layoutType\\\\\\":\\\\\\"Horizontal\\\\\\"}</GraphParam>\\n <NodeId>92***</NodeId>\\n </Tasks>\\n</ListTasksInTaskFlowResponse>","errorExample":""}]', - 'title' => 'ListTasksInTaskFlow', - ], - 'CreateTaskFlow' => [ - 'summary' => 'Creates a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\\\n\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', + 'title' => 'UpdateTaskContentV2', + 'description' => 'You can call this operation to modify node configurations.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskContentV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateTaskFlowConstants' => [ + 'summary' => 'Updates the constants for a specified task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -46752,112 +35647,86 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '144894', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '149649', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'DagName', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the task flow.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Dag_Name', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '3****', 'title' => ''], ], [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the task flow.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zht_test', - ], - ], - [ - 'name' => 'ScenarioId', + 'name' => 'DagConstants', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The ID of the scenario.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2**', + 'description' => 'The constants for the task flow.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key name of a constant for the task flow.'."\n", 'type' => 'string', 'required' => false, 'example' => 'poc_test', 'title' => ''], + 'Value' => ['description' => 'The key value of a constant for the task flow.'."\n", 'type' => 'string', 'required' => false, 'example' => 'poc_test', 'title' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '19DA51A9-AC3E-5C36-8351-07EBCD2B89A1', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'User can not access to Tenant [1]', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'DagId' => [ - 'description' => 'The ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33***', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'C4CCC000-C193-5A32-B701-573F497BF729', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"19DA51A9-AC3E-5C36-8351-07EBCD2B89A1\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"User can not access to Tenant [1]\\",\\n \\"Success\\": true,\\n \\"DagId\\": 0\\n}","errorExample":""},{"type":"xml","example":"<CreateTaskFlowResponse>\\n <RequestId>19DA51A9-AC3E-5C36-8351-07EBCD2B89A1</RequestId>\\n <Success>true</Success>\\n <DagId>33***</DagId>\\n</CreateTaskFlowResponse>","errorExample":""}]', - 'title' => 'CreateTaskFlow', - 'requestParamsDescription' => 'DagName is unique to each task flow. If the DagName you specify already exists, the request fails.'."\n", - ], - 'SuspendTaskFlowInstance' => [ - 'summary' => 'Suspends a task flow instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C4CCC000-C193-5A32-B701-573F497BF729\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowConstantsResponse>\\n <RequestId>C4CCC000-C193-5A32-B701-573F497BF729</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</UpdateTaskFlowConstantsResponse>","errorExample":""}]', + 'title' => 'UpdateTaskFlowConstants', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowConstants', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateTaskFlowCooperators' => [ + 'summary' => 'Updates the IDs of the users that are involved in a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -46866,50 +35735,34 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '145426', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '148725', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> :To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '7***', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '11****', 'title' => ''], ], [ - 'name' => 'DagInstanceId', + 'name' => 'CooperatorIds', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The ID of the execution record of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to query the execution record ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '47****', + 'description' => 'The IDs of the users who are involved in the task flow to be updated.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The IDs of the users who are involved in the task flow.'."\n", 'type' => 'string', 'required' => false, 'example' => '12****', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -46919,46 +35772,40 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '028BF827-3801-5869-8548-F4A039256305', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'D05B3EE1-B6D3-5B17-8CA6-A8054828E5B2', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'UpdateTaskFlowCooperators', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowCooperators', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"028BF827-3801-5869-8548-F4A039256305\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SuspendTaskFlowInstanceResponse>\\n <RequestId>028BF827-3801-5869-8548-F4A039256305</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</SuspendTaskFlowInstanceResponse>","errorExample":""}]', - 'title' => 'SuspendTaskFlowInstance', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D05B3EE1-B6D3-5B17-8CA6-A8054828E5B2\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowCooperatorsResponse>\\n <RequestId>D05B3EE1-B6D3-5B17-8CA6-A8054828E5B2</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</UpdateTaskFlowCooperatorsResponse>","errorExample":""}]', ], - 'ReRunTaskFlowInstance' => [ - 'summary' => 'Reruns a task flow instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateTaskFlowEdges' => [ + 'summary' => 'Updates the start node and end node of multiple edges at a time for a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -46967,115 +35814,96 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '145425', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], - 'autoTest' => false, - 'notSupportAutoTestReason' => '极度限流API,无法跑通自动化测试', - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'abilityTreeCode' => '146068', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The tenant ID.'."\n" + ."\n" + .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '7***', - ], + 'schema' => ['description' => 'The task flow ID. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15***', 'title' => ''], ], [ - 'name' => 'DagInstanceId', + 'name' => 'Edges', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The ID of the execution record of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to query the execution record ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'The list of updated task flow edges.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the task flow edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '24***', 'title' => ''], + 'NodeEnd' => ['description' => 'The ID of the end node of the edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '44***', 'title' => ''], + 'NodeFrom' => ['description' => 'The ID of the start node of the edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '44***', 'title' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], 'required' => true, 'docRequired' => true, - 'example' => '47****', - ], - ], - [ - 'name' => 'DagVersion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The version number of the task flow. You can call the ListTaskFlowVersions operation to query the version number of the task flow.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '2****', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '8CFF2295-8249-5287-B888-DBD4F0D76CB0', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '93FC1AE1-EC54-52B1-B146-650180FB82E8', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8CFF2295-8249-5287-B888-DBD4F0D76CB0\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ReRunTaskFlowInstanceResponse>\\n <RequestId>8CFF2295-8249-5287-B888-DBD4F0D76CB0</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</ReRunTaskFlowInstanceResponse>","errorExample":""}]', - 'title' => 'ReRunTaskFlowInstance', - ], - 'MakeTaskFlowInstanceSuccess' => [ - 'summary' => 'Sets the status of a task flow to "Successful".', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpdateTaskFlowEdges', + 'description' => '###'."\n" + ."\n" + .'The edges can be updated only when the following conditions are met:'."\n" + ."\n" + .'1. The specified edge exists in the directed acyclic graph (DAG) of the task flow specified by DagId.'."\n" + .'2. The specified edge nodes exist in the DAG of the task flow specified by DagId.'."\n" + .'3. After the update, rings do not exist in the DAG.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowEdges', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"93FC1AE1-EC54-52B1-B146-650180FB82E8\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'UpdateTaskFlowNameAndDesc' => [ + 'summary' => 'Updates the name and description of a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -47085,98 +35913,73 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '145423', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'abilityTreeCode' => '145766', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '7***', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15***', 'title' => ''], ], [ - 'name' => 'DagInstanceId', + 'name' => 'DagName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the execution record of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to query the execution record ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '47****', - ], + 'schema' => ['description' => 'The new name that you want to specify for the task flow.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description that you want to specify for the task flow.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '028BF827-3801-5869-8548-F4A039256304', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'F73CCB9D-0CF3-5D3D-97B0-D852A8022663', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"028BF827-3801-5869-8548-F4A039256304\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<MakeTaskFlowInstanceSuccessResponse>\\n <RequestId>028BF827-3801-5869-8548-F4A039256304</RequestId>\\n <Success>true</Success>\\n</MakeTaskFlowInstanceSuccessResponse>","errorExample":""}]', - 'title' => 'MakeTaskFlowInstanceSuccess', - ], - 'DeleteTask' => [ - 'summary' => 'Deletes a task in a specified task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpdateTaskFlowNameAndDesc', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowNameAndDesc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F73CCB9D-0CF3-5D3D-97B0-D852A8022663\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowNameAndDescResponse>\\n <RequestId>F73CCB9D-0CF3-5D3D-97B0-D852A8022663</RequestId>\\n <Success>true</Success>\\n</UpdateTaskFlowNameAndDescResponse>","errorExample":""}]', + ], + 'UpdateTaskFlowNotification' => [ + 'summary' => 'Updates the notification settings for a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -47185,86 +35988,79 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '145358', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '147858', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'NodeId', + 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the node you want to delete.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '54****', - ], + 'schema' => ['description' => 'The unique ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15***', 'title' => ''], + ], + [ + 'name' => 'DagNotificationFail', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable notifications for failed task flows. Notifications are disabled by default. You can enable notifications based on your business requirements.'."\n", 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'DagNotificationSuccess', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable notifications for successful task flows. Notifications are disabled by default. You can enable notifications based on your business requirements.'."\n", 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'DagNotificationSla', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable SLA global notifications for task flows. Notifications are disabled by default. You can enable notifications based on your business requirements.'."\n", 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '3B460770-40D9-5F07-B68A-173D1D708B72', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'Unknown server error', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '3BDC762F-2525-5E47-8748-D6C58BDB3B38', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3B460770-40D9-5F07-B68A-173D1D708B72\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"Unknown server error\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteTaskResponse>\\n <RequestId>3B460770-40D9-5F07-B68A-173D1D708B72</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>Unknown server error</ErrorMessage>\\n <Success>true</Success>\\n</DeleteTaskResponse>","errorExample":""}]', - 'title' => 'DeleteTask', - ], - 'PublishAndDeployTaskFlow' => [ - 'summary' => 'Publishes and deploys a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpdateTaskFlowNotification', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowNotification', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3BDC762F-2525-5E47-8748-D6C58BDB3B38\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowNotificationResponse>\\n <RequestId>3BDC762F-2525-5E47-8748-D6C58BDB3B38</RequestId>\\n <Success>true</Success>\\n</UpdateTaskFlowNotificationResponse>","errorExample":""}]', + ], + 'UpdateTaskFlowOwner' => [ + 'summary' => 'Changes the owner of a task flow.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -47273,103 +36069,70 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '145472', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '145744', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '7***', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15***', 'title' => ''], ], [ - 'name' => 'VersionComments', + 'name' => 'NewOwnerId', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the version.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vc_test', - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The user ID of the new owner. You can call the [GetUser](~~147098~~) or [ListUsers](~~141938~~) operation to query the user ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '51****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '64E26249-B61F-51C6-B6DF-47EFF50128CC', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'Unknown server error', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'DeployId' => [ - 'description' => 'The ID of the deployment record.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12**', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '482C61C1-2537-5BFB-8E58-34D9F17AD3C3', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A7160423-2A83-592B-97E2-D8AE7B11C520\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"Unknown server error\\",\\n \\"Success\\": true,\\n \\"DeployId\\": 0\\n}","errorExample":""},{"type":"xml","example":"<PublishAndDeployTaskFlowResponse>\\n <RequestId>A7160423-2A83-592B-97E2-D8AE7B11C520</RequestId>\\n <DeployId>61***</DeployId>\\n <Success>true</Success>\\n</PublishAndDeployTaskFlowResponse>","errorExample":""}]', - 'title' => 'PublishAndDeployTaskFlow', - ], - 'StopTaskFlowInstance' => [ - 'summary' => 'Stops a task flow instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpdateTaskFlowOwner', + 'description' => 'Note: The new owner of the task flow must belong to the same tenant as the previous owner.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowOwner', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"482C61C1-2537-5BFB-8E58-34D9F17AD3C3\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowOwnerResponse>\\n <RequestId>482C61C1-2537-5BFB-8E58-34D9F17AD3C3</RequestId>\\n <Success>true</Success>\\n</UpdateTaskFlowOwnerResponse>","errorExample":""}]', + ], + 'UpdateTaskFlowRelations' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -47378,99 +36141,92 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '145428', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '145901', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '7***', - ], + 'schema' => ['description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15***', 'title' => ''], ], [ - 'name' => 'DagInstanceId', + 'name' => 'Edges', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The ID of the execution record of the task flow. You can call the [ListTaskFlowInstance](~~424689~~) operation to query the execution record ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '47****', + 'description' => 'The list of task flow edges to be updated.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the task flow edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '24***', 'title' => ''], + 'NodeEnd' => ['description' => 'The ID of the end node on the edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '44***', 'title' => ''], + 'NodeFrom' => ['description' => 'The ID of the start node on the edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '44***', 'title' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '028BF827-3801-5869-8548-F4A039256308', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '15D9E71C-405B-57D7-BE6E-707C2C7A8E0B', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"028BF827-3801-5869-8548-F4A039256308\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<StopTaskFlowInstanceResponse>\\n <RequestId>028BF827-3801-5869-8548-F4A039256308</RequestId>\\n <ErrorCode>UnknownError</ErrorCode>\\n <ErrorMessage>UnknownError</ErrorMessage>\\n <Success>true</Success>\\n</StopTaskFlowInstanceResponse>","errorExample":""}]', - 'title' => 'StopTaskFlowInstance', - ], - 'CreateTask' => [ - 'summary' => 'Creates a task node for a task flow.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpdateTaskFlowRelations', + 'summary' => 'Fully updates the edges of a task flow.', + 'description' => 'You can call this operation to perform a full update. For incremental updates, see AddTaskFlowEdges, UpdateTaskFlowEdges, and DeleteTaskFlowEdgesByMultiCondition.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowRelations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15D9E71C-405B-57D7-BE6E-707C2C7A8E0B\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowRelationsResponse>\\n <RequestId>15D9E71C-405B-57D7-BE6E-707C2C7A8E0B</RequestId>\\n <Success>true</Success>\\n</UpdateTaskFlowRelationsResponse>","errorExample":""}]', + ], + 'UpdateTaskFlowSchedule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -47479,101 +36235,74 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '145318', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '145506', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '7***', - ], + 'schema' => ['description' => 'The ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', 'title' => ''], ], [ - 'name' => 'NodeName', + 'name' => 'ScheduleSwitch', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the node that you want to create.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'zhttest', - ], + 'schema' => ['description' => 'Specifies whether to enable scheduling. Valid values:'."\n" + ."\n" + .'* **Enable**'."\n" + .'* **Disable**'."\n", 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'NodeType', + 'name' => 'CronBeginDate', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the node that you want to create. For more information about the valid values for this parameter, see [NodeType parameter](~~424705~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '36', - ], + 'schema' => ['description' => 'The start of the time range for scheduling.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CronBeginDate_test', 'title' => ''], ], [ - 'name' => 'NodeContent', + 'name' => 'CronEndDate', 'in' => 'query', - 'schema' => [ - 'description' => 'The configuration of the node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The end of the time range for scheduling.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CronEndDate_test', 'title' => ''], ], [ - 'name' => 'TimeVariables', + 'name' => 'ScheduleParam', 'in' => 'query', - 'schema' => [ - 'description' => 'The time variables configured for the node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The event scheduling configuration. The value of this parameter is a JSON string.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ScheduleParam_test', 'title' => ''], ], [ - 'name' => 'NodeOutput', + 'name' => 'CronStr', 'in' => 'query', - 'schema' => [ - 'description' => 'The output variables configured for the task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The cron expression for timed scheduling.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CronStr_test', 'title' => ''], ], [ - 'name' => 'GraphParam', + 'name' => 'TriggerType', 'in' => 'query', - 'schema' => [ - 'description' => 'The position of the node on the Directed Acyclic Graph (DAG).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The mode in which the task flow is triggered. Valid values:'."\n" + ."\n" + .'* **Cron**: The task flow is triggered based on timed scheduling.'."\n" + .'* **Event**: The task flow is triggered by events.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Event', 'title' => ''], + ], + [ + 'name' => 'CronType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the scheduling cycle. Valid values:'."\n" + ."\n" + .'* **MINUTE**: scheduling by minute'."\n" + .'* **HOUR**: scheduling by hour'."\n" + .'* **DAY**: scheduling by day'."\n" + .'* **WEEK**: scheduling by week'."\n" + .'* **MONTH**: scheduling by month'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'HOUR', 'title' => ''], + ], + [ + 'name' => 'TimeZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The time zone. The default time zone is UTC+8 (Asia/Shanghai).'."\n", 'type' => 'string', 'required' => false, 'example' => 'Asia/Shanghai', 'title' => ''], ], ], 'responses' => [ @@ -47582,221 +36311,137 @@ 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'CFD8FE00-36D9-4C1B-940D-65A7B73D9066', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'InvalidParameterValid', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'InvalidParameterValid', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'NodeId' => [ - 'description' => 'The ID of the task node returned when the task was created.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3***', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to query logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '7BF38A13-C181-5B5E-97F1-8643F8A10093', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'InvalidParameterValid', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'InvalidParameterValid', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CFD8FE00-36D9-4C1B-940D-65A7B73D9066\\",\\n \\"ErrorCode\\": \\"InvalidParameterValid\\",\\n \\"ErrorMessage\\": \\"InvalidParameterValid\\",\\n \\"Success\\": true,\\n \\"NodeId\\": 0\\n}","errorExample":""},{"type":"xml","example":"<CreateTaskResponse>\\n <RequestId>CFD8FE00-36D9-4C1B-940D-65A7B73D9066</RequestId>\\n <ErrorCode>InvalidParameterValid</ErrorCode>\\n <ErrorMessage>InvalidParameterValid</ErrorMessage>\\n <Success>true</Success>\\n</CreateTaskResponse>","errorExample":""}]', - 'title' => 'CreateTask', - 'requestParamsDescription' => '# Description of node-related parameters'."\n" - ."\n" - .'The configuration of a node varies based on the node type. This topic is a supplementary description of task node-related operations, such as CreateTask and UpdateTaskOutput. The NodeParam, NodeContent, and GraphParam parameters apply to all task node-related operations.\\'."\n" - .'Only nodes such as single-instance SQL assignment, script code, and Elastic Compute Service (ECS) remote command have output variables. The configurations of output variables vary based on the node type. For more information, see the related topic of the UpdateTaskOutput operation.'."\n" - ."\n" - .'## SQL for single instance'."\n" - ."\n" - .'* DagId'."\n" - .'* NodeName'."\n" - .'* NodeType: 1'."\n" - .'* NodeParam'."\n" - .'* GraphParam'."\n" - .'* NodeContent:'."\n" + 'title' => 'UpdateTaskFlowSchedule', + 'summary' => 'Updates the scheduling properties for a task flow.', + 'description' => 'You can call this operation to update the scheduling properties for a task flow in the editing state. You can configure a **timed scheduling** task flow or an **event scheduling** task flow. When you configure a **timed scheduling** task flow, you can choose from one-time scheduling or periodic scheduling. When you configure an **event scheduling** task flow, you can subscribe to task flows or task flow nodes.****\\'."\n" + .'After you update the scheduling properties, you need to publish and deploy the task flow again. The new task flow instance will run based on the updated scheduling properties.'."\n", + 'requestParamsDescription' => '### Note about scheduling configuration parameters'."\n" ."\n" - .'```Json'."\n" - .'{'."\n" - .' "dbId":123456, // The database ID.'."\n" - .' "sql":"/* Use the database syntax for the current node to write SQL statements */", // The SQL statement.'."\n" - .' "dbType":"lindorm_sql" // The database type.'."\n" - .'}'."\n" - .'```'."\n" + .'When you configure a timed scheduling task flow, you can choose from one-time scheduling or periodic scheduling.'."\n" ."\n" - .'## Script'."\n" + .'The following parameters are required:'."\n" ."\n" - .'* DagId'."\n" - .'* NodeName'."\n" - .'* NodeType: 28'."\n" - .'* NodeParam'."\n" - .'* GraphParam'."\n" - .'* NodeOutput'."\n" + .'* ScheduleSwitch: True'."\n" + .'* TriggerType: Cron'."\n" + .'* CronBeginDate'."\n" + .'* CronEndDate'."\n" + .'* CronStr'."\n" + .'* CronType'."\n" + .'* ScheduleParam: The task can be run by day, week, month, or only once.'."\n" ."\n" - .'```Json'."\n" - .'{'."\n" - .' "outputs":['."\n" - .' {'."\n" - .' "extractMethod":"json", // The value is in the JSON format.'."\n" - .' "variableName":"var", // The name of the variable.'."\n" - .' "description":"demo desc" // The description of the variable.'."\n" - .' }'."\n" - .' ]'."\n" - .'}'."\n" - .'```'."\n" + .'The following section provides examples:'."\n" ."\n" - .'* NodeContent:'."\n" + .'**Scheduling by day:**'."\n" ."\n" .'```json'."\n" .'{'."\n" - .' "regionId":"cn-hangzhou", // The region ID.'."\n" - .' "gatewayId":"dg-xxxxxxxxxxxxxx", // The gateway ID.'."\n" - .' "gatewayInstanceId":"dg-node-xxxxxxxxxxxxxx", // The ID of the gateway instance.'."\n" - .' "scriptFileName":"demo.sh", // The file name.'."\n" - .' "args":[ // The running parameters.'."\n" - .' "-n value",'."\n" - .' "-n1 value1"'."\n" - .' ]'."\n" + .' "triggerType":"0",'."\n" + .' "dateTime":"00:00"'."\n" .'}'."\n" .'```'."\n" ."\n" - .'## Lock-free data change'."\n" - ."\n" - .'* DagId'."\n" - .'* NodeName'."\n" - .'* NodeType: 24'."\n" - .'* NodeParam'."\n" - .'* GraphParam'."\n" - .'* NodeContent:'."\n" + .'**Scheduling by week:** "1" for Sunday, "2" for Monday, ..., and "7" for Saturday.'."\n" ."\n" .'```json'."\n" .'{'."\n" - .' "dbId":123456, // The database ID.'."\n" - .' "sql":"/* Use the database syntax for the current node to write SQL statements */", // The SQL statement.'."\n" - .' "dbType":"polardb" // The database type.'."\n" + .' "triggerType":"0",'."\n" + .' "dateWeek":['."\n" + .' "1",'."\n" + .' "5"'."\n" + .' ],'."\n" + .' "weekTime":"00:00"'."\n" .'}'."\n" .'```'."\n" ."\n" - .'## SQL assignment for single instance'."\n" - ."\n" - .'* DagId'."\n" - .'* NodeName'."\n" - .'* NodeType: 32'."\n" - .'* NodeParam'."\n" - .'* GraphParam'."\n" - .'* NodeOutput:'."\n" + .'**Scheduling by month:**'."\n" ."\n" - .'```Json'."\n" + .'```json'."\n" .'{'."\n" - .' "outputs":['."\n" - .' {'."\n" - .' /*'."\n" - .' // The variable extraction settings.'."\n" - .' {'."\n" - .' "row":0, // Rows. A value of -1 indicates all rows.'."\n" - .' "column":-1, // Columns. A value of -1 indicates all columns.'."\n" - .' "combiner":"," // The delimiter. If you select all rows or columns, you must specify a delimiter. The returned value of the variable is a string.'."\n" - .' }'."\n" - .' */'."\n" - .' "extractMethod":"{\\"row\\":0,\\"column\\":-1,\\"combiner\\":\\",\\"}", '."\n" - .' "variableName":"var", // The name of the variable.'."\n" - .' "description":"For demo" // The description of the variable.'."\n" - .' }'."\n" - .' ]'."\n" + .' "triggerType":"0",'."\n" + .' "dateMonth":"1",'."\n" + .' "MonthTime":"00:00"'."\n" .'}'."\n" .'```'."\n" ."\n" - .'* NodeContent:'."\n" + .'**Scheduling once:**'."\n" ."\n" .'```json'."\n" .'{'."\n" - .' "dbId":123456, // The database ID.'."\n" - .' "sql":"/* Use the database syntax for the current node to write SQL statements. Only SELECT statements are supported. By default, the maximum number of rows returned is 30. *", // The SQL statement.'."\n" - .' "dbType":"lindorm_cql" // The database type.'."\n" + .' "triggerType":"1",'."\n" + .' "specificTime":"2022-09-02 00:00"'."\n" .'}'."\n" .'```'."\n" ."\n" - .'## Dependency check'."\n" - ."\n" - .'* DagId'."\n" - .'* NodeName'."\n" - .'* NodeType: 2'."\n" - .'* NodeParam'."\n" - .'* GraphParam'."\n" - .'* NodeContent:'."\n" - ."\n" - .'```Json'."\n" - .'{'."\n" - .' "dependentDAGId":132, // Dependency object: task flow.'."\n" - .' "dependentNodeId":"", // Dependency object: a single node. By default, the dependency object is the specified task flow.'."\n" - .' "dependentStartTimePattern":"yyyy-MM-dd HH:mm|-2d+0h+0m", // The offset of the start time.'."\n" - .' "dependentEndTimePattern":"yyyy-MM-dd HH:mm|+1d +0h+0m", // The offset of the end time.'."\n" - .' "multiSuccessStrategy":2, // The instance check policy. A value of 0 specifies that the most previous node is successful. A value of 1 specifies that all nodes are successful. A value of 2 specifies that the specified node is successful'."\n" - .' "multiSuccessStrategyIndex":1 // Instance check policy: The node x+1 is successful.'."\n" - .'}'."\n" - .'```'."\n" + .'**Parameter description**'."\n" ."\n" - .'## Status check of a time column in a table'."\n" + .'1. CronStr: CronStr defines how a task flow is scheduled.'."\n" + .'2. CronBeginDate and CronEndDate: For periodic scheduling, CronBeginDate, CronEndDate, and CronStr together define task flow scheduling. If the time specified by CronStr is within the time range between CronBeginDate and CronEndDate, the task is triggered.'."\n" + .'3. CronType: This is used for verification. Enter a value based on the scheduling cycle specified by CronStr.'."\n" + .'4. ScheduleParam: Enter a value based on the scheduling configuration specified by CronStr.'."\n" ."\n" - .'* DagId'."\n" - .'* NodeName'."\n" - .'* NodeType: 2'."\n" - .'* NodeParam'."\n" - .'* GraphParam'."\n" - .'* NodeContent:'."\n" + .'**Event Scheduling** (automatically triggered across task flows)'."\n" ."\n" - .'```Json'."\n" - .'{'."\n" - .' "dependentDAGId":132, // Dependency object: task flow.'."\n" - .' "dependentNodeId":"", // Dependency object: a single node. By default, the dependency object is the specified task flow.'."\n" - .' "dependentStartTimePattern":"yyyy-MM-dd HH:mm|-2d+0h+0m", // The offset of the start time.'."\n" - .' "dependentEndTimePattern":"yyyy-MM-dd HH:mm|+1d +0h+0m", // The offset of the end time.'."\n" - .' "multiSuccessStrategy":2, // The instance check policy. A value of 0 specifies that the most previous node is successful. A value of 1 specifies that all nodes are successful. A value of 2 specifies that the specified node is successful'."\n" - .' "multiSuccessStrategyIndex":1 // Instance check policy: The node x+1 is successful.'."\n" - .'}'."\n" - .'```'."\n" + .'The following parameters are required:'."\n" ."\n" - .'## SQL status check'."\n" + .'* ScheduleSwitch: True'."\n" + .'* TriggerType: Event'."\n" + .'* ScheduleParam'."\n" ."\n" - .'* DagId'."\n" - .'* NodeName'."\n" - .'* NodeType: 25'."\n" - .'* NodeParam'."\n" - .'* GraphParam'."\n" - .'* NodeContent:'."\n" + .'The following section provides examples:'."\n" ."\n" - .'```Json'."\n" + .'```json'."\n" .'{'."\n" - .' "dbId":123456,'."\n" - .' "sql":"/* Use the database syntax for the current node to write SQL statements*/ \\n\\n select 1 from abc",'."\n" - .' "dbType":"lindorm_cql"'."\n" + .' "triggerType":"2" // The scheduling type. The value 2 indicates event scheduling.'."\n" + .' "deps":[ // The subscription configurations for task flows and task nodes.'."\n" + .' {'."\n" + .' "eventType":1, // The type of the subscription. The value 0 indicates subscription to task flows. The value 1 indicates subscription to task nodes.'."\n" + .' "lisDagId":12345, // The task flow to which the subscribed node belongs.'."\n" + .' "lisNodeId":2134 // The ID of the node to which you subscribe.'."\n" + .' },'."\n" + .' {'."\n" + .' "eventType":0,'."\n" + .' "lisDagId":12343 // The ID of the task flow to which you subscribe.'."\n" + .' },'."\n" + .' {'."\n" + .' "eventType":0,'."\n" + .' "lisDagId":23456'."\n" + .' }'."\n" + .' ],'."\n" + .' "maxWait":21600 // The maximum waiting time before all the preceding task flows or nodes to which you subscribe run.'."\n" .'}'."\n" .'```'."\n", - ], - 'UpdateTaskContentV2' => [ - 'summary' => 'Updates the node content in large SQL files.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowSchedule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7BF38A13-C181-5B5E-97F1-8643F8A10093\\",\\n \\"ErrorCode\\": \\"InvalidParameterValid\\",\\n \\"ErrorMessage\\": \\"InvalidParameterValid\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowScheduleResponse>\\n <RequestId>7BF38A13-C181-5B5E-97F1-8643F8A10093</RequestId>\\n <ErrorCode>InvalidParameterValid</ErrorCode>\\n <ErrorMessage>InvalidParameterValid</ErrorMessage>\\n <Success>true</Success>\\n</UpdateTaskFlowScheduleResponse>","errorExample":""}]', + ], + 'UpdateTaskFlowTimeVariables' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -47806,89 +36451,93 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '145901', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'abilityTreeCode' => '148792', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'NodeId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '449***', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> :To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'NodeContent', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The node configurations after modification.'."\n" - ."\n" - .'> We recommend that you change the SQL type from SELECT to INSERT/CREATE.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{ "dbId":12****, "sql":"select * from test_table", "dbType":"lindorm_sql" }', - ], + 'name' => 'DagId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the task node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '43****', 'title' => ''], + ], + [ + 'name' => 'TimeVariables', + 'in' => 'query', + 'schema' => ['description' => 'The time variables for the task flow.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{"variables":[ {"name":"var", "pattern":"yyyy-MM-dd|+0m+0h-2d+0w+0M+1y"} ]}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'Id of the request.'."\n", - 'type' => 'string', - 'example' => 'B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773', - 'title' => 'Id of the request', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError'."\n", - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'string', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '39557312-28D5-528F-9554-80C0700EB489', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'title' => 'Schema of Response', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\\\n\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', - 'title' => 'UpdateTaskContentV2', - 'description' => 'You can call this operation to modify node configurations.'."\n", - ], - 'TryRunTaskFlow' => [ - 'summary' => 'Tests the task flow of task orchestration.', - 'methods' => [ - 'post', - 'get', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'https', + 'title' => 'UpdateTaskFlowTimeVariables', + 'summary' => 'Updates the time variables for a task flow.', + 'requestParamsDescription' => 'The value of TimeVariables must be a JSON string. Example:'."\n" + ."\n" + .'```'."\n" + .' '."\n" + .' '."\n" + .' '."\n" + .' "name":"var",// The name of the variable.'."\n" + .' '."\n" + .' The format of the variable.'."\n" + .' As shown in the example, the date can have one or more offsets, including minutes (m), hours (h), days (d), weeks (w), months (M), or years (y). The offsets are optional, and you can specify the offsets in a different order than described here. '."\n" + .' '."\n" + .' '."\n" + .' '."\n" + .' '."\n" + .' '."\n" + .' '."\n" + .' '."\n" + .' '."\n" + .' '."\n" + .'```'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowTimeVariables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"39557312-28D5-528F-9554-80C0700EB489\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskFlowTimeVariablesResponse>\\n <RequestId>39557312-28D5-528F-9554-80C0700EB489</RequestId>\\n <Success>true</Success>\\n</UpdateTaskFlowTimeVariablesResponse>","errorExample":""}]', + ], + 'UpdateTaskName' => [ + 'summary' => 'Updates the name of a specified task.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -47897,27 +36546,27 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdms19SL1H', - ], - 'autoTest' => false, - 'notSupportAutoTestReason' => '开启了流控配置,无法短时间调用多次', + 'operationType' => 'update', + 'abilityTreeCode' => '147910', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'DagId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The task flow ID. You can call the [ListTaskFlow](~~424565~~) or [ListLhTaskFlowAndScenario](~~426672~~) operation to query the ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '11****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], + ], + [ + 'name' => 'NodeId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '449***', 'title' => ''], + ], + [ + 'name' => 'NodeName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node name.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Spark-test', 'title' => ''], ], ], 'responses' => [ @@ -47925,64 +36574,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9997630E-1993-5E6D-9DF1-4EFEE755FE31', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed. Value values:'."\n" - ."\n" - .'* If the request was successful, the **ErrorCode** parameter is not returned.'."\n" - .'* If the request failed, **ErrorCode** is returned. For more information, see the **Error codes** section in this topic.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'InstanceId' => [ - 'description' => 'The instance ID of the order.'."\n", - 'type' => 'string', - 'example' => '169****', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'C4604178-3BE1-5973-ACF0-7D561AEEF3A8', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'UpdateTaskName', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9997630E-1993-5E6D-9DF1-4EFEE755FE31\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"InstanceId\\": \\"169****\\"\\n}","type":"json"}]', - 'title' => 'TryRunTaskFlow', - 'description' => '### [](#)Usage notes'."\n" - ."\n" - .'An edge can be created only when the following conditions are met:'."\n" - ."\n" - .'1. The start and end nodes of the edge exist in the directed acyclic graph (DAG) of the task flow specified by DagId.'."\n" - .'2. After the edge is created, the DAG does not contain loops.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C4604178-3BE1-5973-ACF0-7D561AEEF3A8\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskNameResponse>\\n <RequestId>C4604178-3BE1-5973-ACF0-7D561AEEF3A8</RequestId>\\n <Success>true</Success>\\n</UpdateTaskNameResponse>","errorExample":""}]', ], - 'CreateLakeHouseSpace' => [ - 'summary' => 'Creates a workspace for data warehouse development in Data Management (DMS).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateTaskOutput' => [ + 'summary' => 'Updates the output variables for a task node.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -47991,109 +36617,27 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '130576', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '147898', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'SpaceName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the workspace.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test_space', - ], - ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the workspace.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'Mode', - 'in' => 'query', - 'schema' => [ - 'description' => 'The mode in which the workspace runs. Valid values:'."\n" - ."\n" - .'* **0**: basic mode. This mode is unavailable.'."\n" - .'* **1**: standard mode.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'DwDbType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the database. Valid values:'."\n" - ."\n" - .'* **14**: AnalyticDB for MySQL'."\n" - .'* **18**: AnalyticDB for PostgreSQL'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '14', - ], - ], - [ - 'name' => 'SpaceConfig', - 'in' => 'query', - 'schema' => [ - 'description' => 'The configuration of the workspace. Valid values:'."\n" - ."\n" - .'* **skipManualRunCheck**: No security rule check is required in the trial run phase.'."\n" - .'* **skipPublishApprove**: No approval is required for publishing and O\\&M.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '{\\"skipManualRunCheck\\":true,\\"skipPublishApprove\\":true}', - ], - ], - [ - 'name' => 'DevDbId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the development database. You can call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2435****', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'ProdDbId', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the production database. You can call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2442****', - ], + 'schema' => ['description' => 'The ID of the node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '14059', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'NodeOutput', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The output variables for the task.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '{"outputs":[{"row":0, "column":-1,"combiner":","}"extractMethod":"{\\"row\\":0,\\"column\\":-1,\\"combiner\\":\\",\\"}", "variableName":"var", // variable "description":"For demo" // variable description}]}', 'title' => ''], ], ], 'responses' => [ @@ -48101,54 +36645,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SpaceId' => [ - 'description' => 'The ID of the workspace.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'InvalidParameterValid', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'Invalid parameters: space name,mode,prod db id,db type,config.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'AB524768-8A5F-523A-91BD-1147187FCD62', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"SpaceId\\": 24,\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"InvalidParameterValid\\",\\n \\"ErrorMessage\\": \\"Invalid parameters: space name、mode、prod db id、db type、config.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<CreateLakeHouseSpaceResponse>\\n <RequestId>7FAD400F-7A5C-4193-8F9A-39D86C4F0231</RequestId>\\n <SpaceId>24</SpaceId>\\n <Success>true</Success>\\n</CreateLakeHouseSpaceResponse>","errorExample":""}]', - 'title' => 'CreateLakeHouseSpace', - 'description' => '* The workspace name must be unique within a tenant. If a workspace with the same name already exists within the tenant, the call may fail.'."\n" - .'* You can call the [GetLhSpaceByName](~~424379~~) operation to query whether a workspace with a specific name already exists as a DMS administrator or database administrator (DBA).'."\n", - ], - 'GetLhSpaceByName' => [ - 'summary' => 'Queries the information about a workspace based on the workspace name in Data Management (DMS).', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB524768-8A5F-523A-91BD-1147187FCD62\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'UpdateTaskOutput', + 'description' => 'Only nodes of single-instance SQL assignment, script code, and ECS remote command have output variables.', + 'requestParamsDescription' => '## Single-instance SQL assignment'."\n" + ."\n" + .'- Example of NodeOutput:```'."\n" + .'Variable extraction settings'."\n" + .' '."\n" + .' "row":0, // Rows. -1 indicates all rows.'."\n" + .' "column":-1, // Columns. -1 indicates all columns.'."\n" + .' '."\n" + .' Delimiter'."\n" + .' If you select all rows or columns, you must specify a connector. The returned value of the variable is a string.'."\n" + .' '."\n" + .' '."\n" + .' '."\n" + .' '."\n" + .' '."\n" + .' "variableName":"var", // Variable name'."\n" + .' "description":"For demo" // Variable description'."\n" + .'```'."\n" + ."\n\n" + .'## Script code /ECS remote command'."\n" + ."\n" + .'- Example of NodeOutput:```'."\n" + .'"extractMethod":"json", // JSON'."\n" + .' "variableName":"var", // Variable name'."\n" + .' "description":"demo desc" // Variable description'."\n" + .'```', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskOutput'], + ], + 'product' => ['code' => 'dms', 'title' => '数据管理'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskOutput', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateTaskTimeVariables' => [ + 'summary' => 'Updates time variables for a task.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -48157,32 +36721,27 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', + 'abilityTreeCode' => '148809', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'SpaceName', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the workspace.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test_space', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> :To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3000', - ], + 'schema' => ['description' => 'The ID of the task node. You can call the [GetTaskInstanceRelation](~~424711~~) operation to query the node ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '43****', 'title' => ''], + ], + [ + 'name' => 'TimeVariables', + 'in' => 'query', + 'schema' => ['description' => 'The time variables configured for the node. The value of this parameter must be a JSON string.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{"variables":[ {"name":"var", "pattern":"yyyy-MM-dd|+0m+0h-2d+0w+0M+1y"} ]}', 'title' => ''], ], ], 'responses' => [ @@ -48190,163 +36749,96 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'FE8CA4A8-AB2D-55B7-BD30-01A4609F40D8', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'LakehouseSpace' => [ - 'description' => 'The workspace for data warehouse development.'."\n", - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the workspace.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'SpaceName' => [ - 'description' => 'The name of the workspace.'."\n", - 'type' => 'string', - 'example' => 'test_space', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who creates the workspace.'."\n", - 'type' => 'string', - 'example' => '51***', - ], - 'TenantId' => [ - 'description' => 'The ID of the tenant to which the workspace belongs.'."\n", - 'type' => 'string', - 'example' => '3***', - ], - 'Description' => [ - 'description' => 'The description of the workspace.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Mode' => [ - 'description' => 'The mode in which the workspace runs. Valid values:'."\n" - ."\n" - .'* **0**: basic mode'."\n" - .'* **1**: standard mode'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DwDbType' => [ - 'description' => 'The type of the database. Valid values:'."\n" - ."\n" - .'* **14**: AnalyticDB for MySQL'."\n" - .'* **18**: AnalyticDB for PostgreSQL'."\n", - 'type' => 'string', - 'example' => '14', - ], - 'SpaceConfig' => [ - 'description' => 'The configuration of the workspace. Valid values:'."\n" - ."\n" - .'* **skipManualRunCheck**: No security rule check is required in the trial run phase.'."\n" - .'* **skipPublishApprove**: No approval is required for publishing and O\\&M.'."\n", - 'type' => 'string', - 'example' => '{\\"skipManualRunCheck\\":true,\\"skipPublishApprove\\":true}', - ], - 'DevDbId' => [ - 'description' => 'The ID of the development database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2435****', - ], - 'ProdDbId' => [ - 'description' => 'The ID of the production database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2442****', - ], - 'IsDeleted' => [ - 'description' => 'Indicates whether the workspace is deleted. Valid values:'."\n" - ."\n" - .'* **true**: The workspace is deleted.'."\n" - .'* **false**: The workspace is not deleted.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '39557312-28D5-528F-9554-80C0700EB489', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'UpdateTaskTimeVariables', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskTimeVariables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE8CA4A8-AB2D-55B7-BD30-01A4609F40D8\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"LakehouseSpace\\": {\\n \\"Id\\": 1,\\n \\"SpaceName\\": \\"test_space\\",\\n \\"CreatorId\\": \\"51***\\",\\n \\"TenantId\\": \\"3***\\",\\n \\"Description\\": \\"test\\",\\n \\"Mode\\": 1,\\n \\"DwDbType\\": \\"14\\",\\n \\"SpaceConfig\\": \\"{\\\\\\\\\\\\\\"skipManualRunCheck\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"skipPublishApprove\\\\\\\\\\\\\\":true}\\",\\n \\"DevDbId\\": 0,\\n \\"ProdDbId\\": 0,\\n \\"IsDeleted\\": false\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetLhSpaceByNameResponse>\\n <RequestId>FE8CA4A8-AB2D-55B7-BD30-01A4609F40D8</RequestId>\\n <LakehouseSpace>\\n <TenantId>3***</TenantId>\\n <IsDeleted>false</IsDeleted>\\n <SpaceName>test_space</SpaceName>\\n <CreatorId>51***</CreatorId>\\n <Mode>1</Mode>\\n <DwDbType>14</DwDbType>\\n <Id>1</Id>\\n <SpaceConfig>{\\"skipManualRunCheck\\":true,\\"skipPublishApprove\\":true}</SpaceConfig>\\n <DevDbId>2435****</DevDbId>\\n <ProdDbId>2442****</ProdDbId>\\n </LakehouseSpace>\\n <Success>true</Success>\\n</GetLhSpaceByNameResponse>","errorExample":""}]', - 'title' => 'GetLhSpaceByName', - 'description' => 'You are a DMS administrator or a database administrator (DBA).'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"39557312-28D5-528F-9554-80C0700EB489\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateTaskTimeVariablesResponse>\\n <RequestId>39557312-28D5-528F-9554-80C0700EB489</RequestId>\\n <Success>true</Success>\\n</UpdateTaskTimeVariablesResponse>","errorExample":""}]', ], - 'DeleteLakeHouseSpace' => [ - 'summary' => 'Deletes a workspace.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateUser' => [ + 'summary' => 'Updates user information.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '132905', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdms90TD19'], ], 'parameters' => [ [ - 'name' => 'SpaceId', + 'name' => 'Tid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the workspace. You can call the [GetLhSpaceByName](~~424379~~) operation to obtain the workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '24', - ], + 'schema' => ['description' => 'The ID of the tenant.'."\n" + ."\n" + .'> : To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [Manage DMS tenants](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '-1', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'Uid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['description' => 'The Alibaba Cloud unique ID (UID) of the user to update.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '123456789', 'title' => ''], + ], + [ + 'name' => 'UserNick', + 'in' => 'query', + 'schema' => ['description' => 'The nickname of the user.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'RoleNames', + 'in' => 'query', + 'schema' => ['description' => 'The roles that the user assumes. For more information about the valid values, see the Request parameters section in the [UpdateUser](~~465812~~) topic.', 'type' => 'string', 'required' => false, 'example' => 'ADMIN,DBA', 'title' => ''], + ], + [ + 'name' => 'Mobile', + 'in' => 'query', + 'schema' => ['description' => 'The DingTalk ID or mobile number of the user.'."\n", 'type' => 'string', 'required' => false, 'example' => '188xxxxxxxx', 'title' => ''], + ], + [ + 'name' => 'MaxExecuteCount', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of queries that can be performed each day.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000', 'title' => ''], + ], + [ + 'name' => 'MaxResultCount', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of rows that can be queried each day.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000', 'title' => ''], + ], + [ + 'name' => 'UidString', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the String type. If you specify this parameter, the UID of the Long type is replaced.'."\n", 'type' => 'string', 'required' => false, 'example' => '322824****:dmstest.wu@A201***', 'title' => ''], ], ], 'responses' => [ @@ -48354,519 +36846,147 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E76DD2E7-EBAC-5724-B163-19AAC233F8F2', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'NoPermission', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'You are not authorized to perform this operation.', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* true: The request is successful.'."\n" - .'* false: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'E9BEBF41-4F69-4605-A5D5-A67955173941', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned if the request failed.'."\n", 'type' => 'string', 'example' => 'UnknownError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E76DD2E7-EBAC-5724-B163-19AAC233F8F2\\",\\n \\"ErrorCode\\": \\"NoPermission\\",\\n \\"ErrorMessage\\": \\"You are not authorized to perform this operation.\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteLakeHouseSpaceResponse>\\n <RequestId>E76DD2E7-EBAC-5724-B163-19AAC233F8F2</RequestId>\\n <Success>true</Success>\\n</DeleteLakeHouseSpaceResponse>","errorExample":""}]', - 'title' => 'DeleteLakeHouseSpace', - ], - 'ListLhTaskFlowAndScenario' => [ - 'summary' => 'Queries the information about task flows in the business scenarios of a workspace in Data Management (DMS).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpdateUser', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateUser', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E9BEBF41-4F69-4605-A5D5-A67955173941\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"<RequestId>E9BEBF41-4F69-4605-A5D5-A67955173941</RequestId>\\n<Success>true</Success>","errorExample":""}]', + ], + 'UpdateWorkspace' => [ + 'summary' => 'Updates the information about a workspace.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '130971', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ - 'name' => 'SpaceId', + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the workspace. You can call the [GetLhSpaceByName](~~424379~~) operation to obtain the workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '24', - ], + 'schema' => ['title' => '', 'description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12****'], ], [ - 'name' => 'UserId', + 'name' => 'WorkspaceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the user. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to obtain the user ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '51****', - ], + 'schema' => ['title' => '', 'description' => 'The new name of the workspace.'."\n", 'type' => 'string', 'required' => false, 'example' => 'workspace_xxx', 'minLength' => 1], ], [ - 'name' => 'Tid', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', - ], + 'schema' => ['title' => '', 'description' => 'The new description of the workspace.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'minLength' => 1], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'token-xxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RawDAGList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Dag' => [ - 'description' => 'The task flows in the default business scenario.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the task flow.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '134137****', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who creates the task flow.'."\n", - 'type' => 'string', - 'example' => '51****', - ], - 'IsDeleted' => [ - 'description' => 'Indicates whether the task flow is deleted. Valid values:'."\n" - ."\n" - .'* **true**: deleted'."\n" - .'* **false**: not deleted'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'DemoId' => [ - 'description' => 'The extended field. No meaning is specified for this field.'."\n", - 'type' => 'string', - 'example' => '-', - ], - 'DeployId' => [ - 'description' => 'The ID of the latest deployment record.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12**', - ], - 'DataFlowId' => [ - 'description' => 'The extended field. No meaning is specified for this field.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-', - ], - 'ScenarioId' => [ - 'description' => 'The ID of the business scenario.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2**', - ], - 'SpaceId' => [ - 'description' => 'The ID of the workspace.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'CreatorNickName' => [ - 'description' => 'The name of the user who creates the workspace.'."\n", - 'type' => 'string', - 'example' => 'Creator_Name', - ], - 'DagOwnerNickName' => [ - 'description' => 'The name of the task flow owner.'."\n", - 'type' => 'string', - 'example' => 'Owner_Name', - ], - 'CanEdit' => [ - 'description' => 'Indicates whether the task flow can be modified. Valid values:'."\n" - ."\n" - .'* **true**: The task flow can be modified.'."\n" - .'* **false**: The task flow cannot be modified.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Status' => [ - 'description' => 'The status of the task flow. Valid values:'."\n" - ."\n" - .'* **0**: invalid'."\n" - .'* **1**: scheduling disabled'."\n" - .'* **2**: waiting to be scheduled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'LatestInstanceStatus' => [ - 'description' => 'The status of the latest execution. Valid values:'."\n" - ."\n" - .'* **0**: invalid'."\n" - .'* **1**: scheduling disabled'."\n" - .'* **2**: waiting to be scheduled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'LatestInstanceTime' => [ - 'description' => 'The time when the latest execution record was generated.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2022-04-14', - ], - 'DagName' => [ - 'description' => 'The name of the task flow.'."\n", - 'type' => 'string', - 'example' => 'Dag_Name', - ], - 'DagOwnerId' => [ - 'description' => 'The user ID of the task flow owner.'."\n", - 'type' => 'string', - 'example' => '51****', - ], - ], - ], - ], - ], - ], - 'ScenarioDAGList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'ScenarioDAG' => [ - 'description' => 'The task flows in other business scenarios.', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Scenario' => [ - 'description' => 'The information about the business scenario.', - 'type' => 'object', - 'properties' => [ - 'ScenarioName' => [ - 'description' => 'The name of the business scenario.', - 'type' => 'string', - 'example' => 'Scenario_2', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who creates the business scenario.', - 'type' => 'string', - 'example' => '51****', - ], - 'Description' => [ - 'description' => 'The description of the business scenario.', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - 'DagList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Dag' => [ - 'title' => '', - 'description' => 'The list of task flows.', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the task flow.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '9***', - ], - 'CreatorId' => [ - 'description' => 'The ID of the user who creates the task flow.', - 'type' => 'string', - 'example' => '51****', - ], - 'IsDeleted' => [ - 'description' => 'Indicates whether the task flow is deleted. Valid values:'."\n" - ."\n" - .'- **true**: deleted'."\n" - .'- **false**: not deleted', - 'type' => 'boolean', - 'example' => 'false', - ], - 'DemoId' => [ - 'description' => 'The extended field. No meaning is specified for this field.', - 'type' => 'string', - 'example' => '-', - ], - 'DeployId' => [ - 'description' => 'The ID of the latest deployment record.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12**', - ], - 'DataFlowId' => [ - 'description' => 'The extended field. No meaning is specified for this field.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-', - ], - 'ScenarioId' => [ - 'description' => 'The ID of the business scenario.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2**', - ], - 'SpaceId' => [ - 'description' => 'The ID of the workspace.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'CreatorNickName' => [ - 'description' => 'The name of the user who creates the workspace.', - 'type' => 'string', - 'example' => 'Creator_Name', - ], - 'DagOwnerNickName' => [ - 'description' => 'The name of the task flow owner.', - 'type' => 'string', - 'example' => 'Owner_Name', - ], - 'CanEdit' => [ - 'description' => 'Indicates whether the task flow can be modified. Valid values:'."\n" - ."\n" - .'- **true**: The task flow can be modified.'."\n" - .'- **false**: The task flow cannot be modified.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Status' => [ - 'description' => 'The status of the task flow. Valid values:'."\n" - ."\n" - .'- **0**: invalid'."\n" - .'- **1**: scheduling disabled'."\n" - .'- **2**: waiting to be scheduled', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'LatestInstanceStatus' => [ - 'description' => 'The status of the latest execution. Valid values:'."\n" - ."\n" - .'- 0: invalid'."\n" - .'- 1: scheduling disabled'."\n" - .'- 2: waiting to be scheduled', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'LatestInstanceTime' => [ - 'description' => 'The time when the latest execution record was generated.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2022-04-14', - ], - 'DagName' => [ - 'description' => 'The name of the task flow.', - 'type' => 'string', - 'example' => 'Dag_Name', - ], - 'DagOwnerId' => [ - 'description' => 'The user ID of the task flow owner.', - 'type' => 'string', - 'example' => '51****', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '48602B78-0DDF-414C-8688-70CAB6070115', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.', - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'- **true**: The request is successful.'."\n" - .'- **false**: The request fails.', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'C51420E3-144A-4A94-B473-8662FCF4****'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: The request was successful.'."\n" + .'* **false**: The request failed.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the call is successful.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4****\\",\\n \\"Success\\": \\"true\\",\\n \\"Data\\": \\"true\\"\\n}","type":"json"}]', + 'title' => 'UpdateWorkspace', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RawDAGList\\": {\\n \\"Dag\\": [\\n {\\n \\"Id\\": 0,\\n \\"CreatorId\\": \\"51****\\",\\n \\"IsDeleted\\": false,\\n \\"DemoId\\": \\"-\\",\\n \\"DeployId\\": 0,\\n \\"DataFlowId\\": 0,\\n \\"ScenarioId\\": 0,\\n \\"SpaceId\\": 1,\\n \\"CreatorNickName\\": \\"Creator_Name\\",\\n \\"DagOwnerNickName\\": \\"Owner_Name\\",\\n \\"CanEdit\\": true,\\n \\"Status\\": 2,\\n \\"LatestInstanceStatus\\": 0,\\n \\"LatestInstanceTime\\": 0,\\n \\"DagName\\": \\"Dag_Name\\",\\n \\"DagOwnerId\\": \\"51****\\"\\n }\\n ]\\n },\\n \\"ScenarioDAGList\\": {\\n \\"ScenarioDAG\\": [\\n {\\n \\"Scenario\\": {\\n \\"ScenarioName\\": \\"Scenario_2\\",\\n \\"CreatorId\\": \\"51****\\",\\n \\"Description\\": \\"test\\"\\n },\\n \\"DagList\\": {\\n \\"Dag\\": [\\n {\\n \\"Id\\": 0,\\n \\"CreatorId\\": \\"51****\\",\\n \\"IsDeleted\\": false,\\n \\"DemoId\\": \\"-\\",\\n \\"DeployId\\": 0,\\n \\"DataFlowId\\": 0,\\n \\"ScenarioId\\": 0,\\n \\"SpaceId\\": 1,\\n \\"CreatorNickName\\": \\"Creator_Name\\",\\n \\"DagOwnerNickName\\": \\"Owner_Name\\",\\n \\"CanEdit\\": true,\\n \\"Status\\": 1,\\n \\"LatestInstanceStatus\\": 1,\\n \\"LatestInstanceTime\\": 0,\\n \\"DagName\\": \\"Dag_Name\\",\\n \\"DagOwnerId\\": \\"51****\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"RequestId\\": \\"48602B78-0DDF-414C-8688-70CAB6070115\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListLhTaskFlowAndScenarioResponse>\\n <RawDAGList>\\n <CreatorId>51****</CreatorId>\\n <IsDeleted>false</IsDeleted>\\n <DemoId>-</DemoId>\\n <SpaceId>1</SpaceId>\\n <CreatorNickName>Creator_Name</CreatorNickName>\\n <DagOwnerNickName>Owner_Name</DagOwnerNickName>\\n <CanEdit>true</CanEdit>\\n <Status>2</Status>\\n <LatestInstanceStatus>0</LatestInstanceStatus>\\n <DagName>Dag_Name</DagName>\\n <DagOwnerId>51****</DagOwnerId>\\n </RawDAGList>\\n <ScenarioDAGList>\\n <Scenario>\\n <ScenarioName>Scenario_2</ScenarioName>\\n <CreatorId>51****</CreatorId>\\n <Description>test</Description>\\n </Scenario>\\n <DagList>\\n <CreatorId>51****</CreatorId>\\n <IsDeleted>false</IsDeleted>\\n <DemoId>-</DemoId>\\n <SpaceId>1</SpaceId>\\n <CreatorNickName>Creator_Name</CreatorNickName>\\n <DagOwnerNickName>Owner_Name</DagOwnerNickName>\\n <CanEdit>true</CanEdit>\\n <Status>1</Status>\\n <LatestInstanceStatus>1</LatestInstanceStatus>\\n <DagName>Dag_Name</DagName>\\n <DagOwnerId>51****</DagOwnerId>\\n </DagList>\\n </ScenarioDAGList>\\n <RequestId>48602B78-0DDF-414C-8688-70CAB6070115</RequestId>\\n <Success>true</Success>\\n</ListLhTaskFlowAndScenarioResponse>","errorExample":""}]', - 'title' => 'ListLhTaskFlowAndScenario', - 'description' => '* Before you call this operation, make sure that you have the access permissions on the workspace. If you do not have the access permissions on the workspace, you can contact a DMS administrator, database administrator (DBA), or workspace administrator to add you as a member of the workspace. The [AddLhMembers](~~424759~~) operation can be called to add a workspace member.'."\n" - .'* If you are a DMS administrator or a workspace administrator, you can query the business scenarios and task flows related to a user in a workspace based on the user ID.'."\n", ], - 'AddLhMembers' => [ - 'summary' => 'Adds a workspace administrator, a workspace member, or a task flow developer in Data Management (DMS).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateWorkspaceUser' => [ + 'summary' => 'Updates the roles of a user in a workspace.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '131032', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ObjectType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the object. Valid values:'."\n" - ."\n" - .'* **0**: workspace'."\n" - .'* **1**: task flow'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '0', - ], - ], - [ - 'name' => 'ObjectId', + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the object.'."\n" - ."\n" - .'* If the object is a workspace, you can call the [GetLhSpaceByName](~~424379~~) operation to obtain the workspace ID.'."\n" - .'* If the object is a task flow, you can call the [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => '12****'], ], [ - 'name' => 'Members', + 'name' => 'DmsUserId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The information about the users to be added.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'UserId' => [ - 'description' => 'The ID of the user to be added. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to obtain the user ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '15****', - ], - 'Roles' => [ - 'description' => 'The role. Valid values:'."\n" - ."\n" - .'* **ADMIN**: workspace administrator. You can add a workspace administrator only as a DMS administrator or a DBA.'."\n" - .'* **MEMBER**: workspace member.'."\n" - .'* **DEVELOPER**: task flow developer. Only a workspace member can be added as a task flow developer.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ADMIN', - ], - 'required' => true, - 'docRequired' => true, - ], - ], - 'required' => true, - 'docRequired' => true, - ], - 'required' => true, - ], + 'schema' => ['description' => 'The DMS user ID.', 'type' => 'string', 'required' => true, 'example' => '123***', 'title' => ''], ], [ - 'name' => 'Tid', + 'name' => 'RoleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3000', - ], + 'schema' => ['description' => 'One or more workspace role IDs, separated by commas. This parameter takes precedence over the RoleId parameter.><notice>`RoleId` and `RoleIds` cannot both be empty.></notice>', 'type' => 'string', 'required' => true, 'example' => '11,12', 'title' => ''], ], ], 'responses' => [ @@ -48874,4408 +36994,4443 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '31853A2B-DC9D-5B39-8492-D2AC8BCF550E', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'C5B8E84B-42B6-4374-AD5A-6264E1753325'], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => ['description' => 'The result of the operation.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'description' => 'The returned data.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31853A2B-DC9D-5B39-8492-D2AC8BCF550E\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AddLhMembersResponse>\\n <RequestId>31853A2B-DC9D-5B39-8492-D2AC8BCF550E</RequestId>\\n <Success>true</Success>\\n</AddLhMembersResponse>","errorExample":""}]', - 'title' => 'AddLhMembers', - 'description' => 'You must call this operation as a DMS administrator, a database administrator (DBA), or a workspace administrator.'."\n" + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UpdateWorkspaceUser', + 'description' => '## Prerequisites'."\n" ."\n" - .'Usage notes:'."\n" + .'- You have created a VPC.'."\n" ."\n" - .'* Before you call this operation to add a user as a task flow developer, make sure that you have added the user as a workspace member.'."\n" - .'* You cannot call this operation to transfer the ownership of a task flow. To transfer the ownership of a task flow, call the [ChangLhDagOwner](~~424761~~) operation.'."\n" - .'* For more information about workspace roles and permissions, see [Manage permissions on a workspace](~~410893~~).'."\n", + .'- You are logged on to the DMS console with your Alibaba Cloud account (primary account) or a RAM user (sub-account). The account must have the required permissions, and you must have granted the `AliyunDMSProcessingDataRolePolicy` permission to DMS.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'dms', 'title' => '数据管理'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C5B8E84B-42B6-4374-AD5A-6264E1753325\\",\\n \\"Success\\": true,\\n \\"Data\\": true\\n}","type":"json"}]', ], - 'DeleteLhMembers' => [ - 'summary' => 'Removes a workspace member or a task flow developer in Data Management (DMS).', - 'methods' => [ - 'post', - 'get', + ], + 'endpoints' => [ + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-enterprise.cn-shenzhen.aliyuncs.com', 'endpoint' => 'dms-enterprise.cn-shenzhen.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-enterprise.cn-beijing.aliyuncs.com', 'endpoint' => 'dms-enterprise.cn-beijing.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-enterprise.ap-northeast-1.aliyuncs.com', 'endpoint' => 'dms-enterprise.ap-northeast-1.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-enterprise.cn-chengdu.aliyuncs.com', 'endpoint' => 'dms-enterprise.cn-chengdu.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-enterprise.cn-qingdao.aliyuncs.com', 'endpoint' => 'dms-enterprise.cn-qingdao.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-enterprise.cn-shanghai.aliyuncs.com', 'endpoint' => 'dms-enterprise.cn-shanghai.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-enterprise.cn-hongkong.aliyuncs.com', 'endpoint' => 'dms-enterprise.cn-hongkong.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-enterprise.ap-southeast-1.aliyuncs.com', 'endpoint' => 'dms-enterprise.ap-southeast-1.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-enterprise.ap-southeast-3.aliyuncs.com', 'endpoint' => 'dms-enterprise.ap-southeast-3.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-enterprise.cn-huhehaote.aliyuncs.com', 'endpoint' => 'dms-enterprise.cn-huhehaote.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-enterprise.ap-southeast-5.aliyuncs.com', 'endpoint' => 'dms-enterprise.ap-southeast-5.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-enterprise.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'dms-enterprise.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-enterprise.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dms-enterprise.cn-hangzhou.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dms-enterprise.us-west-1.aliyuncs.com', 'endpoint' => 'dms-enterprise.us-west-1.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dms-enterprise.us-east-1.aliyuncs.com', 'endpoint' => 'dms-enterprise.us-east-1.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dms-enterprise.eu-central-1.aliyuncs.com', 'endpoint' => 'dms-enterprise.eu-central-1.aliyuncs.com', 'vpc' => 'dms-enterprise-vpc.eu-central-1.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'DMS.MLOPS.PRECHECK_FAILED-44106', 'message' => 'ResourceType PGSQL, PreCheck failed, Reason: Resource Not Found, or Not Belong To Workspace VPC.', 'http_code' => 403, 'description' => 'The selected PostgreSQL resource is not in the DMS managed instance list or does not belong to the currently selected workspace VPC.'], + ['code' => 'DMS.MLOPS.PRECHECK_FAILED-44110', 'message' => 'ResourceType REDIS, PreCheck failed, Reason: Resource Not Found, or Not Belong To Workspace VPC.', 'http_code' => 403, 'description' => 'The selected Redis resource is not in the DMS managed instance list or does not belong to the selected workspace VPC.'], + ['code' => 'DMS.MLOPS.PRECHECK_FAILED-44115', 'message' => 'ResourceType ADB-PG, PreCheck failed, Reason: Resource Not Found, or Not Belong To Workspace VPC.', 'http_code' => 403, 'description' => 'The selected AnalyticDB For PostgreSQL resource is not in the DMS managed instance list or does not belong to the currently selected workspace VPC.'], + ['code' => 'DMS.MLOPS.PRECHECK_FAILED-49120', 'message' => 'ResourceType DMS-WORKSPACE, PreCheck failed, Reason: Conflict on Creating Already Exists Resource.', 'http_code' => 403, 'description' => 'The workspace name you entered already exists. The workspace name is globally unique. Make sure that you enter an unused workspace name.'], + ['code' => 'DMS.MLOPS.RESOURCE_DOES_NOT_EXIST', 'message' => 'Resource not exist.', 'http_code' => 403, 'description' => 'The instance resource does not exist.'], + ['code' => 'Forbidden.RAM', 'message' => 'You are not authorized to perform this operation by RAM.', 'http_code' => 403, 'description' => 'User does not have permission to operate, RAM permission is missing'], + ['code' => 'InstanceExisted', 'message' => 'The specified instance already exists.', 'http_code' => 403, 'description' => ''], + ['code' => 'InstanceNoEnoughNumber', 'message' => 'The maximum number of instances allowed for the enterprise is exceeded.', 'http_code' => 403, 'description' => ''], + ['code' => 'InstanceNotExist', 'message' => 'The specified instance does not exist.', 'http_code' => 404, 'description' => 'The specified instance does not exist.'], + ['code' => 'InternalError', 'message' => 'Internal server error.', 'http_code' => 500, 'description' => ''], + ['code' => 'InvalidParameterValid', 'message' => 'The specified request parameter is invalid.', 'http_code' => 403, 'description' => ''], + ['code' => 'NoPermission', 'message' => 'You are not authorized to perform this operation.', 'http_code' => 403, 'description' => ''], + ['code' => 'NotSupportYet', 'message' => 'This feature is not supported.', 'http_code' => 403, 'description' => ''], + ['code' => 'SecurityRuleNotExist', 'message' => 'The specified security rule does not exist.', 'http_code' => 404, 'description' => ''], + ['code' => 'TenantExpired', 'message' => 'The tenant has expired.', 'http_code' => 404, 'description' => ''], + ['code' => 'TenantNotExist', 'message' => 'The specified tenant does not exist.', 'http_code' => 404, 'description' => ''], + ['code' => 'TenantStatusIllegal', 'message' => 'The tenant status is invalid.', 'http_code' => 404, 'description' => ''], + ['code' => 'UserExisted', 'message' => 'The specified user already exists.', 'http_code' => 403, 'description' => ''], + ['code' => 'UserNoEnoughNumber', 'message' => 'The maximum number of users allowed for the enterprise is exceeded.', 'http_code' => 403, 'description' => ''], + ['code' => 'UserNotExist', 'message' => 'The specified user does not exist in DMS, Please contact Admin to add your account UID into DMS.', 'http_code' => 404, 'description' => 'The account used to call the API operation does not exist in DMS. Contact the administrator to add the UID of the account to DMS.'], + ['code' => 'UserStatusIllegal', 'message' => 'The user status is invalid.', 'http_code' => 404, 'description' => ''], + ['code' => 'WorkspaceNotExist', 'message' => 'The specified workspace not exist.', 'http_code' => 404, 'description' => 'The workspace does not exist.'], + ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatabaseUserPermssions'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUsers'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GrantUserPermission'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSensitiveDataAuditLog'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMetaTableDetailInfo'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataExportPreCheckDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserPermissions'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProxy'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAbacPolicy'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDesensitizationRule'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLogicDatabase'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataCorrectRollbackFile'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishAndDeployTaskFlow'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskName'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetStructSyncJobDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskFlowEdges'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeColumnSecurityLevel'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchDatabase'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataArchiveCount'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSensitivityLevel'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateStandardGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RetryDataCorrectPreCheck'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteScript'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDBTaskSQLJobDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskFlowsByPage'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTableDesignProjectInfo'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserActiveTenant'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataExportDownloadURL'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDbExportDownloadURL'], + ['threshold' => '1', 'countWindow' => 3600, 'regionId' => '*', 'api' => 'ReRunTaskFlowInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskFlowCooperators'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTasksInTaskFlow'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchTable'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PauseDataExportJob'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApproveOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProcCorrectOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTaskFlow'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLakeHouseSpace'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataCorrectTaskDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataCronClearConfig'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDatabaseExportOrderDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLhSpaceByName'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAbacAuthorization'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddInstance'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SyncInstanceMeta'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLakeHouseSpace'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GrantTemplateAuthority'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSQLReviewOptimizeDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetClassificationTemplate'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateStructSyncOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskFlowOwner'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SkipDataCorrectRowCheck'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateScenario'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListWorkFlowNodes'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RestartDataCorrectSQLJob'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAuthorityTemplate'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDesensitizationRule'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAuthorityTemplate'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDataImportSQLPreCheckDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEffectiveOrders'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskFlowTimeVariables'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataArchiveOrderDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskFlowSchedule'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RevokeTemplateAuthority'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAuthorityTemplate'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataExportOrderDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstances'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataTrackOrderDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSQLReviewCheckResultStatus'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskFlowEdgesByCondition'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskFlowNameAndDesc'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLhTaskFlowAndScenario'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskFlowInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskContent'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUser'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProxySQLExecAuditLog'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RevokeUserPermission'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditLogicDatabase'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPagedInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTableDesignProjectFlow'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListClassificationTemplates'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableUser'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetApprovalDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskFlowCooperators'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSQLReviewOriginSQL'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOnlineDDLProgress'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAuthorityTemplate'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRuleNumLimitOfSLA'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDataCronClearOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProxyAccesses'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePublishGroupTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InspectProxyAccessSecret'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'OfflineTaskFlow'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDBTaskSQLJobLog'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstanceUserPermissions'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOpLog'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDBTaskSQLJob'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskFlowNotification'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataCronClearTaskDetailList'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchDataTrackResult'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataImportSQL'], + ['threshold' => '25', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUploadFileJob'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProxy'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLogicDatabases'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskFlow'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListOrders'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskFlowRelations'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskOutput'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAbacPolicies'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDatabaseExportOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListScenarios'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetOwners'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTaskFlowEdgesByCondition'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataCorrectBackupFiles'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLogicDatabase'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDataCorrectPreCheckSQL'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReDeployLhDagVersion'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteDataCorrect'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDataCorrectPreCheckDB'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PreviewWorkflow'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSLARules'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLogicDatabase'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOrderAttachmentFile'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAbacPolicy'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDAGVersions'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAbacAuthorizations'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSensitiveColumnsDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SuspendDataExportJob'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDataExportOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDataTrackResultDownloadStatus'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitStructSyncOrderApproval'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopTaskFlowInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTaskInstanceRelation'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSensitiveColumns'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitOrderApproval'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSLARules'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIntervalLimitOfSLA'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFreeLockCorrectOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RestartDataExportJob'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveDataExportJob'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskFlowConstants'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BackFill'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDDLPublishRecords'], + ['threshold' => '30', 'countWindow' => 15, 'regionId' => '*', 'api' => 'GenerateSqlFromNL'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SyncDatabaseMeta'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLhMembers'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMetaTableColumn'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeColumnSecLevel'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetStandardGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSensitiveColumnInfo'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProxyAccess'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RegisterUser'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPermApplyOrderDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLogicTableRouteConfig'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLogicTables'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDatabase'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskFlowConstants'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SuspendTaskFlowInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTaskFlow'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataTrackJobDegree'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateStandardGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProxyAccess'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CloseOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDesensitizationStrategy'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDataCorrectExecSQL'], + ['threshold' => '5', 'countWindow' => 15, 'regionId' => '*', 'api' => 'AnswerSqlSyntaxByMetaAgent'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddLogicTableRouteConfig'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataTrackJobTableMeta'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskTimeVariables'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteDataExport'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RegisterInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddTaskFlowEdges'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListStandardGroups'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProxies'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetStructSyncOrderDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAuthorityTemplateItem'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUser'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPhysicalDatabase'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetStructSyncExecSqlDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PauseDataCorrectSQLJob'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTableDBTopology'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeLhDagOwner'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DownloadDataTrackResult'], + ['threshold' => '15', 'countWindow' => 86400, 'regionId' => '*', 'api' => 'CreateDataArchiveOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataCorrectSQLFile'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProxyAccess'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatabases'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskConfig'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListWorkFlowTemplates'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAuthorityTemplate'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserUploadFileJob'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAbacPolicy'], + ['threshold' => '5', 'countWindow' => 15, 'regionId' => '*', 'api' => 'FixSqlByMetaAgent'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProxy'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUploadOSSFileJob'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResumeTaskFlowInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDBTopology'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteStructSync'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataCorrectOrderDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListColumns'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableUser'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAbacAuthorization'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateInstance'], + ['threshold' => '5', 'countWindow' => 15, 'regionId' => '*', 'api' => 'ChatWithDesensitize'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAbacPolicy'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskFlowTimeVariables'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetInstance'], + ['threshold' => '5', 'countWindow' => 15, 'regionId' => '*', 'api' => 'OptimizeSqlByMetaAgent'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstanceLoginAuditLog'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIndexes'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTableTopology'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RefundPayAsYouGoOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOwnerApplyOrderDetail'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateScenario'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUser'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetStructSyncJobAnalyzeResult'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteStandardGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddLhMembers'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDefaultSLARules'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'MoveTaskFlowToScenario'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteScenario'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDataImportOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTaskFlowGraph'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDataTrackOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSQLReviewOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTaskFlowNotification'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOrderBaseInfo'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserTenants'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDataCorrectOrder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTables'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'MakeTaskFlowInstanceSuccess'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLogicTableRouteConfig'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDataImportSQLType'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSQLExecAuditLog'], + ], + 'product' => ['code' => 'dms', 'title' => 'dms-enterprise'], + ], + 'ram' => [ + 'productCode' => 'DMSEnterprise', + 'productName' => 'Data Management', + 'ramCodes' => ['dms', 'dms-console'], + 'ramLevel' => 'OPERATION', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'AnswerSqlSyntaxByMetaAgent', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:AnswerSqlSyntaxByMetaAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DeleteAuthorityTemplate', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteAuthorityTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'RetryDataCorrectPreCheck', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:RetryDataCorrectPreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '130999', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', + [ + 'apiName' => 'ListLogicTableRouteConfig', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListLogicTableRouteConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'ObjectType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the object. Valid values:'."\n" - ."\n" - .'* **0**: workspace'."\n" - .'* **1**: task flow'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', + [ + 'apiName' => 'GetStandardGroup', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetStandardGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ObjectId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the object.'."\n" - ."\n" - .'* If the object is a workspace, you can call the [GetLhSpaceByName](~~424379~~) operation to obtain the workspace ID.'."\n" - .'* If the object is a task flow, you can call the [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '9***', + ], + [ + 'apiName' => 'ListTaskFlow', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'MemberIds', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The ID of the user to be removed. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to obtain the user ID.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '[50****,51****]', - ], - 'required' => true, - 'docRequired' => true, - 'maxItems' => 50, - 'minItems' => 1, + ], + [ + 'apiName' => 'ListAuthorizedDatabasesForUser', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ListAuthorizedDatabasesForUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + ], + [ + 'apiName' => 'ReDeployLhDagVersion', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ReDeployLhDagVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F1C78D32-1AFD-58AD-9DD2-C8A0896969DD', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'ListUserPermissions', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListUserPermissions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F1C78D32-1AFD-58AD-9DD2-C8A0896969DD\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteLhMembersResponse>\\n <RequestId>F1C78D32-1AFD-58AD-9DD2-C8A0896969DD</RequestId>\\n <Success>true</Success>\\n</DeleteLhMembersResponse>","errorExample":""}]', - 'title' => 'DeleteLhMembers', - 'description' => 'You must call this operation as a DMS administrator, a database administrator (DBA), or a workspace administrator.'."\n" - ."\n" - .'You cannot call this operation to transfer the ownership of a task flow. To transfer the ownership of a task flow, call the [ChangLhDagOwner](~~424761~~) operation.'."\n", - ], - 'ChangeLhDagOwner' => [ - 'summary' => 'Transfers the ownership of a task flow in a workspace of Data Management (DMS).', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'ApproveOrder', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ApproveOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ListSensitiveColumnInfo', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSensitiveColumnInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreateUploadFileJob', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateUploadFileJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'UpdateUser', + 'description' => '', 'operationType' => 'update', - 'abilityTreeCode' => '131459', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', + 'ramAction' => [ + 'action' => 'dms:UpdateUser', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'DagId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task flow. You can call the [ListLhTaskFlowAndScenario](~~426672~~) operation to obtain the task flow ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '9***', + [ + 'apiName' => 'ListSQLExecAuditLog', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSQLExecAuditLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'OwnerUserId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the user to be specified as the new owner of the task flow. You can call the [ListUsers](~~141938~~) or [GetUser](~~147098~~) operation to obtain the user ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '50****', + ], + [ + 'apiName' => 'RegisterInstance', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:RegisterInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + ], + [ + 'apiName' => 'GetPermApplyOrderDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetPermApplyOrderDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9997630E-1993-5E6D-9DF1-4EFEE755FE31', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => '403', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'GetOrderBaseInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetOrderBaseInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9997630E-1993-5E6D-9DF1-4EFEE755FE31\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ChangeLhDagOwnerResponse>\\n <RequestId>9997630E-1993-5E6D-9DF1-4EFEE755FE31</RequestId>\\n <Success>true</Success>\\n</ChangeLhDagOwnerResponse>","errorExample":""}]', - 'title' => 'ChangeLhDagOwner', - 'description' => 'Usage notes:'."\n" - ."\n" - .'* If you call this operation to transfer the ownership of a published task flow, the ownership transfer does not take effect.'."\n" - .'* You can call the [ReDeployLhDagVersion](~~424712~~) operation to redeploy a published version of a task flow.'."\n", - ], - 'ListEffectiveOrders' => [ - 'summary' => 'Queries valid orders.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'GetOpLog', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetOpLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'GetStructSyncExecSqlDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetStructSyncExecSqlDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'RegisterUser', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:RegisterUser', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ListDataCorrectPreCheckSQL', + 'description' => '', 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDataCorrectPreCheckSQL', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> : To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + [ + 'apiName' => 'ListColumns', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListColumns', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A8FE12AA-300D-5FDF-806F-C2CB99161F32', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'OrderSummary' => [ - 'description' => 'The information about orders.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CommodityCode' => [ - 'title' => 'DMS的商品Code'."\n" - .'- 中国站:dms_pre_public_cn(包年包月)、dms_post_public_cn(按量付费)'."\n" - .'- 国际站:dms_pre_public_intl(包年包月)、dms_post_public_intl(按量付费)', - 'description' => 'The commodity code of DMS.'."\n" - ."\n" - .'* dms_pre_public_cn: DMS that uses the subscription billing method'."\n" - .'* dms_post_public_cn: DMS that uses the pay-as-you-go billing method'."\n", - 'type' => 'string', - 'example' => 'dms_pre_public_cn'."\n", - ], - 'CommodityType' => [ - 'title' => '商品类型'."\n" - .'- versionType:管控模式'."\n" - .'- SensitiveDataProtection:敏感数据保护', - 'description' => 'The type of the service.'."\n" - ."\n" - .'* **VersionType**: DMS that supports control modes'."\n" - .'* **SensitiveDataProtection**: DMS that supports sensitive data protection'."\n", - 'type' => 'string', - 'example' => 'VersionType', - ], - 'VersionType' => [ - 'title' => '商品类型为管控模式时(CommodityType = versionType ),区分管控模式的类型:'."\n" - .'- stand:稳定变更'."\n" - .'- safety:安全协同', - 'description' => 'The control mode of DMS. Valid values:'."\n" - ."\n" - .'* **stand**: Stable Change'."\n" - .'* **safety**: Security Collaboration'."\n", - 'type' => 'string', - 'example' => 'safety', - ], - 'TotalQuota' => [ - 'title' => 'OrderList订单明细额度总和', - 'description' => 'The sum of the number of instances that you can use DMS to manage in all orders.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'OrderList' => [ - 'title' => '订单明细', - 'description' => 'Details about the orders.'."\n", - 'type' => 'array', - 'items' => [ - 'title' => '订单', - 'description' => 'The order.'."\n", - 'type' => 'object', - 'properties' => [ - 'OrderId' => [ - 'title' => '购买订单ID', - 'description' => 'The ID of the order.'."\n", - 'type' => 'string', - 'example' => '2190037****', - ], - 'BuyerId' => [ - 'title' => '购买用户UID', - 'description' => 'The UID of the user who placed the order.'."\n", - 'type' => 'string', - 'example' => '2698420314****', - ], - 'InstanceId' => [ - 'title' => '购买商品实例ID', - 'description' => 'The ID of the instance for the purchased service.'."\n", - 'type' => 'string', - 'example' => 'rm-bp1xd1v866****', - ], - 'StartTime' => [ - 'title' => '订单开始时间', - 'description' => 'The time when the instance is started.'."\n", - 'type' => 'string', - 'example' => '2022-10-24 00:00:00', - ], - 'EndTime' => [ - 'title' => '订单到期时间', - 'description' => 'The time when the instance expires.'."\n", - 'type' => 'string', - 'example' => '2022-11-24 00:00:00', - ], - 'InsNum' => [ - 'title' => '订单购买规格', - 'description' => 'The maximum number of database instances that you can use DMS to manage.'."\n", - 'type' => 'string', - 'example' => '7', - ], - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'GetStructSyncJobAnalyzeResult', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetStructSyncJobAnalyzeResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A8FE12AA-300D-5FDF-806F-C2CB99161F32\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"OrderSummary\\": [\\n {\\n \\"CommodityCode\\": \\"包年包月\\",\\n \\"CommodityType\\": \\"VersionType\\",\\n \\"VersionType\\": \\"safety\\",\\n \\"TotalQuota\\": 12,\\n \\"OrderList\\": [\\n {\\n \\"OrderId\\": \\"2190037****\\",\\n \\"BuyerId\\": \\"2698420314****\\",\\n \\"InstanceId\\": \\"rm-bp1xd1v866****\\",\\n \\"StartTime\\": \\"2022-10-24 00:00:00\\",\\n \\"EndTime\\": \\"2022-11-24 00:00:00\\",\\n \\"InsNum\\": \\"7\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListEffectiveOrdersResponse>\\n <RequestId>A8FE12AA-300D-5FDF-806F-C2CB99161F32</RequestId>\\n <Success>true</Success>\\n <OrderSummary>\\n <CommodityCode>包年包月</CommodityCode>\\n <CommodityType>VersionType</CommodityType>\\n <VersionType>safety</VersionType>\\n <TotalQuota>12</TotalQuota>\\n <OrderList>\\n <OrderId>2190037****</OrderId>\\n <BuyerId>2698420314****</BuyerId>\\n <InstanceId>rm-bp1xd1v866****</InstanceId>\\n <StartTime>2022-10-24 00:00:00</StartTime>\\n <EndTime>2022-11-24 00:00:00</EndTime>\\n <InsNum>7</InsNum>\\n </OrderList>\\n </OrderSummary>\\n</ListEffectiveOrdersResponse>","errorExample":""}]', - 'title' => 'ListEffectiveOrders', - ], - 'RefundPayAsYouGoOrder' => [ - 'summary' => 'Unsubscribes from a pay-as-you-go Data Management (DMS) resource.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'GetRuleNumLimitOfSLA', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetRuleNumLimitOfSLA', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'GetTableDesignProjectFlow', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTableDesignProjectFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'PublishAndDeployTaskFlow', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:PublishAndDeployTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'SyncDatabaseMeta', + 'description' => '', 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SyncDatabaseMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + [ + 'apiName' => 'MoveTaskFlowToScenario', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:MoveTaskFlowToScenario', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'OrderId', - 'in' => 'query', - 'schema' => [ - 'title' => '购买订单ID,可通过 ListEffectiveOrders 获取,只支持按量付费订单ID', - 'description' => 'The order ID of the order for the pay-as-you-go resource. You can call the ListEffectiveOrders operation to query the order ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2190037****', + ], + [ + 'apiName' => 'RevokeUserPermission', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:RevokeUserPermission', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'title' => '售卖订单的实例ID', - 'description' => 'The instance ID in the sales order.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'dms_pre_public_intl-sg-vf****', + ], + [ + 'apiName' => 'CreateForecastAgent', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateForecastAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - ], + [ + 'apiName' => 'GetDBTaskSQLJobLog', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDBTaskSQLJobLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","errorExample":""},{"type":"xml","example":"<RefundPayAsYouGoOrderResponse>\\n <RequestId>C51420E3-144A-4A94-B473-8662FCF4AD10</RequestId>\\n <Success>true</Success>\\n</RefundPayAsYouGoOrderResponse>","errorExample":""}]', - 'title' => 'RefundPayAsYouGoOrder', - ], - 'BuyPayAsYouGoOrder' => [ - 'summary' => 'Purchases a pay-as-you-go Data Management (DMS) resource.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'AddTaskFlowEdges', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:AddTaskFlowEdges', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'SetOwners', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SetOwners', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreateScenario', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateScenario', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'GrantUserPermission', + 'description' => '', 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:GrantUserPermission', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see [View information about the current tenant](~~181330~~).', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + [ + 'apiName' => 'ListDataLakePartition', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakePartition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'CommodityType', - 'in' => 'query', - 'schema' => [ - 'title' => '商品类型'."\n" - .'- versionType:管控模式'."\n" - .'- SensitiveDataProtection:敏感数据保护', - 'description' => 'The type of the resource that you want to purchase.'."\n" - ."\n" - .'* **VersionType**: DMS that supports control modes'."\n" - .'* **SensitiveDataProtection**: DMS that supports sensitive data protection'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'SensitiveDataProtection', + ], + [ + 'apiName' => 'ListMetaCategory', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListMetaCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InsNum', - 'in' => 'query', - 'schema' => [ - 'title' => '购买额度(一个额度可用于一个数据库实例)', - 'description' => 'The number of database instances that you want to use DMS to manage.'."\n" - ."\n" - .'> A quota can be used for only one database instance.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '7', + ], + [ + 'apiName' => 'GetLhSpaceByName', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetLhSpaceByName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'VersionType', - 'in' => 'query', - 'schema' => [ - 'title' => '购买管控模式时(CommodityType = versionType ),区分管控模式的类型:'."\n" - .'- stand:稳定变更'."\n" - .'- safety:安全协同', - 'description' => 'The control mode of DMS. Valid values:'."\n" - ."\n" - .'* **stand**: Stable Change'."\n" - .'* **safety**: Security Collaboration'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'stand', + ], + [ + 'apiName' => 'ListProxySQLExecAuditLog', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListProxySQLExecAuditLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'InstanceId' => [ - 'title' => '购买成功后,返回购买的订单实例ID', - 'description' => 'If the purchase is successful, the ID of the purchased instance is returned.'."\n", - 'type' => 'string', - 'example' => 'dms_pre_public_cn-nif23l****', - ], - ], + [ + 'apiName' => 'ListTaskFlowConstants', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlowConstants', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"InstanceId\\": \\"dms_pre_public_cn-nif23l****\\"\\n}","errorExample":""},{"type":"xml","example":"<BuyPayAsYouGoOrderResponse>\\n <RequestId>C51420E3-144A-4A94-B473-8662FCF4AD10</RequestId>\\n <Success>true</Success>\\n <InstanceId>dms_pre_public_cn-nif23l****</InstanceId>\\n</BuyPayAsYouGoOrderResponse>","errorExample":""}]', - 'title' => 'BuyPayAsYouGoOrder', - ], - 'CreateMetaCategory' => [ - 'summary' => 'Create Asset Category', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'GetAbacPolicy', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetAbacPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'GetProxyAccess', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetProxyAccess', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListAuthorizedUsersForDatabase', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ListAuthorizedUsersForDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', + [ + 'apiName' => 'GetDataExportPreCheckDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataExportPreCheckDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + [ + 'apiName' => 'PauseDataCorrectSQLJob', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:PauseDataCorrectSQLJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the category.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', + ], + [ + 'apiName' => 'TryRunTaskFlow', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:TryRunTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ParentCategoryId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the parent category. The new category is created under this parent category. If this value is left empty, the new category is of the first level.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '30000322682', + ], + [ + 'apiName' => 'DeleteWorkspace', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', + ], + [ + 'apiName' => 'GetDbExportDownloadURL', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDbExportDownloadURL', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Remark', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', + ], + [ + 'apiName' => 'ListDataLakeFunctionName', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeFunctionName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'OwnerIds', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + ], + [ + 'apiName' => 'UpdateTaskFlowRelations', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowRelations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '207176D7-A9B3-55CE-A9DA-14E223A31913', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Category' => [ - 'description' => 'The information about the category.'."\n", - '$ref' => '#/components/schemas/MetaCategory', - ], - ], - 'description' => '', + [ + 'apiName' => 'ChangeColumnSecurityLevel', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ChangeColumnSecurityLevel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DeleteLogicTableRouteConfig', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteLogicTableRouteConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"207176D7-A9B3-55CE-A9DA-14E223A31913\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Category\\": {\\n \\"CategoryId\\": 0,\\n \\"Name\\": \\"\\",\\n \\"Depth\\": 0,\\n \\"ParentCategoryId\\": 0,\\n \\"CreateTime\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"OwnerIds\\": {\\n \\"undefined\\": [\\n 0\\n ]\\n },\\n \\"OwnerNickNames\\": {\\n \\"undefined\\": [\\n \\"\\"\\n ]\\n }\\n }\\n}","type":"json"}]', - 'title' => 'CreateMetaCategory', - ], - 'ListMetaCategory' => [ - 'summary' => 'Queries a list of categories', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'RemoveDataExportJob', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:RemoveDataExportJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'GetTableInstructions', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetTableInstructions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdateStandardGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateStandardGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', + [ + 'apiName' => 'UpdateScenario', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateScenario', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + [ + 'apiName' => 'SearchDataTrackResult', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:SearchDataTrackResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ParentCategoryId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The parent category ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '30000322682', + ], + [ + 'apiName' => 'CreateAuthorityTemplate', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateAuthorityTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. Pages start from page 1.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '1', - 'example' => '1', + ], + [ + 'apiName' => 'ListTableColumns', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListTableColumns', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '1000', - 'example' => '50', + ], + [ + 'apiName' => 'ListDBTaskSQLJob', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDBTaskSQLJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request fails.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the call was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'CategoryList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'MetaCategory' => [ - 'description' => 'The list of categories.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the category.'."\n", - '$ref' => '#/components/schemas/MetaCategory', - ], - ], - ], - ], - ], - 'description' => '', + [ + 'apiName' => 'UpdateDataLakeTable', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateDataLakeTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ListAuthorityTemplate', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListAuthorityTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 1,\\n \\"CategoryList\\": {\\n \\"MetaCategory\\": [\\n {\\n \\"CategoryId\\": 0,\\n \\"Name\\": \\"\\",\\n \\"Depth\\": 0,\\n \\"ParentCategoryId\\": 0,\\n \\"CreateTime\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"OwnerIds\\": {\\n \\"undefined\\": [\\n 0\\n ]\\n },\\n \\"OwnerNickNames\\": {\\n \\"undefined\\": [\\n \\"\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => 'ListMetaCategory', - ], - 'UpdateMetaCategory' => [ - 'summary' => 'Updates asset category information.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DeleteStandardGroup', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteStandardGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'CreateAbacAuthorization', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateAbacAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteLhMembers', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteLhMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', + [ + 'apiName' => 'GetForecastAgentInstance', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetForecastAgentInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '23****', + [ + 'apiName' => 'ListAbacPolicies', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ListAbacPolicies', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'CategoryId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The category ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30000181325', + ], + [ + 'apiName' => 'ListTablesInCategory', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListTablesInCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => 'The updated name of the category.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', + ], + [ + 'apiName' => 'GetDataExportDownloadURL', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataExportDownloadURL', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', + ], + [ + 'apiName' => 'ListClassificationTemplates', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListClassificationTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Remark', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', + ], + [ + 'apiName' => 'ListUserTenants', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListUserTenants', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'OwnerIds', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + ], + [ + 'apiName' => 'ListWorkFlowNodes', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListWorkFlowNodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Category' => [ - 'description' => 'The information about the category.'."\n", - '$ref' => '#/components/schemas/MetaCategory', - ], - ], - 'description' => '', + [ + 'apiName' => 'ExecuteDataCorrect', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ExecuteDataCorrect', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'CreateInventoryJob', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:CreateInventoryJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Category\\": {\\n \\"CategoryId\\": 0,\\n \\"Name\\": \\"\\",\\n \\"Depth\\": 0,\\n \\"ParentCategoryId\\": 0,\\n \\"CreateTime\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"OwnerIds\\": {\\n \\"undefined\\": [\\n 0\\n ]\\n },\\n \\"OwnerNickNames\\": {\\n \\"undefined\\": [\\n \\"\\"\\n ]\\n }\\n }\\n}","type":"json"}]', - 'title' => 'UpdateMetaCategory', - ], - 'DeleteMetaCategory' => [ - 'summary' => 'Deletes an asset category.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'UpdateTaskContent', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskContent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'GetPagedInstance', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetPagedInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListScenarios', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListScenarios', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', + [ + 'apiName' => 'ChangeLhDagOwner', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ChangeLhDagOwner', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + [ + 'apiName' => 'UpdateSLARules', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateSLARules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'CategoryId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The category ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30000235594', + ], + [ + 'apiName' => 'ListSQLReviewOriginSQL', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSQLReviewOriginSQL', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', + [ + 'apiName' => 'ListSensitiveColumnsDetail', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSensitiveColumnsDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ListInstanceUserPermissions', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListInstanceUserPermissions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'DeleteMetaCategory', - ], - 'ListTablesInCategory' => [ - 'summary' => 'Obtains the list of tables in a category.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'GetDatabaseExportOrderDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDatabaseExportOrderDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'CreateLogicDatabase', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateLogicDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreateMetaCategory', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateMetaCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', + [ + 'apiName' => 'CreateDataImportOrder', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataImportOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + [ + 'apiName' => 'GetTableKnowledgeDetails', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetTableKnowledgeDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'CategoryId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The category ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30000235593', + ], + [ + 'apiName' => 'UpdateDataLakeFunction', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:UpdateDataLakeFunction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '1', - 'example' => '1', + ], + [ + 'apiName' => 'DeleteDataLakeDatabase', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteDataLakeDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '100', - 'example' => '20', + ], + [ + 'apiName' => 'BatchDeleteDataLakePartitions', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:BatchDeleteDataLakePartitions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request succeeded.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'EntityList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'MetaCategoryTableEntity' => [ - 'description' => 'List of table information associated with the asset category.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The table information associated with the specified asset category.'."\n", - '$ref' => '#/components/schemas/MetaCategoryTableEntity', - ], - ], - ], - ], - ], - 'description' => '', + [ + 'apiName' => 'ExecuteDataExport', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ExecuteDataExport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ListTables', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 1,\\n \\"EntityList\\": {\\n \\"MetaCategoryTableEntity\\": [\\n {\\n \\"CategoryId\\": 0,\\n \\"TableName\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"InstanceId\\": 0,\\n \\"TableSchemaName\\": \\"\\",\\n \\"DbId\\": 0,\\n \\"CatalogName\\": \\"\\",\\n \\"DatabaseSearchName\\": \\"\\",\\n \\"SchemaName\\": \\"\\",\\n \\"DbType\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => 'ListTablesInCategory', - ], - 'AddTableToCategory' => [ - 'summary' => 'Add a table to an asset category.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'ListDataLakeTableName', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeTableName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'CreateDataCorrectOrder', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataCorrectOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdateAuthorityTemplate', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateAuthorityTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'BackFill', + 'description' => '', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', + 'ramAction' => [ + 'action' => 'dms:BackFill', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID. You can call the [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + [ + 'apiName' => 'AddAuthorityTemplateItems', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:AddAuthorityTemplateItems', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'CategoryId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the associated category.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30000254257', + ], + [ + 'apiName' => 'ListTasksInTaskFlow', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTasksInTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'DbId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of a physical database: You can call the [ListDatabases](~~141873~~) or [SearchDatabase](~~141876~~) operation to obtain the physical database ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1930****', + ], + [ + 'apiName' => 'UpdateTaskFlowNameAndDesc', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowNameAndDesc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table. You can call the [ListTables](~~141878~~) operation to query the table name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'table_name', + ], + [ + 'apiName' => 'UpdateMetaCategory', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateMetaCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TableSchemaName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The schema name of the table, which is required only for SQL Server instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dbo', + ], + [ + 'apiName' => 'ListDataLakeDatabase', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C51420E3-144A-4A94-B473-8662FCF4AD10', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', + [ + 'apiName' => 'BatchUpdateDataLakePartitions', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:BatchUpdateDataLakePartitions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'GetDataTrackJobTableMeta', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetDataTrackJobTableMeta', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4AD10\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'AddTableToCategory', - ], - 'RemoveTableFromCategory' => [ - 'summary' => 'Removes table from the asset category.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'GetDataTrackOrderDetail', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetDataTrackOrderDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'ListDataLakeFunction', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeFunction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListLogicDatabases', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListLogicDatabases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'AddTableToCategory', + 'description' => '', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsKIHNZQ', + 'ramAction' => [ + 'action' => 'dms:AddTableToCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3****', + [ + 'apiName' => 'ListAuthorizedInstancesForUser', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ListAuthorizedInstancesForUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'CategoryId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The category ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30000235594', + ], + [ + 'apiName' => 'GetMetaTableDetailInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetMetaTableDetailInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'DbId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The database ID. You can call the [ListDatabases](~~141873~~) operation to query the ID of a physical database and the [ListLogicDatabases](~~141874~~) operation to query the ID of a logical database.'."\n" - ."\n" - .'> The value of DatabaseId is that of DbId.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '43153', + ], + [ + 'apiName' => 'DisableUser', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:DisableUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The table name.'."\n" - ."\n" - .'> You can also call the [ListTables](~~141878~~) operation to query the table name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_table', + ], + [ + 'apiName' => 'SearchInventoryKnowledge', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:SearchInventoryKnowledge', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TableSchemaName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The schema name of the table, which is required only for SQL Server instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dbo', + ], + [ + 'apiName' => 'UpdateTaskFlowEdges', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowEdges', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '19DA51A9-AC3E-5C36-8351-07EBCD2B89A1', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the call failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', + [ + 'apiName' => 'EditLogicDatabase', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:EditLogicDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ExecuteStructSync', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ExecuteStructSync', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"19DA51A9-AC3E-5C36-8351-07EBCD2B89A1\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'RemoveTableFromCategory', - ], - 'AnalyzeSQLLineage' => [ - 'summary' => 'Analyzes the lineage (dependencies and influence) between tables and between fields in SQL statements.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'SearchTableKnowledge', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:SearchTableKnowledge', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ReRunTaskFlowInstance', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ReRunTaskFlowInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CheckInventoryJob', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:CheckInventoryJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'GetTableDesignProjectInfo', + 'description' => '', 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTableDesignProjectInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'DbId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The database ID.'."\n" - ."\n" - .'> You can call one of the [SearchDatabase](~~141876~~), [ListDatabases](~~141873~~), and [GetDatabase](~~141869~~) operations to obtain the database ID provided in the DatabaseId response parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '123***', + [ + 'apiName' => 'CreateDataLakeTable', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataLakeTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'SqlContent', - 'in' => 'query', - 'schema' => [ - 'description' => 'The SQL statement.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'insert into a (id) select id from b;', + ], + [ + 'apiName' => 'CreateProcCorrectOrder', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateProcCorrectOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The tenant ID.'."\n" - ."\n" - .'> To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Manage DMS tenants](~~181330~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '3***', + ], + [ + 'apiName' => 'ListTaskFlowTimeVariables', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlowTimeVariables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B4B07137-F6AE-4756-8474-7F92BB6C4E04', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'LineageResult' => [ - 'description' => 'Returned data set of SQL lineage.'."\n", - 'type' => 'object', - 'properties' => [ - 'Lineages' => [ - 'description' => 'The details about the lineage.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'LineageType' => [ - 'description' => 'The type of the lineage. Valid values:'."\n" - ."\n" - .'* **FIELD_DEPEND_FIELD**: Fields depend on fields.'."\n" - .'* **TABLE_DEPEND_TABLE**: Tables depend on tables.'."\n" - .'* **FIELD_INFLU_TABLE**: Fields influence tables.'."\n" - .'* **FIELD_INFLU_FIELD**: Fields influence fields.'."\n" - .'* **FIELD_INFLU_TABLE**: Tables influence fields.'."\n" - .'* **FIELD_JOIN_FIELD**: Fields are associated with fields.'."\n", - 'type' => 'string', - 'example' => 'FIELD_DEPEND_FIELD', - ], - 'Src' => [ - 'description' => 'The source.'."\n", - 'type' => 'string', - 'example' => 'dmstest.b.id', - ], - 'Dst' => [ - 'description' => 'The target.'."\n", - 'type' => 'string', - 'example' => 'dmstest.a.id', - ], - 'OperType' => [ - 'description' => 'The operation type of the SQL statement in which the data lineage is generated. For example, if the operation type is SELECT, the data lineage is generated from a SELECT statement.'."\n" - ."\n" - .'> This field is an extended field which has no practical use.'."\n", - 'type' => 'string', - 'example' => 'SELECT', - ], - 'ProcessDetail' => [ - 'description' => 'The handling details. This parameter is returned only when LineageType is FIELD_DEPEND_FIELD.'."\n", - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => 'The SQL code snippet for field processing.'."\n", - 'type' => 'string', - 'example' => 'dmstest.b.id', - ], - 'CalWay' => [ - 'description' => 'The calculating method. Valid values:'."\n" - ."\n" - .'* **DIRECT**: No function or expression is used.'."\n" - .'* **EXPR**: A function or expression is used.'."\n", - 'type' => 'string', - 'example' => 'DIRECT', - ], - ], - ], - ], - ], - ], - 'ObjectMetadata' => [ - 'description' => 'The table and field metadata information.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The object name.'."\n", - 'type' => 'string', - 'example' => 'a', - ], - 'Type' => [ - 'description' => 'The object type. Valid values:'."\n" - ."\n" - .'* **TABLE**'."\n" - .'* **VIEW**'."\n" - .'* **TMP_TABLE**'."\n", - 'type' => 'string', - 'example' => 'TABLE', - ], - 'Source' => [ - 'description' => 'The source of metadata. Valid values:'."\n" - ."\n" - .'* **DDL**: The metadata comes from parsed SQL statements or definition of databases and tables collected by DMS.'."\n" - .'* **LINEAGE**: The metadata comes from lineage analysis results.'."\n", - 'type' => 'string', - 'example' => 'DDL', - ], - 'Fields' => [ - 'description' => 'The fields in the metatable.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the field.'."\n", - 'type' => 'string', - 'example' => 'dmstest.a.id', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'GetAuthorityTemplate', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetAuthorityTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4B07137-F6AE-4756-8474-7F92BB6C4E04\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"LineageResult\\": {\\n \\"Lineages\\": [\\n {\\n \\"LineageType\\": \\"FIELD_DEPEND_FIELD\\",\\n \\"Src\\": \\"dmstest.b.id\\",\\n \\"Dst\\": \\"dmstest.a.id\\",\\n \\"OperType\\": \\"SELECT\\",\\n \\"ProcessDetail\\": {\\n \\"Code\\": \\"dmstest.b.id\\",\\n \\"CalWay\\": \\"DIRECT\\"\\n }\\n }\\n ],\\n \\"ObjectMetadata\\": [\\n {\\n \\"Name\\": \\"a\\",\\n \\"Type\\": \\"TABLE\\",\\n \\"Source\\": \\"DDL\\",\\n \\"Fields\\": [\\n {\\n \\"Name\\": \\"dmstest.a.id\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => 'AnalyzeSQLLineage', - 'description' => 'The following conditions must be met before you call this API operation.'."\n" - ."\n" - .'* The database instance is of one of the following types: ApsaraDB RDS for MySQL, PolarDB for MySQL, AnalyticDB for MySQL, ApsaraDB RDS for PostgreSQL, PolarDB for PostgreSQL, AnalyticDB for PostgreSQL, Oracle, and openGauss.'."\n" - .'* A database instance is managed in Security Collaboration mode. For more information about control modes, see [Control modes](~~151629~~).'."\n", - ], - 'CreateWorkspace' => [ - 'summary' => 'Creates a workspace.', - 'path' => '', - 'methods' => [ - 'post', + [ + 'apiName' => 'GetStructSyncOrderDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetStructSyncOrderDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'ListStandardGroups', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListStandardGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListDAGVersions', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDAGVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'CreateDataExportOrder', + 'description' => '', 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', + 'ramAction' => [ + 'action' => 'dms:CreateDataExportOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'WorkspaceName', - 'in' => 'query', - 'schema' => [ - 'title' => '工作空间名字', - 'description' => 'The name of the workspace.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'workspace_xxx', - 'minLength' => 1, + [ + 'apiName' => 'GetDataCronClearConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCronClearConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'title' => '工作空间描述', - 'description' => 'The description of the workspace.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Test', - 'minLength' => 1, + ], + [ + 'apiName' => 'UpdateTaskName', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'title' => 'vpc id', - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-xxx', + ], + [ + 'apiName' => 'GetTableKnowledgeInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTableKnowledgeInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'title' => 'region', - 'description' => 'The region to which the workspace belongs.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + ], + [ + 'apiName' => 'UpdateDataLakeDatabase', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateDataLakeDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ClientToken', - 'in' => 'formData', - 'schema' => [ - 'title' => '幂等Token', - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'token-xxx', + ], + [ + 'apiName' => 'GetTableColumnList', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetTableColumnList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '4AC23904-55DE-550B-9676-E8946F07****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'WorkspaceId' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12****', - ], - ], + [ + 'apiName' => 'GetDataLakeDatabase', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataLakeDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'OptimizeSqlByMetaAgent', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:OptimizeSqlByMetaAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4AC23904-55DE-550B-9676-E8946F07****\\",\\n \\"Success\\": true,\\n \\"WorkspaceId\\": 0\\n}","type":"json"}]', - 'title' => 'CreateWorkspace', - 'description' => '## [](#)Prerequisites'."\n" - ."\n" - .'* A virtual private cloud (VPC) is created.'."\n" - .'* Log on to the DMS console by using an Alibaba Cloud account or a RAM user that has high permissions, and grant DMS the permissions to access cloud resources (AliyunDMSProcessingDataRolePolicy).'."\n", - ], - 'DeleteWorkspace' => [ - 'summary' => 'Deletes a workspace.', - 'path' => '', - 'methods' => [ - 'post', + [ + 'apiName' => 'GetDataCronClearTaskDetailList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCronClearTaskDetailList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'GetTaskFlowGraph', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTaskFlowGraph', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListSensitivityLevel', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSensitivityLevel', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', + [ + 'apiName' => 'ListLogicTables', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListLogicTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'title' => 'DMS工作空间ID', - 'description' => 'The ID of the DMS workspace.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12****', + [ + 'apiName' => 'GrantTemplateAuthority', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GrantTemplateAuthority', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '7FAD400F-7A5C-4193-8F9A-39D86C4F0231', - ], - 'Success' => [ - 'title' => 'api是否调用成功', - 'description' => 'Indicates whether the operation is called successfully.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Data' => [ - 'title' => '工作空间是否删除成功', - 'description' => 'Indicates whether the workspace is deleted successfully.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'GetDataTrackJobDegree', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetDataTrackJobDegree', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'GetTableDBTopology', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTableDBTopology', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\",\\n \\"Success\\": true,\\n \\"Data\\": \\"true\\"\\n}","type":"json"}]', - 'title' => 'DeleteWorkspace', - ], - 'GetWorkspace' => [ - 'summary' => 'Queries the details of a workspace.', - 'path' => '', - 'methods' => [ - 'post', + [ + 'apiName' => 'GetDataCorrectSQLFile', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCorrectSQLFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetTaskInstanceRelation', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTaskInstanceRelation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'GetDataCorrectTaskDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCorrectTaskDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdateTaskContentV2', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskContentV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ListDataLakePartitionName', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', + 'ramAction' => [ + 'action' => 'dms:ListDataLakePartitionName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'title' => 'DMS工作空间ID', - 'description' => 'The ID of the DMS workspace.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12****', + [ + 'apiName' => 'AddWorkspaceUser', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:AddWorkspaceUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'FE8EE2F1-4880-46BC-A704-5CF63EAF****', - ], - 'Message' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Data' => [ - 'description' => 'The data returned.'."\n", - 'type' => 'object', - 'properties' => [ - 'WorkspaceId' => [ - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '863020290155****', - ], - 'WorkspaceName' => [ - 'description' => 'The name of the workspace.'."\n", - 'type' => 'string', - 'example' => 'workspace_xxx', - ], - 'Description' => [ - 'description' => 'The description of the workspace.'."\n", - 'type' => 'string', - 'example' => 'Test', - ], - 'RegionId' => [ - 'description' => 'The ID of the region to which the workspace belongs.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'OwnerId' => [ - 'description' => 'The owner ID.'."\n", - 'type' => 'string', - 'example' => '12345****', - ], - 'ServiceAccountId' => [ - 'description' => 'The ID of the service account.'."\n", - 'type' => 'string', - 'example' => '12345****', - ], - 'Tid' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3322****', - ], - 'VpcId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'example' => 'vpc-xxxx', - ], - ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'SearchInventoryAsset', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:SearchInventoryAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'WorkspaceNotExist', - 'errorMessage' => 'The specified workspace not exist.', + [ + 'apiName' => 'CreateAbacPolicy', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateAbacPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'GetUserActiveTenant', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetUserActiveTenant', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE8EE2F1-4880-46BC-A704-5CF63EAF****\\",\\n \\"Message\\": \\"UnknownError\\",\\n \\"Data\\": {\\n \\"WorkspaceId\\": 0,\\n \\"WorkspaceName\\": \\"workspace_xxx\\",\\n \\"Description\\": \\"Test\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OwnerId\\": \\"12345****\\",\\n \\"ServiceAccountId\\": \\"12345****\\",\\n \\"Tid\\": 0,\\n \\"VpcId\\": \\"vpc-xxxx\\"\\n },\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'GetWorkspace', - ], - 'ListWorkspaces' => [ - 'summary' => 'Queries a list of workspaces of the tenant.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'ListDefaultSLARules', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDefaultSLARules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'SubmitOrderApproval', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SubmitOrderApproval', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListTagMetaAsset', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListTagMetaAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ExecuteScript', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ExecuteScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListInstanceLoginAuditLog', + 'description' => '', 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', - 'FEATUREdmsKIHNZQ', + 'ramAction' => [ + 'action' => 'dms:ListInstanceLoginAuditLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'AlreadyJoined', - 'in' => 'query', - 'schema' => [ - 'title' => '过滤是否已加入空间', - 'description' => 'Specifies whether the current user has joined the workspace.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', + [ + 'apiName' => 'DeleteTaskFlow', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'SearchKey', - 'in' => 'query', - 'schema' => [ - 'title' => '工作空间名字关键字', - 'description' => 'The search keyword. Fuzzy match is supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'poc_test', + ], + [ + 'apiName' => 'UpdateWorkspace', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'title' => 'region值', - 'description' => 'The region in which the bucket is located.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + ], + [ + 'apiName' => 'RevokeTemplateAuthority', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:RevokeTemplateAuthority', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ServiceAccountId', - 'in' => 'query', - 'schema' => [ - 'title' => '服务账号ID', - 'description' => 'The service account ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12345', + ], + [ + 'apiName' => 'BatchCreateDataLakePartitions', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:BatchCreateDataLakePartitions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'title' => '工作空间ID', - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12****', + ], + [ + 'apiName' => 'UpdateTaskOutput', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskOutput', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码', - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'CreateTaskFlow', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '每页数量', - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'ModifyDesensitizationStrategy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ModifyDesensitizationStrategy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'title' => 'vpc id', - 'description' => 'The virtual private cloud (VPC) ID.'."\n" - ."\n" - .'> This parameter cannot be used as a filter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-bp10wnlcmor****', + ], + [ + 'apiName' => 'SearchTable', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:SearchTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'EE214ECD-4330-503A-82F0-FFB03975****', - ], - 'ErrorCode' => [ - 'title' => '错误码', - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UserNotExist', - ], - 'ErrorMessage' => [ - 'title' => '错误信息', - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'title' => '是否请求成功', - 'description' => 'Indicates whether the call was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request succeeded.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TotalCount' => [ - 'title' => '总数', - 'description' => 'The total number of workspaces that meet the conditions.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Data' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'BaseWorkspaces' => [ - 'title' => '数据集', - 'description' => 'The dataset.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Description' => [ - 'title' => '空间描述', - 'description' => 'The description of the workspace.'."\n", - 'type' => 'string', - 'example' => 'Test', - ], - 'CreatorId' => [ - 'title' => '创建者', - 'description' => 'The ID of the creator.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'OwnerUid' => [ - 'title' => '责任人阿里云uid', - 'description' => 'The Alibaba Cloud UID of the owner.'."\n", - 'type' => 'string', - 'example' => '15608564799****', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID', - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8652340494****', - ], - 'GmtModified' => [ - 'title' => '最后修改时间', - 'description' => 'The update time.'."\n", - 'type' => 'string', - 'example' => '2025-01-01 00:00:00', - ], - 'ServiceAccountId' => [ - 'title' => '服务账号ID', - 'description' => 'The ID of the service account.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'CreatorUid' => [ - 'title' => '创建者阿里云Uid', - 'description' => 'The Alibaba Cloud account UID of the creator.'."\n", - 'type' => 'string', - 'example' => '1344****', - ], - 'ServiceAccountNickName' => [ - 'title' => '服务账号昵称', - 'description' => 'The nickname of the service account.'."\n", - 'type' => 'string', - 'example' => 'testname', - ], - 'Name' => [ - 'title' => '工作空间名字,同WorkspaceName', - 'description' => 'The name of the workspace.'."\n", - 'type' => 'string', - 'example' => 'workspace-xxxx', - ], - 'AlreadyJoined' => [ - 'title' => '请求者是否已加入空间', - 'description' => 'Whether the current user has joined the workspace.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TenantId' => [ - 'title' => 'DMS租户ID', - 'description' => 'The ID of the tenant to which the workspace belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23456', - ], - 'GmtCreate' => [ - 'title' => '工作空间创建时间', - 'description' => 'The creation time.'."\n", - 'type' => 'string', - 'example' => '2025-01-01 00:00:00', - ], - 'ServiceAccountUid' => [ - 'title' => '服务账号阿里云UID', - 'description' => 'The Alibaba Cloud account UID of the service account.'."\n", - 'type' => 'string', - 'example' => '1422****', - ], - 'OwnerId' => [ - 'title' => '创建者ID', - 'description' => 'The owner ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123****', - ], - 'VpcId' => [ - 'title' => 'vpc id', - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'example' => 'vpc-25fl3qjqb****', - ], - 'Region' => [ - 'title' => 'region,区域', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'WorkspaceName' => [ - 'title' => '工作空间名称', - 'description' => 'The name of the workspace.'."\n", - 'type' => 'string', - 'example' => 'test-workspace', - ], - 'CreatorNickName' => [ - 'title' => '创建者昵称', - 'description' => 'The nickname of the creator.'."\n", - 'type' => 'string', - 'example' => 'work*****', - ], - 'OwnerNickName' => [ - 'title' => '责任人昵称', - 'description' => 'The nickname of the owner.'."\n", - 'type' => 'string', - 'example' => 'hel****', - ], - ], - 'description' => '', - ], - ], - ], - ], - 'NextToken' => [ - 'title' => 'nextToken,暂无用', - 'description' => 'NextToken does not take effect.'."\n", - 'type' => 'string', - 'example' => 'token-xxx', - ], - 'MaxResults' => [ - 'title' => '同totalCount', - 'description' => 'The total number of workspaces that meet the condition, which is the same as the TotalCount parameter.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], - 'description' => '', + [ + 'apiName' => 'ListEffectiveOrders', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListEffectiveOrders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EE214ECD-4330-503A-82F0-FFB03975****\\",\\n \\"ErrorCode\\": \\"UserNotExist\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 10,\\n \\"Data\\": {\\n \\"BaseWorkspaces\\": [\\n {\\n \\"Description\\": \\"Test\\",\\n \\"CreatorId\\": 123,\\n \\"OwnerUid\\": \\"15608564799****\\",\\n \\"WorkspaceId\\": 0,\\n \\"GmtModified\\": \\"2025-01-01 00:00:00\\",\\n \\"ServiceAccountId\\": 12345,\\n \\"CreatorUid\\": \\"1344****\\",\\n \\"ServiceAccountNickName\\": \\"testname\\",\\n \\"Name\\": \\"workspace-xxxx\\",\\n \\"AlreadyJoined\\": true,\\n \\"TenantId\\": 23456,\\n \\"GmtCreate\\": \\"2025-01-01 00:00:00\\",\\n \\"ServiceAccountUid\\": \\"1422****\\",\\n \\"OwnerId\\": 0,\\n \\"VpcId\\": \\"vpc-25fl3qjqb****\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"WorkspaceName\\": \\"test-workspace\\",\\n \\"CreatorNickName\\": \\"work*****\\",\\n \\"OwnerNickName\\": \\"hel****\\"\\n }\\n ]\\n },\\n \\"NextToken\\": \\"token-xxx\\",\\n \\"MaxResults\\": 10\\n}","type":"json"}]', - 'title' => 'ListWorkspaces', - ], - 'UpdateWorkspace' => [ - 'summary' => 'Updates the information about a workspace.', - 'path' => '', - 'methods' => [ - 'post', + [ + 'apiName' => 'ListAuthorizedUsersForInstance', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ListAuthorizedUsersForInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'SearchWorkspaceRoles', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:SearchWorkspaceRoles', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreateUploadOSSFileJob', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateUploadOSSFileJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsXSH6IQ', + [ + 'apiName' => 'ListUsers', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'title' => 'DMS工作空间ID', - 'description' => 'The workspace ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12****', + [ + 'apiName' => 'GetUserUploadFileJob', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetUserUploadFileJob', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'WorkspaceName', - 'in' => 'query', - 'schema' => [ - 'title' => '要更改的工作名字', - 'description' => 'The new name of the workspace.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'workspace_xxx', - 'minLength' => 1, + ], + [ + 'apiName' => 'CloseOrder', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:CloseOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'title' => '要更改的空间描述', - 'description' => 'The new description of the workspace.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'minLength' => 1, + ], + [ + 'apiName' => 'QueryDataTrackResultDownloadStatus', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:QueryDataTrackResultDownloadStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ClientToken', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'token-xxx', + ], + [ + 'apiName' => 'StopTaskFlowInstance', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:StopTaskFlowInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C51420E3-144A-4A94-B473-8662FCF4****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'Data' => [ - 'description' => 'Indicates whether the call is successful.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'GetApprovalDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetApprovalDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'CreateDataLakeDatabase', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataLakeDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51420E3-144A-4A94-B473-8662FCF4****\\",\\n \\"Success\\": \\"true\\",\\n \\"Data\\": \\"true\\"\\n}","type":"json"}]', - 'title' => 'UpdateWorkspace', - ], - 'OptimizeSqlByMetaAgent' => [ - 'summary' => 'Analyzes and optimizes the SQL statements in the specified database.', - 'description' => 'You can call this operation to analyze and optimize the SQL statements in the specified database.'."\n", - 'path' => '/', - 'methods' => [ - 'post', + [ + 'apiName' => 'UpdateAbacPolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateAbacPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'DeleteLakeHouseSpace', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteLakeHouseSpace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreateWorkspace', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ListSensitiveDataAuditLog', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSensitiveDataAuditLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDataImportSQL', + 'description' => '', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsU8QOR6', + 'ramAction' => [ + 'action' => 'dms:GetDataImportSQL', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'DbId', - 'in' => 'query', - 'schema' => [ - 'title' => '数据库ID,可以调用[ListDatabases](~~141873~~)接口获取。', - 'description' => 'The ID of the database. You can call the [ListDatabases](~~141873~~) operation to obtain the ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1***', + [ + 'apiName' => 'CreateDatabaseExportOrder', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDatabaseExportOrder', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Query', - 'in' => 'query', - 'schema' => [ - 'title' => '备注信息', - 'description' => 'The remarks.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '是否为慢SQL', + ], + [ + 'apiName' => 'MakeTaskFlowInstanceSuccess', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:MakeTaskFlowInstanceSuccess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Sql', - 'in' => 'query', - 'schema' => [ - 'title' => '待分析的SQL。', - 'description' => 'The SQL statement that you want to analyze.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'select * from table where col = 1', + ], + [ + 'apiName' => 'UpdateInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Model', - 'in' => 'query', - 'schema' => [ - 'title' => '选用的模型名称,仅可用千问系列', - 'description' => 'The name of the selected model. You can use only Qwen series models.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'qwen-plus', + ], + [ + 'apiName' => 'RefundPayAsYouGoOrder', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:RefundPayAsYouGoOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功返回', - 'schema' => [ - 'title' => '返回内容', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'title' => '错误码。', - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。', - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'title' => '请求是否成功,返回值如下:'."\n" - .'- **true**:请求成功'."\n" - .'- **false**:请求失败', - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Data' => [ - 'title' => '返回的数据信息。', - 'description' => 'The data returned.'."\n", - 'type' => 'object', - 'properties' => [ - 'Content' => [ - 'title' => '回答内容', - 'description' => 'The answer.'."\n", - 'type' => 'string', - 'example' => 'SQL优化结果...', - ], - 'SessionId' => [ - 'title' => '会话ID', - 'description' => 'The session ID.'."\n", - 'type' => 'string', - 'example' => 'f63a6eed-0e3c-4564-8533-b1295db8d6ff', - ], - ], - ], - ], + [ + 'apiName' => 'AddDesensitizationRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:AddDesensitizationRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'GetSQLReviewOptimizeDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetSQLReviewOptimizeDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Content\\": \\"SQL优化结果...\\",\\n \\"SessionId\\": \\"f63a6eed-0e3c-4564-8533-b1295db8d6ff\\"\\n }\\n}","type":"json"}]', - 'title' => 'OptimizeSqlByMetaAgent', - ], - 'FixSqlByMetaAgent' => [ - 'summary' => 'Uses the specified SQL statement, error message, and database ID to analyze and fix the SQL error.', - 'description' => 'You can call this operation to analyze and fix SQL errors based on the specified SQL statement, error message, and database ID.'."\n", - 'path' => '/', - 'methods' => [ - 'post', + [ + 'apiName' => 'GetDataCorrectBackupFiles', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCorrectBackupFiles', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'CreatePublishGroupTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreatePublishGroupTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetDataCorrectOrderDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCorrectOrderDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'RemoveTableFromCategory', + 'description' => '', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsU8QOR6', + 'ramAction' => [ + 'action' => 'dms:RemoveTableFromCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'DbId', - 'in' => 'query', - 'schema' => [ - 'title' => '数据库ID,可以调用[ListDatabases](~~141873~~)接口获取。', - 'description' => 'The ID of the database. You can call the [ListDatabases](~~141873~~) operation to obtain the ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1***', + [ + 'apiName' => 'DeleteScenario', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteScenario', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Query', - 'in' => 'query', - 'schema' => [ - 'title' => '备注信息', - 'description' => 'The remarks.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '正确字段是啥?', + ], + [ + 'apiName' => 'CreateProxy', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Sql', - 'in' => 'query', - 'schema' => [ - 'title' => '报错的SQL。', - 'description' => 'The SQL statement that reports the error.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'select * from table where col = 1', + ], + [ + 'apiName' => 'GetTableTopology', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTableTopology', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Error', - 'in' => 'query', - 'schema' => [ - 'title' => '报错信息', - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'unknown column col', + ], + [ + 'apiName' => 'DeleteLogicDatabase', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteLogicDatabase', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Model', - 'in' => 'query', - 'schema' => [ - 'title' => '选用的模型名称,仅可用千问系列', - 'description' => 'The name of the selected model. You can use only Qwen series models.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'qwen-plus', + ], + [ + 'apiName' => 'SimplyAddInstance', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:SimplyAddInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功返回', - 'schema' => [ - 'title' => '返回内容', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'title' => '错误码。', - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。', - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'title' => '请求是否成功,返回值如下:'."\n" - .'- **true**:请求成功'."\n" - .'- **false**:请求失败', - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Data' => [ - 'title' => '返回的数据信息。', - 'description' => 'The data returned.'."\n", - 'type' => 'object', - 'properties' => [ - 'Content' => [ - 'title' => '回答内容', - 'description' => 'The answer.'."\n", - 'type' => 'string', - 'example' => 'SQL修复结果...', - ], - 'SessionId' => [ - 'title' => '会话ID', - 'description' => 'The session ID.'."\n", - 'type' => 'string', - 'example' => 'f63a6eed-0e3c-4564-8533-b1295db8d6ff', - ], - ], - ], - ], + [ + 'apiName' => 'ResumeTaskFlowInstance', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ResumeTaskFlowInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DeleteProxy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:DeleteProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Content\\": \\"SQL修复结果...\\",\\n \\"SessionId\\": \\"f63a6eed-0e3c-4564-8533-b1295db8d6ff\\"\\n }\\n}","type":"json"}]', - 'title' => 'FixSqlByMetaAgent', - ], - 'AnswerSqlSyntaxByMetaAgent' => [ - 'summary' => 'Answers the syntax questions of the corresponding engine according to the specified database ID.', - 'description' => 'You can call this operation to answer the syntax questions of the corresponding engine according to the specified database ID.'."\n", - 'path' => '/', - 'methods' => [ - 'post', + [ + 'apiName' => 'GetWorkspace', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetWorkspace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'UpdateTaskFlowSchedule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowSchedule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteUser', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'GetProxy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'PreviewWorkflow', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:PreviewWorkflow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListInstances', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListInstances', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateDataTrackOrder', + 'description' => '', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsU8QOR6', + 'ramAction' => [ + 'action' => 'dms:CreateDataTrackOrder', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'DbId', - 'in' => 'query', - 'schema' => [ - 'title' => '数据库ID,可以调用[ListDatabases](~~141873~~)接口获取。', - 'description' => 'The ID of the database. You can call the [ListDatabases](~~141873~~) operation to obtain the ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1***', + [ + 'apiName' => 'ListDBTaskSQLJobDetail', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDBTaskSQLJobDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Query', - 'in' => 'query', - 'schema' => [ - 'title' => '语法问题', - 'description' => 'The syntax question.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '怎么获取当前时间的字符串', + ], + [ + 'apiName' => 'GetTask', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Model', - 'in' => 'query', - 'schema' => [ - 'title' => '选用的模型名称,仅可用千问系列', - 'description' => 'The name of the selected model. You can use only Qwen series models.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'qwen-plus', + ], + [ + 'apiName' => 'ListAbacAuthorizations', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListAbacAuthorizations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功返回', - 'schema' => [ - 'title' => '返回内容', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'title' => '错误码。', - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。', - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'title' => '请求是否成功,返回值如下:'."\n" - .'- **true**:请求成功'."\n" - .'- **false**:请求失败', - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Data' => [ - 'title' => '返回的数据信息。', - 'description' => 'The data returned.'."\n", - 'type' => 'object', - 'properties' => [ - 'Content' => [ - 'title' => '回答内容', - 'description' => 'The answer to the question.'."\n", - 'type' => 'string', - 'example' => 'mysql数据库类型下...', - ], - 'SessionId' => [ - 'title' => '会话ID', - 'description' => 'The session ID.'."\n", - 'type' => 'string', - 'example' => 'f63a6eed-0e3c-4564-8533-b1295db8d6ff', - ], - ], - ], - ], + [ + 'apiName' => 'EditMetaKnowledgeAsset', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:EditMetaKnowledgeAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ListDataLakePartitionByFilter', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakePartitionByFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Content\\": \\"mysql数据库类型下...\\",\\n \\"SessionId\\": \\"f63a6eed-0e3c-4564-8533-b1295db8d6ff\\"\\n }\\n}","type":"json"}]', - 'title' => 'AnswerSqlSyntaxByMetaAgent', - ], - 'ListUserOwnedResources' => [ - 'summary' => 'Obtains', - 'methods' => [ - 'post', + [ + 'apiName' => 'RestartDataCorrectSQLJob', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:RestartDataCorrectSQLJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetUser', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetUser', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'GetSQLReviewCheckResultStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetSQLReviewCheckResultStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdateTaskFlowTimeVariables', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowTimeVariables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ListUserOwnedResources', + 'description' => '', 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsY7L2P4', + 'ramAction' => [ + 'action' => 'dms:ListUserOwnedResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, ], - 'parameters' => [ - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '3***', + [ + 'apiName' => 'ExportInventoryAsset', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ExportInventoryAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'UserId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the user.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1***', + ], + [ + 'apiName' => 'CreateDataCronClearOrder', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataCronClearOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'DatabaseName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'db_name', + ], + [ + 'apiName' => 'PauseDataExportJob', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:PauseDataExportJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'OwnerType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the owner. Valid values:'."\n" - ."\n" - .'* INSTANCE: an owner of an instance.'."\n" - .'* DATABASE: an owner of a physical database.'."\n" - .'* TABLE: an owner of a physical table.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', - 'enum' => [ - 'INSTANCE', - 'DATABASE', - 'TABLE', - ], + ], + [ + 'apiName' => 'SearchTableAssetKnowledge', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:SearchTableAssetKnowledge', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Logic', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true.**: The database is a logical database'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'GetOrderAttachmentFile', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetOrderAttachmentFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EnvType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the environment in which the database instance is deployed. Valid values:'."\n" - ."\n" - .'* **product**: production environment.'."\n" - .'* **dev**: development environment.'."\n" - .'* **pre**: pre-release environment.'."\n" - .'* **test**: test environment.'."\n" - .'* **sit**: system integration testing (SIT) environment.'."\n" - .'* **uat**: user acceptance testing (UAT) environment.'."\n" - .'* **pet**: stress testing environment.'."\n" - .'* **stag**: staging environment.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'product', + ], + [ + 'apiName' => 'SetForecastAgentInstance', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:SetForecastAgentInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'DbType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the database instance. For more information about the valid values of this parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MYSQL', + ], + [ + 'apiName' => 'AddInstance', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:AddInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'ListDDLPublishRecords', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDDLPublishRecords', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'CreateStructSyncOrder', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateStructSyncOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of entries returned. By default, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The request ID. You can use the request ID to locate logs and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '8E88933E-E3D4-5BA8-8CBF-0A1CAE666690', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Data' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'resourceList' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The data returned.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => '291594', - ], - 'DbId' => [ - 'description' => 'The ID of the database in DMS.'."\n", - 'type' => 'string', - 'example' => '29697059', - ], - 'SchemaName' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'example' => 'as_task_engine', - ], - 'Logic' => [ - 'description' => 'Indicates whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* **true**: The database is a logical database'."\n" - .'* **false**: The database is a physical database.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'SearchName' => [ - 'description' => 'The query name of the database.'."\n", - 'type' => 'string', - 'example' => 'dtstest [dtstest_dms]', - ], - 'TableName' => [ - 'description' => 'The table name.'."\n", - 'type' => 'string', - 'example' => 'addepmap', - ], - 'EnvType' => [ - 'description' => 'The type of the environment to which the database instance belongs.'."\n", - 'type' => 'string', - 'example' => 'product', - ], - 'DbType' => [ - 'description' => 'The database engine type. For more information about the valid values of the DbType parameter, see [DbType parameter](~~198106~~).'."\n", - 'type' => 'string', - 'example' => 'MySQL', - ], - 'TableId' => [ - 'description' => 'The table ID.'."\n", - 'type' => 'string', - 'example' => '1760934555', - ], - 'Alias' => [ - 'description' => 'The alias of the instance.'."\n", - 'type' => 'string', - 'example' => 'DMS_GYX_TESTupdata', - ], - 'Host' => [ - 'description' => 'The endpoint of the instance to which the database belongs.'."\n", - 'type' => 'string', - 'example' => 'rm-wz98bw60x1i1303c5.mysql.rds.aliyuncs.com', - ], - 'Port' => [ - 'description' => 'The connection port of the instance to which the database belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6379', - ], - 'DbInstanceId' => [ - 'description' => 'The ID of the instance to which the database belongs.'."\n", - 'type' => 'string', - 'example' => '876XXX', - ], - ], - ], - ], - ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', + [ + 'apiName' => 'GetPhysicalDatabase', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetPhysicalDatabase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"8E88933E-E3D4-5BA8-8CBF-0A1CAEXXXXXX\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Data\\": {\\n \\"resourceList\\": [\\n {\\n \\"InstanceId\\": \\"291XXX\\",\\n \\"DbId\\": \\"29697XXX\\",\\n \\"SchemaName\\": \\"as_task_engine\\",\\n \\"Logic\\": false,\\n \\"SearchName\\": \\"dtstest [dtstest_dms]\\",\\n \\"TableName\\": \\"addepmap\\",\\n \\"EnvType\\": \\"product\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"TableId\\": \\"1760934XXX\\",\\n \\"Alias\\": \\"DMS_GYX_TESTupdata\\",\\n \\"Host\\": \\"rm-wz98XXXXXX1303c5.mysql.rds.aliyuncs.com\\",\\n \\"Port\\": 6379,\\n \\"DbInstanceId\\": \\"876XXX\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'ListUserOwnedResources', - ], - 'CheckBatchTableAccessPermission' => [ - 'summary' => 'Batch verify table permissions.', - 'methods' => [ - 'post', + [ + 'apiName' => 'ListLhTaskFlowAndScenario', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListLhTaskFlowAndScenario', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetIntervalLimitOfSLA', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetIntervalLimitOfSLA', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'GetMetaTableColumn', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetMetaTableColumn', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListOrders', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListOrders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'CheckBatchTableAccessPermission', + 'description' => '', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsY7L2P4', + 'ramAction' => [ + 'action' => 'dms:CheckBatchTableAccessPermission', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, ], - 'parameters' => [ - [ - 'name' => 'TableNameList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_name', - ], - 'required' => true, + [ + 'apiName' => 'CreateSQLReviewOrder', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateSQLReviewOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'DbId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The database ID. You can call the [ListDatabases](~~141873~~) operation to query the ID of a physical database and the [ListLogicDatabases](~~141874~~) operation to query the ID of a logical database.'."\n" - ."\n" - .'> The value of DatabaseId is that of DbId.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '43153', + ], + [ + 'apiName' => 'ListDataCorrectPreCheckDB', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDataCorrectPreCheckDB', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Logic', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the database is a logical database. Valid values:'."\n" - ."\n" - .'* true: Logical database.'."\n" - .'* false: Physical database.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'ListTaskFlowCooperators', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlowCooperators', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PermissionType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The type of the permission to be verified.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* QUERY'."\n" - .'* EXPORT'."\n" - .'* CORRECT'."\n" - .'* LOGIN'."\n" - .'* PERF'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'QUERY', - 'enum' => [ - 'QUERY', - 'EXPORT', - 'CORRECT', - 'LOGIN', - 'PERF', - ], + ], + [ + 'apiName' => 'GenerateSqlFromNL', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GenerateSqlFromNL', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Tid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tenant.'."\n" - ."\n" - .'> View Tenant ID by hovering over your profile icon in the DMS console. For more information, see the [View information about the current tenant](~~181330~~) section of the "Manage DMS tenants" topic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3***', + ], + [ + 'apiName' => 'ListIndexes', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListIndexes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of response.', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'ID of the request.', - 'type' => 'string', - 'example' => 'B43AD641-49C2-5299-9E06-1B37EC1B****', - ], - 'Data' => [ - 'description' => 'The dataset.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The data returned.'."\n", - 'type' => 'object', - 'properties' => [ - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'tab_add_teacher_record', - ], - 'Success' => [ - 'description' => '* **true**: Permission granted'."\n" - .'* **false**: Permissions denied'."\n", - 'type' => 'string', - 'example' => 'True', - ], - 'ErrorMessage' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'The productKey is empty.', - ], - ], - ], - ], - 'ErrorCode' => [ - 'description' => 'Error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'SyncInstanceMeta', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SyncInstanceMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'UpdateTaskConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B43AD641-49C2-5299-9E06-1B37EC1B****\\",\\n \\"Data\\": [\\n {\\n \\"TableName\\": \\"tab_add_teacher_record\\",\\n \\"Success\\": \\"True\\",\\n \\"ErrorMessage\\": \\"NoPermission\\"\\n }\\n ],\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'CheckBatchTableAccessPermission', - 'description' => 'Verify the permissions on multiple tables at a time.'."\n", - ], - 'ChatWithDesensitize' => [ - 'summary' => 'Chat API with DMS Data Masking capabilities.', - 'description' => 'Chat API with DMS Data Masking capabilities.'."\n", - 'path' => '/', - 'methods' => [ - 'post', + [ + 'apiName' => 'DeleteAbacPolicy', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:DeleteAbacPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'SetWorkflowExtraInfo', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SetWorkflowExtraInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetInstance', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'GetAIOrderApprovalCommentSSE', + 'description' => '', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsU8QOR6', + 'ramAction' => [ + 'action' => 'dms:GetAIOrderApprovalCommentSSE', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'title' => '实例ID,通过实例ID指定对应的脱敏规则。可通过调用接口[ListInstances](~~141936~~)或[GetInstance](~~141567~~)获取该参数的值。', - 'description' => 'The ID of the instance, used to specify the corresponding data masking rules. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the ID of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '123***', + [ + 'apiName' => 'UpdateTaskTimeVariables', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskTimeVariables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Messages', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '传递给大模型的上下文,按对话顺序排列。', - 'description' => 'The conversation context passed to the model, arranged in chronological order.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'For each message body of the dialog, the standard format is as follows: { "content": "$message", "role": "$role:system,user,assistant" }'."\n", - 'type' => 'any', - 'required' => false, - 'example' => '', - 'title' => '', - ], - 'required' => false, - 'example' => '['."\n" - .' {'."\n" - .' "content": "你好",'."\n" - .' "role": "user"'."\n" - .' }'."\n" - .']', + ], + [ + 'apiName' => 'ListDatabaseUserPermssions', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDatabaseUserPermssions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Model', - 'in' => 'query', - 'schema' => [ - 'title' => '模型名称。支持的模型:Qwen系列的纯文本大语言模型(商业版、开源版)。不支持多模态模型', - 'description' => 'The model name. Supported Models: Qwen series text-only Large Language Models (Commercial and Open-source). Multi-modal models are not supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'qwen-plus', + ], + [ + 'apiName' => 'CreateDataLakePartition', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataLakePartition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Stop', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '停止词列表。', - 'description' => 'Stop sequences.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Stop sequences: Generation will terminate immediately if the model generates any of the strings specified in the \'stop\' parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '\\n', - 'title' => '', - ], - 'required' => false, - 'example' => '["\\n"]', + ], + [ + 'apiName' => 'AddLhMembers', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:AddLhMembers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NeedDesensitization', - 'in' => 'query', - 'schema' => [ - 'title' => '是否需要进行脱敏,默认为false', - 'description' => 'Whether to enable data masking. Defaults to false.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'SkipDataCorrectRowCheck', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:SkipDataCorrectRowCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'DesensitizationRule', - 'in' => 'query', - 'schema' => [ - 'title' => '脱敏类别,needDesensitization为true时不可为空', - 'description' => 'Masking category. Required when needDataMasking is true.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'UserInfo', + ], + [ + 'apiName' => 'CreateFreeLockCorrectOrder', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateFreeLockCorrectOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'MaxTokens', - 'in' => 'query', - 'schema' => [ - 'title' => '用于限制模型输出的最大 Token 数。若生成内容超过此值,生成将提前停止。适用于需控制输出长度的场景。', - 'description' => 'Limits the maximum number of tokens the model can generate. If the output exceeds this value, generation will be truncated. Suitable for scenarios where you need to control the output length.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '256', + ], + [ + 'apiName' => 'ListTaskFlowInstance', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlowInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PresencePenalty', - 'in' => 'query', - 'schema' => [ - 'description' => 'Controls the degree of repetition in generated text. Valid values: \\[-2.0, 2.0]. Positive values decrease repetition, while negative values increase it.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0.0', - 'title' => '', + ], + [ + 'apiName' => 'GetDBTopology', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDBTopology', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ResponseFormat', - 'in' => 'query', - 'schema' => [ - 'title' => '返回内容的格式。可选值:text:输出文字回复;json_object:输出标准格式的JSON字符串。', - 'description' => 'The format of the returned content. Valid values: text: Plain text response; json_object: Standardized JSON string.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'text', + ], + [ + 'apiName' => 'ListTaskFlowEdgesByCondition', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlowEdgesByCondition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Seed', - 'in' => 'query', - 'schema' => [ - 'title' => '随机数种子。用于确保在相同输入和参数下生成结果可复现。取值范围:[0, 2^31−1]。', - 'description' => 'Random seed. Used to ensure the reproducibility of results under the same input and parameters. Valid values: \\[0, 2^31−1].'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'SubmitStructSyncOrderApproval', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SubmitStructSyncOrderApproval', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EnableThinking', - 'in' => 'query', - 'schema' => [ - 'title' => '使用混合思考模型时,是否开启思考模式。', - 'description' => 'Specifies whether to enable Thinking Mode when using hybrid thinking models.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', + ], + [ + 'apiName' => 'CreateProxyAccess', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateProxyAccess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ThinkingBudget', - 'in' => 'query', - 'schema' => [ - 'title' => '思考过程的最大token数', - 'description' => 'The maximum number of tokens allowed for the model\'s internal reasoning process.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '256', + ], + [ + 'apiName' => 'DeleteInstance', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Temperature', - 'in' => 'query', - 'schema' => [ - 'description' => 'The sampling temperature controls the diversity of the generated text. The higher the temperature, the more diverse the generated text, and conversely, the more deterministic the generated text. Valid values: \\[0, 2).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - 'title' => '', + ], + [ + 'apiName' => 'AddLogicTableRouteConfig', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:AddLogicTableRouteConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TopLogprobs', - 'in' => 'query', - 'schema' => [ - 'title' => '指定在每一步生成时,返回模型最大概率的候选 Token 个数。取值范围:[0, 5]。', - 'description' => 'Specifies the number of most likely candidate tokens to return at each generation step. Valid values: \\[0, 5].'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'ListDesensitizationRule', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDesensitizationRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TopK', - 'in' => 'query', - 'schema' => [ - 'title' => '指定生成过程中用于采样的候选 Token 数量。值越大,输出越随机;值越小,输出越确定。若设为null或大于 100,则禁用。', - 'description' => 'Specifies the number of candidate tokens to consider during sampling. Higher values increase randomness, while lower values make the output more deterministic. Set to null or a value greater than 100 to disable.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'UpdateTaskFlowOwner', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowOwner', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TopP', - 'in' => 'query', - 'schema' => [ - 'description' => 'The probability threshold for nucleus sampling, used to control the diversity of the generated text. Higher Top-P values result in more diverse generated text. Valid values: (0,1.0].'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0.5', - 'title' => '', + ], + [ + 'apiName' => 'ListSLARules', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSLARules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'XDashScopeDataInspection', - 'in' => 'query', - 'schema' => [ - 'title' => '在通义千问 API 的内容安全能力基础上,是否进一步识别输入输出内容的违规信息。'."\n", - 'description' => 'Specifies whether to further identify non-compliant information in both input and output content, building upon the built-in content safety capabilities of the Tongyi Qianwen API.', - 'type' => 'string', - 'required' => false, - 'example' => '{}', + ], + [ + 'apiName' => 'DeleteMetaCategory', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteMetaCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'SearchOptions', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '联网搜索的策略。', - 'description' => 'Web search strategy.', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'description' => 'The strategy key-value pair for Web search.', - 'example' => '{}', - ], - 'example' => '{}', + ], + [ + 'apiName' => 'DeleteTaskFlowEdgesByCondition', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteTaskFlowEdgesByCondition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ModalitiesList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '输出数据的模态,仅适用于 Qwen-Omni 模型。', - 'description' => 'Output data modality; only applicable to the Qwen-Omni model.', - 'type' => 'array', - 'items' => [ - 'title' => '输出数据的模态', - 'description' => 'Output data modality.', - 'type' => 'string', - 'required' => false, - 'example' => 'text', - ], - 'required' => false, - 'example' => '["text","audio"]', + ], + [ + 'apiName' => 'ListWorkFlowTemplates', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListWorkFlowTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'AudioJson', - 'in' => 'query', - 'schema' => [ - 'title' => '输出音频的音色与格式,仅适用于 Qwen-Omni 模型,且modalities参数需为["text","audio"]。', - 'description' => 'Output audio voice and format; only applicable to the Qwen-Omni model, provided that the modalities parameter is set to ["text", "audio"].', - 'type' => 'string', - 'required' => false, - 'example' => '{}', + ], + [ + 'apiName' => 'SuspendDataExportJob', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:SuspendDataExportJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EnableCodeInterpreter', - 'in' => 'query', - 'schema' => [ - 'title' => '是否开启代码解释器功能。仅当model为qwen3-max-preview且enable_thinking为true时生效。', - 'description' => 'Specifies whether to enable the code interpreter feature. Takes effect only when model is qwen3-max-preview and enable_thinking is true.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'FixSqlByMetaAgent', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:FixSqlByMetaAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Logprobs', - 'in' => 'query', - 'schema' => [ - 'title' => '是否返回输出 Token 的对数概率,', - 'description' => 'Specifies whether to return the log probabilities of the output tokens.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'CreateDataArchiveOrder', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataArchiveOrder', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'VlHighResolutionImages', - 'in' => 'query', - 'schema' => [ - 'title' => '是否将输入图像的像素上限提升至 16384 Token 对应的像素值。', - 'description' => 'Specifies whether to increase the maximum pixel limit of input images to the equivalent of 16,384 tokens.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'GetDataArchiveCount', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:GetDataArchiveCount', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EnableSearch', - 'in' => 'query', - 'schema' => [ - 'title' => '是否开启联网搜索。', - 'description' => 'Whether to enable web search.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'GetClassificationTemplate', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetClassificationTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功返回', - 'schema' => [ - 'title' => '返回内容', - 'description' => 'The response.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'ID of the request.', - 'type' => 'string', - 'example' => '0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931', - ], - 'ErrorCode' => [ - 'title' => '错误码。', - 'description' => 'Error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。', - 'description' => 'Error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'title' => '请求是否成功,返回值如下:'."\n" - .'- **true**:请求成功'."\n" - .'- **false**:请求失败', - 'description' => 'Indicates whether the operation was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request fails.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Data' => [ - 'title' => '返回的数据信息。', - 'description' => 'The data returned.'."\n", - 'type' => 'object', - 'properties' => [ - 'Created' => [ - 'title' => '请求创建时的 Unix 时间戳(秒)。', - 'description' => 'The Unix timestamp (in seconds) when the request was created.'."\n", - 'type' => 'string', - 'example' => '1763710100', - ], - 'Model' => [ - 'title' => '本次请求使用的模型。', - 'description' => 'The model used for this request.'."\n", - 'type' => 'string', - 'example' => 'qwen-plus', - ], - 'Choices' => [ - 'title' => '模型生成内容的候选数组。', - 'description' => 'The candidate array for model-generated content.'."\n", - 'type' => 'array', - 'items' => [ - 'title' => '模型生成的候选内容', - 'description' => 'Candidate content generated by the model.'."\n", - 'type' => 'object', - 'properties' => [ - 'FinishReason' => [ - 'title' => '终止原因:'."\n" - .'● 触发输入参数中的stop参数,或自然停止输出时为stop;'."\n" - .'● 生成长度过长而结束为length;'."\n" - .'● 需要调用工具而结束为tool_call;', - 'description' => 'Finish reason: ● stop: The model reached a natural stop point or a specified stop sequence. ● length: Generation ended because the maximum number of tokens was reached. ● tool_calls: The model stopped because it needs to call a tool to proceed.'."\n", - 'type' => 'string', - 'example' => 'stop', - ], - 'Message' => [ - 'title' => '模型输出的消息体', - 'description' => 'The message body output by the model.'."\n", - 'type' => 'object', - 'properties' => [ - 'Content' => [ - 'title' => '模型的回复内容', - 'description' => 'The content of the model\'s response.'."\n", - 'type' => 'string', - 'example' => '你好呀!', - ], - 'ReasoningContent' => [ - 'title' => '模型的深度思考内容', - 'description' => 'The internal reasoning content of the model.'."\n", - 'type' => 'string', - 'example' => '嗯,用户发了个“你好”,看起来是想打招呼...', - ], - 'Role' => [ - 'title' => '消息的角色', - 'description' => 'Message role.'."\n", - 'type' => 'string', - 'example' => 'system', - ], - ], - ], - 'Logprobs' => [ - 'title' => '模型输出的 Token 概率信息。', - 'description' => 'Token probability information of model output.', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'any', - 'description' => 'Token probability information of model output.', - 'example' => '{}', - ], - 'example' => '{}', - ], - ], - ], - ], - 'Usage' => [ - 'title' => '本次请求的 Token 消耗信息。', - 'description' => 'The token consumption information of this request.'."\n", - 'type' => 'object', - 'properties' => [ - 'CompletionTokens' => [ - 'title' => '模型输出的 Token 数。', - 'description' => 'The number of output tokens.'."\n", - 'type' => 'string', - 'example' => '10', - ], - 'PromptTokens' => [ - 'title' => '输入的 Token 数。', - 'description' => 'The number of input tokens.'."\n", - 'type' => 'string', - 'example' => '9', - ], - 'TotalTokens' => [ - 'title' => '消耗的总 Token 数。', - 'description' => 'The total number of tokens consumed.'."\n", - 'type' => 'string', - 'example' => '19', - ], - 'PromptTokensDetails' => [ - 'title' => '输入 Token 的细粒度分类。', - 'description' => 'Fine-grained classification of input tokens.', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'description' => 'Fine-grained classification of input tokens.', - 'example' => '{}', - ], - 'example' => '{}', - ], - 'CompletionTokensDetails' => [ - 'title' => '使用Qwen-VL模型时输出Token的细粒度分类。', - 'description' => 'Fine-grained classification of output tokens when using the Qwen-VL model.', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '{}', - 'description' => 'Fine-grained classification of output tokens.', - ], - 'example' => '{}', - ], - ], - ], - 'Message' => [ - 'title' => '报错信息,当StatusCode不为200的时候会有值', - 'description' => 'Error message, provided when StatusCode is not 200.', - 'type' => 'string', - 'example' => 'InvalidParameter', - ], - 'StatusCode' => [ - 'title' => '报错码,200时为正常调用,其他的为异常', - 'description' => 'Error code, 200 for normal calls, others for exceptions.', - 'type' => 'string', - 'example' => '200', - ], - 'Type' => [ - 'title' => '报错类型', - 'description' => 'Error type.', - 'type' => 'string', - 'example' => 'invalid_request_error', - ], - ], - ], - ], + [ + 'apiName' => 'SuspendTaskFlowInstance', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:SuspendTaskFlowInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'RestartDataExportJob', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:RestartDataExportJob', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Created\\": \\"1763710100\\",\\n \\"Model\\": \\"qwen-plus\\",\\n \\"Choices\\": [\\n {\\n \\"FinishReason\\": \\"stop\\",\\n \\"Message\\": {\\n \\"Content\\": \\"你好呀!\\",\\n \\"ReasoningContent\\": \\"嗯,用户发了个“你好”,看起来是想打招呼...\\",\\n \\"Role\\": \\"system\\"\\n },\\n \\"Logprobs\\": {\\n \\"key\\": \\"{}\\"\\n }\\n }\\n ],\\n \\"Usage\\": {\\n \\"CompletionTokens\\": \\"10\\",\\n \\"PromptTokens\\": \\"9\\",\\n \\"TotalTokens\\": \\"19\\",\\n \\"PromptTokensDetails\\": {\\n \\"key\\": \\"{}\\"\\n },\\n \\"CompletionTokensDetails\\": {\\n \\"key\\": \\"{}\\"\\n }\\n },\\n \\"Message\\": \\"InvalidParameter\\",\\n \\"StatusCode\\": \\"200\\",\\n \\"Type\\": \\"invalid_request_error\\"\\n }\\n}","type":"json"}]', - 'title' => 'ChatWithDesensitize', - ], - 'ChatWithDesensitizeSSE' => [ - 'summary' => 'Chat SSE API with DMS Data Masking capability.', - 'description' => 'Chat SSE API with DMS Data Masking capability.'."\n", - 'path' => '/worknode/innerapi/services', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'ListDatabases', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDatabases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', - 'sse', + [ + 'apiName' => 'ListWorkspaceUsers', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListWorkspaceUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteTask', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DeleteDataLakeFunction', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:DeleteDataLakeFunction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ModifyInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListDataImportSQLType', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDataImportSQLType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DownloadDataTrackResult', + 'description' => '', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdmsU8QOR6', + 'ramAction' => [ + 'action' => 'dms:DownloadDataTrackResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'title' => '实例ID,通过实例ID指定对应的脱敏规则。可通过调用接口[ListInstances](~~141936~~)或[GetInstance](~~141567~~)获取该参数的值。', - 'description' => 'The ID of the instance, used to specify the corresponding data masking rules. You can call the [ListInstances](~~141936~~) or [GetInstance](~~141567~~) operation to query the ID of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '123***', + [ + 'apiName' => 'ListInventoryJobs', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ListInventoryJobs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Messages', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '传递给大模型的上下文,按对话顺序排列。', - 'description' => 'The conversation context passed to the model, arranged in chronological order.'."\n", - 'type' => 'array', - 'items' => [ - 'title' => '传递给大模型的上下文,按对话顺序排列。', - 'description' => 'The conversation context passed to the model, arranged in chronological order.'."\n", - 'type' => 'any', - 'required' => false, - 'example' => '{'."\n" - .' "content": "你好",'."\n" - .' "role": "user"'."\n" - .'}', - ], - 'required' => false, - 'example' => '['."\n" - .' {'."\n" - .' "content": "你好",'."\n" - .' "role": "user"'."\n" - .' }'."\n" - .']', + ], + [ + 'apiName' => 'ListDataLakeCatalog', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeCatalog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Model', - 'in' => 'query', - 'schema' => [ - 'title' => '模型名称。支持的模型:Qwen系列的纯文本大语言模型(商业版、开源版)。不支持多模态模型', - 'description' => 'The model name. Supported models: Qwen series text-only Large Language Models (commercial and open-source). Multi-modal models are not supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'qwen-plus', + ], + [ + 'apiName' => 'GetDataExportOrderDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataExportOrderDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Stop', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '停止词列表。', - 'description' => 'Stop sequences.'."\n", - 'type' => 'array', - 'items' => [ - 'title' => '停止词列表。', - 'description' => 'Stop words.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '\\n', - ], - 'required' => false, + ], + [ + 'apiName' => 'DeleteDataLakePartition', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteDataLakePartition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NeedDesensitization', - 'in' => 'query', - 'schema' => [ - 'title' => '是否需要进行脱敏,默认为false', - 'description' => 'Whether to enable data masking. Defaults to false.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'ListTaskFlowsByPage', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListTaskFlowsByPage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'DesensitizationRule', - 'in' => 'query', - 'schema' => [ - 'title' => '脱敏类别,needDesensitization为true时不可为空', - 'description' => 'Masking category. Required when needDataMasking is true.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'UserInfo', + ], + [ + 'apiName' => 'ListDataLakeTablebaseInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeTablebaseInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'MaxTokens', - 'in' => 'query', - 'schema' => [ - 'title' => '用于限制模型输出的最大 Token 数。若生成内容超过此值,生成将提前停止。适用于需控制输出长度的场景。', - 'description' => 'Limits the maximum number of tokens the model can generate. If the output exceeds this value, generation will be truncated. Suitable for scenarios where you need to control the output length.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '256', + ], + [ + 'apiName' => 'DeleteAbacAuthorization', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteAbacAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PresencePenalty', - 'in' => 'query', - 'schema' => [ - 'title' => '控制模型生成文本时的内容重复度。取值范围:[-2.0, 2.0]。正值降低重复度,负值增加重复度。', - 'description' => 'Controls the degree of repetition in generated text. Valid values: \\[-2.0, 2.0]. Positive values decrease repetition, while negative values increase it.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0.0', + ], + [ + 'apiName' => 'CreateStandardGroup', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateStandardGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ResponseFormat', - 'in' => 'query', - 'schema' => [ - 'title' => '返回内容的格式。可选值:text:输出文字回复;json_object:输出标准格式的JSON字符串。', - 'description' => 'The format of the returned content. Valid values: text: Plain text response; json_object: Standardized JSON string.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'text', + ], + [ + 'apiName' => 'GetTaskFlowNotification', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetTaskFlowNotification', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Seed', - 'in' => 'query', - 'schema' => [ - 'title' => '随机数种子。用于确保在相同输入和参数下生成结果可复现。取值范围:[0, 2^31−1]。', - 'description' => 'Random seed. Used to ensure the reproducibility of results under the same input and parameters. Valid values: \\[0, 2^31−1].'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'GetAuthorityTemplateItem', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:GetAuthorityTemplateItem', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EnableThinking', - 'in' => 'query', - 'schema' => [ - 'title' => '使用混合思考模型时,是否开启思考模式。', - 'description' => 'Specifies whether to enable thinking mode when using hybrid thinking models.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', + ], + [ + 'apiName' => 'GetOnlineDDLProgress', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetOnlineDDLProgress', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ThinkingBudget', - 'in' => 'query', - 'schema' => [ - 'title' => '思考过程的最大token数', - 'description' => 'The maximum number of tokens allowed for the model\'s internal reasoning process.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '256', + ], + [ + 'apiName' => 'ListProxies', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListProxies', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Temperature', - 'in' => 'query', - 'schema' => [ - 'title' => '采样温度,控制模型生成文本的多样性。temperature越高,生成的文本更多样,反之,生成的文本更确定。取值范围: [0, 2)', - 'description' => 'The sampling temperature controls the diversity of the generated text. The higher the temperature, the more diverse the generated text, and conversely, the more deterministic the generated text. Valid values: \\[0, 2).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'DeleteDataLakeTable', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteDataLakeTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TopLogprobs', - 'in' => 'query', - 'schema' => [ - 'title' => '指定在每一步生成时,返回模型最大概率的候选 Token 个数。取值范围:[0, 5]。', - 'description' => 'Specifies the number of most likely candidate tokens to return at each generation step. Valid values: \\[0, 5].'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'UpdateTaskFlowCooperators', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowCooperators', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TopK', - 'in' => 'query', - 'schema' => [ - 'title' => '指定生成过程中用于采样的候选 Token 数量。值越大,输出越随机;值越小,输出越确定。若设为null或大于 100,则禁用。', - 'description' => 'Specifies the number of candidate tokens to consider during sampling. Higher values increase randomness, while lower values make the output more deterministic. Set to null or a value greater than 100 to disable.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'ListDataImportSQLPreCheckDetail', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListDataImportSQLPreCheckDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TopP', - 'in' => 'query', - 'schema' => [ - 'title' => '核采样的概率阈值,控制模型生成文本的多样性。top_p越高,生成的文本更多样。取值范围:(0,1.0]。', - 'description' => 'The probability threshold for nucleus sampling, used to control the diversity of the generated text. Higher Top-P values result in more diverse generated text. Valid values: (0,1.0].'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0.5', + ], + [ + 'apiName' => 'UpdateTaskFlowNotification', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowNotification', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'XDashScopeDataInspection', - 'in' => 'query', - 'schema' => [ - 'title' => '在通义千问 API 的内容安全能力基础上,是否进一步识别输入输出内容的违规信息。'."\n", - 'description' => 'Specifies whether to further identify non-compliant information in both input and output content, building upon the built-in content safety capabilities of the Tongyi Qianwen API.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{}', + ], + [ + 'apiName' => 'CreateOrder', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'SearchOptions', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '联网搜索的策略。', - 'description' => 'Web search strategy.'."\n", - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'description' => 'Web search strategy.'."\n", - 'example' => '{}', - ], - 'example' => '{}', + ], + [ + 'apiName' => 'EnableUser', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:EnableUser', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ModalitiesList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '输出数据的模态,仅适用于 Qwen-Omni 模型。', - 'description' => 'Output data modality; only applicable to the Qwen-Omni model.'."\n", - 'type' => 'array', - 'items' => [ - 'title' => '输出数据的模态', - 'description' => 'Output data modality.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'text', - ], - 'required' => false, - 'example' => '["text","audio"]', + ], + [ + 'apiName' => 'ListSensitiveColumns', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListSensitiveColumns', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'AudioJson', - 'in' => 'query', - 'schema' => [ - 'title' => '输出音频的音色与格式,仅适用于 Qwen-Omni 模型,且modalities参数需为["text","audio"]。', - 'description' => 'Output audio voice and format; only applicable to the Qwen-Omni model, provided that the modalities parameter is set to \\["text", "audio"].'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{}', + ], + [ + 'apiName' => 'SearchDatabase', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:SearchDatabase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EnableCodeInterpreter', - 'in' => 'query', - 'schema' => [ - 'title' => '是否开启代码解释器功能。仅当model为qwen3-max-preview且enable_thinking为true时生效。', - 'description' => 'Specifies whether to enable the code interpreter feature. Takes effect only when model is qwen3-max-preview and enable_thinking is true.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'OfflineTaskFlow', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:OfflineTaskFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Logprobs', - 'in' => 'query', - 'schema' => [ - 'title' => '是否返回输出 Token 的对数概率,', - 'description' => 'Specifies whether to return the log probabilities of the output tokens.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'GetDataLakeCatalog', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataLakeCatalog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'VlHighResolutionImages', - 'in' => 'query', - 'schema' => [ - 'title' => '是否将输入图像的像素上限提升至 16384 Token 对应的像素值。', - 'description' => 'Specifies whether to increase the maximum pixel limit of input images to the equivalent of 16,384 tokens.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'UpdateDataLakePartition', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateDataLakePartition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EnableSearch', - 'in' => 'query', - 'schema' => [ - 'title' => '是否开启联网搜索。', - 'description' => 'Whether to enable web search.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'GetDataLakePartition', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataLakePartition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'IncludeUsage', - 'in' => 'query', - 'schema' => [ - 'title' => '流式输出中是否在响应的最后一个数据块包含Token消耗信息。', - 'description' => 'Specifies whether to include token usage information in the final chunk of the streaming response.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', + ], + [ + 'apiName' => 'GetLogicDatabase', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetLogicDatabase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Stream', - 'in' => 'query', - 'schema' => [ - 'title' => '是否使用流式输出', - 'description' => 'Specifies whether to use streaming output.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => '1-68f11da7e2b826dcc63c5877-hd', + ], + [ + 'apiName' => 'ListProxyAccesses', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListProxyAccesses', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Input', - 'in' => 'query', - 'schema' => [ - 'title' => '向量化模型的输入', - 'description' => 'The input to the embedding model.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', + ], + [ + 'apiName' => 'DescribeForecastAgent', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:DescribeForecastAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Dimensions', - 'in' => 'query', - 'schema' => [ - 'title' => '向量化模型的维度', - 'description' => 'The embedding dimensions.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '256', + ], + [ + 'apiName' => 'ListDataLakeTable', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:ListDataLakeTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Parameters', - 'in' => 'query', - 'schema' => [ - 'title' => '模型配置参数', - 'description' => 'Model configuration parameters.', - 'type' => 'string', - 'required' => false, - 'example' => '{}', + ], + [ + 'apiName' => 'ConfirmInventoryKnowledge', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dms:ConfirmInventoryKnowledge', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功返回', - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'Request ID.'."\n", - 'type' => 'string', - 'example' => '283C461F-11D8-48AA-B695-DF092DA32AF3', - ], - 'Data' => [ - 'description' => 'The data returned.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'UnknownError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request was successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', + [ + 'apiName' => 'CreateTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'UpdateTaskFlowConstants', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:UpdateTaskFlowConstants', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyDataCorrectExecSQL', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ModifyDataCorrectExecSQL', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDatabase', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDatabase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteProxyAccess', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'dms:DeleteProxyAccess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDataCorrectRollbackFile', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataCorrectRollbackFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetStructSyncJobDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetStructSyncJobDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListWorkspaces', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'dms:ListWorkspaces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'InspectProxyAccessSecret', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:InspectProxyAccessSecret', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateDataLakeFunction', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateDataLakeFunction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDataLakeFunction', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:GetDataLakeFunction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateLakeHouseSpace', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dms:CreateLakeHouseSpace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDataLakeTable', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataLakeTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ChangeColumnSecLevel', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dms:ChangeColumnSecLevel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetOwnerApplyOrderDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetOwnerApplyOrderDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDataArchiveOrderDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dms:GetDataArchiveOrderDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"283C461F-11D8-48AA-B695-DF092DA32AF3\\",\\n \\"Data\\": \\"true\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'ChatWithDesensitizeSSE', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'dms-enterprise.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'dms-enterprise.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'dms-enterprise.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'dms-enterprise.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'dms-enterprise.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'dms-enterprise.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'dms-enterprise.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'dms-enterprise.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'dms-enterprise.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'dms-enterprise.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'dms-enterprise.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'dms-enterprise.ap-southeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'dms-enterprise.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'dms-enterprise.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'dms-enterprise.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'dms-enterprise.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'dms-enterprise.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'dms-enterprise.eu-central-1.aliyuncs.com', ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'dms-enterprise.me-east-1.aliyuncs.com', + 'resourceTypes' => [ + ['validationType' => 'conditional', 'resourceType' => 'Database', 'arn' => 'acs:dmsenterprise:{#regionId}:{#accountId}:database/{#DatabaseId}'], + ['validationType' => 'always', 'resourceType' => 'Order', 'arn' => 'acs:dmsenterprise::{#accountId}:order/{#OrderId}'], + ['validationType' => 'always', 'resourceType' => 'Order', 'arn' => 'acs:dmsenterprise:{#Region}:{#AccountId}:order/{#OrderId}'], + ['validationType' => 'always', 'resourceType' => 'TaskFlow', 'arn' => 'acs:dms,dms-console:{#regionId}:{#accountId}:taskflow/{#TaskFlowId}'], + ['validationType' => 'always', 'resourceType' => 'Order', 'arn' => 'acs:dmsenterprise:{#regionId}:{#accountId}:order/{#OrderId}'], + ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:dms:*:{#accountId}:instance/{#Host}/{#Port}'], ], ], ]; |
