'1.0', 'info' => ['style' => 'RPC', 'product' => 'dms-enterprise', 'version' => '2018-11-01'], 'directories' => [ [ 'children' => ['AddInstance', 'ModifyInstance', 'RegisterInstance', 'SimplyAddInstance'], 'type' => 'directory', 'title' => 'Instance management', ], [ 'children' => ['GetOpLog', 'ListSQLExecAuditLog'], 'type' => 'directory', 'title' => 'Operation audit', ], [ 'children' => ['SetWorkflowExtraInfo'], 'type' => 'directory', 'title' => 'Approval process', ], [ 'children' => [ [ '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', ], 'type' => 'directory', 'title' => 'Data lake databases and tables', ], 'SearchDatabase', 'ListTableColumns', 'GetMetaTableDetailInfo', 'GetMetaTableColumn', 'GetTableKnowledgeInfo', 'EditMetaKnowledgeAsset', ], 'type' => 'directory', 'title' => 'Database and table metadata', ], [ 'children' => [ [ 'children' => ['GetApprovalDetail', 'PreviewWorkflow'], 'type' => 'directory', 'title' => 'General', ], [ 'children' => ['GetPermApplyOrderDetail'], 'type' => 'directory', 'title' => 'Permission application', ], [ 'children' => ['CreateDataCronClearOrder', 'CreateDataImportOrder', 'CreateFreeLockCorrectOrder', 'ModifyDataCorrectExecSQL', 'GetDataCorrectBackupFiles', 'ExecuteDataCorrect', 'RetryDataCorrectPreCheck', 'RestartDataCorrectSQLJob', 'SkipDataCorrectRowCheck', 'CreateProcCorrectOrder'], 'type' => 'directory', 'title' => 'Data change', ], [ 'children' => ['ListDDLPublishRecords', 'GetTableDesignProjectFlow', 'GetTableDesignProjectInfo'], 'type' => 'directory', 'title' => 'Schema design', ], [ 'children' => ['CreateDatabaseExportOrder', 'CreateDataExportOrder', 'GetDatabaseExportOrderDetail', 'GetDbExportDownloadURL', 'SuspendDataExportJob', 'PauseDataExportJob', 'RemoveDataExportJob', 'RestartDataExportJob'], 'type' => 'directory', 'title' => 'Data export', ], [ 'children' => ['CreateSQLReviewOrder', 'GetSQLReviewOptimizeDetail'], 'type' => 'directory', 'title' => 'SQL review', ], [ 'children' => ['CreateDataTrackOrder'], 'type' => 'directory', 'title' => 'Data tracking', ], [ 'children' => ['CreateDataArchiveOrder', 'GetDataArchiveOrderDetail', 'GetPagedInstance'], 'type' => 'directory', 'title' => 'Data archiving', ], ], 'type' => 'directory', 'title' => 'Ticket operations', ], [ 'children' => ['ListDBTaskSQLJobDetail', 'GenerateSqlFromNL'], 'type' => 'directory', 'title' => 'SQL tasks', ], [ 'children' => ['ListInstanceUserPermissions', 'ListUserPermissions', 'ListAuthorizedInstancesForUser', 'ListAuthorizedUsersForInstance', 'ListAuthorizedDatabasesForUser', 'ListAuthorizedUsersForDatabase'], 'type' => 'directory', 'title' => 'Permission management', ], [ 'children' => [ [ 'children' => ['CreateStandardGroup', 'ListStandardGroups', 'UpdateStandardGroup', 'DeleteStandardGroup', 'GetStandardGroup'], 'type' => 'directory', 'title' => 'Security rules', ], [ 'children' => ['AddDesensitizationRule', 'ListDesensitizationRule', 'ListSensitiveDataAuditLog', 'ChangeColumnSecurityLevel', 'GetClassificationTemplate', 'ListSensitiveColumnInfo'], 'type' => 'directory', 'title' => 'Sensitive data management', ], [ 'children' => ['CreateProxy', 'ListProxyAccesses', 'GetProxyAccess'], 'type' => 'directory', 'title' => 'Secure access proxy', ], [ 'children' => ['GrantTemplateAuthority', 'CreateAuthorityTemplate', 'UpdateAuthorityTemplate', 'AddAuthorityTemplateItems', 'GetAuthorityTemplate', 'ListAuthorityTemplate', 'DeleteAuthorityTemplate'], 'type' => 'directory', 'title' => 'Permission templates', ], [ 'children' => ['CreateAbacPolicy', 'ListAbacPolicies', 'UpdateAbacPolicy', 'DeleteAbacPolicy', 'GetAbacPolicy', 'CreateAbacAuthorization', 'ListAbacAuthorizations', 'DeleteAbacAuthorization'], 'type' => 'directory', 'title' => 'Access policies', ], ], 'type' => 'directory', 'title' => 'Security management', ], [ 'children' => ['ExecuteScript'], 'type' => 'directory', 'title' => 'Data query', ], [ 'children' => [ [ 'children' => ['UpdateScenario', 'ListTaskFlowsByPage', 'ListTaskFlowTimeVariables', 'CreateScenario', 'UpdateTaskOutput', 'ListTasksInTaskFlow', 'CreateTaskFlow', 'UpdateTaskContentV2', 'TryRunTaskFlow'], 'type' => 'directory', 'title' => 'Task orchestration', ], [ 'children' => ['CreateLakeHouseSpace', 'AddLhMembers', 'DeleteLhMembers'], 'type' => 'directory', 'title' => 'Data warehouse development', ], ], 'type' => 'directory', 'title' => 'Data development', ], [ 'children' => ['ListEffectiveOrders'], 'type' => 'directory', 'title' => 'Sales orders', ], [ 'children' => ['CreateMetaCategory', 'ListMetaCategory', 'UpdateMetaCategory', 'DeleteMetaCategory', 'ListTablesInCategory', 'AddTableToCategory', 'RemoveTableFromCategory'], 'type' => 'directory', 'title' => 'Asset categories', ], [ 'children' => [ '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', ], 'type' => 'directory', 'title' => 'Others', ], ], 'components' => [ 'schemas' => [ 'ColumnKnowledgeInfo' => [ 'type' => 'object', 'properties' => [ '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' => 'Data catalog details.', 'type' => 'object', 'properties' => [ '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.', 'type' => 'object', 'properties' => [ '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", 'type' => 'object', 'properties' => [ '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", 'type' => 'object', 'properties' => [ '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", 'type' => 'array', '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", 'type' => 'object', 'properties' => [ '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", 'type' => 'string', 'enumValueTitles' => [], 'example' => 'zhangsan', 'visibility' => 'Public', 'backendName' => 'ownerName', 'title' => '', ], 'OwnerType' => [ 'description' => 'The type of the owner.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* ROLE'."\n" .'* GROUP'."\n" .'* USER'."\n", 'type' => 'string', 'enumValueTitles' => ['ROLE' => 'ROLE', 'GROUP' => 'GROUP', 'USER' => 'USER'], 'example' => 'USER', 'visibility' => 'Public', '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", 'type' => 'array', 'items' => ['description' => 'The URI used to access the resource.'."\n", '$ref' => '#/components/schemas/DLResourceUri', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''], 'visibility' => 'Public', '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.', 'type' => 'object', 'properties' => [ '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", 'type' => 'object', 'properties' => [ '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", 'type' => 'object', '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", 'type' => 'array', '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", 'type' => 'object', 'properties' => [ 'Parameters' => [ 'description' => 'The key-value pair of the partition.'."\n", 'type' => 'object', 'additionalProperties' => ['description' => 'The key and value of the key-value pair.'."\n", 'type' => 'string', 'example' => '{"key":"value"}', 'visibility' => 'Public', 'title' => ''], 'visibility' => 'Public', '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", 'type' => 'array', 'items' => ['description' => 'The value of the partition key column.'."\n", 'type' => 'string', 'example' => 'part_val1', 'visibility' => 'Public', 'extendType' => 'true', 'title' => ''], 'visibility' => 'Public', '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", 'type' => 'object', 'properties' => [ 'ResourceType' => [ 'description' => 'The resource type.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* ARCHIVE'."\n" .'* JAR'."\n" .'* FILE'."\n", 'type' => 'string', 'enumValueTitles' => ['ARCHIVE' => 'ARCHIVE', 'JAR' => 'JAR', 'FILE' => 'FILE'], 'example' => 'JAR', 'visibility' => 'Public', '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", 'type' => 'object', 'properties' => [ '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", 'type' => 'object', 'properties' => [ 'SkewedColValues' => [ 'title' => 'skewedColValues', 'description' => 'The lists of skewed column values. Each list provides a set of associated values.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The list of skewed column values.'."\n", 'type' => 'array', '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", 'type' => 'object', 'example' => '{“col1”:"val1"}', 'visibility' => 'Public', 'backendName' => 'skewedColValueLocationMaps'], 'SkewedColNames' => [ 'title' => 'skewedColNames', 'description' => 'The list of skewed column names.'."\n", 'type' => 'array', '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", 'type' => 'object', 'properties' => [ 'OriginalColumns' => [ 'title' => 'originalColumns', 'description' => 'The description of the original column.'."\n", 'type' => 'array', '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", 'type' => 'array', '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", '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", 'type' => 'array', '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", '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", 'type' => 'array', '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", '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", 'type' => 'object', 'properties' => [ '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", 'type' => 'array', '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", '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", 'type' => 'object', 'properties' => [ '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", 'type' => 'array', '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", '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", 'type' => 'object', 'properties' => [ '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', 'backendName' => 'ownerIds', 'title' => '', 'example' => '', ], 'OwnerNickNames' => [ 'description' => 'Owner昵称。', 'type' => 'array', 'items' => ['description' => 'Owner昵称。', 'type' => 'string', 'example' => 'test', 'visibility' => 'Public', 'extendType' => 'true', 'title' => ''], 'visibility' => 'Public', 'backendName' => 'ownerNickNames', 'title' => '', 'example' => '', ], ], 'visibility' => 'Public', 'title' => '', 'example' => '', ], 'MetaCategoryTableEntity' => [ 'description' => 'The data table information item under the category of the attributable asset.'."\n", 'type' => 'object', 'properties' => [ '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", 'type' => 'object', 'properties' => [ '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", 'type' => 'object', 'additionalProperties' => ['description' => 'The key-value pair.'."\n", 'type' => 'string', 'example' => '{'."\n" .' "EXTERNAL": "TRUE",'."\n" .' "delta.minReaderVersion": "1"}', 'visibility' => 'Public', 'title' => ''], 'visibility' => 'Public', '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", 'type' => 'array', 'items' => ['description' => 'The information about the columns.'."\n", '$ref' => '#/components/schemas/DLColumn', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''], 'visibility' => 'Public', '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' => 'The specific error message.', 'type' => 'object', 'properties' => [ 'ErrorDetail' => ['description' => 'Error Details.', 'type' => 'string', 'example' => 'auth failed', 'title' => ''], 'Values' => [ 'description' => 'Partition values.', 'type' => 'array', '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' => [ 'type' => 'object', 'properties' => [ '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 column list.', 'type' => 'array', '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' => [ 'AddAuthorityTemplateItems' => [ 'summary' => 'Adds instances, databases, and tables to the specified permission template.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdms6MV762'], ], 'parameters' => [ [ 'name' => 'TemplateId', '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***', '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****', '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, '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 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\\": \\"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' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'RuleName', 'in' => 'query', 'schema' => ['description' => 'The name of the rule.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Data masking algorithm test', 'title' => ''], ], [ 'name' => 'RuleType', 'in' => 'query', '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' => ''], 'example' => 'HASH', 'title' => '', ], ], [ 'name' => 'RuleDescription', 'in' => 'query', 'schema' => ['description' => 'The description of the rule.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Hash algorithm', 'title' => ''], ], [ 'name' => 'FunctionType', 'in' => 'query', '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', ], 'example' => 'MD5', 'title' => '', ], ], [ '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}', 'title' => ''], 'title' => '', 'example' => '', ], 'required' => false, '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 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' => ['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\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"RuleId\\": 0\\n}","errorExample":""},{"type":"xml","example":"\\n 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\n UnknownError\\n UnknownError\\n true\\n","errorExample":""}]', 'title' => 'AddDesensitizationRule', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDesensitizationRule'], ], 'product' => ['code' => 'dms', 'title' => '数据管理'], ], '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' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '201773', 'abilityTreeNodes' => ['FEATUREdms19SL1H'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', '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' => 'InstanceType', 'in' => 'query', 'schema' => ['description' => 'The database type. For more information, see [DbType parameter](~~198106~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MySQL', 'title' => ''], ], [ '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' => ''], ], [ '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' => ''], ], [ 'name' => 'EnvType', 'in' => 'query', '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' => 'EcsInstanceId', 'in' => 'query', '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' => ''], ], [ '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' => ''], ], [ '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' => ''], ], [ 'name' => 'Host', 'in' => 'query', 'schema' => ['description' => 'The database endpoint.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rm-bp1g3tf90******.sqlserver.rds.aliyuncs.com', 'title' => ''], ], [ 'name' => 'Port', 'in' => 'query', 'schema' => ['description' => 'The port used to connect to the database.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '3306', 'title' => ''], ], [ 'name' => 'Sid', 'in' => 'query', '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' => 'DatabaseUser', 'in' => 'query', 'schema' => ['description' => 'The database account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'testsdb', 'title' => ''], ], [ 'name' => 'DatabasePassword', 'in' => 'query', 'schema' => ['description' => 'The password for the database account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test***', 'title' => ''], ], [ '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' => '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, 'enum' => ['0', '1', '2'], 'example' => '2', 'title' => '', ], ], [ 'name' => 'UseDsql', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to enable cross-instance query. Valid values:'."\n" ."\n" .'- **0**: Do not enable.'."\n" ."\n" .'- **1**: Enable.'."\n" ."\n" .'> Supported database types: MySQL, SQL Server, PostgreSQL, PolarDB for Oracle, and Redis.', 'type' => 'integer', 'format' => 'int32', 'required' => false, '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' => [ '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' => '[{"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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '131032', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], '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', 'title' => ''], ], [ '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' => '1', 'title' => ''], ], [ 'name' => 'Members', 'in' => 'query', 'style' => 'json', 'schema' => [ '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' => [ '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' => '[{"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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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](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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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":"\\n B43AD641-49C2-5299-9E06-1B37EC1B****\\n true\\n","errorExample":""}]', ], 'AddTableToCategory' => [ 'summary' => 'Add a table to an asset category.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], '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***', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '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 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' => ''], ], [ 'name' => 'Edges', 'in' => 'query', '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***', '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. 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' => '', ], ], ], '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' => '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' => ''], ], [ 'name' => 'RoleSource', 'in' => 'query', 'schema' => ['description' => 'The source of the role. To obtain this information, call the `SearchWorkspaceRoles` operation.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'INNER'], ], [ 'name' => 'RoleId', 'in' => 'query', 'schema' => ['description' => 'The ID of the role. To obtain this information, call the `SearchWorkspaceRoles` operation.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '31****'], ], ], 'responses' => [ 200 => [ 'schema' => [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], '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***', 'title' => ''], ], [ 'name' => 'SqlContent', 'in' => 'query', 'schema' => ['description' => 'The SQL statement.'."\n", 'type' => 'string', 'required' => true, 'example' => 'insert into a (id) select id from b;', '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' => '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' => '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' => [ [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DbId', 'in' => 'query', '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' => 'Query', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The syntax question.'."\n", 'type' => 'string', 'required' => false, 'example' => '怎么获取当前时间的字符串'], ], [ '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' => ['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' => [ [ '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' => '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***', 'title' => ''], ], [ 'name' => 'WorkflowInstanceId', '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', 'title' => ''], ], [ 'name' => 'ApprovalType', 'in' => 'query', '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' => '', ], ], [ 'name' => 'Comment', 'in' => 'query', 'schema' => ['description' => 'The description of the ticket.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ '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***', 'title' => ''], ], [ '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***', 'title' => ''], ], [ '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', 'title' => ''], ], [ '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'], 'title' => '', ], ], [ 'name' => 'NewApproverList', '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***', 'title' => ''], ], [ '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' => [ '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' => [ [ '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":"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\ntrue","errorExample":""}]', ], 'AsyncExportInventoryAsset' => [ 'path' => '/', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ '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' => '', 'description' => 'The ID of the inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001'], ], [ 'name' => 'Query', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The search keyword used for fuzzy matching of asset information such as table names.', 'type' => 'string', 'required' => false, 'example' => 'order'], ], [ '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' => ['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' => '', ], ], 'example' => '', ], ], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The ID of the inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001'], ], [ 'name' => 'Query', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The search keyword used for fuzzy matching against knowledge content.', 'type' => 'string', 'required' => false, 'example' => '订单'], ], [ 'name' => 'ShowType', 'in' => 'query', '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' => 'SortBy', 'in' => 'query', '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' => 'SortOrder', 'in' => 'query', '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'], ], ], 'responses' => [ 200 => [ 'schema' => [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '149001', '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***', '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' => ''], ], [ 'name' => 'StartNodeIds', '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', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'FilterNodeIds', 'in' => 'query', 'style' => 'json', '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***', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'IsTriggerSubTree', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to run descendant nodes. Default value: true.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'BackFillDate', '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', 'title' => ''], ], [ 'name' => 'BackFillDateBegin', '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', 'title' => ''], ], [ 'name' => 'BackFillDateEnd', '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', 'title' => ''], ], [ 'name' => 'Interval', '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', 'title' => ''], ], [ 'name' => 'Asc', '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', 'title' => ''], ], [ 'name' => 'HistoryDagId', 'in' => 'query', 'schema' => ['description' => 'The ID of the historical task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '16***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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' => [ [ '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":"\\n 7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\n true\\n","errorExample":""}]', ], 'BatchCreateDataLakePartitions' => [ 'summary' => 'Creates data lake table partitions in batches.', 'path' => '', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', 'schema' => ['description' => 'Data catalog name.', 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => ['description' => 'Database name.', 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ 'name' => 'TableName', 'in' => 'query', 'schema' => ['description' => 'Table name.', 'type' => 'string', 'required' => true, 'example' => 'test_table', 'title' => ''], ], [ 'name' => 'PartitionInputs', 'in' => 'formData', 'style' => 'json', 'schema' => [ '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' => 'IfNotExists', 'in' => 'query', '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' => 'NeedResult', 'in' => 'query', 'schema' => ['description' => 'Return partition information. If set to true, the Partitions field is returned.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'DataRegion', 'in' => 'query', 'schema' => ['description' => 'The region in which the data lake resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', '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' => 'WorkspaceId', 'in' => 'query', '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' => ['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' => '', ], ], 'example' => '', ], ], ], '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' => '*'], ], ], ], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', '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 table name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'table_name', 'title' => ''], ], [ 'name' => 'PartitionValuesList', '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', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], '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', '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.'."\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' => ['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' => '', ], ], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', 'schema' => ['description' => 'The name of the data directory.'."\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', 'title' => ''], ], [ '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 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, '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' => ['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' => '', ], ], ], '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' => [], ], ], 'deprecated' => false, '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 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' => 'CommodityType', 'in' => 'query', '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' => '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'], ], [ 'name' => 'VersionType', 'in' => 'query', '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' => ['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' => '', ], ], ], '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":"\\n C51420E3-144A-4A94-B473-8662FCF4AD10\\n true\\n dms_pre_public_cn-nif23l****\\n","errorExample":""}]', ], 'ChangeColumnSecLevel' => [ 'summary' => 'Adjusts the sensitivity level of fields.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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, 'docRequired' => false, 'example' => '43253', 'title' => ''], ], [ 'name' => 'DbId', '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', 'title' => ''], ], [ 'name' => 'IsLogic', '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', '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 [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' => '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', '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', 'title' => ''], ], [ 'name' => 'NewLevel', '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'], ], ], 'responses' => [ 200 => [ 'schema' => [ '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' => [ [ '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":"\\n C51420E3-144A-4A94-B473-8662FCF4AD10\\n false\\n","errorExample":""}]', ], 'ChangeColumnSecurityLevel' => [ 'summary' => 'Changes the security level of a column.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], '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****', 'title' => ''], ], [ 'name' => 'DbId', '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**', 'title' => ''], ], [ 'name' => 'IsLogic', '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' => true, 'example' => 'false', 'title' => ''], ], [ '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" ."\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' => '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', 'title' => ''], ], [ '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', 'title' => ''], ], [ '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", 'type' => 'string', 'required' => true, 'example' => 'S2', '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' => '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' => [ [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '131459', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], '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***', 'title' => ''], ], [ '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****', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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", '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":"\\n 9997630E-1993-5E6D-9DF1-4EFEE755FE31\\n true\\n","errorExample":""}]', ], 'CheckBatchTableAccessPermission' => [ 'summary' => 'Batch verify table permissions.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsY7L2P4'], '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', 'title' => ''], 'required' => true, 'title' => '', 'example' => '', ], ], [ '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' => '43XXX', 'title' => ''], ], [ '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', 'title' => ''], ], [ '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, 'enum' => ['QUERY', 'EXPORT', 'CORRECT', 'LOGIN', 'PERF'], 'example' => 'QUERY', 'title' => '', ], ], [ '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***', 'title' => ''], ], ], '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', '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' => [ [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['description' => 'The ID of the asset inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001', 'title' => ''], ], ], 'responses' => [ 200 => [ 'description' => '成功返回', 'schema' => [ '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' => [ [ '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, 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.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1343', 'title' => ''], ], [ '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' => [ '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' => [ [ '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":"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\ntrue","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' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['description' => 'The ID of the inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001', 'title' => ''], ], [ 'name' => 'EntityId', 'in' => 'query', 'schema' => ['description' => 'The ID of the knowledge entity.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2001', 'title' => ''], ], [ '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' => [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'abilityTreeCode' => '228501', 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], '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', 'in' => 'query', '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' => 'PolicyId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The ID of the policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12****'], ], [ 'name' => 'RoleId', 'in' => 'query', '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' => '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***', '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 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' => '', ], ], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '228408', 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], 'parameters' => [ [ 'name' => 'AbacPolicyName', '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'], ], [ 'name' => 'AbacPolicyDesc', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The description of the policy.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'AbacPolicyContent', '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" .'}'], ], [ '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' => '', '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' => [ [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', 'schema' => ['description' => 'The name of the permission template.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Test template.', 'title' => ''], ], [ '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.', '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' => [ '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.'."\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' => [ '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' => '', ], ], ], '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' => '数据管理'], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '185526', 'abilityTreeNodes' => ['FEATUREdmsPWN318'], ], 'parameters' => [ [ 'name' => 'Comment', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The description of the task.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Business test'], ], [ '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***', 'title' => ''], ], [ 'name' => 'PluginType', 'in' => 'query', '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' => 'RelatedUserList', '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***', 'title' => ''], 'required' => false, 'example' => '', ], ], [ 'name' => 'ParentId', 'in' => 'query', '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' => 'Param', 'in' => 'query', 'style' => 'json', 'schema' => [ '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, 'example' => '', ], ], ], '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, 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' => '', ], ], ], '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":"\\n 283C461F-11D8-48AA-B695-DF092DA32AF3\\n true\\n UnknownError\\n UnknownError\\n","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' => '数据管理'], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '16826', 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], 'parameters' => [ [ 'name' => 'Comment', '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', 'title' => ''], ], [ 'name' => 'RelatedUserList', '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****', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'Param', 'in' => 'query', 'style' => 'json', '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', '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' => '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' => ''], ], [ 'name' => 'RealLoginUserUid', '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", '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' => [ 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', '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' => '', ], ], ], '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":"\\n 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\n true\\n 142****\\n","errorExample":""}]', ], 'CreateDataCronClearOrder' => [ 'summary' => 'Create a Historical Data Cleanup ticket.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], 'parameters' => [ [ 'name' => 'Comment', 'in' => 'query', 'schema' => ['description' => 'The purpose or objective of the data change. This reduces unnecessary communication.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'RelatedUserList', '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' => '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, 'title' => '', 'example' => '', ], ], [ 'name' => 'Param', 'in' => 'query', 'style' => 'json', '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', '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' => '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', 'title' => ''], ], [ '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', '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', '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' => '', ], ], 'example' => '', ], ], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '174313', 'abilityTreeNodes' => ['FEATUREdmsPWN318'], ], 'parameters' => [ [ 'name' => 'ParentId', 'in' => 'query', 'schema' => ['description' => 'The ID of the parent ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '877****', 'title' => ''], ], [ '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' => 'Business 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' => 'RelatedUserList', 'in' => 'query', 'style' => 'json', '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' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ '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', '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' => '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' => ''], ], [ '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' => [ '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', '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' => [ 'CreateOrderResult' => [ 'description' => 'The content of the ticket.'."\n", 'type' => 'array', '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' => '[{"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' => '数据管理'], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsUOM2CE'], ], 'parameters' => [ [ 'name' => 'Comment', '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', 'title' => ''], ], [ 'name' => 'RelatedUserList', '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' => '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, 'title' => '', 'example' => '', ], ], [ 'name' => 'Param', 'in' => 'query', 'style' => 'json', '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', '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', 'required' => true, 'example' => 'CSV', 'enum' => ['SQL', 'CSV', 'JSON', 'EXCEL'], 'enumValueTitles' => ['EXCEL' => 'EXCEL', 'CSV' => 'CSV', 'JSON' => 'JSON', 'SQL' => 'SQL'], 'title' => '', ], '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', 'required' => false, 'example' => 'INSERT', 'default' => 'INSERT', 'enum' => ['INSERT', 'INSERT_IGNORE', 'REPLACE_INTO'], 'title' => '', ], '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', 'required' => false, 'example' => 'FAST_MODE', 'default' => 'SAFE_MODE', 'enum' => ['SAFE_MODE', 'FAST_MODE'], 'title' => '', ], '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' => '', ], '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' => '', ], ], [ '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' => ''], ], [ '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' => ''], ], [ 'name' => 'RealLoginUserUid', 'in' => 'query', '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' => ['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' => '[{"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' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', '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', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ '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', 'title' => ''], ], [ '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", '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' => ['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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', 'schema' => ['description' => 'The data catalog name.', 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ '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 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 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' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '*'], ], ], ], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', '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' => '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.'."\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' => ['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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', '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" .'> 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'."\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', '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ '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 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' => 'Param', '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***', '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, 'title' => '', 'example' => '', ], ], [ '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 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response schema.'."\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', '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' => '', ], ], ], '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' => '数据管理'], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsPWN318'], ], 'parameters' => [ [ 'name' => 'ParentId', 'in' => 'query', 'schema' => ['description' => 'The ID of the parent ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => ' 877****', 'title' => ''], ], [ '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 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' => 'RelatedUserList', '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****', 'title' => ''], 'required' => false, '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' => [ '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' => [ 'CreateOrderResult' => [ 'description' => 'The information about the ticket.'."\n", 'type' => 'array', 'items' => ['description' => 'The ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12***', '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' => '[{"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' => '数据管理'], ], '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' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => ['FEATUREdmsFS2Q9U'], ], 'parameters' => [ [ 'name' => 'DataRegion', 'in' => 'query', 'schema' => ['description' => 'The region where the data lake is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ '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' => ''], ], 'description' => 'Details of the forecast agent.', 'title' => '', 'example' => '', ], ], 'title' => '', 'description' => 'The response data.', 'example' => '', ], ], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdms1AAQ1Q'], ], 'parameters' => [ [ 'name' => 'Comment', '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', 'title' => ''], ], [ 'name' => 'RelatedUserList', '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' => '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, 'title' => '', 'example' => '', ], ], [ 'name' => 'Param', 'in' => 'query', 'style' => 'json', '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', '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', 'required' => true, 'example' => 'TEXT', 'default' => 'TEXT', 'enum' => ['TEXT'], 'title' => '', ], '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', 'required' => false, 'example' => 'TEXT', 'enum' => ['TEXT', 'ATTACHMENT'], 'title' => '', ], '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' => '', ], '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' => '', ], ], [ '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' => ''], ], [ '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' => ''], ], [ 'name' => 'RealLoginUserUid', 'in' => 'query', 'schema' => ['description' => 'The UID of the Alibaba Cloud account of the user who actually invokes the API.For more information, see [Specify an API caller](~~2835451~~).', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', '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', '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' => '[{"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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Param', 'in' => 'query', 'schema' => ['description' => 'The JSON string of inventory parameters.'."\n" ."\n" .'| Parameter | Type | Required | Description |'."\n" .'|--------|------|------|------|'."\n" .'| `instanceIds` | `List` | No | The list of instance IDs selected for inventory. |'."\n" .'| `dbIds` | `List` | No | The list of database IDs selected for inventory. |'."\n" .'| `tableIds` | `Map>` | 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' => [ '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 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' => '', ], ], ], '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"}]', ], 'CreateLakeHouseSpace' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '130576', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'SpaceName', 'in' => 'query', '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](~~198073~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'Alias', 'in' => 'query', '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. 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' => '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 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', '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' => ''], 'LogicDbId' => ['description' => 'The ID of the logical database.', 'type' => 'integer', 'format' => 'int64', 'example' => '1***', 'title' => ''], ], 'example' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', '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~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['description' => 'The name of the category.'."\n", 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ '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', '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' => '21212', 'title' => ''], ], [ 'name' => 'OwnerIds', 'in' => 'query', 'style' => 'json', 'schema' => [ '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, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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'], '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' => '*'], ], ], ], ], ], 'CreateOrder' => [ 'summary' => 'Create a ticket.'."\n", 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdms25Q07S'], ], '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***', 'title' => ''], ], [ 'name' => 'Comment', 'in' => 'query', 'schema' => ['description' => 'The description of the ticket to be created.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], [ '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 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' => 'PluginType', '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', 'title' => ''], ], [ 'name' => 'AttachmentKey', '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', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', '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' => '', ], ], ], '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' => '*'], ], ], ], ], ], 'CreateProcCorrectOrder' => [ 'summary' => 'Creates a programmable object ticket.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], 'parameters' => [ [ 'name' => 'Comment', 'in' => 'query', 'schema' => ['description' => 'The remarks of the ticket.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'RelatedUserList', '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**', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'Param', 'in' => 'query', 'style' => 'json', 'schema' => [ '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' => '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', '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' => [ 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' => '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 ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12*****', '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", 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateProcCorrectOrder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CreateProxy' => [ 'summary' => 'Enables the secure access proxy feature for a database instance.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '43589', 'abilityTreeNodes' => ['FEATUREdmsKBRCZC'], ], 'parameters' => [ [ 'name' => 'InstanceId', '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****', 'title' => ''], ], [ 'name' => 'Username', 'in' => 'query', 'schema' => ['description' => 'The username of the database account.', 'type' => 'string', 'required' => true, 'example' => 'username', 'title' => ''], ], [ 'name' => 'Password', 'in' => 'query', 'schema' => ['description' => 'The password of the database account.', 'type' => 'string', 'required' => true, 'example' => '******', '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***', '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', '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' => '', ], ], ], '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":"\\n 4FFD154E-F57F-5374-B568-D6276F15****\\n 4**\\n true\\n","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' => '数据管理'], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '43700', 'abilityTreeNodes' => ['FEATUREdmsKBRCZC'], ], 'parameters' => [ [ 'name' => 'UserId', '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', 'title' => ''], ], [ 'name' => 'ProxyId', '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', 'title' => ''], ], [ 'name' => 'IndepAccount', 'in' => 'query', 'schema' => ['description' => 'The database account.', 'type' => 'string', 'required' => false, 'example' => 'xxx', 'title' => ''], ], [ 'name' => 'IndepPassword', 'in' => 'query', '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 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', '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' => ''], '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' => '', ], ], ], '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' => '[{"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":"\\n 22A0495C-566D-5A90-A51A-7E737AD5980A\\n 1\\n true\\n","errorExample":""}]', ], 'CreatePublishGroupTask' => [ 'summary' => 'Executes a schema design ticket.', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, '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' => '10****', 'title' => ''], ], [ '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' => '34****', 'title' => ''], ], [ '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' => '1860****', 'title' => ''], ], [ 'name' => 'Logic', 'in' => 'query', 'schema' => ['description' => 'Indicates whether the database is a logical database.'."\n", 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'false', 'title' => ''], ], [ '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'], 'enumValueTitles' => ['IMMEDIATELY' => '立即执行', 'REGULARLY' => '定时执行'], 'title' => '', ], ], [ 'name' => 'PlanTime', 'in' => 'query', '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' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '[{"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":"78C93646-D9B1-4E6E-B5FD-C69F94A7905A\\ntrue\\n13424","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'CreateSQLReviewOrder' => [ 'summary' => 'Creates a SQL review ticket.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], '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', 'title' => ''], ], [ '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', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'Param', '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' => '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, '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' => '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 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 ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1423532', 'title' => ''], 'title' => '', 'example' => '', ], ], '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":"\\n 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\n true\\n UnknownError\\n UnknownError\\n 1423532\\n","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' => '数据管理'], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '149047', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], '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.', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'example' => '3***', 'title' => ''], ], [ 'name' => 'ScenarioName', 'in' => 'query', 'schema' => ['description' => 'The name of the business scenario.', 'type' => 'string', 'example' => 'Business scenario-test', 'required' => true, 'docRequired' => true, 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the business scenario.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '数据管理'], ], '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' => [], ], ], 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'GroupName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => 'The name of the security rule set.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Finance-production', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the security rule set.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Finance production environment instance rule', 'title' => ''], ], [ 'name' => 'DbType', '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', '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', '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', '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' => '', ], ], ], '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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'Comment', 'in' => 'query', 'schema' => ['description' => 'The remarks of the ticket.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ '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' => '432***', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'Param', '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' => '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' => '', ], ], 'required' => true, 'title' => '', 'example' => '', ], ], [ 'name' => 'AttachmentKey', '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', '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' => '3***', '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' => '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' => '', ], ], ], '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' => '[{"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":"\\n 2000000\\n 0DF19315-DCAF-4376-8006-1CEB0BBC6B13\\n true\\n","errorExample":""}]', ], 'CreateTask' => [ 'summary' => 'Creates a task node for a task flow.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '145318', '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.', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, '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.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', 'title' => ''], ], [ 'name' => 'NodeName', 'in' => 'query', 'schema' => ['description' => 'The name of the node that you want to create.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'zhttest', 'title' => ''], ], [ 'name' => 'NodeType', '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~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'NORMAL_SQL', 'title' => ''], ], [ 'name' => 'NodeContent', 'in' => 'query', 'schema' => ['description' => 'The configuration of the node.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'TimeVariables', 'in' => 'query', 'schema' => ['description' => 'The time variables configured for the node.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'NodeOutput', 'in' => 'query', 'schema' => ['description' => 'The output variables configured for the task.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'GraphParam', 'in' => 'query', 'schema' => ['description' => 'The position of the node on the Directed Acyclic Graph (DAG).', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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' => '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' => '', ], ], ], '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" ."\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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '144894', '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.', 'type' => 'integer', 'format' => 'int64', 'maximum' => '9223372036854775807', 'minimum' => '1', 'required' => false, 'example' => '3***', 'title' => ''], ], [ 'name' => 'DagName', 'in' => 'query', 'schema' => ['description' => 'The name of the task flow.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Dag_Name', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the task flow.', 'type' => 'string', 'required' => false, 'example' => 'zht_test', 'title' => ''], ], [ '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 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' => [ [ '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' => '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'], 'title' => '', ], ], [ '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', 'title' => ''], ], [ 'name' => 'UploadURL', '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', '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***', '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' => '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' => '', ], ], ], 'title' => 'CreateUploadFileJob', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateUploadFileJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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":"\\n 761f18031635736380812****\\n E103C5F9-DE47-53F2-BF34-D71DF38F****\\n true\\n","errorExample":""}]', ], 'CreateUploadOSSFileJob' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'FileSource', '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'], 'title' => '', ], ], [ 'name' => 'FileName', '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', 'title' => ''], ], [ 'name' => 'UploadTarget', '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', '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, '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](~~181330~~) topic.'."\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' => ['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' => '', ], ], ], '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' => '[{"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":"\\n 7000005000007000009000000\\n 44355324-9534-4AF4-B7AA-8EDE3C767889\\n true\\n","errorExample":""}]', ], 'CreateWorkspace' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'WorkspaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => 'workspace_xxx'], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the workspace.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => 'Test'], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['title' => 'vpc id', 'description' => 'The ID of the VPC.', 'type' => 'string', 'required' => true, 'example' => 'vpc-xxx'], ], [ 'name' => 'WorkspaceRegion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'description' => '', 'title' => ''], ], [ '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' => [ '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' => [ [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '228543', 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], 'parameters' => [ [ 'name' => 'AuthorizationId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The authorization ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123***'], ], [ 'name' => 'IdentityType', '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'], ], ], [ '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***'."\n", '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', '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'], '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' => '*'], ], ], ], ], ], 'DeleteAbacPolicy' => [ 'summary' => 'Deletes a created permission policy.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '228464', 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], 'parameters' => [ [ 'name' => 'AbacPolicyId', 'in' => 'query', '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 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' => ['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' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:DeleteAbacPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeleteAuthorityTemplate' => [ 'summary' => 'Deletes a permission template.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2592', 'title' => ''], ], [ '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, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ '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', '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' => '', ], ], ], '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' => '*'], ], ], ], ], ], 'DeleteDataLakeDatabase' => [ 'summary' => 'Deletes a database from a data lakehouse.', 'path' => '', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', 'schema' => ['description' => 'The name of the data directory.'."\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', '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.'."\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' => ['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'], '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' => '*'], ], ], ], ], ], 'DeleteDataLakeFunction' => [ 'summary' => 'Deletes a user-defined function in a data lakehouse.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', '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', 'title' => ''], ], [ 'name' => 'FunctionName', 'in' => 'query', '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', '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, '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' => ['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'], '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' => '*'], ], ], ], ], ], 'DeleteDataLakePartition' => [ 'summary' => 'Deletes a partition from a table in a data lakehouse.', 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', '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', 'title' => ''], ], [ 'name' => 'TableName', 'in' => 'query', 'schema' => ['description' => 'The table name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'table_name', 'title' => ''], ], [ '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'."\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', '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.'."\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****', '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' => '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'], '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' => '*'], ], ], ], ], ], 'DeleteDataLakeTable' => [ 'summary' => 'Deletes a table from a data lakehouse.', 'path' => '', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', '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' => 'test_table', '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.'."\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****', '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' => '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'], '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' => '*'], ], ], ], ], ], 'DeleteInstance' => [ 'summary' => 'Removes a database instance from Data Management (DMS).', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], '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***', 'title' => ''], ], [ 'name' => 'Host', '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', 'title' => ''], ], [ 'name' => 'Port', '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', 'title' => ''], ], [ 'name' => 'Sid', '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', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B4B07137-F6AE-4756-8474-7F92BB6C4E04\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n B4B07137-F6AE-4756-8474-7F92BB6C4E04\\n true\\n","errorExample":""}]', ], 'DeleteLakeHouseSpace' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '132905', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'SpaceId', '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', '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' => [ 200 => [ 'schema' => [ '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' => [ [ '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":"\\n E76DD2E7-EBAC-5724-B163-19AAC233F8F2\\n true\\n","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' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '130999', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], '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', 'title' => ''], ], [ '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***', 'title' => ''], ], [ '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' => '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, 'docRequired' => true, 'maxItems' => 50, 'minItems' => 1, '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' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '*'], ], ], ], ], ], 'DeleteLogicDatabase' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ '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) 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' => '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***', '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' => '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' => [ [ '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":"\\n C51420E3-144A-4A94-B473-8662FCF4AD10\\n true\\n","errorExample":""}]', ], 'DeleteLogicTableRouteConfig' => [ 'summary' => 'Deletes a routing algorithm from a logical table.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], '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' => '1****', 'title' => ''], ], [ 'name' => 'RouteKey', 'in' => 'query', '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' => '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***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], 'title' => 'DeleteLogicTableRouteConfig', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteLogicTableRouteConfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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":"\\n A916A004-A88C-5B39-ABDB-DE808E80****\\n true\\n","errorExample":""}]', ], 'DeleteMetaCategory' => [ 'summary' => 'Deletes an asset category.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', '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 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' => 'CategoryId', 'in' => 'query', 'schema' => ['description' => 'The category ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30000235594', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteMetaCategory', '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"}]', ], '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' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProxyId', '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', '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', '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', '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' => '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' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"\\n EEC84F7F-E60E-5513-8DE6-F22EF368BD4D\\n true\\n","errorExample":""}]', ], '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' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '43701', 'abilityTreeNodes' => ['FEATUREdmsKBRCZC'], ], 'parameters' => [ [ 'name' => 'ProxyAccessId', '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', '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', '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', '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' => [ [ '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":"\\n 7640A4CB-B988-5CDB-B428-11952D7E7682\\n true\\n","errorExample":""}]', ], 'DeleteScenario' => [ 'summary' => 'Deletes a business scenario.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '149048', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], '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***', 'title' => ''], ], [ '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' => [ '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' => [ [ '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":"\\n 12***\\n UnknownError\\n UnknownError\\n true\\n","errorExample":""}]', ], 'DeleteStandardGroup' => [ 'summary' => 'Deletes a security rule set.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'GroupId', 'in' => 'query', '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 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' => [ 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-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' => '', ], ], ], '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' => '*'], ], ], ], ], ], 'DeleteTask' => [ 'summary' => 'Deletes a task in a specified task flow.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '145358', '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***', 'title' => ''], ], [ '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' => '', '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' => [ [ '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":"\\n 3B460770-40D9-5F07-B68A-173D1D708B72\\n UnknownError\\n Unknown server error\\n true\\n","errorExample":""}]', ], 'DeleteTaskFlow' => [ 'summary' => 'Deletes a task flow.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '133185', '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 ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '134137***', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], 'title' => 'DeleteTaskFlow', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteTaskFlow', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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":"\\n 9AFE13F6-A4FD-581B-BFDE-B63B1CDC2336\\n true\\n","errorExample":""}]', ], 'DeleteTaskFlowEdgesByCondition' => [ 'summary' => 'Deletes task flow edges based on multiple conditions.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '147813', '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***', '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' => ''], ], [ 'name' => 'Id', 'in' => 'query', 'schema' => ['description' => 'The ID of the task flow edge to delete.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '24***', 'title' => ''], ], [ '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' => [ '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":"\\n 21234B66-6859-5558-9E5B-006EFE915CD0\\n true\\n","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, 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' => 'Uid', 'in' => 'query', 'schema' => ['description' => 'The unique ID (UID) of Alibaba Cloud account to delete.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '16488219****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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\\": \\"EF402235-C6CB-52B7-953A-33C100078D15\\",\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"The specified user not exists.\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], 'DeleteWorkspace' => [ 'summary' => 'Deletes a workspace.', 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', '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' => ['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' => [ [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsFS2Q9U'], ], 'parameters' => [ [ 'name' => 'InstanceUuid', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'j1e98rqubjltx4', 'title' => ''], ], [ 'name' => 'DataRegion', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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'], 'title' => '', 'description' => '仅管控模式为安全协同的数据库实例可调用此API。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'dms', 'title' => '数据管理'], ], '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"}]', ], 'DescribeInventoryFileUploadSignature' => [ 'path' => '/', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'JobToken', 'in' => 'query', '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'], ], ], 'responses' => [ 200 => [ 'schema' => [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, '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 obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '-1', 'title' => ''], ], [ 'name' => 'Uid', 'in' => 'query', 'schema' => ['description' => 'The UID of the Alibaba Cloud account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12345', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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 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' => '', ], ], ], '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' => '[{"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":"\\n ADE24A7C-DB8B-4D32-94AD-E50E3B921197\\n true\\n","errorExample":""}]', ], 'DownloadDataTrackResult' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ '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 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 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'], '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 specified 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 specified 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' => '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, 'title' => '', 'example' => '', ], ], [ 'name' => 'FilterTypeList', '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', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'ColumnFilter', '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', '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, 'title' => '', 'example' => '', ], ], [ 'name' => 'EventIdList', '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', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ '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***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response schema.'."\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', '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'], '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\\": \\"B43AD641-49C2-5299-9E06-1B37EC1B****\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"DownloadKeyId\\": \\"e23dd7ec-a19f-4a69-8eb3-8ffd26e6****\\"\\n}","type":"json"}]', ], 'EditLogicDatabase' => [ 'summary' => 'Edit logical database information. ', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], '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', 'title' => ''], ], [ '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***', '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.', '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, '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***', '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' => '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' => '', ], ], ], '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' => '*'], ], ], ], ], ], 'EditMetaKnowledgeAsset' => [ 'summary' => 'Edits the metadata business knowledge for specified GUIDs.', 'path' => '', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '249769', 'abilityTreeNodes' => ['FEATUREdms90TD19'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], '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', 'title' => ''], ], [ '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', 'title' => ''], ], [ 'name' => 'AssetDescription', 'in' => 'query', 'schema' => ['description' => 'Business knowledge content edited by users.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'DbId', '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****', 'title' => ''], ], [ 'name' => 'TableName', 'in' => 'query', 'schema' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'required' => true, 'example' => 'table_name', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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' => [ [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ '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, 'docRequired' => true, 'example' => '-1', 'title' => ''], ], [ 'name' => 'Uid', 'in' => 'query', 'schema' => ['description' => 'The UID of the Alibaba Cloud account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12345', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => ' ', '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":"\\n ADE24A7C-DB8B-4D32-94AD-E50E3B921197\\n true\\n","errorExample":""}]', ], 'ExecuteDataCorrect' => [ 'summary' => 'Execute a data change ticket.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '16677', 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', 'schema' => ['description' => 'Tenant ID. Call [GetUserActiveTenant](~~198073~~) to get this value.', 'type' => 'string', 'required' => false, 'example' => '3***', 'title' => ''], ], [ 'name' => 'OrderId', 'in' => 'query', 'schema' => ['description' => 'Ticket ID. Call [ListOrders](~~144643~~) to get this value.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '406****', 'title' => ''], ], [ 'name' => 'ActionDetail', 'in' => 'query', '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' => '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' => [ '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' => [ [ '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' => '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', 'title' => ''], ], [ 'name' => 'OrderId', 'in' => 'query', 'schema' => ['description' => 'The ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1234', 'title' => ''], ], [ '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' => '', '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' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], 'title' => 'ExecuteDataExport', 'summary' => 'Executes a data export ticket.', 'description' => '仅管控模式为安全协同的数据库实例可调用此API。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', '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":"FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\ntrue","errorExample":""}]', ], 'ExecuteScript' => [ 'summary' => 'Executes an SQL script.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsCYIMWT'], ], 'parameters' => [ [ 'name' => 'DbId', 'in' => 'query', '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' => 'Script', 'in' => 'query', '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' => 'Logic', 'in' => 'query', 'schema' => ['description' => 'Specifies whether the database is a logical database.', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'false', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', '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' => 'RealLoginUserUid', 'in' => 'query', 'schema' => ['description' => 'The Alibaba Cloud account UID of the API caller. For more information, see [Specify the caller of an API operation](~~2835451~~).', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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.', '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' => '[{"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' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteScript'], ], 'product' => ['code' => 'dms', 'title' => '数据管理'], ], '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' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], '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', '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' => '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' => '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 \\"RequestId\\": \\"4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 4E1D2B4D-3E53-4ABC-999D-1D2520B3471A\\n true\\n","errorExample":""}]', ], 'ExportInventoryAsset' => [ 'path' => '/', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ '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' => '', 'description' => 'The ID of the inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001'], ], [ 'name' => 'Query', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The search keyword used for fuzzy matching of asset information such as table names.', 'type' => 'string', 'required' => false, 'example' => 'order'], ], [ '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' => ['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', 'properties' => [ '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'], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The ID of the inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001'], ], [ 'name' => 'Query', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The search keyword used for fuzzy matching of knowledge content.', 'type' => 'string', 'required' => false, 'example' => '订单'], ], [ 'name' => 'ShowType', 'in' => 'query', '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' => ['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' => [ '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'], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], '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"}]', ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DbId', 'in' => 'query', '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' => 'Query', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The remarks.'."\n", 'type' => 'string', 'required' => false, 'example' => '正确字段是啥?'], ], [ 'name' => 'Sql', 'in' => 'query', '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' => ['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.'."\n", 'type' => 'string', 'example' => 'SQL修复结果...'], 'SessionId' => ['title' => '', 'description' => 'The session ID.'."\n", 'type' => 'string', 'example' => 'f63a6eed-0e3c-4564-8533-b1295db8d6ff'], ], 'example' => '', ], ], 'example' => '', ], ], ], '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' => [], ], ], '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 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' => 'Knowledge', 'in' => 'query', 'schema' => ['description' => 'Supplementary business information to help the model better understand the question.', 'type' => 'string', 'example' => 'state>0代表成功', 'title' => '', 'required' => false], ], [ 'name' => 'Question', 'in' => 'query', 'schema' => ['description' => 'The natural language question to convert into an SQL statement.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '查询今天的用户访问量'], ], [ '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 processing level. The default value is `base`.', 'type' => 'string', 'example' => 'base', 'default' => 'base', 'enum' => ['base', 'medium', 'complex'], 'title' => '', 'required' => false, ], ], [ 'name' => 'Model', 'in' => 'query', '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' => ['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' => ['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' => [ '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' => '', ], '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' => 'verified', 'enum' => ['RULE', 'FAQ', 'DOCUMENT'], 'title' => '', ], ], 'title' => '', 'example' => '', ], 'example' => '', ], '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' => ''], ], 'example' => '', ], ], 'example' => '', ], ], ], '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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台暂不支持sse类型接口的企业级能力鉴权,该接口实际已经具备租户隔离与RAM鉴权的能力', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', 'schema' => ['description' => 'The ticket ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '420****', 'title' => ''], ], [ 'name' => 'SessionId', 'in' => 'query', 'schema' => ['description' => 'The session ID.', 'type' => 'string', 'required' => false, 'example' => '48363552-225c-4c93-aeab-ea9b9d064b96', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ 'Content' => ['description' => 'The LLM-generated approval suggestion for the ticket.', 'type' => 'string', 'example' => '{"approvalStatus":"Recommend Rejection,"approvalSuggestion":"xxx","sessionId":"xxx"}', 'title' => ''], ], 'description' => 'The result of the operation.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '229515', 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], 'parameters' => [ [ 'name' => 'AbacPolicyId', 'in' => 'query', '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, 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 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' => [ '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], '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***', 'title' => ''], ], [ 'name' => 'WorkflowInstanceId', '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****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ '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' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'Description' => ['description' => 'The description of the approval process.'."\n", 'type' => 'string', 'example' => '[Instance permissions] Application\\\\
Permission type: ⌈Logon⌋\\\\
Application period: 30.0 days\\\\
Background description: [Instance permissions] logon test\\\\
\\\\
[Application list]\\\\
\\\\product\\\\ rm-bp144d5ky4l4rli0417\\\\*\\\\*\\\\*\\\\*.mysql.rds.aliyuncs.com:3306 - PRODUCT\\\\
', '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' => '', ], '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\\": \\"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\\\\\\\\\\\\\\\\
Permission type: ⌈Logon⌋\\\\\\\\\\\\\\\\
Application period: 30.0 days\\\\\\\\\\\\\\\\
Background description: [Instance permissions] logon test\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\
[Application list]\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\product\\\\\\\\\\\\\\\\ rm-bp144d5ky4l4rli0417\\\\\\\\\\\\\\\\*\\\\\\\\\\\\\\\\*\\\\\\\\\\\\\\\\*\\\\\\\\\\\\\\\\*.mysql.rds.aliyuncs.com:3306 - PRODUCT\\\\\\\\\\\\\\\\
\\",\\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' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetApprovalDetail'], ], 'product' => ['code' => 'dms', 'title' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1563', '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' => [ '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' => ''], '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' => '', ], 'Success' => ['description' => 'Indicates 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' => '[{"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' => '数据管理'], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '165972', 'abilityTreeNodes' => ['FEATUREdms6MV762'], ], 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1563', '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' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], '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****', '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' => '23***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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', '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\\": \\"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' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'JobId', '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****', '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***', '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' => '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' => '', ], ], ], 'title' => 'GetDBTaskSQLJobLog', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDBTaskSQLJobLog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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":""}]', ], 'GetDBTopology' => [ 'summary' => 'Queries the topologies of a logical database and its physical database shards.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ '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) 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' => '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' => '43215', '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' => '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' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'title' => 'GetDBTopology', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDBTopology', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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":"C5B8E84B-42B6-4374-AD5A-6264E1753378\\ntrue\\nUnknownError\\nUnknownError\\n\\n 1234\\n logic_db_test\\n logic_db_test\\n logic_db_test\\n polardb\\n dev\\n \\n 423532\\n db_test@rm-xxx:3306\\n def\\n db_test\\n polardb\\n dev\\n 4325325\\n cn-hangzhou\\n rm-xxx\\n RDS\\n \\n","errorExample":""}]', ], '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' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'PluginType', 'in' => 'query', 'schema' => ['description' => 'The plugin type. Default value: DATA_ARCHIVE.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DATA_ARCHIVE', 'default' => 'DATA_ARCHIVE', 'title' => ''], ], [ 'name' => 'OrderResultType', 'in' => 'query', 'schema' => ['description' => 'The type of the identity. Default value: AS_ADMIN.'."\n", 'type' => 'string', 'required' => false, 'example' => 'AS_ADMIN', 'default' => 'AS_ADMIN', 'title' => ''], ], [ 'name' => 'SearchDateType', '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', '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****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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' => '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' => '', ], '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', 'schema' => ['description' => 'The IDs of data archiving tickets.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '868****', '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***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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', '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' => [ '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', '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****', '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' => [ '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' => '', ], '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', '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' => [ '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' => '', ], '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" .' }', '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' => '', ], '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' => '', ], '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' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ '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' => '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' => '4200000', 'default' => '', 'title' => ''], ], [ 'name' => 'ActionDetail', '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' => '{}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ 'FileUrl' => [ 'description' => 'The download URL of the backup file for the ticket.'."\n", 'type' => 'array', 'items' => ['description' => 'Download URL of a backup file attachment.', 'type' => 'string', 'example' => 'https://xxx.oss-cn-hangzhou.aliyuncs.com/xxx.zip', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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' => ' ', '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '12557', 'abilityTreeNodes' => ['FEATUREdmsILBT4A', 'FEATUREdms1AAQ1Q'], ], '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***', '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' => ''], ], ], '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', 'title' => ''], 'DataCorrectOrderDetail' => [ 'description' => 'The information about the data change ticket.'."\n", 'type' => 'object', 'properties' => [ 'PreCheckDetail' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TaskCheckDO' => [ 'description' => 'The precheck details of 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', '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' => '', ], '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' => '', ], 'DatabaseList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Database' => [ 'description' => 'The information about the database in which data is changed.'."\n", 'type' => 'array', 'items' => [ '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' => '', ], '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' => '', ], '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' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'GetDataCorrectOrderDetail', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', '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":"\\n 427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\n \\n \\n tip messsage\\n SUCCESS\\n PERMISSION_CHECK\\n \\n \\n empty\\n test\\n test\\n update t1 set name = \'xxx\' where id <= 100\\n 100\\n text\\n 100\\n false\\n xxx\\n text\\n test\\n \\n \\n 1860****\\n mysql\\n false\\n xxx@xxx:3306\\n product\\n \\n approved\\n COMMITOR\\n \\n true\\n","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' => 'read', 'deprecated' => false, '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' => [ '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' => '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' => '', ], ], ], '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":"\\n 3CDB8601-AD74-4A47-8114-08E08CD6****\\n true\\n https://dmsxxx\\n","errorExample":""}]', ], 'GetDataCorrectSQLFile' => [ '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', 'exclusiveMaximum' => false, '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, 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' => ''], ], ], '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', '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' => [ [ '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":"\\n https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/uplJMIpQ%3D\\n 386EAA20-67FB-4D06-B7BF-2ABA11241185\\n true\\n","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' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrderId', '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', '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~~) 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' => ['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' => '', ], ], 'example' => '', ], ], ], '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":"B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773\\ntrue\\n\\n 1234235\\n SUCCESS\\n 1\\n 2021-03-05 15:08:55\\n","errorExample":""}]', ], 'GetDataCronClearConfig' => [ 'summary' => 'Queries the scheduling configuration of a ticket for cleaning up historical data.', '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. 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' => [ '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' => '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' => '', ], ], ], '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":"\\n 283C461F-11D8-48AA-B695-DF092DA32AF3\\n true\\n \\n 0 0 23 ? * 7,1\\n 1\\n SUCCESS\\n 2\\n 2022-11-18 00:00:00\\n 2022-11-19 00:00:00\\n 0\\n 0\\n \\n","errorExample":""}]', ], 'GetDataCronClearTaskDetailList' => [ 'summary' => 'Queries the details of a historical data cleansing 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. 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, 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' => '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', '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' => '', ], ], ], '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":"\\n C1D39814-9808-47F8-AFE0-AF167239AC9B\\n true\\n \\n 432523\\n SUCCESS\\n 1\\n 2021-01-14 10:00:00\\n \\n 1\\n","errorExample":""}]', ], 'GetDataExportDownloadURL' => [ 'summary' => 'Queries the download URL of export results for a data export ticket.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', '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, 'docRequired' => true, 'example' => '546****', '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' => [ 'type' => 'object', 'properties' => [ 'DownloadURLResult' => [ 'description' => 'The details of the download URL of the file that records the export results for the ticket.'."\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', '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' => '', ], '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' => '', ], ], ], '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":"\\n \\n https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip\\n true\\n \\n 4BF24EA5-9013-4C85-AE68-6C23AF5E0097\\n true\\n","errorExample":""}]', ], 'GetDataExportOrderDetail' => [ 'summary' => 'Queries the information about a data export ticket.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '12559', 'abilityTreeNodes' => ['FEATUREdmsPWN318'], ], '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' => '3***'."\n", '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' => '818****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ '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' => '', ], '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' => '', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrderId', '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****', '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, 'example' => '3***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ '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' => [ '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' => '', ], ], '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' => '', ], ], ], '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' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', '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' => '14****', 'title' => ''], ], [ 'name' => 'SqlId', '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****', '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***', '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' => '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '249777', 'abilityTreeNodes' => ['FEATUREdms90TD19'], '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' => '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 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' => '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' => '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '249583', 'abilityTreeNodes' => ['FEATUREdms25Q07S'], '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' => '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 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' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ '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' => 'FunctionName', 'in' => 'query', 'schema' => ['description' => 'The name of the function.', 'type' => 'string', 'required' => true, 'example' => 'my_funciton', 'title' => ''], ], [ '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 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' => 'Schema of Response', 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '*'], ], ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', 'schema' => ['description' => 'Data catalog name.', 'type' => 'string', 'required' => true, 'example' => 'hive', 'title' => ''], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => ['description' => 'Database name.', 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], [ 'name' => 'TableName', 'in' => 'query', 'schema' => ['description' => 'Table name.', 'type' => 'string', 'required' => true, 'example' => 'test_table', 'title' => ''], ], [ 'name' => 'PartitionValues', 'in' => 'query', 'style' => 'simple', 'schema' => [ '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' => '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' => 'Response schema.', 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '*'], ], ], ], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '249771', 'abilityTreeNodes' => ['FEATUREdms90TD19'], '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' => '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 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' => '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', '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' => '', ], ], ], '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' => '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' => '321****', '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***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response schema.'."\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', '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' => '', ], ], ], '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' => '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 ID of the ticket.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '12345', '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***', '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', '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 metadata of a table.'."\n", 'type' => 'object', 'properties' => [ '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' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'GetDataTrackJobTableMeta', 'summary' => 'Queries the metadata of tables involved in a data tracking task.', 'changeSet' => [], 'ramActions' => [ [ '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' => [ [ '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' => '4328****', '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***', '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' => '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' => '', ], ], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', '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' => 'Host', 'in' => 'query', 'schema' => ['description' => 'The endpoint of the database.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '192.168.XX.XX', 'title' => ''], ], [ 'name' => 'Port', 'in' => 'query', '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' => [ 'type' => 'object', 'properties' => [ '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' => '', ], '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' => '', ], ], 'description' => 'The nicknames of the database owners.', 'title' => '', 'example' => '', ], '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' => ''], ], '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' => ''], ], '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' => [ [ '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" .'> 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' => [ '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', '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' => '[{"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' => '数据管理'], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', '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, 'docRequired' => false, 'example' => '3***', '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' => '73****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => ''], ], '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' => [ [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsFS2Q9U'], ], 'parameters' => [ [ 'name' => 'DataRegion', 'in' => 'query', 'schema' => ['description' => 'The region where the data lake is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdms19SL1H'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', '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' => 'Host', 'in' => 'query', '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' => 'Port', 'in' => 'query', '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' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], '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" .'- **COMMON**: Security Collaboration'."\n" ."\n" .'- **NONE\\_CONTROL**: Flexible Management'."\n" ."\n" .'- **STABLE**: Stable Change', 'type' => 'string', 'example' => 'NONE_CONTROL', 'title' => ''], ], 'title' => '', 'example' => '', ], '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' => ''], ], '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' => [ [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ '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****', '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' => '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', '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' => '', ], ], ], '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":"\\n 5B96E35F-A58E-5399-9041-09CF9A1E46EA\\n true\\n 59\\n","errorExample":""}]', ], 'GetInventoryExportTaskStatus' => [ 'path' => '/', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ExportTaskId', 'in' => 'query', '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' => '', '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 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' => '', ], ], ], '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"}]', ], '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' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'SpaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the workspace.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test_space', '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' => '3000', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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' => [ [ '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":"\\n FE8CA4A8-AB2D-55B7-BD30-01A4609F40D8\\n \\n 3***\\n false\\n test_space\\n 51***\\n 1\\n 14\\n 1\\n {\\"skipManualRunCheck\\":true,\\"skipPublishApprove\\":true}\\n 2435****\\n 2442****\\n \\n true\\n","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 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' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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":"\\n \\n test_logic_db【test_logic_alias】\\n test_logic_alias\\n 1***\\n \\n owner_name\\n \\n true\\n polardb\\n test_logic_db\\n dev\\n \\n 51****\\n \\n \\n E057F5F6-298E-5A3D-B948-0E5328D56B54\\n true\\n","errorExample":""}]', ], 'GetMetaTableColumn' => [ 'summary' => 'Queries the details of columns in a table.', '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. 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' => 'TableGuid', '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', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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" .'> 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\\": \\"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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', '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' => 'TableGuid', 'in' => 'query', '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' => 'RealLoginUserUid', 'in' => 'query', 'schema' => ['description' => 'The user ID of the API caller.', 'type' => 'string', 'required' => false, 'example' => '12345', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], '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' => '', ], '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' => '[{"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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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 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' => 'JobDetailId', '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***', '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', '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' => '', ], ], ], '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":"\\n 34E01EDD-6A16-4CF0-9541-C644D1BE01AA\\n true\\n \\n SUCCESS\\n Success\\n 0\\n 10\\n 9\\n 90\\n 2\\n 3\\n DROP\\n 1000\\n AUTO\\n 12:00:00\\n 13:00:00\\n \\n","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' => [], ], ], '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~~) or [ListUserTenants](~~198074~~) operation to query the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '3***', 'title' => ''], ], [ 'name' => 'Module', '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', 'title' => ''], ], [ 'name' => 'StartTime', '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', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ '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', '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 \\"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' => '## 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" .' "",'."\n" .' "",'."\n" .' ""'."\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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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' => [ '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":"\\n FE8EE2F1-4880-46BC-A704-5CF63EAF9A04\\n true\\n https://dmsxxx\\n","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.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '12345', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'OrderBaseInfo' => [ 'description' => 'The basic information about the ticket.'."\n", 'type' => 'object', 'properties' => [ 'RelatedUserNickList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'UserNicks' => [ 'description' => 'The nicknames of the operators that are related to the ticket.'."\n", 'type' => 'array', 'items' => ['description' => 'The nickname of the operator that is related to the ticket.'."\n", 'type' => 'string', 'example' => 'nickname', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], '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' => [ 'UserIds' => [ 'description' => 'The IDs of 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' => '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' => '', ], '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' => '', ], ], ], 'title' => 'GetOrderBaseInfo', 'summary' => 'Queries the basic information about a ticket.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', '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":"\\n test\\n 2019-10-10 00:00:00\\n 2019-10-10 00:00:00\\n 12345\\n 1\\n DC_COMMON\\n success\\n \\n a,b,c\\n \\n success\\n approved\\n 1\\n xxx\\n \\n 1,2,3\\n \\n\\n7133DF67-5B25-460F-8285-C4CC93472C2F\\nUnknownError\\nUnknownError\\ntrue","errorExample":""}]', ], 'GetOwnerApplyOrderDetail' => [ 'summary' => 'Queries the details of the Database-OWNER, Table-OWNER, and Instance-OWNER tickets.', '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' => '730000', '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', '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', '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' => [ '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' => '', ], ], ], '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":"\\n \\n DB\\n \\n \\n gp_toolkit@gp-bp18anxxxxxxxt48z.gpdb.rds.aliyuncs.com:3432\\n gctest\\n PRODUCT\\n ADB_POSTGRESQL\\n 128000\\n \\n false\\n 116000\\n \\n \\n 6976762B-AEA4-4EF0-9C42-46EC5477D780\\n true\\n","errorExample":""}]', ], 'GetPagedInstance' => [ 'summary' => 'Queries the task information about a ticket.', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', '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, 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' => [ '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], ], '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' => '73****', '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' => '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', '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' => '[{"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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'DbId', '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', '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' => '1', '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', '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' => '', ], ], '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' => '', ], ], ], '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":"\\n 4EE2B004-9131-44B7-B6EE-6151B6329F68\\n \\n film@rm-uf64e.mysql.rds.aliyuncs.com:3306\\n 1400000\\n 3306\\n utf8\\n rm-uf64e.mysql.rds.aliyuncs.com\\n 7000000\\n mysql\\n dev\\n enlun00\\n 260000\\n NORMAL\\n def\\n \\n enlun\\n \\n film\\n \\n 26000\\n \\n \\n true\\n","errorExample":""}]', ], 'GetProxy' => [ 'summary' => 'Queries the details of a secure access proxy.', '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. 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' => '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***', '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', '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' => '', ], ], ], '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":"\\n dphzmy-5j8oimjsz6zed7k****.proxy.dms.aliyuncs.com\\n dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com\\n F49D4598-2B3C-5723-865E-2CCB818E****\\n 183****\\n 4**\\n 12****\\n true\\n 3306\\n test_name\\n 443\\n","errorExample":""}]', ], 'GetProxyAccess' => [ 'summary' => 'Queries the authorization information about the secure access proxy feature.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProxyAccessId', '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', '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***', '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' => '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' => '[{"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' => '数据管理'], ], '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' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ '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****', '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' => '3***', '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', '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' => '', ], ], ], '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":"\\n 8EE72AAA-88DE-5747-A63B-43887BFE5480\\n 20\\n true\\n","errorExample":""}]', ], 'GetSQLReviewCheckResultStatus' => [ 'summary' => 'Queries the result of an SQL review.', '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. 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' => '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' => [ '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' => [ [ '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":"\\n E1ABE358-14A0-4DFA-9776-1A3CB59192DF\\n \\n \\n 1\\n 1\\n 1\\n 2\\n \\n 4\\n 4\\n \\n 1\\n 3\\n \\n \\n true\\n","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' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'SQLReviewQueryKey', '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****', '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', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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.'."\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**: An error occurs.'."\n" .'* **false**: No error occurs.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], '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 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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'GroupId', 'in' => 'query', '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 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' => '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-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' => '', ], ], ], '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' => '数据管理'], ], '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' => [], ], ], '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' => '342153', '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 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' => [ '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' => [ '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' => '', ], ], ], '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' => '[{"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":""}]', ], 'GetStructSyncJobAnalyzeResult' => [ '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' => '1342355', 'title' => ''], ], [ 'name' => 'CompareType', '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', '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 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' => [ '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' => '', ], ], ], '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' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', 'schema' => ['description' => 'The ticket ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '4324321', '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', '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' => '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' => '', ], ], 'example' => '', ], ], ], 'title' => 'GetStructSyncJobDetail', 'changeSet' => [], 'ramActions' => [ [ '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 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' => [ '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' => '', ], ], ], '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":"\\n CA4E966B-1A57-4230-B0BB-CBB9CAF2CEDC\\n \\n \\n poc_dev@rm-uxxxxx.mysql.rds.aliyuncs.com:3306\\n 800000\\n false\\n dev\\n mysql\\n \\n DATASOURCE\\n DATASOURCE\\n false\\n \\n film@rm-uf64xxxxe.mysql.rds.aliyuncs.com:3306\\n 700000\\n false\\n dev\\n mysql\\n \\n \\n *\\n *\\n \\n \\n true\\n","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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DbId', 'in' => 'query', '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' => 'TableName', 'in' => 'query', '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 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' => '', ], ], ], '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' => [], ], ], '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, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ 'name' => 'TableGuid', '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', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ '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\\": \\"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":"\\n 78F78156-2BBE-414A-8A9D-BE61CF6FA60F\\n \\n big_table\\n IDB_270000001.film.big_table\\n \\n \\n 4000000\\n film\\n \\n 200000000\\n big_table\\n NORMAL\\n \\n product\\n mysql\\n \\n 3306\\n rm-uf000000z0000002l.mysql.rds.aliyuncs.com\\n mysql\\n \\n \\n true \\n","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'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '219318', 'abilityTreeNodes' => ['FEATUREdms867K9R'], 'autoTest' => false, 'notSupportAutoTestReason' => '结构设计功能相关API不全无法构造完整测试用例进行自动化测试', ], 'parameters' => [ [ '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****'], ], [ '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***', '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 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', 'properties' => [ 'FlowNodeArray' => [ 'description' => 'The nodes in the process.'."\n", 'type' => 'array', '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', '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', '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', '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\\": \\"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'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '219310', 'abilityTreeNodes' => ['FEATUREdms867K9R'], 'autoTest' => false, 'notSupportAutoTestReason' => '结构设计功能为重页面编辑态控制台功能,无完整API,无法完成自动化测试', ], 'parameters' => [ [ '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****'], ], [ '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***', '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 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****', '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', '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\\": \\"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', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTableDesignProjectInfo'], ], 'product' => ['code' => 'dms', 'title' => '数据管理'], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DbId', 'in' => 'query', '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' => 'TableName', 'in' => 'query', 'schema' => ['description' => 'The table name.', 'type' => 'string', 'required' => true, 'example' => 'order_info', 'title' => ''], ], ], 'responses' => [ 200 => [ 'description' => '成功返回', 'schema' => [ '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 retrieved table instructions.', 'required' => true, '$ref' => '#/components/schemas/TableInstructionsVO', 'example' => '1001', 'title' => ''], ], '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' => [ [ '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 ID of the database. To obtain this ID, call the [ListDatabases](~~141873~~) API.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1***', 'title' => ''], ], [ 'name' => 'TableName', 'in' => 'query', '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.', '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' => '', ], ], ], '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' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '249769', 'abilityTreeNodes' => ['FEATUREdms90TD19'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'TableSchemaName', 'in' => 'query', 'schema' => ['description' => 'The schema name of the table, which is required only for SQL Server instances.', 'type' => 'string', 'required' => false, 'example' => 'dbo', 'title' => ''], ], [ 'name' => 'DbId', 'in' => 'query', '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' => 'TableName', 'in' => 'query', 'schema' => ['description' => 'The name of the table.', 'type' => 'string', 'required' => true, 'example' => 'table_name', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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' => ''], ], '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' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetTableKnowledgeInfo', '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 \\"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' => 'TableGuid', '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', '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 [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' => ['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', 'properties' => [ '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' => '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' => ''], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], '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":"\\n 7A7F0E34-8E21-4CF7-93C8-27212B122145\\n \\n big_table\\n IDB_279000000.film.big_table\\n false\\n \\n film@rm-uf00000000240000l.mysql.rds.aliyuncs.com:3306【nissi go】\\n RDS\\n rm-uf00000000240000l\\n 1000000\\n big_table\\n 1\\n 4000000\\n film\\n cn-shanghai\\n mysql\\n \\n \\n true \\n","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' => 'read', 'deprecated' => false, '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 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' => 'NodeId', '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', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'Schema of Response', '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', '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' => '[{"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' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'], ], 'product' => ['code' => 'dms', 'title' => '数据管理'], ], ], 'GetTaskFlowGraph' => [ '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 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 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ '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' => '', ], '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***', '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' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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":"\\n D9D91166-A626-5F4E-9CA6-7AB10C59DBD8\\n \\n 2\\n testSpark\\n true\\n \\n \\n \\n \\n Lindorm Spark-1\\n {\\"variables\\":[{\\"name\\":\\"my_bizdate\\",\\"pattern\\":\\"yyyy-MM-dd|+6d\\"}]}\\n LINDORM_SPARK\\n 44***\\n 15***\\n ODI3OTNRVC****UHVFT29\\n {\\"x\\":254,\\"y\\":239,\\"layoutType\\":\\"Horizontal\\"}\\n \\n \\n Lindorm Spark-2\\n LINDORM_SPARK\\n 44***\\n 15***\\n {\\"x\\":538,\\"y\\":161,\\"layoutType\\":\\"Horizontal\\"}\\n \\n \\n Lindorm Spark-3\\n LINDORM_SPARK\\n 44***\\n 15***\\n {\\"x\\":541,\\"y\\":322,\\"layoutType\\":\\"Horizontal\\"}\\n \\n \\n \\n true\\n","errorExample":""}]', ], 'GetTaskFlowNotification' => [ 'summary' => 'Queries the notification settings for task flows.', '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 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 => [ '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', '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' => [ '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' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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":"\\n F19D575F-EBEA-5683-AFA3-A8F6D9A7DE03\\n true\\n \\n true\\n true\\n true\\n \\n","errorExample":""}]', ], 'GetTaskInstanceRelation' => [ 'summary' => 'Queries the task nodes of a task flow instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', '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 ID of the task flow.'."\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 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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ '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' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], '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' => '[{"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":"\\n 028BF827-3801-5869-8548-F4A039256304\\n true\\n \\n 14059\\n 14059\\n Spark SQL-1\\n 36\\n 2021-11-09 14:37:26\\n 4\\n test\\n 170655\\n 2021-11-11 14:38:57\\n \\n","errorExample":""}]', ], 'GetUser' => [ '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. 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' => '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' => [ 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', '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' => [ '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', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], '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', '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' => '', ], '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' => '', ], ], ], 'title' => 'GetUser', 'summary' => 'Queries the information about a user.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', '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":"\\n \\n \\n Uesr_email\\n \\n USER\\n ADMIN\\n \\n User_NickName\\n 2000\\n 28\\n 2021-11-09 13:39:21\\n 22275482072787****\\n \\n 1\\n 3\\n \\n 10000\\n NORMAL\\n 51****\\n 3\\n 140692647406****\\n \\n 804BB128-CAFA-5DD0-BA1E-43DDE488****\\n true\\n","errorExample":""}]', ], 'GetUserActiveTenant' => [ 'summary' => 'Queries details of the active tenant.', '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. 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' => [ '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', '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 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' => '', ], ], ], '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":"\\n \\n ACTIVE\\n test_name\\n 3***\\n \\n 4B63CAC5-BD7F-5C7C-82C9-59DFFBC3****\\n true\\n","errorExample":""}]', ], 'GetUserUploadFileJob' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'JobKey', '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', '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', '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' => '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' => '', ], ], 'example' => '', ], ], ], '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' => '[{"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":"\\n 22FFF57C-6E85-4C3D-90AF-C1BFE79E1FAF\\n \\n INIT\\n 7000005000007000009000000\\n https://dbxxx.oss-cn-hangzhou.aliyuncs.com/dm/1.txt\\n 0\\n \\n datacorrect\\n 1.txt\\n URL\\n -1\\n \\n true\\n","errorExample":""}]', ], 'GetWorkspace' => [ 'summary' => 'Queries the details of a workspace.', 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', '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' => ['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' => ''], ], 'example' => '', ], ], ], 'errorCodes' => [ 404 => [ ['errorCode' => 'WorkspaceNotExist', 'errorMessage' => 'The specified workspace not exist.', 'description' => 'The workspace does not exist.'], ], ], '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' => [], ], ], 'operationType' => 'write', 'deprecated' => false, '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 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' => 'ExpireDate', 'in' => 'query', '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' => ['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' => ''], ], 'example' => '', ], ], ], '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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], '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' => true, 'example' => '3***', 'title' => ''], ], [ 'name' => 'UserId', '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****', 'title' => ''], ], [ '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', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A99CD576-1E18-4E86-931E-C3CCE56DC030\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n A99CD576-1E18-4E86-931E-C3CCE56DC030\\n true\\n","errorExample":""}]', ], 'InspectProxyAccessSecret' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProxyAccessId', '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', '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', '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', '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' => '', ], ], ], '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":"\\n nxxxxxxuxxxxxxxi\\n E6F2971A-CDCC-5451-86EB-328868715619\\n true\\n","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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '228489', 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], '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', 'title' => ''], ], [ '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' => [ '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'], ], ], [ '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' => ['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' => '*'], ], ], ], ], ], 'ListAbacPolicies' => [ 'summary' => 'Queries a list of policies that are created by a user.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '228361', 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], 'parameters' => [ [ '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' => 'PageNumber', 'in' => 'query', '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 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' => [ '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', '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' => 'The information about the permission policy.'."\n", 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'SearchKey', 'in' => 'query', '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 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' => [ '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', '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' => [ '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' => '[{"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' => '数据管理'], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '250204', 'abilityTreeNodes' => ['FEATUREdmsY7L2P4'], ], 'parameters' => [ [ 'name' => 'UserId', '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****', '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' => '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.'."\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' => '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****', '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'], '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' => '*'], ], ], ], ], ], 'ListAuthorizedInstancesForUser' => [ 'summary' => 'Queries the instances on which the specified user has permissions.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '250181', 'abilityTreeNodes' => ['FEATUREdmsY7L2P4'], ], 'parameters' => [ [ 'name' => 'UserId', '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****', '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.'."\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' => '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****', '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'], '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' => '*'], ], ], ], ], ], 'ListAuthorizedUsersForDatabase' => [ 'summary' => 'Queries a list of users that have permissions on the specified database.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '250285', 'abilityTreeNodes' => ['FEATUREdmsY7L2P4'], ], 'parameters' => [ [ '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' => 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.'."\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 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****', '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'], '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' => '*'], ], ], ], ], ], 'ListAuthorizedUsersForInstance' => [ 'summary' => 'Queries a list of users that have permissions on the specified instance.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '250296', 'abilityTreeNodes' => ['FEATUREdmsY7L2P4'], ], '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' => '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.'."\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 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'], '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' => '*'], ], ], ], ], ], 'ListClassificationTemplates' => [ 'summary' => 'Queries the classification templates.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], '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, 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' => ''], ], ], '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' => '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' => [ [ '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":"\\n 90260530-565C-42B9-A6E8-893481FE6AB6\\n true\\n \\n test\\n USER_DEFINE\\n test\\n \\n","errorExample":""}]', ], 'ListColumns' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], '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***', 'title' => ''], ], [ 'name' => 'TableId', '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****', '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, 'docRequired' => true, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ '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', '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' => '', ], ], ], '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' => '[{"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":"\\n 0AD9AC55-5873-474A-9F33-4285806A3619\\n \\n 62589****\\n name\\n \\n varchar(4)\\n false\\n INNER\\n 4\\n false\\n false\\n \\n true\\n","errorExample":""}]', ], 'ListDAGVersions' => [ 'summary' => 'Queries the published versions of a task flow.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '133412', '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 ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', '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](~~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' => [ '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' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDAGVersions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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":"\\n 1\\n C7775630-7901-51B9-8782-9B585EC0799A\\n \\n \\n 2****\\n 51****\\n test_OSS\\n Spark SQL\\n name\\n \\n \\n true\\n","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' => 'DBTaskGroupId', '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' => '132****', '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' => '20', '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***', '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' => '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' => '', ], ], ], 'title' => 'ListDBTaskSQLJob', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDBTaskSQLJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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":"\\n F6C47680-8D2D-43A4-8902-F2740D71A398\\n true\\n UnknownError\\n UnknownError\\n \\n STRUCT_SYNC\\n test\\n test@xxx:3306【test】\\n 43214523\\n false\\n 2021-02-18 17:49:20\\n 2021-02-18 17:49:31\\n SUCCESS\\n false\\n \\n 1\\n","errorExample":""}]', ], 'ListDBTaskSQLJobDetail' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdms867K9R'], ], 'parameters' => [ [ 'name' => 'JobId', 'in' => 'query', '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' => 'PageNumber', 'in' => 'query', '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~~) 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 data returned in the response.', 'type' => 'object', 'properties' => [ '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" .'- **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' => '', ], ], ], 'title' => 'ListDBTaskSQLJobDetail', 'summary' => 'Gets the details of the SQL task.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDBTaskSQLJobDetail'], ], 'product' => ['code' => 'dms', 'title' => '数据管理'], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdms867K9R'], 'autoTest' => false, 'notSupportAutoTestReason' => '结构设计功能为重页面编辑态控制台功能,无完整API,无法完成自动化测试', ], 'parameters' => [ [ 'name' => 'OrderId', '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', '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 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 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', '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\\": \\"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' => '数据管理'], ], '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' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], '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****', 'title' => ''], ], [ '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', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', '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 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', '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', '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' => '', ], ], ], '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":"\\n A793B353-2D13-47A3-AF45-53798FBD864F\\n \\n 1\\n poc_dev@rm-uf61****1w0926d66.mysql.rds.aliyuncs.com:3306【poc_dev】\\n 8050000\\n \\n true\\n","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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], '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****', '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 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', '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', '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" .'* **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' => '', ], ], ], '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":"\\n 31853A2B-DC9D-5B39-8492-D2AC8BCF550E\\n \\n OPTIMIZE TABLE `Text_TableNames`\\n WAITING\\n `Text_TableNames`,\\n 1930****\\n OPTIMIZE\\n 0\\n \\n true\\n","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' => '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' => '11****', 'title' => ''], ], [ 'name' => 'SqlType', 'in' => 'query', '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' => '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', 'title' => ''], ], [ 'name' => 'PageNumer', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, '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' => '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', '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' => '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', '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' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'TotalCount' => ['description' => 'The number of SQL statements.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], '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 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' => '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 type of the SQL statement, such as DELETE, UPDATE, or INSERT.'."\n", 'type' => 'string', 'example' => 'INSERT', 'title' => ''], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], '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' => '[{"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"}]', ], 'ListDataLakeCatalog' => [ 'summary' => 'Queries a list of data catalogs in a data lake.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '249778', 'abilityTreeNodes' => ['FEATUREdms90TD19'], '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' => '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 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' => [ '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' => '', ], ], 'example' => '', ], ], ], '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' => '*'], ], ], ], ], ], 'ListDataLakeDatabase' => [ 'summary' => 'Queries the list of databases in the data lake.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '249748', 'abilityTreeNodes' => ['FEATUREdms90TD19'], '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' => 'CatalogName', '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', 'title' => ''], ], [ 'name' => 'SearchKey', 'in' => 'query', '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 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' => [ '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' => ''], ], 'example' => '', ], ], ], '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' => '*'], ], ], ], ], ], 'ListDataLakeFunction' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', '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.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', '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' => [ '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' => ''], ], 'example' => '', ], ], ], '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' => '*'], ], ], ], ], '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' => [], ], ], 'operationType' => 'read', '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 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' => 'CatalogName', 'in' => 'query', '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' => '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' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response'."\n", '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', '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 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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', '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.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', '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' => 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 list of partition names.', 'type' => 'array', 'items' => ['description' => 'The name of a partition.', 'type' => 'string', 'required' => false, 'example' => 'part_1', 'title' => ''], 'required' => false, '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' => 'Response schema', 'type' => 'object', 'properties' => [ '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' => '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' => '', ], ], ], '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' => '*'], ], ], ], ], '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' => [], ], ], 'operationType' => 'read', '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.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Tid', 'in' => 'query', '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' => 'Response schema', 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '*'], ], ], ], ], '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' => [], ], ], 'operationType' => 'read', '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 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' => 'CatalogName', 'in' => 'query', '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' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', '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', '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', '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 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' => 'CatalogName', 'in' => 'query', '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' => 'TableNamePattern', 'in' => 'query', 'schema' => ['description' => 'The regular expression that is used to match the names of metadata tables.'."\n", 'type' => 'string', 'required' => false, 'example' => '.*', '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' => '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' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', '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' => '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' => '', ], ], ], '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' => '*'], ], ], ], ], ], 'ListDataLakeTableName' => [ 'summary' => 'Queries a list of names of tables in a data lake.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', '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 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' => 'CatalogName', 'in' => 'query', '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' => 'TableNamePattern', 'in' => 'query', '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' => ['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' => '*'], ], ], ], ], ], 'ListDataLakeTablebaseInfo' => [ 'summary' => 'Queries basic information about tables in the data lake.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '249769', 'abilityTreeNodes' => ['FEATUREdms90TD19'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DataRegion', 'in' => 'query', 'schema' => ['description' => 'The region where the data lake resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ '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', 'title' => ''], ], [ 'name' => 'Page', 'in' => 'query', 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'SearchKey', 'in' => 'query', 'schema' => ['description' => 'The keyword that is used to search for tables.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'DbName', 'in' => 'query', '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' => [ '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' => '*'], ], ], ], ], ], 'ListDatabaseUserPermssions' => [ 'summary' => 'Queries the permissions of users on a database.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], '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', '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', 'title' => ''], ], [ 'name' => 'DbId', 'in' => 'query', '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' => ''], ], [ 'name' => 'UserName', 'in' => 'query', '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', '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' => [ 'type' => 'object', 'properties' => [ '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, 'properties' => [ 'UserPermission' => [ 'description' => 'The details of user permissions.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ '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, 'properties' => [ 'PermDetail' => [ 'description' => 'The details of user permissions.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ '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', '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', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'ListDatabaseUserPermssions', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', '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":"\\n \\n false\\n xxx\\n DATABASE\\n beihe_ent_prod\\n \\n \\n 2020-10-31 00:00:00\\n 390915\\n QUERY\\n xxx\\n 2019-11-21 15:07:45\\n \\n \\n 2020-10-31 00:00:00\\n 390916\\n EXPORT\\n xxx\\n 2019-11-21 15:07:45\\n \\n \\n 2020-10-31 00:00:00\\n 390917\\n CORRECT\\n xxx\\n 2019-11-21 15:07:45\\n \\n \\n 1434\\n xxx@xxxx:3306\\n 123434\\n 432423\\n drds\\n product\\n xxx\\n \\n\\n1\\n68075D06-7406-4887-83A7-F558A4D28C13\\ntrue","errorExample":""}]', ], 'ListDatabases' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', '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' => 'InstanceId', 'in' => 'query', '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' => '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 records per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'SearchKey', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ 'Database' => [ 'description' => 'The list of database details.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ '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' => [ 'OwnerIds' => [ 'description' => 'The list of database owner IDs.', 'type' => 'array', 'items' => ['description' => 'The database owner ID.', 'type' => 'string', 'example' => '1', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], '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' => '', ], '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' => '', ], ], ], 'title' => 'ListDatabases', 'summary' => 'Invoke ListDatabases to retrieve the list of databases for an instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDatabases', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '148628', '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 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.'."\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' => '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' => [ [ '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":"\\n 3E8AF4C3-A822-53A8-970C-059EE83BBD5A\\n \\n \\n 1080\\n 0\\n 1\\n 0\\n 0\\n \\n \\n true\\n","errorExample":""}]', ], 'ListDesensitizationRule' => [ 'summary' => 'Queries a list of masking rules.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ '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. The maximum value is 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'RuleType', 'in' => 'query', 'schema' => ['description' => 'The algorithm used for masking.'."\n", 'type' => 'string', 'required' => false, 'example' => 'HASH', 'title' => ''], ], [ 'name' => 'FuncType', 'in' => 'query', 'schema' => ['description' => 'The type of the masking algorithm.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MD5', 'title' => ''], ], [ 'name' => 'RuleName', 'in' => 'query', 'schema' => ['description' => 'The name of the masking rule.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Data masking rule test', 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The ID of the masking rule.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', '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***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ '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 \\"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' => '数据管理'], ], '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' => [], ], ], '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, 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' => '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' => '', ], ], ], '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' => [ [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], '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' => '0', 'title' => ''], ], [ 'name' => 'TableId', 'in' => 'query', 'schema' => ['description' => 'The ID of the table.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'Logic', 'in' => 'query', 'schema' => ['description' => 'Specifies whether the table is a logical table.'."\n", 'type' => 'boolean', 'required' => false, 'docRequired' => true, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], 'title' => 'ListIndexes', 'description' => '仅管控模式为安全协同的数据库实例可调用此API。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', '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":"1F4DE2F1-5B47-462A-A973-E02EB7AF386B\\n\\n \\n \\n Primary\\n PRIMARY\\n 49331416\\n 18396274\\n \\n\\ntrue","errorExample":""}]', ], 'ListInstanceLoginAuditLog' => [ 'summary' => 'Queries the logon records of an instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], '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', 'title' => ''], ], [ '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. 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' => 'SearchName', 'in' => 'query', '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' => 'OpUserName', 'in' => 'query', 'schema' => ['description' => 'The alias of the user.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_OpUserName', 'title' => ''], ], [ 'name' => 'PageSize', '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', '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. 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' => [ 'type' => 'object', 'properties' => [ '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' => [ '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' => '', ], ], ], 'title' => 'ListInstanceLoginAuditLog', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListInstanceLoginAuditLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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":"\\n \\n \\n rm-bp144d5ky4l4rli0417****.mysql.rds.aliyuncs.com:3306【rm-bp144d5ky4l4r****】\\n test_UserName\\n 177****\\n 12****\\n 117.36.XX.XX, 100.104.XX.XX\\n 2021-11-18 11:13:26\\n test_User\\n \\n \\n 1\\n 074CE7C9-4F9C-5B62-89BC-7B4914A3****\\n true\\n","errorExample":""}]', ], 'ListInstanceUserPermissions' => [ 'summary' => 'Queries the permissions of a user on an instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], '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, 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' => 'InstanceId', '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****', 'title' => ''], ], [ 'name' => 'UserName', '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', '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' => '100', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsVESC4E'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', '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' => 'SearchKey', 'in' => 'query', 'schema' => ['description' => 'The search keyword.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'DbType', 'in' => 'query', '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' => 'EnvType', 'in' => 'query', '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' => 'InstanceSource', 'in' => 'query', '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.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. The value cannot exceed 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], ], [ 'name' => 'Region', 'in' => 'query', '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' => [ 'description' => 'The description.', 'type' => 'object', 'properties' => [ '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' => [ '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' => '', ], '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' => '', ], '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' => '', ], ], ], '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' => '数据管理'], ], 'ramActions' => [], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Query', 'in' => 'query', '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' => 'Status', 'in' => 'query', 'schema' => ['description' => 'The task status to filter by.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'Size', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return per 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.', 'type' => 'string', 'required' => false, 'example' => 'confidence', 'title' => ''], ], [ 'name' => 'SortOrder', 'in' => 'query', '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' => [ '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 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' => '', ], ], ], 'errorCodes' => [], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListInventoryJobs', '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\\": 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"}]', ], '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' => 'list', 'abilityTreeCode' => '130971', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'SpaceId', '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', 'title' => ''], ], [ 'name' => 'UserId', '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****', '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' => [ 200 => [ 'schema' => [ '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****', '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' => '', 'example' => '', ], ], '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 \\"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":"\\n \\n 51****\\n false\\n -\\n 1\\n Creator_Name\\n Owner_Name\\n true\\n 2\\n 0\\n Dag_Name\\n 51****\\n \\n \\n \\n Scenario_2\\n 51****\\n test\\n \\n \\n 51****\\n false\\n -\\n 1\\n Creator_Name\\n Owner_Name\\n true\\n 1\\n 1\\n Dag_Name\\n 51****\\n \\n \\n 48602B78-0DDF-414C-8688-70CAB6070115\\n true\\n","errorExample":""}]', ], 'ListLogicDatabases' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ '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, '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' => [ 'type' => 'object', 'properties' => [ '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' => '', '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' => '', ], ], ], '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":"\\n 7\\n \\n 1***\\n 51****\\n polardb\\n owner_name\\n true\\n logic_db\\n logic_db【logic_db_alias】\\n test\\n logic_db_alias\\n \\n 8068AF82-8A1A-592C-AC2E-6B75338BAB87\\n true\\n","errorExample":""}]', ], 'ListLogicTableRouteConfig' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], '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' => '1****', '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***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ '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' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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":"\\n 7C6A0D7D-B034-59F6-854C-32425AC6****\\n \\n \\n 1****\\n #id#%16\\t\\n 1\\n \\n \\n 1****\\n #id#%16\\t\\n id-hash-mod17\\t\\n \\n \\n 1****\\n #id#%16\\t\\n id-test\\n \\n \\n true\\n","errorExample":""}]', ], 'ListLogicTables' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], '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' => 'DatabaseId', 'in' => 'query', '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' => [ 'type' => 'object', 'properties' => [ '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' => '[{"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":"1\\nF1E6484F-9DF1-4406-9BDE-0861C4629B69\\n\\n \\n true\\n \\n xxx\\n xxx\\n \\n t[1-4]\\n 267\\n yuyang_test\\n t\\n IDB_L_3057.yuyang_test.t\\n 4\\n \\n 88653\\n 104442\\n \\n 3057\\n \\n\\ntrue","errorExample":""}]', ], 'ListMetaCategory' => [ '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' => '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***', 'title' => ''], ], [ 'name' => 'ParentCategoryId', 'in' => 'query', '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' => [ '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 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' => [ 'MetaCategory' => [ 'description' => 'The list of categories.'."\n", 'type' => 'array', 'items' => ['description' => 'The information about the category.'."\n", '$ref' => '#/components/schemas/MetaCategory', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', 'schema' => ['description' => 'Tenant ID. Get this value by calling [GetUserActiveTenant](~~198073~~) or [ListUserTenants](~~198074~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3***', 'title' => ''], ], [ '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' => [ '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' => ''], ], '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' => [ [ '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' => [ [ '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' => [ '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' => '', ], ], ], 'title' => 'ListProxies', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListProxies', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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":"\\n \\n dphzmy-5j8oimjsz6ze****-pub.proxy.dms.aliyuncs.com\\n dphzmy-5j8oimjsz6ze****.proxy.dms.aliyuncs.com\\n 183****\\n 4**\\n 12****\\n 3306\\n true\\n test_name\\n false\\n 443\\n \\n \\n dphzmy-vwjxfkclz17bb7y****.proxy.dms.aliyuncs.com\\n dphzmy-vwjxfkclz17b****.proxy.dms.aliyuncs.com\\n 164****\\n 4*\\n 47****\\n 3306\\n true\\n test1_name\\n true\\n 443\\n \\n 5812180E-555F-5F90-BE4F-280576F4****\\n true\\n","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 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', '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', '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\\": \\"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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], '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', 'title' => ''], ], [ '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', 'title' => ''], ], [ 'name' => 'SearchName', 'in' => 'query', 'schema' => ['description' => 'The name of the database instance.'."\n", 'example' => 'test', 'required' => false, 'type' => 'string', 'title' => ''], ], [ 'name' => 'OpUserName', 'in' => 'query', 'schema' => ['description' => 'The alias of the user.'."\n", 'example' => 'testNickName', 'required' => false, 'type' => 'string', 'title' => ''], ], [ 'name' => 'SQLType', 'in' => 'query', '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' => 'ExecState', 'in' => 'query', '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'], '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. 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' => [ 'properties' => [ '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' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListProxySQLExecAuditLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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":"\\n 1\\n 50ECB006-2C35-5FCA-91B9-01987A0B****\\n true\\n \\n 1636876446000\\n testNickName\\n 4****\\n rm-xxx:3306\\n 4***\\n test_db\\n SELECT\\n select 1;\\n SUCCESS\\n 1\\n 1324\\n success\\n \\n","type":"xml"}]', ], 'ListSLARules' => [ 'summary' => 'Queries the custom service level agreement (SLA) rules of a task flow.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '148618', '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 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.'."\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' => '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' => [ [ '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":"\\n BD7055C8-798E-5AA7-8E42-9690A0C344B6\\n \\n \\n 2\\n 11312\\n 0\\n 1080\\n 1\\n \\n \\n true\\n","errorExample":""}]', ], 'ListSQLExecAuditLog' => [ 'summary' => 'Queries the audit logs of SQL statements that are executed in Data Management (DMS).', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], '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', 'title' => ''], ], [ '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', 'title' => ''], ], [ 'name' => 'SearchName', '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', 'title' => ''], ], [ 'name' => 'OpUserName', 'in' => 'query', 'schema' => ['description' => 'The nickname of the user who wrote the SQL statement.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_OpUserName', 'title' => ''], ], [ '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 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', 'required' => 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. 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' => [ 'type' => 'object', 'properties' => [ '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 \\"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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'OrderId', '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' => '903****', 'title' => ''], ], [ 'name' => 'OrderActionDetail', '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' => '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', 'required' => false, 'example' => 'MUST_IMPROVE', 'enum' => ['MUST_IMPROVE', 'POTENTIAL_ISSUE', 'SUGGEST_IMPROVE', 'USE_DMS_TOOLKIT', 'USE_DMS_DML_UNLOCK', 'TABLE_INDEX_SUGGEST'], 'title' => '', ], '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'], 'title' => '', ], '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' => '', ], ], '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' => [ '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '149049', '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***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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' => [ [ '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":"\\n 7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\n true\\n \\n test\\n 23***\\n test\\n \\n","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' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '217034', 'abilityTreeNodes' => ['FEATUREdmsG96PX9'], ], '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' => 'int32', 'required' => true, 'example' => '183****', 'title' => ''], ], [ 'name' => 'SchemaName', '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', 'title' => ''], ], [ 'name' => 'TableName', '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', 'title' => ''], ], [ 'name' => 'ColumnName', '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', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number of the returned page.'."\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', '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***', 'title' => ''], ], ], 'responses' => [ 200 => [ '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', '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' => ''], ], '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' => '*'], ], ], ], ], ], 'ListSensitiveColumns' => [ 'summary' => 'Queries sensitive fields in a table of a database.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], '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, 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', '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', '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', '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', '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' => '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', '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' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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, 'properties' => [ 'SensitiveColumn' => [ 'description' => 'The sensitive fields.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ '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', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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":"\\n 1\\n 09D82FD7-F87F-59EF-AA82-AEF71B09E306\\n \\n test_column\\n test_table\\n SENSITIVE\\n 1\\n test_schema\\n DEFAULT\\n \\n true\\n","errorExample":""}]', ], 'ListSensitiveColumnsDetail' => [ 'summary' => 'Queries the details of a sensitive field.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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***', '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', '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', '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', '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****', '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' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '7629888F-C9FB-4D16-A7D3-B443FE06FBD4', 'title' => ''], 'SensitiveColumnsDetailList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'SensitiveColumnsDetail' => [ 'description' => 'The details of the sensitive field.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ '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', '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' => '', ], ], ], 'title' => 'ListSensitiveColumnsDetail', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', '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":"\\n 7629888F-C9FB-4D16-A7D3-B443FE06FBD4\\n \\n ColumnName_test\\n test\\n test\\n mysql\\n varchar(32)\\n false\\n SchemaName_test\\n test@xxx:3306\\n product\\n \\n UnknownError\\n UnknownError\\n true\\n","errorExample":""}]', ], 'ListSensitiveDataAuditLog' => [ 'summary' => 'Queries the audit logs for sensitive information.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', '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' => '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', 'title' => ''], ], [ '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', 'title' => ''], ], [ 'name' => 'OpUserName', 'in' => 'query', '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 that stores the sensitive data.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ExampleTableName', 'title' => ''], ], [ 'name' => 'ColumnName', 'in' => 'query', 'schema' => ['description' => 'The name of the column that contains sensitive data.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ExampleColumnName', 'title' => ''], ], [ 'name' => 'PageSize', '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', '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' => ['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\\": \\"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' => '数据管理'], ], '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' => '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, 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' => 'TemplateId', '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**', 'title' => ''], ], [ 'name' => 'TemplateType', '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', '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', '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'], '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\\": \\"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"}]', ], 'ListStandardGroups' => [ 'summary' => 'Queries security rule sets.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], '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***', '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', '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" .'* **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' => '', ], 'title' => '', 'example' => '', ], ], '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\\": \\"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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], '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, 'docRequired' => false, 'example' => '3***', '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' => 'int32', 'required' => true, 'example' => '123', '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' => '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' => [ 'type' => 'object', 'properties' => [ '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' => ''], ], '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'], '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\\": \\"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"}]', ], 'ListTables' => [ 'summary' => 'Lists the details of all tables in a database.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', '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' => 'DatabaseId', 'in' => 'query', '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' => '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 per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'SearchName', 'in' => 'query', 'schema' => ['description' => 'The keyword for a fuzzy search on table names.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'ReturnGuid', 'in' => 'query', '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' => 'RealLoginUserUid', 'in' => 'query', 'schema' => ['description' => 'The ID of the user that calls the API.', 'type' => 'string', 'required' => false, 'example' => '1234', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ 'Table' => [ 'description' => 'The list of tables.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ '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' => [ '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' => '', ], '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' => [ 'OwnerNames' => [ 'description' => 'The nicknames of the table owners.', 'type' => 'array', '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' => '', ], '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 \\"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' => '数据管理'], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', '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~~) 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 category ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30000235593', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ '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', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => 'Tid', 'in' => 'query', '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' => 'TagName', 'in' => 'query', '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' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '133045', '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 obtain the tenant ID.'."\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' => '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' => '', ], ], ], '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":"\\n 4116147E-C628-5816-8779-8EEAF8E973F4\\n true\\n \\n 51****\\n Creator_NickName\\n Owner_NickName\\n 2\\n 0\\n 2022-04-13\\n \\n","errorExample":""}]', ], 'ListTaskFlowConstants' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '149650', '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***', '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' => [ '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":"\\n 028BF827-3801-5869-8548-F4A039256304\\n true\\n \\n example\\n 0\\n \\n","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.'."\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 => [ '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', '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' => '', ], ], ], '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":"\\n 54C99C70-2DFF-5A8C-A252-EBAA1EB668EC\\n UnknownError\\n UnknownError\\n true\\n \\n name\\n test@XX.com\\n name\\n \\n","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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '147812', '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***', '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' => ''], ], [ 'name' => 'Id', 'in' => 'query', 'schema' => ['description' => 'The ID of the task flow edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '24***', 'title' => ''], ], [ 'name' => 'NodeFrom', 'in' => 'query', 'schema' => ['description' => 'The ID of the start node on the edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '44***', 'title' => ''], ], [ 'name' => 'NodeEnd', 'in' => 'query', 'schema' => ['description' => 'The ID of the end node on the edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '44***', 'title' => ''], ], ], 'responses' => [ 200 => [ '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' => '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' => '', ], ], ], '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":"\\n D86249CD-422F-5ACF-85BA-9187C986AE0B\\n \\n \\n 44***\\n 44***\\n 24***\\n \\n \\n true\\n","errorExample":""}]', ], 'ListTaskFlowInstance' => [ 'summary' => 'Queries the execution records of a task flow.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '132914', '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 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](~~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' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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":"\\n 8CFF2295-8249-5287-B888-DBD4F0D76CB0\\n true\\n \\n 9234\\n 2021-11-10 14:37:26\\n 2021-11-11 14:38:57\\n 7***\\n 1\\n 4\\n test\\n Spark_SQL_test\\n test_name\\n \\n 1\\n","errorExample":""}]', ], 'ListTaskFlowTimeVariables' => [ 'summary' => 'Lists the time variables for a task flow.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '148791', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'DagId', 'in' => 'query', '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 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' => [ 'type' => 'object', 'properties' => [ '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' => '[{"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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '149056', '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***', 'title' => ''], ], [ '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' => '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, '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' => [ 'type' => 'object', 'properties' => [ '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\\": \\"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":"\\n 6CB28697-BFE2-5739-9228-3971990E982C\\n true\\n \\n poc_task_test\\n test\\n 51****\\n Creator_NickName\\n Owner_NickName\\n 1\\n 0\\n 2022-04-13\\n \\n 24\\n","errorExample":""}]', 'title' => 'ListTaskFlowsByPage', 'requestParamsDescription' => '过滤条件之间的关系为AND。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskFlowsByPage'], ], 'product' => ['code' => 'dms', 'title' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '145478', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], '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 [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' => '32***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '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', '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' => [ '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' => '[{"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' => '数据管理'], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsY7L2P4'], '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***', 'title' => ''], ], [ 'name' => 'UserId', 'in' => 'query', 'schema' => ['description' => 'The ID of the user.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1***', 'title' => ''], ], [ '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 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'], '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 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' => [ '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', '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 \\"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"}]', ], 'ListUserPermissions' => [ 'summary' => 'Queries the permissions of a user on databases and tables.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], '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, 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' => 'PermType', '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', 'title' => ''], ], [ 'name' => 'UserId', '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****', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '[{"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' => '数据管理'], ], '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' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], '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 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], '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' => '', ], ], ], '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":"\\n C478D9DA-3615-50F6-A2BC-7855AD65****\\n \\n ACTIVE\\n test_name\\n 3***\\n \\n true\\n","errorExample":""}]', ], 'ListUsers' => [ 'summary' => 'Queries the details of users.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '12582', 'abilityTreeNodes' => ['FEATUREdms90TD19'], ], '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***', 'title' => ''], ], [ 'name' => 'Role', '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'], 'title' => '', ], ], [ 'name' => 'UserState', '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', 'title' => ''], ], [ 'name' => 'SearchKey', 'in' => 'query', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ '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', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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' => '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', 'title' => ''], ], [ 'name' => 'SearchName', 'in' => 'query', 'schema' => ['description' => 'The name that is used to search for approval nodes.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'admin', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => [], ], ], '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 [View information about the current tenant](~~181330~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '-1', 'title' => ''], ], [ 'name' => 'SearchName', 'in' => 'query', 'schema' => ['description' => 'The name that is used to query approval templates.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'Admin', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ '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', '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' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', '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' => 'PageNum', 'in' => 'query', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', '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' => ['title' => '', 'description' => 'The search keyword. Fuzzy match is supported.'."\n", 'type' => 'string', 'required' => false, 'example' => 'poc_test'], ], [ 'name' => 'Region', 'in' => 'query', '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' => ['title' => '', 'description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ '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' => '', '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' => '', ], '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' => '', ], ], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '145423', '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' => '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 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' => ''], ], 'title' => '', 'example' => '', ], ], ], '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":"\\n 028BF827-3801-5869-8548-F4A039256304\\n UnknownError\\n UnknownError\\n true\\n","errorExample":""}]', ], 'ModifyDataCorrectExecSQL' => [ 'summary' => 'Modify the SQL script submitted in a data change ticket.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [], ], '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****', 'title' => ''], ], [ 'name' => 'ExecSQL', 'in' => 'query', 'schema' => ['description' => 'The new SQL script.'."\n", 'type' => 'string', 'required' => true, 'example' => 'update tb set id = 1 where id = 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' => '4****', 'title' => ''], ], [ 'name' => 'RealLoginUserUid', 'in' => 'query', 'schema' => ['description' => 'The UID of the Alibaba Cloud account of the user who actually invokes the API. For more information, see [Specify an API caller](~~2835451~~).', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', '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-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' => ''], ], 'example' => '', ], ], ], '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' => '*'], ], ], ], ], ], 'ModifyDesensitizationStrategy' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'DbId', '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', 'title' => ''], ], [ 'name' => 'IsLogic', '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', 'title' => ''], ], [ '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', '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 [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.'."\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' => ''], ], 'example' => '', ], ], ], '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' => '[{"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":"\\n 283C461F-11D8-48AA-B695-DF092DA32AF3\\n UnknownError\\n UnknownError\\n false\\n true\\n","errorExample":""}]', ], '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' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '201929', 'abilityTreeNodes' => ['FEATUREdms19SL1H'], ], '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' => 'string', 'required' => true, 'example' => '183****', 'title' => ''], ], [ 'name' => 'Tid', '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", 'title' => ''], ], [ 'name' => 'InstanceType', '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', '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 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' => [ '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'], 'title' => '', ], ], [ 'name' => 'UseDsql', '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'], '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' => ['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' => '', ], ], ], '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' => '数据管理'], ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '148613', '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***', '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****', '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' => [ 200 => [ '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', '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' => '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' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D85FD18C-4322-5D49-8C14-5A10E668F86C\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n D85FD18C-4322-5D49-8C14-5A10E668F86C\\n true\\n","errorExample":""}]', ], 'OfflineTaskFlow' => [ 'summary' => 'Unpublishes a published task flow in Data Management (DMS).', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '135062', '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***', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], 'title' => 'OfflineTaskFlow', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:OfflineTaskFlow', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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":"\\n A8FE12AA-300D-5FDF-806F-C2CB99161F32\\n true\\n","errorExample":""}]', ], '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' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DbId', 'in' => 'query', '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' => 'Query', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The remarks.'."\n", 'type' => 'string', 'required' => false, 'example' => '是否为慢SQL'], ], [ 'name' => 'Sql', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The SQL statement that you want to analyze.'."\n", 'type' => 'string', 'required' => true, 'example' => 'select * from table where col = 1'], ], [ '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' => ['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' => '', ], ], ], '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 \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Content\\": \\"SQL优化结果...\\",\\n \\"SessionId\\": \\"f63a6eed-0e3c-4564-8533-b1295db8d6ff\\"\\n }\\n}","type":"json"}]', ], 'PauseDataCorrectSQLJob' => [ 'summary' => 'Pauses a SQL task for data change.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], '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' => '43253', 'title' => ''], ], [ 'name' => 'Type', 'in' => 'query', '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'], 'title' => '', ], ], [ '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', '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' => '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.'."\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' => ''], ], 'example' => '', ], ], ], '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' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"335C5BC8-490C-56EF-BDDE-94A4B53FEB72\\",\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"ErrorCode\\": \\"UnknownError\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 335C5BC8-490C-56EF-BDDE-94A4B53FEB72\\n true\\n","errorExample":""}]', ], 'PauseDataExportJob' => [ 'summary' => 'Terminates a SQL result set export task.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '245851', '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 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' => '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****', '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. 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' => '', ], ], ], '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', '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' => 'read', 'deprecated' => false, '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, 'example' => '1069****', '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 [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' => [ 200 => [ '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', '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' => '', ], ], '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' => '[{"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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '145472', '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' => '36***', 'title' => ''], ], [ 'name' => 'VersionComments', 'in' => 'query', '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 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' => '', ], ], ], '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":"\\n 64E26249-B61F-51C6-B6DF-47EFF50128CC\\n UnknownError\\n Unknown server error\\n true\\n","errorExample":""}]', ], 'QueryDataTrackResultDownloadStatus' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ '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 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 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' => ['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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', '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 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 ID of the tenant.'."\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' => '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' => '', ], ], ], '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":"\\n 035C92E0-2EAD-50E5-A6DD-550F5F73D7CE\\n 15990\\n true\\n","errorExample":""}]', ], 'ReRunTaskFlowInstance' => [ 'summary' => 'Reruns a task flow instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ '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.'."\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. 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' => '', ], ], ], '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":"\\n 8CFF2295-8249-5287-B888-DBD4F0D76CB0\\n UnknownError\\n UnknownError\\n true\\n","errorExample":""}]', ], 'RefundPayAsYouGoOrder' => [ 'summary' => 'Unsubscribes from a pay-as-you-go Data Management (DMS) resource.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, '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~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '3***', 'title' => ''], ], [ 'name' => 'OrderId', 'in' => 'query', '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' => 'InstanceId', 'in' => 'query', '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' => ['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' => '', ], ], ], '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":"\\n C51420E3-144A-4A94-B473-8662FCF4AD10\\n true\\n","errorExample":""}]', ], 'RegisterInstance' => [ 'summary' => 'Register a database instance in DMS.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => ['FEATUREdms19SL1H'], ], 'parameters' => [ [ 'name' => 'Tid', 'in' => 'query', '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' => 'InstanceType', 'in' => 'query', 'schema' => ['description' => 'The database type. For more information, see [DbType parameter description](~~198106~~).', '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 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' => 'NetworkType', 'in' => 'query', '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' => 'EnvType', 'in' => 'query', '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' => 'EcsInstanceId', 'in' => 'query', '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' => 'VpcId', 'in' => 'query', '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' => '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' => 'The strategy for lock-free schema changes. Valid values:'."\n" ."\n" .'- **0**: Disabled.'."\n" ."\n" .'- **1**: Prioritize native lock-free operations. If an operation fails, it falls back to Data Management (DMS) for execution.'."\n" ."\n" .'- **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, 'enum' => ['0', '1', '2'], 'example' => '2', 'title' => '', ], ], [ 'name' => 'UseDsql', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to enable cross-instance queries. Valid values:'."\n" ."\n" .'- **0**: Disabled'."\n" ."\n" .'- **1**: Enabled'."\n" ."\n" .'> Supported database types: MySQL, SQL Server, PostgreSQL, PolarDB for PostgreSQL (Oracle-compatible), and Redis.', 'type' => 'integer', 'format' => 'int32', 'required' => false, '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.', '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' => '[{"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" .' "",'."\n" .' "",'."\n" .' ""'."\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' => '数据管理'], ], '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' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], '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', 'title' => ''], ], [ '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', 'title' => ''], ], [ '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' => [ '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":"\\n ADE24A7C-DB8B-4D32-94AD-E50E3B921197\\n true\\n\\n","errorExample":"\\n ADE24A7C-DB8B-4D32-94AD-E50E3B921197\\n dms-enterprise.aliyuncs.com\\n UserExisted\\n The specified user already exists.\\n"}]', ], '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.'."\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' => [ 200 => [ 'schema' => [ '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', '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\\": \\"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' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', '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 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' => 'CategoryId', 'in' => 'query', 'schema' => ['description' => 'The category ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30000235594', 'title' => ''], ], [ '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', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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"}]', ], 'RemoveWorkspaceUser' => [ 'summary' => 'Removes a user from a workspace.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], '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****', 'title' => ''], ], [ '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'], 'title' => '', ], ], [ 'name' => 'JobId', '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', '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***', 'title' => ''], ], [ 'name' => 'RealLoginUserUid', 'in' => 'query', 'schema' => ['description' => 'The UID of the Alibaba Cloud account of the user who actually invokes the API.For more information, see [Specify an API caller](~~2835451~~).', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', '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', '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. 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' => '*'], ], ], ], ], ], 'ResumeTaskFlowInstance' => [ 'summary' => 'Resumes a suspended task flow instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '149248', '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***', '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****', '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****', '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' => '[]', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], 'title' => 'ResumeTaskFlowInstance', 'description' => 'You can call this operation only for task flows that are suspended.'."\n", '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":"\\n 7FF2E325-763F-5E27-9157-C3CFA02F4CBF\\n true\\n","errorExample":""}]', ], 'RetryDataCorrectPreCheck' => [ 'summary' => 'Re-execute the precheck step of a data change ticket.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], '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' => '414****', '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***', 'title' => ''], ], [ 'name' => 'RealLoginUserUid', 'in' => 'query', 'schema' => ['description' => 'The UID of the Alibaba Cloud account of the user who actually invokes the API.For more information, see [Specify an API caller](~~2835451~~).', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', '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' => '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' => '[{"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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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' => [ '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' => [ [ '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' => [ '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":"\\n A99CD576-1E18-4E86-931E-C3CCE56D****\\n true\\n","errorExample":""}]', ], 'SearchDataTrackResult' => [ 'summary' => 'Searches for the parsing result of a data tracking task.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ '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' => '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, 'title' => '', 'example' => '', ], ], [ 'name' => 'FilterTypeList', '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', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'ColumnFilter', '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', '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, 'title' => '', 'example' => '', ], ], [ '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' => '62***', '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', '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', 'properties' => [ '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' => [ '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' => '', ], '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' => '', ], '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' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '12589', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], '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.', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['description' => 'The inventory task ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001', 'title' => ''], ], [ 'name' => 'Query', 'in' => 'query', 'schema' => ['description' => 'The keyword for a fuzzy search of asset information, such as table names.', 'type' => 'string', 'required' => false, 'example' => 'order', 'title' => ''], ], [ 'name' => 'Size', 'in' => 'query', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsU8QOR6'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['description' => 'The ID of the inventory task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001', 'title' => ''], ], [ 'name' => 'Query', 'in' => 'query', '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 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', 'properties' => [ 'TotalCount' => ['description' => 'The total number of matching knowledge items.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'Items' => [ 'type' => 'array', '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ '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 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' => 'SearchKey', 'in' => 'query', 'schema' => ['description' => 'The keyword that is used to query tables.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1', 'minimum' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', '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' => [ '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' => ''], ], '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' => [ [ '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' => [ [ '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 ID of the database. Call the [ListDatabases](~~141873~~) API to obtain this ID.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1***', 'title' => ''], ], [ 'name' => 'TableName', 'in' => 'query', 'schema' => ['description' => 'The name of the table.', 'type' => 'string', 'required' => true, 'example' => 'order_info', 'title' => ''], ], [ 'name' => 'SearchKey', 'in' => 'query', '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 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' => 'Size', 'in' => 'query', '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' => 'Offset', 'in' => 'query', 'schema' => ['description' => 'The pagination offset. The default value is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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 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' => '', ], ], ], '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' => [], ], ], '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 ID of the database. You can call the [ListDatabases](~~141873~~) API to get the ID.', 'type' => 'string', 'required' => true, 'example' => '1***', 'title' => ''], ], [ 'name' => 'Query', 'in' => 'query', 'schema' => ['description' => 'The user\'s query.', 'type' => 'string', 'example' => '查看当前的灰度情况', 'title' => '', 'required' => false], ], [ 'name' => 'Model', 'in' => 'query', '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 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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', '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' => '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 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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsFS2Q9U'], ], 'parameters' => [ [ 'name' => 'InstanceUuid', 'in' => 'query', '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' => 'DataRegion', 'in' => 'query', 'schema' => ['description' => 'The region where the data lake is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '数据管理'], ], '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"}]', ], 'SetOwners' => [ 'summary' => 'Configures the owner of an instance, a database, or a table.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ '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 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' => '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 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'], 'title' => '', ], ], [ 'name' => 'OwnerIds', '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****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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":"\\n A99CD576-1E18-4E86-931E-C3CCE56DC030\\n true\\n","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' => 'write', 'deprecated' => false, 'systemTags' => [ '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, 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' => 'ThirdpartyWorkflowUrl', 'in' => 'query', 'schema' => ['description' => 'The link of approval workflow for third parties.'."\n", 'type' => 'string', 'required' => false, 'example' => 'https://xxx', 'title' => ''], ], [ 'name' => 'ThirdpartyWorkflowComment', 'in' => 'query', '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 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' => '*'], ], ], ], ], ], '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' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '201773', 'abilityTreeNodes' => ['FEATUREdms19SL1H'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Alibaba Cloud instance.', 'type' => 'string', 'required' => false, 'example' => 'rm****', 'title' => ''], ], [ 'name' => 'InstanceRegion', 'in' => 'query', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '数据管理'], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsILBT4A'], ], '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****', '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 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' => 'RealLoginUserUid', 'in' => 'query', 'schema' => ['description' => 'The UID of the Alibaba Cloud account of the user who actually invokes the API.For more information, see [Specify an API caller](~~2835451~~).', 'type' => 'string', 'required' => false, 'example' => '21400447956867****', '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' => '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' => '[{"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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ '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' => '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 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\\": \\"028BF827-3801-5869-8548-F4A039256308\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n 028BF827-3801-5869-8548-F4A039256308\\n UnknownError\\n UnknownError\\n true\\n","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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '12592', 'abilityTreeNodes' => ['FEATUREdms25Q07S'], ], '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' => '23****', 'title' => ''], ], [ 'name' => 'OrderId', 'in' => 'query', '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' => [ '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' => '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' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', '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' => '4324535', '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", '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', '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' => '', ], ], ], '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":"\\n 72768811-B970-4733-85BE-A8659613BF23\\n 1000000\\n true\\n","errorExample":""}]', ], 'SuspendDataExportJob' => [ 'summary' => 'Suspends an ongoing or scheduled SQL result set export task.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ '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 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 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' => [ 200 => [ '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' => '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' => '', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ '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' => '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' => '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', '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' => '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":"\\n 028BF827-3801-5869-8548-F4A039256305\\n UnknownError\\n UnknownError\\n true\\n","errorExample":""}]', ], 'SyncDatabaseMeta' => [ 'summary' => 'Synchronizes the metadata of a database.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], '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' => 'DbId', 'in' => 'query', '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' => [ 'type' => 'object', 'properties' => [ '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' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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' => 'write', 'deprecated' => false, '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, 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' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12***', 'title' => ''], ], [ 'name' => 'IgnoreTable', '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', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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":"\\n A99CD576-1E18-4E86-931E-C3CCE56DC030\\n true\\n","errorExample":""}]', ], 'TryRunTaskFlow' => [ 'summary' => 'Tests the task flow of task orchestration.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdms19SL1H'], 'autoTest' => false, 'notSupportAutoTestReason' => '开启了流控配置,无法短时间调用多次', ], 'parameters' => [ [ 'name' => 'DagId', '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****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '228488', 'abilityTreeNodes' => ['FEATUREdmsCFVL8F'], ], 'parameters' => [ [ 'name' => 'AbacPolicyName', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The name of the permission policy.'."\n", 'type' => 'string', 'required' => false, 'example' => 'policy_test'], ], [ 'name' => 'AbacPolicyDesc', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The description of the policy.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'AbacPolicyContent', '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" .'}'], ], [ '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' => [ 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', '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' => '', ], ], ], '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' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => ['description' => 'The ID of the permission template.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1563', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'query', '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' => 'Description', '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.', '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' => [ 'type' => 'object', 'properties' => [ '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' => '[{"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' => '数据管理'], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', 'schema' => ['description' => 'The catalog name.'."\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', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ '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' => ''], ], [ '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 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' => ['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' => '', ], ], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', 'schema' => ['description' => 'The catalog name.'."\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', 'title' => ''], ], [ '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 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 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' => ''], ], [ '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' => ['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' => '', ], ], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', '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', 'title' => ''], ], [ '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 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' => [ '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' => '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' => '', ], ], ], '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' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsKIHNZQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CatalogName', 'in' => 'query', '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, 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' => ['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' => '', ], ], ], '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' => 'readAndWrite', 'deprecated' => false, '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' => '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'], 'title' => '', ], ], [ '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'], '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' => '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' => '', ], ], ], '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":"E9BEBF41-4F69-4605-A5D5-A67955173941\\ntrue","errorExample":""}]', ], 'UpdateMetaCategory' => [ 'summary' => 'Update asset category information.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', '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~~) or [ListUserTenants](~~198074~~) operation to obtain the tenant ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '23****', 'title' => ''], ], [ 'name' => 'CategoryId', 'in' => 'query', 'schema' => ['description' => 'The category ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30000181325', 'title' => ''], ], [ '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' => '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, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '148629', '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 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.'."\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' => 'SlaRuleList', '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***', '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' => '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' => '', ], ], ], '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":"\\n 88E053F7-347B-52DD-A186-1F340EEC0C27\\n true\\n","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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', '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***', 'title' => ''], ], [ 'name' => 'ScenarioId', 'in' => 'query', 'schema' => ['description' => 'The ID of the business scenario.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12***', 'title' => ''], ], [ 'name' => 'ScenarioName', 'in' => 'query', 'schema' => ['description' => 'The name of the business scenario.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Business scenario-test', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the business scenario.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ '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":"\\n 7FAD400F-7A5C-4193-8F9A-39D86C4F0231\\n true\\n","errorExample":""}]', 'title' => 'UpdateScenario', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateScenario'], ], 'product' => ['code' => 'dms', 'title' => '数据管理'], ], 'ramActions' => [ [ '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' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'GroupId', 'in' => 'query', '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' => 'GroupName', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The name of the security rule set.'."\n", 'type' => 'string', 'required' => true, 'example' => 'poc_test'], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The description of the security rule set.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Production environment test rule'], ], [ '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****', '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', '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' => '[{"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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '149772', '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***', 'title' => ''], ], [ 'name' => 'NodeId', '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****', 'title' => ''], ], [ 'name' => 'NodeConfig', '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 } }', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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":"\\n F4E2A94B-604F-43FF-93E7-F4EE3DCF412E\\n true\\n","errorExample":""}]', ], 'UpdateTaskContent' => [ 'summary' => 'Updates tasks in a task flow.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', '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, 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' => 'NodeId', '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****', 'title' => ''], ], [ 'name' => 'NodeContent', '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" }', 'title' => ''], ], ], 'responses' => [ 200 => [ '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', '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\\": \\"39557312-28D5-528F-9554-80C0700EB489\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n 39557312-28D5-528F-9554-80C0700EB489\\n true\\n","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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '145901', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'NodeId', '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***', '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": 521****, "sql":" INSERT/CREATE SQL", "dbType":"mysql" }', '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', '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ '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***', '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' => ''], ], [ 'name' => 'DagConstants', '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', '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' => [ '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', '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\\": \\"C4CCC000-C193-5A32-B701-573F497BF729\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n C4CCC000-C193-5A32-B701-573F497BF729\\n UnknownError\\n UnknownError\\n true\\n","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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ '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~~).'."\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****', 'title' => ''], ], [ 'name' => 'CooperatorIds', '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****', 'title' => ''], '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' => '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\\": \\"D05B3EE1-B6D3-5B17-8CA6-A8054828E5B2\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n D05B3EE1-B6D3-5B17-8CA6-A8054828E5B2\\n UnknownError\\n UnknownError\\n true\\n","errorExample":""}]', ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '146068', '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 [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 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' => 'Edges', 'in' => 'query', 'style' => 'json', 'schema' => [ '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, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', '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~~).'."\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' => ''], ], [ 'name' => 'DagName', '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', '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' => [ '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', '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' => '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":"\\n F73CCB9D-0CF3-5D3D-97B0-D852A8022663\\n true\\n","errorExample":""}]', ], 'UpdateTaskFlowNotification' => [ 'summary' => 'Updates the notification settings for a task flow.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ '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***', 'title' => ''], ], [ '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***', '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' => [ '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', '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' => '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":"\\n 3BDC762F-2525-5E47-8748-D6C58BDB3B38\\n true\\n","errorExample":""}]', ], 'UpdateTaskFlowOwner' => [ 'summary' => 'Changes the owner of a task flow.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ '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~~).'."\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 [ListTaskFlowInstance](~~424689~~) operation to query the task flow ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '15***', 'title' => ''], ], [ 'name' => 'NewOwnerId', 'in' => 'query', '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' => [ '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', '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' => '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":"\\n 482C61C1-2537-5BFB-8E58-34D9F17AD3C3\\n true\\n","errorExample":""}]', ], 'UpdateTaskFlowRelations' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ '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~~).'."\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' => ''], ], [ 'name' => 'Edges', '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***', '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' => [ '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', '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' => '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":"\\n 15D9E71C-405B-57D7-BE6E-707C2C7A8E0B\\n true\\n","errorExample":""}]', ], 'UpdateTaskFlowSchedule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '145506', '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***', 'title' => ''], ], [ 'name' => 'DagId', 'in' => 'query', 'schema' => ['description' => 'The ID of the task flow.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '7***', 'title' => ''], ], [ 'name' => 'ScheduleSwitch', 'in' => 'query', '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' => 'CronBeginDate', 'in' => 'query', 'schema' => ['description' => 'The start of the time range for scheduling.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CronBeginDate_test', 'title' => ''], ], [ 'name' => 'CronEndDate', 'in' => 'query', 'schema' => ['description' => 'The end of the time range for scheduling.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CronEndDate_test', 'title' => ''], ], [ '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', 'title' => ''], ], [ 'name' => 'CronStr', 'in' => 'query', 'schema' => ['description' => 'The cron expression for timed scheduling.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CronStr_test', 'title' => ''], ], [ 'name' => 'TriggerType', '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', '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' => [ 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' => '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' => '', ], ], ], '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" .'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", '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":"\\n 7BF38A13-C181-5B5E-97F1-8643F8A10093\\n InvalidParameterValid\\n InvalidParameterValid\\n true\\n","errorExample":""}]', ], 'UpdateTaskFlowTimeVariables' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '148792', '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***', '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****', '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' => [ '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', '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' => '', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], '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":"\\n 39557312-28D5-528F-9554-80C0700EB489\\n true\\n","errorExample":""}]', ], 'UpdateTaskName' => [ 'summary' => 'Updates the name of a specified task.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '147910', '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***', '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' => [ 200 => [ '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', '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' => 'UpdateTaskName', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskName', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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":"\\n C4604178-3BE1-5973-ACF0-7D561AEEF3A8\\n true\\n","errorExample":""}]', ], 'UpdateTaskOutput' => [ 'summary' => 'Updates the output variables for a task node.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '147898', '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***', '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' => '14059', 'title' => ''], ], [ 'name' => 'NodeOutput', '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", // variable  "description":"For demo" // variable description}]}', 'title' => ''], ], ], 'responses' => [ 200 => [ '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', '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\\": \\"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' => '数据管理'], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '148809', '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***', 'title' => ''], ], [ 'name' => 'NodeId', '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****', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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\\": \\"39557312-28D5-528F-9554-80C0700EB489\\",\\n \\"ErrorCode\\": \\"UnknownError\\",\\n \\"ErrorMessage\\": \\"UnknownError\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n 39557312-28D5-528F-9554-80C0700EB489\\n true\\n","errorExample":""}]', ], 'UpdateUser' => [ 'summary' => 'Updates user information.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdms90TD19'], ], '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', 'title' => ''], ], [ 'name' => 'Uid', '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', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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":"E9BEBF41-4F69-4605-A5D5-A67955173941\\ntrue","errorExample":""}]', ], 'UpdateWorkspace' => [ 'summary' => 'Updates the information about a workspace.', 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], ], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The workspace ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12****'], ], [ 'name' => 'WorkspaceName', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The new name of the workspace.'."\n", 'type' => 'string', 'required' => false, 'example' => 'workspace_xxx', 'minLength' => 1], ], [ 'name' => 'Description', 'in' => 'query', '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' => [ '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' => '*'], ], ], ], ], ], 'UpdateWorkspaceUser' => [ 'summary' => 'Updates the roles of a user in a workspace.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREdmsXSH6IQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => '12****'], ], [ 'name' => 'DmsUserId', 'in' => 'query', 'schema' => ['description' => 'The DMS user ID.', 'type' => 'string', 'required' => true, 'example' => '123***', 'title' => ''], ], [ 'name' => 'RoleIds', 'in' => 'query', 'schema' => ['description' => 'One or more workspace role IDs, separated by commas. This parameter takes precedence over the RoleId parameter.>`RoleId` and `RoleIds` cannot both be empty.>', 'type' => 'string', 'required' => true, 'example' => '11,12', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'UpdateWorkspaceUser', 'description' => '## Prerequisites'."\n" ."\n" .'- You have created a VPC.'."\n" ."\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"}]', ], ], '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' => '*'], ], ], ], [ 'apiName' => 'DeleteAuthorityTemplate', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteAuthorityTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'RetryDataCorrectPreCheck', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:RetryDataCorrectPreCheck', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListLogicTableRouteConfig', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListLogicTableRouteConfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetStandardGroup', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetStandardGroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTaskFlow', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListTaskFlow', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListAuthorizedDatabasesForUser', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:ListAuthorizedDatabasesForUser', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ReDeployLhDagVersion', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:ReDeployLhDagVersion', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListUserPermissions', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListUserPermissions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ApproveOrder', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:ApproveOrder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListSensitiveColumnInfo', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListSensitiveColumnInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateUploadFileJob', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateUploadFileJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateUser', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateUser', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListSQLExecAuditLog', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListSQLExecAuditLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'RegisterInstance', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:RegisterInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetPermApplyOrderDetail', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetPermApplyOrderDetail', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetOrderBaseInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetOrderBaseInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetOpLog', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetOpLog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetStructSyncExecSqlDetail', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetStructSyncExecSqlDetail', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'RegisterUser', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:RegisterUser', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDataCorrectPreCheckSQL', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDataCorrectPreCheckSQL', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListColumns', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListColumns', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetStructSyncJobAnalyzeResult', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetStructSyncJobAnalyzeResult', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetRuleNumLimitOfSLA', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetRuleNumLimitOfSLA', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTableDesignProjectFlow', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetTableDesignProjectFlow', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'PublishAndDeployTaskFlow', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:PublishAndDeployTaskFlow', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SyncDatabaseMeta', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:SyncDatabaseMeta', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'MoveTaskFlowToScenario', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:MoveTaskFlowToScenario', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'RevokeUserPermission', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:RevokeUserPermission', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateForecastAgent', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateForecastAgent', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDBTaskSQLJobLog', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDBTaskSQLJobLog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AddTaskFlowEdges', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:AddTaskFlowEdges', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SetOwners', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:SetOwners', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateScenario', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateScenario', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GrantUserPermission', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:GrantUserPermission', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDataLakePartition', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListDataLakePartition', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListMetaCategory', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListMetaCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetLhSpaceByName', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetLhSpaceByName', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListProxySQLExecAuditLog', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListProxySQLExecAuditLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTaskFlowConstants', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListTaskFlowConstants', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetAbacPolicy', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:GetAbacPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetProxyAccess', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetProxyAccess', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListAuthorizedUsersForDatabase', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:ListAuthorizedUsersForDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataExportPreCheckDetail', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDataExportPreCheckDetail', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'PauseDataCorrectSQLJob', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:PauseDataCorrectSQLJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'TryRunTaskFlow', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:TryRunTaskFlow', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteWorkspace', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteWorkspace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDbExportDownloadURL', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDbExportDownloadURL', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDataLakeFunctionName', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListDataLakeFunctionName', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskFlowRelations', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskFlowRelations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ChangeColumnSecurityLevel', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:ChangeColumnSecurityLevel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteLogicTableRouteConfig', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteLogicTableRouteConfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'RemoveDataExportJob', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:RemoveDataExportJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTableInstructions', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:GetTableInstructions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateStandardGroup', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateStandardGroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateScenario', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateScenario', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SearchDataTrackResult', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:SearchDataTrackResult', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateAuthorityTemplate', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateAuthorityTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTableColumns', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListTableColumns', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDBTaskSQLJob', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDBTaskSQLJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateDataLakeTable', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateDataLakeTable', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListAuthorityTemplate', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListAuthorityTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteStandardGroup', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteStandardGroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateAbacAuthorization', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateAbacAuthorization', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteLhMembers', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteLhMembers', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetForecastAgentInstance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetForecastAgentInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListAbacPolicies', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:ListAbacPolicies', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTablesInCategory', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListTablesInCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataExportDownloadURL', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDataExportDownloadURL', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListClassificationTemplates', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListClassificationTemplates', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListUserTenants', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListUserTenants', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListWorkFlowNodes', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListWorkFlowNodes', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ExecuteDataCorrect', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:ExecuteDataCorrect', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateInventoryJob', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:CreateInventoryJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskContent', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskContent', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetPagedInstance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetPagedInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListScenarios', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListScenarios', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ChangeLhDagOwner', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:ChangeLhDagOwner', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateSLARules', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateSLARules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListSQLReviewOriginSQL', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListSQLReviewOriginSQL', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListSensitiveColumnsDetail', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListSensitiveColumnsDetail', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListInstanceUserPermissions', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListInstanceUserPermissions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDatabaseExportOrderDetail', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDatabaseExportOrderDetail', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateLogicDatabase', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateLogicDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateMetaCategory', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateMetaCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateDataImportOrder', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateDataImportOrder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTableKnowledgeDetails', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:GetTableKnowledgeDetails', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateDataLakeFunction', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:UpdateDataLakeFunction', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteDataLakeDatabase', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteDataLakeDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'BatchDeleteDataLakePartitions', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:BatchDeleteDataLakePartitions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ExecuteDataExport', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:ExecuteDataExport', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTables', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListTables', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDataLakeTableName', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListDataLakeTableName', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateDataCorrectOrder', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateDataCorrectOrder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateAuthorityTemplate', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateAuthorityTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'BackFill', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:BackFill', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AddAuthorityTemplateItems', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:AddAuthorityTemplateItems', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTasksInTaskFlow', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListTasksInTaskFlow', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskFlowNameAndDesc', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskFlowNameAndDesc', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateMetaCategory', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateMetaCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDataLakeDatabase', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListDataLakeDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'BatchUpdateDataLakePartitions', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:BatchUpdateDataLakePartitions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataTrackJobTableMeta', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:GetDataTrackJobTableMeta', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataTrackOrderDetail', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:GetDataTrackOrderDetail', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDataLakeFunction', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListDataLakeFunction', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListLogicDatabases', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListLogicDatabases', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AddTableToCategory', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:AddTableToCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListAuthorizedInstancesForUser', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:ListAuthorizedInstancesForUser', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetMetaTableDetailInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetMetaTableDetailInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DisableUser', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:DisableUser', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SearchInventoryKnowledge', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:SearchInventoryKnowledge', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskFlowEdges', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskFlowEdges', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'EditLogicDatabase', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:EditLogicDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ExecuteStructSync', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:ExecuteStructSync', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SearchTableKnowledge', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:SearchTableKnowledge', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ReRunTaskFlowInstance', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:ReRunTaskFlowInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CheckInventoryJob', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:CheckInventoryJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTableDesignProjectInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetTableDesignProjectInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateDataLakeTable', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateDataLakeTable', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateProcCorrectOrder', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateProcCorrectOrder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTaskFlowTimeVariables', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListTaskFlowTimeVariables', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetAuthorityTemplate', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetAuthorityTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetStructSyncOrderDetail', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetStructSyncOrderDetail', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListStandardGroups', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListStandardGroups', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDAGVersions', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDAGVersions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateDataExportOrder', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateDataExportOrder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataCronClearConfig', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDataCronClearConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskName', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskName', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTableKnowledgeInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetTableKnowledgeInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateDataLakeDatabase', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateDataLakeDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTableColumnList', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:GetTableColumnList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataLakeDatabase', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDataLakeDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'OptimizeSqlByMetaAgent', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:OptimizeSqlByMetaAgent', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataCronClearTaskDetailList', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDataCronClearTaskDetailList', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTaskFlowGraph', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetTaskFlowGraph', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListSensitivityLevel', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListSensitivityLevel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListLogicTables', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListLogicTables', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GrantTemplateAuthority', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:GrantTemplateAuthority', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataTrackJobDegree', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:GetDataTrackJobDegree', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTableDBTopology', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetTableDBTopology', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ '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' => '*'], ], ], ], [ 'apiName' => 'GetDataCorrectTaskDetail', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDataCorrectTaskDetail', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskContentV2', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskContentV2', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDataLakePartitionName', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListDataLakePartitionName', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AddWorkspaceUser', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:AddWorkspaceUser', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SearchInventoryAsset', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:SearchInventoryAsset', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateAbacPolicy', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateAbacPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetUserActiveTenant', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetUserActiveTenant', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDefaultSLARules', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDefaultSLARules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SubmitOrderApproval', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:SubmitOrderApproval', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTagMetaAsset', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListTagMetaAsset', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ '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', 'ramAction' => [ 'action' => 'dms:ListInstanceLoginAuditLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteTaskFlow', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteTaskFlow', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateWorkspace', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateWorkspace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'RevokeTemplateAuthority', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:RevokeTemplateAuthority', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'BatchCreateDataLakePartitions', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:BatchCreateDataLakePartitions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskOutput', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskOutput', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateTaskFlow', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateTaskFlow', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ModifyDesensitizationStrategy', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:ModifyDesensitizationStrategy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SearchTable', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:SearchTable', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListEffectiveOrders', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListEffectiveOrders', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListAuthorizedUsersForInstance', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:ListAuthorizedUsersForInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SearchWorkspaceRoles', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:SearchWorkspaceRoles', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateUploadOSSFileJob', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateUploadOSSFileJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListUsers', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListUsers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetUserUploadFileJob', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetUserUploadFileJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CloseOrder', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:CloseOrder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'QueryDataTrackResultDownloadStatus', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:QueryDataTrackResultDownloadStatus', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'StopTaskFlowInstance', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:StopTaskFlowInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetApprovalDetail', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetApprovalDetail', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateDataLakeDatabase', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateDataLakeDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateAbacPolicy', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateAbacPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteLakeHouseSpace', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteLakeHouseSpace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateWorkspace', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateWorkspace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ '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', 'ramAction' => [ 'action' => 'dms:GetDataImportSQL', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateDatabaseExportOrder', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateDatabaseExportOrder', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'MakeTaskFlowInstanceSuccess', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:MakeTaskFlowInstanceSuccess', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateInstance', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'RefundPayAsYouGoOrder', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:RefundPayAsYouGoOrder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AddDesensitizationRule', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:AddDesensitizationRule', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetSQLReviewOptimizeDetail', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetSQLReviewOptimizeDetail', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataCorrectBackupFiles', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDataCorrectBackupFiles', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreatePublishGroupTask', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreatePublishGroupTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataCorrectOrderDetail', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDataCorrectOrderDetail', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'RemoveTableFromCategory', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:RemoveTableFromCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteScenario', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteScenario', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateProxy', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateProxy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTableTopology', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetTableTopology', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteLogicDatabase', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteLogicDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SimplyAddInstance', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:SimplyAddInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ResumeTaskFlowInstance', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:ResumeTaskFlowInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteProxy', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:DeleteProxy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetWorkspace', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetWorkspace', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskFlowSchedule', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskFlowSchedule', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteUser', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteUser', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ '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', 'ramAction' => [ 'action' => 'dms:CreateDataTrackOrder', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDBTaskSQLJobDetail', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDBTaskSQLJobDetail', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTask', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListAbacAuthorizations', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListAbacAuthorizations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'EditMetaKnowledgeAsset', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:EditMetaKnowledgeAsset', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDataLakePartitionByFilter', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListDataLakePartitionByFilter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ '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' => '*'], ], ], ], [ 'apiName' => 'GetSQLReviewCheckResultStatus', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetSQLReviewCheckResultStatus', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskFlowTimeVariables', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskFlowTimeVariables', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListUserOwnedResources', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListUserOwnedResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ExportInventoryAsset', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:ExportInventoryAsset', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateDataCronClearOrder', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateDataCronClearOrder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'PauseDataExportJob', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:PauseDataExportJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SearchTableAssetKnowledge', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:SearchTableAssetKnowledge', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetOrderAttachmentFile', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetOrderAttachmentFile', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SetForecastAgentInstance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:SetForecastAgentInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AddInstance', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:AddInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDDLPublishRecords', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDDLPublishRecords', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateStructSyncOrder', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateStructSyncOrder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetPhysicalDatabase', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetPhysicalDatabase', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ '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' => '*'], ], ], ], [ 'apiName' => 'GetMetaTableColumn', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetMetaTableColumn', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListOrders', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListOrders', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CheckBatchTableAccessPermission', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:CheckBatchTableAccessPermission', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateSQLReviewOrder', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateSQLReviewOrder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDataCorrectPreCheckDB', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDataCorrectPreCheckDB', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTaskFlowCooperators', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListTaskFlowCooperators', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GenerateSqlFromNL', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:GenerateSqlFromNL', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListIndexes', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListIndexes', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SyncInstanceMeta', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:SyncInstanceMeta', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskConfig', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskConfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteAbacPolicy', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:DeleteAbacPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SetWorkflowExtraInfo', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:SetWorkflowExtraInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetInstance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetAIOrderApprovalCommentSSE', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:GetAIOrderApprovalCommentSSE', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskTimeVariables', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskTimeVariables', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDatabaseUserPermssions', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDatabaseUserPermssions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateDataLakePartition', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateDataLakePartition', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AddLhMembers', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:AddLhMembers', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SkipDataCorrectRowCheck', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:SkipDataCorrectRowCheck', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateFreeLockCorrectOrder', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateFreeLockCorrectOrder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTaskFlowInstance', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListTaskFlowInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDBTopology', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDBTopology', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTaskFlowEdgesByCondition', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListTaskFlowEdgesByCondition', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SubmitStructSyncOrderApproval', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:SubmitStructSyncOrderApproval', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateProxyAccess', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateProxyAccess', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteInstance', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AddLogicTableRouteConfig', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:AddLogicTableRouteConfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDesensitizationRule', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDesensitizationRule', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskFlowOwner', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskFlowOwner', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListSLARules', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListSLARules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteMetaCategory', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteMetaCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteTaskFlowEdgesByCondition', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteTaskFlowEdgesByCondition', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListWorkFlowTemplates', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListWorkFlowTemplates', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SuspendDataExportJob', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:SuspendDataExportJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'FixSqlByMetaAgent', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:FixSqlByMetaAgent', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateDataArchiveOrder', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateDataArchiveOrder', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataArchiveCount', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:GetDataArchiveCount', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetClassificationTemplate', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetClassificationTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SuspendTaskFlowInstance', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:SuspendTaskFlowInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'RestartDataExportJob', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:RestartDataExportJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDatabases', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDatabases', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListWorkspaceUsers', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListWorkspaceUsers', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteTask', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ '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', 'ramAction' => [ 'action' => 'dms:DownloadDataTrackResult', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListInventoryJobs', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:ListInventoryJobs', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDataLakeCatalog', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListDataLakeCatalog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataExportOrderDetail', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDataExportOrderDetail', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteDataLakePartition', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteDataLakePartition', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTaskFlowsByPage', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListTaskFlowsByPage', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDataLakeTablebaseInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListDataLakeTablebaseInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteAbacAuthorization', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteAbacAuthorization', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateStandardGroup', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateStandardGroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTaskFlowNotification', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetTaskFlowNotification', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetAuthorityTemplateItem', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:GetAuthorityTemplateItem', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetOnlineDDLProgress', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetOnlineDDLProgress', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListProxies', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListProxies', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteDataLakeTable', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'dms:DeleteDataLakeTable', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskFlowCooperators', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskFlowCooperators', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDataImportSQLPreCheckDetail', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListDataImportSQLPreCheckDetail', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTaskFlowNotification', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateTaskFlowNotification', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateOrder', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateOrder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'EnableUser', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:EnableUser', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListSensitiveColumns', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:ListSensitiveColumns', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SearchDatabase', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'dms:SearchDatabase', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'OfflineTaskFlow', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:OfflineTaskFlow', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataLakeCatalog', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDataLakeCatalog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateDataLakePartition', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'dms:UpdateDataLakePartition', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataLakePartition', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetDataLakePartition', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetLogicDatabase', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:GetLogicDatabase', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListProxyAccesses', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListProxyAccesses', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeForecastAgent', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:DescribeForecastAgent', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDataLakeTable', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'dms:ListDataLakeTable', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ConfirmInventoryKnowledge', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'dms:ConfirmInventoryKnowledge', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateTask', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'dms:CreateTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'DMSEnterprise', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ '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' => '*'], ], ], ], ], '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}'], ], ], ];