From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/en_us/dataanalysisgbi/2024-08-23/api-docs.php | 3576 +++++++++++++++++++- 1 file changed, 3574 insertions(+), 2 deletions(-) (limited to 'data/en_us/dataanalysisgbi/2024-08-23/api-docs.php') diff --git a/data/en_us/dataanalysisgbi/2024-08-23/api-docs.php b/data/en_us/dataanalysisgbi/2024-08-23/api-docs.php index 19d0733..d64b12e 100644 --- a/data/en_us/dataanalysisgbi/2024-08-23/api-docs.php +++ b/data/en_us/dataanalysisgbi/2024-08-23/api-docs.php @@ -1,4 +1,3576 @@ 500, - 'message' => 'server error', + 'version' => '1.0', + 'info' => ['style' => 'ROA', 'product' => 'DataAnalysisGBI', 'version' => '2024-08-23'], + 'directories' => [ + [ + 'children' => [ + [ + 'children' => ['RunDataAnalysis'], + 'type' => 'directory', + 'title' => 'Cloud SQL execution mode', + ], + [ + 'children' => ['RunDataResultAnalysis', 'RunSqlGeneration'], + 'type' => 'directory', + 'title' => 'Local SQL execution mode', + ], + ], + 'type' => 'directory', + 'title' => 'Intelligent Q&A', + ], + [ + 'children' => ['UpdateBusinessLogic', 'CreateBusinessLogic', 'ListBusinessLogic', 'DeleteBusinessLogic'], + 'type' => 'directory', + 'title' => 'Business logic explanation', + ], + [ + 'children' => ['CreateSynonyms', 'ListSynonyms', 'UpdateSynonyms', 'BatchDeleteSynonyms'], + 'type' => 'directory', + 'title' => 'Synonym explanation', + ], + [ + 'children' => ['CreateDatasourceAuthorization', 'CancelDatasourceAuthorization', 'SyncRemoteTables', 'ListSelectedTables', 'UpdateTableInfo', 'DeleteSelectedTable', 'ResyncTable', 'ListColumn', 'UpdateColumn', 'RecoverColumn', 'DeleteColumn', 'ListEnumMapping', 'UpdateEnumMapping'], + 'type' => 'directory', + 'title' => 'Data source management', + ], + [ + 'children' => ['CreateVirtualDatasourceInstance', 'ListVirtualDatasourceInstance', 'UpdateVirtualDatasourceInstance', 'DeleteVirtualDatasourceInstance', 'SaveVirtualDatasourceDdl'], + 'type' => 'directory', + 'title' => 'Virtual data source', + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'BatchDeleteSynonyms' => [ + 'summary' => 'Delete synonyms in bulk from the specified workspace.', + 'path' => '/gbi/batchDelete/synonyms', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used for this request', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters', + 'type' => 'object', + 'properties' => [ + 'synonymIdKeys' => [ + 'description' => 'List of synonym IDs to delete', + 'type' => 'array', + 'items' => ['description' => 'Synonym ID', 'type' => 'string', 'required' => false, 'example' => 'synonym-AAAAAAAAh6cWOUPagYstkg', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response message', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error message', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'Set to true if the API call succeeds. Set to false if it fails', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique ID for the request. Use it to troubleshoot issues', 'type' => 'string', 'example' => '45390C6D-016D-5030-BF65-031ED1F65003', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"45390C6D-016D-5030-BF65-031ED1F65003\\"\\n}","type":"json"}]', + 'title' => 'Batch Delete Synonyms', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:BatchDeleteSynonyms', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CancelDatasourceAuthorization' => [ + 'summary' => 'Cancels authorization for an associated data source.', + 'path' => '/gbi/cancel/datasource', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used for this request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response message.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error message.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'code' => ['description' => 'Error code.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'success' => ['description' => 'True if the API call succeeded. False if it failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique ID for the request. Use it to troubleshoot issues.', 'type' => 'string', 'example' => 'FB11F719-9AC8-5C99-AB0A-4709D437FCFC', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"\\\\\\"\\\\\\"\\",\\n \\"code\\": \\"\\\\\\"\\\\\\"\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"FB11F719-9AC8-5C99-AB0A-4709D437FCFC\\"\\n}","type":"json"}]', + 'title' => 'Cancel authorization for the data source association', + 'responseParamsDescription' => 'When success is true, errorMsg and code must be empty strings ("").', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:CancelDatasourceAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateBusinessLogic' => [ + 'summary' => 'Creates a business logic definition in the specified workspace.', + 'path' => '/gbi/create/logic', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Model Studio workspace for the current request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'type' => [ + 'description' => 'The type of the business logic explanation to create.', + 'enumValueTitles' => ['Global', 'System-determined'], + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'title' => '', + ], + 'description' => ['description' => 'The content of the business logic explanation.', 'type' => 'string', 'required' => false, 'example' => '冬季指的是,当年10月到第二年的三月', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'The data returned.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'Indicates whether the call was successful. A value of \\`true\\` indicates success. A value of \\`false\\` indicates failure.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'The request ID. Each request has a unique ID that is used to troubleshoot issues.', 'type' => 'string', 'example' => 'FB11F719-9AC8-5C99-AB0A-4709D437FCFC', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"FB11F719-9AC8-5C99-AB0A-4709D437FCFC\\"\\n}","type":"json"}]', + 'title' => 'Create Business Logic Interpretation', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:CreateBusinessLogic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'CreateDatasourceAuthorization' => [ + 'summary' => 'Creates an authorization to associate a data source with a specified workspace. After the association is created, you can retrieve the table schema from the data source.', + 'path' => '/gbi/create/datasource', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Alibaba Cloud Model Studio workspace for the current request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'type' => [ + 'description' => 'The type of the data source to associate.', + 'enumValueTitles' => [1 => 'MySQL data source', 'PostgreSQL data source', 10 => 'Hologres data source', 'MySQL data source that uses a VPC connection', 'PostgreSQL data source that uses a VPC connection', 51 => 'MySQL virtual data source instance', 'PostgreSQL virtual data source instance'], + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + 'title' => '', + ], + 'url' => ['description' => 'The JDBC connection string of the data source to create.', 'type' => 'string', 'required' => false, 'example' => 'jdbc:mysql://rm-2zedvv990c8d8rj8ejo.mysql.rds.aliyuncs.com:3306/gbi_good_case', 'title' => ''], + 'userName' => ['description' => 'The username to log on to the data source.', 'type' => 'string', 'required' => false, 'example' => 'root', 'title' => ''], + 'password' => ['description' => 'The password for the username to log on to the data source.', 'type' => 'string', 'required' => false, 'example' => 'password', 'title' => ''], + 'vdbId' => ['description' => 'The instance ID of the virtual data source. Specify this parameter only when you associate a virtual data source.', 'type' => 'string', 'required' => false, 'example' => 'vdb-E0F693C8-9F72-5830-B81A-696C9D8EBBD1'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'The returned information.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'The error description.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'true indicates that the API call was successful. false indicates that the API call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'The request ID. Each request has a unique ID, which is used for troubleshooting.', 'type' => 'string', 'example' => 'E0F693C8-9F72-5830-B81A-696C9D8EBBD1', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"E0F693C8-9F72-5830-B81A-696C9D8EBBD1\\"\\n}","type":"json"}]', + 'title' => 'Data Source Association Authorization', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:CreateDatasourceAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'CreateSynonyms' => [ + 'summary' => 'Creates a synonym in the specified workspace.', + 'path' => '/gbi/create/synonyms', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Alibaba Cloud Model Studio workspace for the request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'word' => ['description' => 'The synonym.', 'type' => 'string', 'required' => true, 'example' => '首都', 'title' => ''], + 'wordSynonyms' => [ + 'description' => 'A list of words to map to the synonym.', + 'type' => 'array', + 'items' => ['description' => 'A word to map as a synonym.', 'type' => 'string', 'required' => false, 'example' => '北京', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'columns' => [ + 'description' => 'To associate the synonym with a specific column in a data table, specify the column name in the table\\_name.column\\_name format.', + 'type' => 'array', + 'items' => ['description' => 'table\\_name.column\\_name', 'type' => 'string', 'required' => false, 'example' => 'table.id'."\n" + ."\n", 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'The returned data.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'true: The call was successful. false: The call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'The request ID. Each request has a unique ID. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'FB11F719-9AC8-5C99-AB0A-4709D437FCFC', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"FB11F719-9AC8-5C99-AB0A-4709D437FCFC\\"\\n}","type":"json"}]', + 'title' => 'Create Synonym', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:CreateSynonyms', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateVirtualDatasourceInstance' => [ + 'summary' => 'Creates a virtual data source instance in the specified workspace. This instance represents a virtual database. You can add Data Definition Language (DDL) statements to it to build virtual databases and tables.', + 'path' => '/gbi/virtualDatasource/createVirtualDatasourceInstance', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Alibaba Cloud Model Studio workspace for the current request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The parameters of the request body.', + 'type' => 'object', + 'properties' => [ + 'name' => ['description' => 'The name of the virtual data source instance.', 'type' => 'string', 'required' => false, 'example' => 'virtual-instance-1', 'title' => ''], + 'description' => ['description' => 'The description of the virtual data source instance.', 'type' => 'string', 'required' => false, 'example' => '虚拟数据源实例的描述', 'title' => ''], + 'type' => [ + 'description' => 'The type of the virtual data source.', + 'enumValueTitles' => [51 => 'MySQL virtual data source', 'PostgreSQL virtual data source'], + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '51', + 'title' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result ', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'The response data. It indicates whether the operation was successful.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'true indicates that the API call was successful. false indicates that the API call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'The request ID. Each request has a unique ID, which is used for troubleshooting.', 'type' => 'string', 'example' => 'D02D895A-5E58-5A9F-963D-D8B027AB7AE2', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"D02D895A-5E58-5A9F-963D-D8B027AB7AE2\\"\\n}","type":"json"}]', + 'title' => 'Create a Virtual Data Source Instance '."\n", + 'changeSet' => [ + ['createdAt' => '2024-12-10T15:46:05.000Z', 'description' => 'Request parameters changed'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:CreateVirtualDatasourceInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'DeleteBusinessLogic' => [ + 'summary' => 'Delete a business logic definition from the specified workspace.', + 'path' => '/gbi/delete/logic', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used for this request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'businessLogicIdKeys' => [ + 'description' => 'List of unique identifiers for the business logic definitions to delete.', + 'type' => 'array', + 'items' => ['description' => 'Unique identifier for a business logic definition.', 'type' => 'string', 'required' => false, 'example' => 'businessLogic-AAAAAAAAAGAIyJoP7LbKuA', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response message.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error description.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'Returns true if the call succeeds. Returns false if the call fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique ID for this request. Use it to troubleshoot issues.', 'type' => 'string', 'example' => 'FB11F719-9AC8-5C99-AB0A-4709D437FCFC', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"FB11F719-9AC8-5C99-AB0A-4709D437FCFC\\"\\n}","type":"json"}]', + 'title' => 'Delete Business Logic Interpretation', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:DeleteBusinessLogic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteColumn' => [ + 'summary' => 'Delete a column from the specified workspace.', + 'path' => '/gbi/delete/column', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Alibaba Cloud Model Studio workspace used for this request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'columnIdKey' => ['description' => 'The unique identifier of the column to delete.', 'type' => 'string', 'required' => true, 'example' => 'column-AAAAAAAAh6Q9ERazKYFvkA', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response message.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'Returns true if the API call succeeds. Returns false if it fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'The unique ID of the request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'D02D895A-5E58-5A9F-963D-D8B027AB7AE2', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"D02D895A-5E58-5A9F-963D-D8B027AB7AE2\\"\\n}","type":"json"}]', + 'title' => 'Delete a Column from a Data Table', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:DeleteColumn', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'DeleteSelectedTable' => [ + 'summary' => 'Deletes the specified data table from the designated workspace.', + 'path' => '/gbi/delete/table', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Alibaba Cloud Model Studio workspace for the current request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'tableIdKey' => ['description' => 'The unique identifier for the data table.', 'type' => 'string', 'required' => true, 'example' => 'table-AAAAAAAAFQBwSLJkUj4CYg', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Returned information.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error description message.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'True if the API call succeeded; false if it failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'The request ID. Each request has a unique value, which helps troubleshoot issues.', 'type' => 'string', 'example' => '45390C6D-016D-5030-BF65-031ED1F65003', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"45390C6D-016D-5030-BF65-031ED1F65003\\"\\n}","type":"json"}]', + 'title' => 'Delete the selected Data Table', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:DeleteSelectedTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteVirtualDatasourceInstance' => [ + 'summary' => 'Deletes a virtual data source instance in the specified workspace.', + 'path' => '/gbi/virtualDatasource/deleteVirtualDatasourceInstance', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used for this request', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters', + 'type' => 'object', + 'properties' => [ + 'vdbId' => ['description' => 'ID of the virtual data source instance', 'type' => 'string', 'required' => true, 'example' => 'vdb-7D63529B-5D42-5BF0-84E4-F742FFE02E7F'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response data. Indicates success or failure.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'Set to true if the API call succeeds. Set to false if it fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique ID for the request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '7D63529B-5D42-5BF0-84E4-F742FFE02E7F', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"7D63529B-5D42-5BF0-84E4-F742FFE02E7F\\"\\n}","type":"json"}]', + 'title' => 'Delete a virtual data source instance', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:DeleteVirtualDatasourceInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListBusinessLogic' => [ + 'summary' => 'Lists the definitions of enterprise knowledge terms in the specified workspace.', + 'path' => '/gbi/list/logic', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used for this request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'nextToken' => ['description' => 'Pagination token.'."\n" + ."\n" + .'- Omit this parameter for the first call.'."\n" + ."\n" + .'- For subsequent calls, use the nextToken value returned in the previous response.', 'type' => 'string', 'required' => false, 'example' => 'e8Z0nRyY51ZQmYljqGNK', 'title' => ''], + 'maxResults' => ['description' => 'Maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'List of data entries.', 'type' => 'any', 'example' => '{'."\n" + .' "data": {'."\n" + .' "data": ['."\n" + .' {'."\n" + .' "gmtModified": 1732018200000,'."\n" + .' "workSpaceId": "10024809",'."\n" + .' "description": "1",'."\n" + .' "businessLogicIdKey": "businessLogic-AAAAAAAAAGAIyJoP7LbKuA",'."\n" + .' "gmtCreate": 1732018200000,'."\n" + .' "type": 0,'."\n" + .' "status": 1'."\n" + .' },'."\n" + .' {'."\n" + .' "gmtModified": 1721791780000,'."\n" + .' "workSpaceId": "10024809",'."\n" + .' "description": "时间相关列的格式是 YYYYMMDD",'."\n" + .' "businessLogicIdKey": "businessLogic-AAAAAAAAAEXeM8VSLGi77w",'."\n" + .' "gmtCreate": 1721791780000,'."\n" + .' "type": 0,'."\n" + .' "status": 1'."\n" + .' },'."\n" + .' {'."\n" + .' "gmtModified": 1732013491000,'."\n" + .' "workSpaceId": "10024809",'."\n" + .' "description": "查询数据的时候,如果发现列有中文的描述或者中文的名字,请将查询到的结果展示成as 列中文名的形式",'."\n" + .' "businessLogicIdKey": "businessLogic-AAAAAAAAAE9NdahlKmg-OQ",'."\n" + .' "gmtCreate": 1727420945000,'."\n" + .' "type": 0,'."\n" + .' "status": 1'."\n" + .' }'."\n" + .' ],'."\n" + .' "nextToken": "+uGRPVXVZ9upasz0PegzUA==",'."\n" + .' "totalCount": 0'."\n" + .' }'."\n" + .'}', 'title' => ''], + 'errorMsg' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'true if the API call succeeded. false if it failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique ID for the request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'FB11F719-9AC8-5C99-AB0A-4709D437FCFC', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"{\\\\n \\\\\\"data\\\\\\": {\\\\n \\\\\\"data\\\\\\": [\\\\n {\\\\n \\\\\\"gmtModified\\\\\\": 1732018200000,\\\\n \\\\\\"workSpaceId\\\\\\": \\\\\\"10024809\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"businessLogicIdKey\\\\\\": \\\\\\"businessLogic-AAAAAAAAAGAIyJoP7LbKuA\\\\\\",\\\\n \\\\\\"gmtCreate\\\\\\": 1732018200000,\\\\n \\\\\\"type\\\\\\": 0,\\\\n \\\\\\"status\\\\\\": 1\\\\n },\\\\n {\\\\n \\\\\\"gmtModified\\\\\\": 1721791780000,\\\\n \\\\\\"workSpaceId\\\\\\": \\\\\\"10024809\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"时间相关列的格式是 YYYYMMDD\\\\\\",\\\\n \\\\\\"businessLogicIdKey\\\\\\": \\\\\\"businessLogic-AAAAAAAAAEXeM8VSLGi77w\\\\\\",\\\\n \\\\\\"gmtCreate\\\\\\": 1721791780000,\\\\n \\\\\\"type\\\\\\": 0,\\\\n \\\\\\"status\\\\\\": 1\\\\n },\\\\n {\\\\n \\\\\\"gmtModified\\\\\\": 1732013491000,\\\\n \\\\\\"workSpaceId\\\\\\": \\\\\\"10024809\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"查询数据的时候,如果发现列有中文的描述或者中文的名字,请将查询到的结果展示成as 列中文名的形式\\\\\\",\\\\n \\\\\\"businessLogicIdKey\\\\\\": \\\\\\"businessLogic-AAAAAAAAAE9NdahlKmg-OQ\\\\\\",\\\\n \\\\\\"gmtCreate\\\\\\": 1727420945000,\\\\n \\\\\\"type\\\\\\": 0,\\\\n \\\\\\"status\\\\\\": 1\\\\n }\\\\n ],\\\\n \\\\\\"nextToken\\\\\\": \\\\\\"+uGRPVXVZ9upasz0PegzUA==\\\\\\",\\\\n \\\\\\"totalCount\\\\\\": 0\\\\n }\\\\n}\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"FB11F719-9AC8-5C99-AB0A-4709D437FCFC\\"\\n}","type":"json"}]', + 'title' => 'Business Logic Explanation List', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ListBusinessLogic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListColumn' => [ + 'summary' => 'Retrieve column information for a specified table in the current workspace.', + 'path' => '/gbi/list/column', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used for this request', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters', + 'type' => 'object', + 'properties' => [ + 'tableIdKey' => ['description' => 'Unique identifier of the data table', 'type' => 'string', 'required' => true, 'example' => 'table-AAAAAAAAFQBwSLJkUj4CYg', 'title' => ''], + 'nextToken' => ['description' => 'Paging token'."\n" + ."\n" + .'- Omit this parameter for the first call'."\n" + ."\n" + .'- For subsequent calls, use the nextToken value returned in the previous response', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => 'e8Z0nRyY51ZQmYljqGNK', 'title' => ''], + 'maxResults' => ['description' => 'Maximum number of entries per page', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response data', 'type' => 'any', 'example' => '{'."\n" + .' "data": {'."\n" + .' "data": ['."\n" + .' {'."\n" + .' "tableIdKey": "table-AAAAAAAAFQBwSLJkUj4CYg",'."\n" + .' "initializationData": "{\\"description\\":\\"下单客户的ID\\",\\"enumType\\":0,\\"gmtCreate\\":1734059103879,\\"name\\":\\"customer_id\\",\\"samples\\":\\"[]\\",\\"tableId\\":5376,\\"type\\":\\"number\\"}",'."\n" + .' "enumType": 0,'."\n" + .' "name": "customer_id",'."\n" + .' "description": "下单客户的ID",'."\n" + .' "gmtCreate": 1734059104000,'."\n" + .' "type": "number",'."\n" + .' "samples": [],'."\n" + .' "columnIdKey": "column-AAAAAAAAh6Q9ERazKYFvkA",'."\n" + .' "enumValues": []'."\n" + .' },'."\n" + .' {'."\n" + .' "tableIdKey": "table-AAAAAAAAFQBwSLJkUj4CYg",'."\n" + .' "initializationData": "{\\"description\\":\\"下单日期,格式为YYYY-MM-DD\\",\\"enumType\\":0,\\"gmtCreate\\":1734059103913,\\"name\\":\\"order_date\\",\\"samples\\":\\"[]\\",\\"tableId\\":5376,\\"type\\":\\"date\\"}",'."\n" + .' "enumType": 0,'."\n" + .' "name": "order_date",'."\n" + .' "description": "下单日期,格式为YYYY-MM-DD",'."\n" + .' "gmtCreate": 1734059104000,'."\n" + .' "type": "date",'."\n" + .' "samples": [],'."\n" + .' "columnIdKey": "column-AAAAAAAAh6XbT54v-8NjeA",'."\n" + .' "enumValues": []'."\n" + .' },'."\n" + .' {'."\n" + .' "tableIdKey": "table-AAAAAAAAFQBwSLJkUj4CYg",'."\n" + .' "initializationData": "{\\"description\\":\\"订单ID\\",\\"enumType\\":0,\\"gmtCreate\\":1734059103946,\\"name\\":\\"order_id\\",\\"samples\\":\\"[]\\",\\"tableId\\":5376,\\"type\\":\\"number\\"}",'."\n" + .' "enumType": 0,'."\n" + .' "name": "order_id",'."\n" + .' "description": "订单ID",'."\n" + .' "gmtCreate": 1734059104000,'."\n" + .' "type": "number",'."\n" + .' "samples": [],'."\n" + .' "columnIdKey": "column-AAAAAAAAh6avEvz8bdb30Q",'."\n" + .' "enumValues": []'."\n" + .' },'."\n" + .' {'."\n" + .' "tableIdKey": "table-AAAAAAAAFQBwSLJkUj4CYg",'."\n" + .' "initializationData": "{\\"description\\":\\"订单状态(例如:待发货、已发货、已送达)\\",\\"enumType\\":0,\\"gmtCreate\\":1734059103980,\\"name\\":\\"order_status\\",\\"samples\\":\\"[]\\",\\"tableId\\":5376,\\"type\\":\\"text\\"}",'."\n" + .' "enumType": 0,'."\n" + .' "name": "order_status",'."\n" + .' "description": "订单状态(例如:待发货、已发货、已送达)",'."\n" + .' "gmtCreate": 1734059104000,'."\n" + .' "type": "text",'."\n" + .' "samples": [],'."\n" + .' "columnIdKey": "column-AAAAAAAAh6cWOUPagYstkg",'."\n" + .' "enumValues": []'."\n" + .' },'."\n" + .' {'."\n" + .' "tableIdKey": "table-AAAAAAAAFQBwSLJkUj4CYg",'."\n" + .' "initializationData": "{\\"description\\":\\"所订购产品的ID\\",\\"enumType\\":0,\\"gmtCreate\\":1734059104013,\\"name\\":\\"product_id\\",\\"samples\\":\\"[]\\",\\"tableId\\":5376,\\"type\\":\\"number\\"}",'."\n" + .' "enumType": 0,'."\n" + .' "name": "product_id",'."\n" + .' "description": "所订购产品的ID",'."\n" + .' "gmtCreate": 1734059104000,'."\n" + .' "type": "number",'."\n" + .' "samples": [],'."\n" + .' "columnIdKey": "column-AAAAAAAAh6hFxzroVe3k4Q",'."\n" + .' "enumValues": []'."\n" + .' },'."\n" + .' {'."\n" + .' "tableIdKey": "table-AAAAAAAAFQBwSLJkUj4CYg",'."\n" + .' "initializationData": "{\\"description\\":\\"订购产品的数量\\",\\"enumType\\":0,\\"gmtCreate\\":1734059104046,\\"name\\":\\"quantity\\",\\"samples\\":\\"[]\\",\\"tableId\\":5376,\\"type\\":\\"number\\"}",'."\n" + .' "enumType": 0,'."\n" + .' "name": "quantity",'."\n" + .' "description": "订购产品的数量",'."\n" + .' "gmtCreate": 1734059104000,'."\n" + .' "type": "number",'."\n" + .' "samples": [],'."\n" + .' "columnIdKey": "column-AAAAAAAAh6ncfHPApl0elQ",'."\n" + .' "enumValues": []'."\n" + .' }'."\n" + .' ],'."\n" + .' "nextToken": "T65g+mLhrbH14+IU/ABI3Q==",'."\n" + .' "totalCount": 0'."\n" + .' }'."\n" + .'}', 'title' => ''], + 'errorMsg' => ['description' => 'Error message', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'true if the API call succeeded. false if it failed', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique request ID. Include this ID when you contact support to troubleshoot issues', 'type' => 'string', 'example' => 'FB11F719-9AC8-5C99-AB0A-4709D437FCFC', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"{\\\\n \\\\\\"data\\\\\\": {\\\\n \\\\\\"data\\\\\\": [\\\\n {\\\\n \\\\\\"tableIdKey\\\\\\": \\\\\\"table-AAAAAAAAFQBwSLJkUj4CYg\\\\\\",\\\\n \\\\\\"initializationData\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"下单客户的ID\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"enumType\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"gmtCreate\\\\\\\\\\\\\\":1734059103879,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"customer_id\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"samples\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"[]\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"tableId\\\\\\\\\\\\\\":5376,\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"number\\\\\\\\\\\\\\"}\\\\\\",\\\\n \\\\\\"enumType\\\\\\": 0,\\\\n \\\\\\"name\\\\\\": \\\\\\"customer_id\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"下单客户的ID\\\\\\",\\\\n \\\\\\"gmtCreate\\\\\\": 1734059104000,\\\\n \\\\\\"type\\\\\\": \\\\\\"number\\\\\\",\\\\n \\\\\\"samples\\\\\\": [],\\\\n \\\\\\"columnIdKey\\\\\\": \\\\\\"column-AAAAAAAAh6Q9ERazKYFvkA\\\\\\",\\\\n \\\\\\"enumValues\\\\\\": []\\\\n },\\\\n {\\\\n \\\\\\"tableIdKey\\\\\\": \\\\\\"table-AAAAAAAAFQBwSLJkUj4CYg\\\\\\",\\\\n \\\\\\"initializationData\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"下单日期,格式为YYYY-MM-DD\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"enumType\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"gmtCreate\\\\\\\\\\\\\\":1734059103913,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"order_date\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"samples\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"[]\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"tableId\\\\\\\\\\\\\\":5376,\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"date\\\\\\\\\\\\\\"}\\\\\\",\\\\n \\\\\\"enumType\\\\\\": 0,\\\\n \\\\\\"name\\\\\\": \\\\\\"order_date\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"下单日期,格式为YYYY-MM-DD\\\\\\",\\\\n \\\\\\"gmtCreate\\\\\\": 1734059104000,\\\\n \\\\\\"type\\\\\\": \\\\\\"date\\\\\\",\\\\n \\\\\\"samples\\\\\\": [],\\\\n \\\\\\"columnIdKey\\\\\\": \\\\\\"column-AAAAAAAAh6XbT54v-8NjeA\\\\\\",\\\\n \\\\\\"enumValues\\\\\\": []\\\\n },\\\\n {\\\\n \\\\\\"tableIdKey\\\\\\": \\\\\\"table-AAAAAAAAFQBwSLJkUj4CYg\\\\\\",\\\\n \\\\\\"initializationData\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"订单ID\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"enumType\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"gmtCreate\\\\\\\\\\\\\\":1734059103946,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"order_id\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"samples\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"[]\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"tableId\\\\\\\\\\\\\\":5376,\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"number\\\\\\\\\\\\\\"}\\\\\\",\\\\n \\\\\\"enumType\\\\\\": 0,\\\\n \\\\\\"name\\\\\\": \\\\\\"order_id\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"订单ID\\\\\\",\\\\n \\\\\\"gmtCreate\\\\\\": 1734059104000,\\\\n \\\\\\"type\\\\\\": \\\\\\"number\\\\\\",\\\\n \\\\\\"samples\\\\\\": [],\\\\n \\\\\\"columnIdKey\\\\\\": \\\\\\"column-AAAAAAAAh6avEvz8bdb30Q\\\\\\",\\\\n \\\\\\"enumValues\\\\\\": []\\\\n },\\\\n {\\\\n \\\\\\"tableIdKey\\\\\\": \\\\\\"table-AAAAAAAAFQBwSLJkUj4CYg\\\\\\",\\\\n \\\\\\"initializationData\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"订单状态(例如:待发货、已发货、已送达)\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"enumType\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"gmtCreate\\\\\\\\\\\\\\":1734059103980,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"order_status\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"samples\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"[]\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"tableId\\\\\\\\\\\\\\":5376,\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"text\\\\\\\\\\\\\\"}\\\\\\",\\\\n \\\\\\"enumType\\\\\\": 0,\\\\n \\\\\\"name\\\\\\": \\\\\\"order_status\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"订单状态(例如:待发货、已发货、已送达)\\\\\\",\\\\n \\\\\\"gmtCreate\\\\\\": 1734059104000,\\\\n \\\\\\"type\\\\\\": \\\\\\"text\\\\\\",\\\\n \\\\\\"samples\\\\\\": [],\\\\n \\\\\\"columnIdKey\\\\\\": \\\\\\"column-AAAAAAAAh6cWOUPagYstkg\\\\\\",\\\\n \\\\\\"enumValues\\\\\\": []\\\\n },\\\\n {\\\\n \\\\\\"tableIdKey\\\\\\": \\\\\\"table-AAAAAAAAFQBwSLJkUj4CYg\\\\\\",\\\\n \\\\\\"initializationData\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"所订购产品的ID\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"enumType\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"gmtCreate\\\\\\\\\\\\\\":1734059104013,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"product_id\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"samples\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"[]\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"tableId\\\\\\\\\\\\\\":5376,\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"number\\\\\\\\\\\\\\"}\\\\\\",\\\\n \\\\\\"enumType\\\\\\": 0,\\\\n \\\\\\"name\\\\\\": \\\\\\"product_id\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"所订购产品的ID\\\\\\",\\\\n \\\\\\"gmtCreate\\\\\\": 1734059104000,\\\\n \\\\\\"type\\\\\\": \\\\\\"number\\\\\\",\\\\n \\\\\\"samples\\\\\\": [],\\\\n \\\\\\"columnIdKey\\\\\\": \\\\\\"column-AAAAAAAAh6hFxzroVe3k4Q\\\\\\",\\\\n \\\\\\"enumValues\\\\\\": []\\\\n },\\\\n {\\\\n \\\\\\"tableIdKey\\\\\\": \\\\\\"table-AAAAAAAAFQBwSLJkUj4CYg\\\\\\",\\\\n \\\\\\"initializationData\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"订购产品的数量\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"enumType\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"gmtCreate\\\\\\\\\\\\\\":1734059104046,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"quantity\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"samples\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"[]\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"tableId\\\\\\\\\\\\\\":5376,\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"number\\\\\\\\\\\\\\"}\\\\\\",\\\\n \\\\\\"enumType\\\\\\": 0,\\\\n \\\\\\"name\\\\\\": \\\\\\"quantity\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"订购产品的数量\\\\\\",\\\\n \\\\\\"gmtCreate\\\\\\": 1734059104000,\\\\n \\\\\\"type\\\\\\": \\\\\\"number\\\\\\",\\\\n \\\\\\"samples\\\\\\": [],\\\\n \\\\\\"columnIdKey\\\\\\": \\\\\\"column-AAAAAAAAh6ncfHPApl0elQ\\\\\\",\\\\n \\\\\\"enumValues\\\\\\": []\\\\n }\\\\n ],\\\\n \\\\\\"nextToken\\\\\\": \\\\\\"T65g+mLhrbH14+IU/ABI3Q==\\\\\\",\\\\n \\\\\\"totalCount\\\\\\": 0\\\\n }\\\\n}\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"FB11F719-9AC8-5C99-AB0A-4709D437FCFC\\"\\n}","type":"json"}]', + 'title' => 'Collection of data columns under the Data Table', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ListColumn', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListEnumMapping' => [ + 'summary' => 'Retrieve enumeration values for the specified table and column within the current workspace.', + 'path' => '/gbi/list/mapping', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Alibaba Cloud Model Studio workspace used for the current request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'tableIdKey' => ['description' => 'The unique identifier ID of the data table.', 'type' => 'string', 'required' => true, 'example' => 'table-AAAAAAAAFQBwSLJkUj4CYg', 'title' => ''], + 'columnIdKey' => ['description' => 'The unique identifier ID of the data column.', 'type' => 'string', 'required' => true, 'example' => 'column-AAAAAAAAh6cWOUPagYstkg', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Returned information.', 'type' => 'any', 'example' => '{'."\n" + .' "data": {'."\n" + .' "数码产品": [],'."\n" + .' "箱包配饰": []'."\n" + .' }'."\n" + .'}', 'title' => ''], + 'errorMsg' => ['description' => 'Error description.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'True if the API call succeeded, false if the API call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Request ID, a unique value for each request, for troubleshooting.', 'type' => 'string', 'example' => 'FB11F719-9AC8-5C99-AB0A-4709D437FCFC', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"{\\\\n \\\\\\"data\\\\\\": {\\\\n \\\\\\"数码产品\\\\\\": [],\\\\n \\\\\\"箱包配饰\\\\\\": []\\\\n }\\\\n}\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"FB11F719-9AC8-5C99-AB0A-4709D437FCFC\\"\\n}","type":"json"}]', + 'title' => 'Enumeration Value Mapping List', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ListEnumMapping', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListSelectedTables' => [ + 'summary' => 'Retrieve the data tables associated with the current workspace.', + 'path' => '/gbi/list/datasource/table', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Alibaba Cloud Model Studio workspace used for the current request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'nextToken' => ['description' => 'Paging cursor.'."\n" + ."\n" + .'- If this is the first call, do not pass this parameter.'."\n" + ."\n" + .'- For subsequent calls, pass the nextToken returned from the previous call.', 'type' => 'string', 'required' => false, 'example' => 'e8Z0nRyY51ZQmYljqGNK', 'title' => ''], + 'maxResults' => ['description' => 'Maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Returned information.', 'type' => 'any', 'example' => '{'."\n" + .' "data": {'."\n" + .' "data": ['."\n" + .' {'."\n" + .' "tableIdKey": "table-AAAAAAAAFP8AL2bSar8jcQ",'."\n" + .' "workSpaceId": "10026203",'."\n" + .' "description": "存储客户信息的表",'."\n" + .' "foreignKey": "orders.customer_id=customers.customer_id",'."\n" + .' "primaryKey": "customer_id",'."\n" + .' "tableName": "customers"'."\n" + .' },'."\n" + .' {'."\n" + .' "tableIdKey": "table-AAAAAAAAFP8AL2bSar8jcQ",'."\n" + .' "workSpaceId": "10026203",'."\n" + .' "description": "存储订单信息的表",'."\n" + .' "foreignKey": "orders.customer_id=customers.customer_id",'."\n" + .' "primaryKey": "order_id",'."\n" + .' "tableName": "orders"'."\n" + .' },'."\n" + .' {'."\n" + .' "tableIdKey": "table-AAAAAAAAFP8AL2bSar8jcQ",'."\n" + .' "workSpaceId": "10026203",'."\n" + .' "description": "存储产品信息的表",'."\n" + .' "foreignKey": "",'."\n" + .' "primaryKey": "product_id",'."\n" + .' "tableName": "products"'."\n" + .' }'."\n" + .' ],'."\n" + .' "nextToken": "GsLIn+Ur2OowIcLywVF9Vg==",'."\n" + .' "totalCount": 0'."\n" + .' }'."\n" + .'}', 'title' => ''], + 'errorMsg' => ['description' => 'Error description.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'True if the API call succeeded, false if it failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Request ID. Each request has a unique value for troubleshooting.', 'type' => 'string', 'example' => 'FB11F719-9AC8-5C99-AB0A-4709D437FCFC', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"{\\\\n \\\\\\"data\\\\\\": {\\\\n \\\\\\"data\\\\\\": [\\\\n {\\\\n \\\\\\"tableIdKey\\\\\\": \\\\\\"table-AAAAAAAAFP8AL2bSar8jcQ\\\\\\",\\\\n \\\\\\"workSpaceId\\\\\\": \\\\\\"10026203\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"存储客户信息的表\\\\\\",\\\\n \\\\\\"foreignKey\\\\\\": \\\\\\"orders.customer_id=customers.customer_id\\\\\\",\\\\n \\\\\\"primaryKey\\\\\\": \\\\\\"customer_id\\\\\\",\\\\n \\\\\\"tableName\\\\\\": \\\\\\"customers\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"tableIdKey\\\\\\": \\\\\\"table-AAAAAAAAFP8AL2bSar8jcQ\\\\\\",\\\\n \\\\\\"workSpaceId\\\\\\": \\\\\\"10026203\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"存储订单信息的表\\\\\\",\\\\n \\\\\\"foreignKey\\\\\\": \\\\\\"orders.customer_id=customers.customer_id\\\\\\",\\\\n \\\\\\"primaryKey\\\\\\": \\\\\\"order_id\\\\\\",\\\\n \\\\\\"tableName\\\\\\": \\\\\\"orders\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"tableIdKey\\\\\\": \\\\\\"table-AAAAAAAAFP8AL2bSar8jcQ\\\\\\",\\\\n \\\\\\"workSpaceId\\\\\\": \\\\\\"10026203\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"存储产品信息的表\\\\\\",\\\\n \\\\\\"foreignKey\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"primaryKey\\\\\\": \\\\\\"product_id\\\\\\",\\\\n \\\\\\"tableName\\\\\\": \\\\\\"products\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"nextToken\\\\\\": \\\\\\"GsLIn+Ur2OowIcLywVF9Vg==\\\\\\",\\\\n \\\\\\"totalCount\\\\\\": 0\\\\n }\\\\n}\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"FB11F719-9AC8-5C99-AB0A-4709D437FCFC\\"\\n}","type":"json"}]', + 'title' => 'Selected Data Table collection', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ListSelectedTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListSynonyms' => [ + 'summary' => 'Lists synonyms in a specified workspace.', + 'path' => '/gbi/list/synonyms', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Alibaba Cloud Model Studio workspace for the current request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'nextToken' => ['description' => 'The paging cursor.'."\n" + ."\n" + .'- If this is your first call, do not include this parameter.'."\n" + ."\n" + .'- For subsequent calls, set this parameter to the nextToken value returned from the previous call.', 'type' => 'string', 'required' => false, 'example' => 'e8Z0nRyY51ZQmYljqGNK', 'title' => ''], + 'maxResults' => ['description' => 'The maximum number of entries to return on each page.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'The returned information.', 'type' => 'any', 'example' => '{'."\n" + .' "data": {'."\n" + .' "data": ['."\n" + .' {'."\n" + .' "gmtModified": 1734401404000,'."\n" + .' "columns": ['."\n" + .' "test.id",'."\n" + .' "user_info.createdt"'."\n" + .' ],'."\n" + .' "synonymIdKey": "synonyms-AAAAAAAAAVLaD8z63NnFhA",'."\n" + .' "wordSynonyms": ['."\n" + .' "1"'."\n" + .' ],'."\n" + .' "workSpaceId": "10024809",'."\n" + .' "gmtCreate": 1734401404000,'."\n" + .' "word": "1",'."\n" + .' "status": 1'."\n" + .' }'."\n" + .' ],'."\n" + .' "nextToken": "k1BLjEN114wyfrhDHoJlbg==",'."\n" + .' "totalCount": 0'."\n" + .' }'."\n" + .'}', 'title' => ''], + 'errorMsg' => ['description' => 'The error description.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'Indicates whether the call was successful. A value of true indicates success. A value of false indicates failure.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'The request ID. Each request has a unique ID, which helps with troubleshooting.', 'type' => 'string', 'example' => 'D02D895A-5E58-5A9F-963D-D8B027AB7AE2', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"{\\\\n \\\\\\"data\\\\\\": {\\\\n \\\\\\"data\\\\\\": [\\\\n {\\\\n \\\\\\"gmtModified\\\\\\": 1734401404000,\\\\n \\\\\\"columns\\\\\\": [\\\\n \\\\\\"test.id\\\\\\",\\\\n \\\\\\"user_info.createdt\\\\\\"\\\\n ],\\\\n \\\\\\"synonymIdKey\\\\\\": \\\\\\"synonyms-AAAAAAAAAVLaD8z63NnFhA\\\\\\",\\\\n \\\\\\"wordSynonyms\\\\\\": [\\\\n \\\\\\"1\\\\\\"\\\\n ],\\\\n \\\\\\"workSpaceId\\\\\\": \\\\\\"10024809\\\\\\",\\\\n \\\\\\"gmtCreate\\\\\\": 1734401404000,\\\\n \\\\\\"word\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"status\\\\\\": 1\\\\n }\\\\n ],\\\\n \\\\\\"nextToken\\\\\\": \\\\\\"k1BLjEN114wyfrhDHoJlbg==\\\\\\",\\\\n \\\\\\"totalCount\\\\\\": 0\\\\n }\\\\n}\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"D02D895A-5E58-5A9F-963D-D8B027AB7AE2\\"\\n}","type":"json"}]', + 'title' => 'Synonym List', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ListSynonyms', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListVirtualDatasourceInstance' => [ + 'summary' => 'Retrieve the list of data source instances in the current workspace.', + 'path' => '/gbi/virtualDatasource/listVirtualDatasourceInstance', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The Alibaba Cloud Model Studio workspace ID used for the current request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'nextToken' => ['description' => 'Paging cursor.'."\n" + ."\n" + .'- If this is the first call, do not pass this parameter.'."\n" + ."\n" + .'- If this is not the first call, pass the \\`nextToken\\` returned by the previous call.', 'type' => 'string', 'required' => false, 'example' => 'e8Z0nRyY51ZQmYljqGNK', 'title' => ''], + 'maxResults' => ['description' => 'Maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Data list.', 'type' => 'any', 'example' => '{'."\n" + .' "data": ['."\n" + .' {'."\n" + .' "gmtModified": 1732708238000,'."\n" + .' "vdbId": "vdb-0380ee25-2f49-4ee1-8de4-419a16da5904",'."\n" + .' "name": "测试创建虚拟数据源实例",'."\n" + .' "description": "通过sdk创建的虚拟数据源实例",'."\n" + .' "id": 9,'."\n" + .' "gmtCreate": 1732708238000,'."\n" + .' "workspaceId": "10021406"'."\n" + .' }'."\n" + .' ],'."\n" + .' "nextToken": "jN4HsrkljlksnWgb8u5mWQ\\u003d\\u003d",'."\n" + .' "totalCount": 0'."\n" + .'}', 'title' => ''], + 'errorMsg' => ['description' => 'Error description.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'Indicates whether the call was successful.True indicates success.False indicates failure.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Request ID. Each request has a unique value, which helps with troubleshooting.', 'type' => 'string', 'example' => '45390C6D-016D-5030-BF65-031ED1F65003', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"{\\\\n \\\\\\"data\\\\\\": [\\\\n {\\\\n \\\\\\"gmtModified\\\\\\": 1732708238000,\\\\n \\\\\\"vdbId\\\\\\": \\\\\\"vdb-0380ee25-2f49-4ee1-8de4-419a16da5904\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"测试创建虚拟数据源实例\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"通过sdk创建的虚拟数据源实例\\\\\\",\\\\n \\\\\\"id\\\\\\": 9,\\\\n \\\\\\"gmtCreate\\\\\\": 1732708238000,\\\\n \\\\\\"workspaceId\\\\\\": \\\\\\"10021406\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"nextToken\\\\\\": \\\\\\"jN4HsrkljlksnWgb8u5mWQ\\\\\\\\u003d\\\\\\\\u003d\\\\\\",\\\\n \\\\\\"totalCount\\\\\\": 0\\\\n}\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"45390C6D-016D-5030-BF65-031ED1F65003\\"\\n}","type":"json"}]', + 'title' => 'Virtual Data Source Instance List', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ListVirtualDatasourceInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'RecoverColumn' => [ + 'summary' => 'Restores a data column in a specified data table to its initial state.', + 'path' => '/gbi/recover/column', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used for this request', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters', + 'type' => 'object', + 'properties' => [ + 'columnIdKey' => ['description' => 'Unique ID of the data column', 'type' => 'string', 'required' => true, 'example' => 'column-AAAAAAAAh6cWOUPagYstkg', 'title' => ''], + 'tableIdKey' => ['description' => 'Unique ID of the data table', 'type' => 'string', 'required' => true, 'example' => 'table-AAAAAAAAFQBwSLJkUj4CYg', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response data', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error message', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'True if the API call succeeded. False if it failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique ID of the request. Use it to troubleshoot issues.', 'type' => 'string', 'example' => 'FB11F719-9AC8-5C99-AB0A-4709D437FCFC', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"FB11F719-9AC8-5C99-AB0A-4709D437FCFC\\"\\n}","type":"json"}]', + 'title' => 'Revert Data Column Information', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:RecoverColumn', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ResyncTable' => [ + 'summary' => 'Refreshes information about the associated data table from the remote database.', + 'path' => '/gbi/refresh/table', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The Alibaba Cloud Model Studio workspace ID used in the current request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'tableIdKey' => ['description' => 'The unique identifier of the data table.', 'type' => 'string', 'required' => true, 'example' => 'table-AAAAAAAAFQBwSLJkUj4CYg', 'title' => ''], + 'keep' => ['description' => 'Enable "Keep and Add." Set to true to enable.'."\n" + ."\n" + .'> Keep and Add: For tables with this option enabled, Xiyan retains information about already associated columns and adds information about unassociated columns.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response information.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error description.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'true if the API call succeeds. false if it fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Request ID. Each request has a unique value for troubleshooting.', 'type' => 'string', 'example' => 'FB11F719-9AC8-5C99-AB0A-4709D437FCFC', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"FB11F719-9AC8-5C99-AB0A-4709D437FCFC\\"\\n}","type":"json"}]', + 'title' => 'Purge the currently associated data table', + 'changeSet' => [ + ['createdAt' => '2025-01-15T05:55:16.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ResyncTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'RunDataAnalysis' => [ + 'summary' => 'Xianyan provides you with OpenAPI operations that deliver the same conversational experience as the official console. By simply passing parameters such as workspaceId and query, you can perform Q&A and data analytics on your pre-created workspace.'."\n" + ."\n" + .'This API operation is suitable for the following scenario: '."\n" + .'You have associated a data source in the Xianyan console, allowing Xianyan to access your database and execute SQL queries either over the Internet or through a VPC.'."\n" + ."\n" + .'For detailed usage instructions, refer to the following Best Practices document: '."\n" + .'https://help.aliyun.com/zh/model-studio/gbi-best-practices'."\n", + 'path' => '/{workspaceId}/gbi/runDataAnalysis', + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREsfmXG6QUJ'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['description' => 'The Alibaba Cloud Model Studio workspace ID used for the current request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters', + 'type' => 'object', + 'properties' => [ + 'specificationType' => [ + 'enumValueTitles' => ['STANDARD_TURBO' => 'Standard Edition Turbo', 'STANDARD_MIX' => 'Standard Edition Mix', 'CUSTOMIZATION' => 'Customization Edition Turbo'], + 'description' => 'The version to use for the current request. If not specified, the default workspace version is used.', + 'type' => 'string', + 'required' => false, + 'example' => 'STANDARD_MIX', + 'title' => '', + ], + 'generateSqlOnly' => ['description' => 'The current request only generates and returns SQL without executing it.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'query' => ['description' => 'The query input by the user.', 'type' => 'string', 'required' => true, 'example' => '请问销量前十的产品有哪些', 'title' => ''], + 'sessionId' => ['description' => 'The message session ID returned in the service window callback message.', 'type' => 'string', 'required' => false, 'example' => 'sessionID', 'title' => ''], + 'dataRole' => [ + 'description' => 'A list of database permission role names. '."\n" + .'> You must configure the relevant database permission settings on the product page before you can obtain and invoke these parameters in the API.', + 'type' => 'array', + 'items' => ['description' => 'The specific name of a database permission role.', 'type' => 'string', 'required' => false, 'example' => '管理员', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'userParams' => ['description' => 'Custom parameters on which the data role depends. If the role is configured with external parameters, these must be provided. '."\n" + .'> You must configure the relevant database permission settings on the product page before you can obtain and invoke these parameters in the API.', 'type' => 'any', 'required' => false, 'example' => '{'."\n" + .' "shopId":['."\n" + .' "1",'."\n" + .' "2"'."\n" + .' ],'."\n" + .' "userId":"10001"'."\n" + .'}', 'title' => ''], + 'agentCtrlParams' => ['description' => 'Custom parameters passed through by the current conversation API. Currently supported options include: skip rewriting, skip visualization module, and enable question clarification in conversations.', 'type' => 'any', 'required' => false, 'example' => '{'."\n" + .' "withoutRewrite": true,'."\n" + .' "withoutVisualization": true,'."\n" + .' "enableChatMode": true'."\n" + .'}', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response ', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'Returned information ', + 'type' => 'object', + 'properties' => [ + 'errorMessage' => ['description' => 'Error message ', 'type' => 'string', 'example' => 'Access was denied, message: No such namespace namespaces/tech-scp-chain7.', 'title' => ''], + 'event' => [ + 'enumValueTitles' => ['result' => 'Final result event', 'evidence' => 'Information from auxiliary models used during model inference', 'sql_part' => 'Intermediate event during streaming SQL generation', 'sql_data' => 'Event indicating the result obtained from SQL execution', 'selector' => 'Table selection event', 'refine' => 'Retry event triggered when retry is enabled', 'rewrite' => 'Query rewrite event', 'sql' => 'Final event for SQL generation'], + 'description' => 'Type of management event', + 'type' => 'string', + 'example' => 'rewrite', + 'title' => '', + ], + 'evidence' => ['description' => 'Information used to assist model inference ', 'type' => 'string', 'example' => '今年是2024年', 'title' => ''], + 'requestId' => ['description' => 'The ID of the current request ', 'type' => 'string', 'example' => 'DA2578F7-88A5-5D6E-9305-33E724E97D60', 'title' => ''], + 'rewrite' => ['description' => 'The rewritten user input ', 'type' => 'string', 'example' => '查询全部关键字数据,并以饼图形式展示', 'title' => ''], + 'selector' => [ + 'description' => 'The tables retrieved in this conversation for SQL generation ', + 'type' => 'array', + 'items' => ['description' => 'The name of the specific table used in retrieval.', 'type' => 'string', 'example' => 'table_name1', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'sessionId' => ['description' => 'Conversation ID ', 'type' => 'string', 'example' => 'sessionid1', 'title' => ''], + 'sql' => ['description' => 'The SQL statement generated for the current conversation ', 'type' => 'string', 'example' => 'select p.product_id, p.product_name, sum(o.quantity) as total_sales from products p join orders o on p.product_id = o.product_id where o.order_date between \'2022-10-22\' and \'2024-10-22\' group by p.product_id, p.product_name having total_sales > 5', 'title' => ''], + 'sqlData' => [ + 'description' => 'Structured content returned by SQL execution ', + 'type' => 'object', + 'properties' => [ + 'column' => [ + 'description' => 'The specific field names in the SQL execution result ', + 'type' => 'array', + 'items' => ['description' => 'The actual field name content ', 'type' => 'string', 'example' => 'product', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'data' => [ + 'description' => 'Structured data obtained after SQL execution, which may contain multiple records', + 'type' => 'array', + 'items' => ['description' => 'A row of structured data retrieved after executing the SQL statement ', 'type' => 'object', 'example' => '{'."\n" + .' "product_id": "29",'."\n" + .' "total_sales": "63",'."\n" + .' "product_name": "1L迷你电热水壶"'."\n" + .' }', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'sqlError' => ['description' => 'When task execution failed, this field contains the error message explaining the cause of the failure ', 'type' => 'string', 'example' => 'Can not issue data manipulation statements with executeQuery()', 'title' => ''], + 'visualization' => [ + 'description' => 'Information required for visualization module display ', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'Structured information used for visualization module display ', + 'type' => 'object', + 'properties' => [ + 'plotType' => [ + 'enumValueTitles' => ['bar' => 'column chart ', 'line' => 'line chart ', 'pie' => 'pie chart '], + 'description' => 'Type of visualization chart to display ', + 'type' => 'string', + 'example' => 'bar', + 'title' => '', + ], + 'xAxis' => [ + 'description' => 'The content of the x-axis in the visualization chart ', + 'type' => 'array', + 'items' => ['description' => 'The field displayed on a specific x-axis ', 'type' => 'string', 'example' => 'product_name', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'yAxis' => [ + 'description' => 'Content of the y-axis in the visualization chart ', + 'type' => 'array', + 'items' => ['description' => 'The field displayed on a specific y-axis ', 'type' => 'string', 'example' => 'total_sales', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'stack' => ['description' => 'Whether to display the column chart in stacking mode. This parameter is valid only when the chart type is a column chart. ', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'option' => ['description' => 'Configuration information required to initialize the frontend widget. This field is valid only when chartsFramework=echarts in the input parameter agentCtrlParams. ', 'type' => 'string', 'example' => '{'."\n" + .' xAxis: {'."\n" + .' type: \'category\','."\n" + .' data: [\'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\', \'Sat\', \'Sun\']'."\n" + .' },'."\n" + .' yAxis: {'."\n" + .' type: \'value\''."\n" + .' },'."\n" + .' series: ['."\n" + .' {'."\n" + .' data: [150, 230, 224, 218, 135, 147, 260],'."\n" + .' type: \'line\''."\n" + .' }'."\n" + .' ]'."\n" + .'}', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'text' => ['description' => 'An analysis summary of the SQL execution result ', 'type' => 'string', 'example' => '查询结果显示,在过去两年中销量超过5的所有产品包括:2L大容量空气炸锅销售了109件,青春版运动手环销售了119件,2L大容量全自动豆浆机销售了106件,无线蓝牙耳机快充版销售了84件,2L大容量便携式榨汁机销售了136件,青春版智能手表销售了104件,挂壁式护眼台灯销售了102件,P30手机8+256G销售了83件,2L大容量电热水壶销售了84件,男士电动化妆刷套装销售了197件,旅行箱销售了82件,手链销售了101件,项链销售了84件,头饰发链销售了89件,腕表销售了98件,戒指销售了157件,真皮皮包销售了136件,风衣大衣销售了76件,运动旅行包销售了91件,丝巾销售了265件,1L迷你空气炸锅销售了85件,豪华款运动手环销售了132件,1L迷你全自动豆浆机销售了81件,豪华版无线蓝牙耳机(绿色)销售了122件,1L迷你便携式榨汁机销售了76件,豪华款智能手表销售了76件,粘贴式护眼台灯销售了109件,M60手机16+512G销售了109件,1L迷你电热水壶销售了63件,女士电动化妆刷套装销售了158件。', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'httpStatusCode' => ['description' => 'The HTTP status code exposed by the current round of events. It is not normally exposed and does not require handling.', 'type' => 'integer', 'format' => 'int64', 'example' => '200', 'title' => ''], + 'attempts' => [ + 'description' => 'Event field output when SQL validation is enabled, containing the SQL generated in each retry attempt and the corresponding error reason.', + 'type' => 'array', + 'items' => ['description' => 'The specific SQL and detailed error information generated in each retry attempt.', 'type' => 'any', 'example' => '[{"sql":"SHOW TABLES","sqlError":"sql is invalid"},{"sql":"SHOW TABLES;","sqlError":"sql is invalid"}]', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'chat' => [ + 'description' => 'Clarification event. This event occurs when the user\'s query is ambiguous and the clarification toggle is enabled ', + 'type' => 'object', + 'properties' => [ + 'text' => ['description' => 'Clarification wording. When the model determines that the user\'s current query does not match the associated data content, it generates a follow-up question to help the user confirm their intent ', 'type' => 'string', 'example' => '您想查询的是订单表的创建时间字段嘛?', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'message' => ['description' => 'Error message exposed due to a system fault, intended for troubleshooting and not requiring user action.', 'type' => 'string', 'example' => 'org.springframework.core.task.TaskRejectedException: ExecutorService in active state did not accept task: java.util.concurrent.CompletableFuture$AsyncSupply@25653b3b', 'title' => ''], + 'code' => ['description' => 'Error code exposed by the system for troubleshooting purposes; no action is required from the user. ', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'httpStatusCode' => ['description' => 'The HTTP status code exposed by the current request. It is not normally exposed and does not require handling.', 'type' => 'integer', 'format' => 'int64', 'example' => '200', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"errorMessage\\": \\"Access was denied, message: No such namespace namespaces/tech-scp-chain7.\\",\\n \\"event\\": \\"rewrite\\",\\n \\"evidence\\": \\"今年是2024年\\",\\n \\"requestId\\": \\"DA2578F7-88A5-5D6E-9305-33E724E97D60\\",\\n \\"rewrite\\": \\"查询全部关键字数据,并以饼图形式展示\\",\\n \\"selector\\": [\\n \\"table_name1\\"\\n ],\\n \\"sessionId\\": \\"sessionid1\\",\\n \\"sql\\": \\"select p.product_id, p.product_name, sum(o.quantity) as total_sales from products p join orders o on p.product_id = o.product_id where o.order_date between \'2022-10-22\' and \'2024-10-22\' group by p.product_id, p.product_name having total_sales > 5\\",\\n \\"sqlData\\": {\\n \\"column\\": [\\n \\"product\\"\\n ],\\n \\"data\\": [\\n {\\n \\"product_id\\": \\"29\\",\\n \\"total_sales\\": \\"63\\",\\n \\"product_name\\": \\"1L迷你电热水壶\\"\\n }\\n ]\\n },\\n \\"sqlError\\": \\"Can not issue data manipulation statements with executeQuery()\\",\\n \\"visualization\\": {\\n \\"data\\": {\\n \\"plotType\\": \\"bar\\",\\n \\"xAxis\\": [\\n \\"product_name\\"\\n ],\\n \\"yAxis\\": [\\n \\"total_sales\\"\\n ],\\n \\"stack\\": false,\\n \\"option\\": \\"{\\\\n xAxis: {\\\\n type: \'category\',\\\\n data: [\'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\', \'Sat\', \'Sun\']\\\\n },\\\\n yAxis: {\\\\n type: \'value\'\\\\n },\\\\n series: [\\\\n {\\\\n data: [150, 230, 224, 218, 135, 147, 260],\\\\n type: \'line\'\\\\n }\\\\n ]\\\\n}\\"\\n },\\n \\"text\\": \\"查询结果显示,在过去两年中销量超过5的所有产品包括:2L大容量空气炸锅销售了109件,青春版运动手环销售了119件,2L大容量全自动豆浆机销售了106件,无线蓝牙耳机快充版销售了84件,2L大容量便携式榨汁机销售了136件,青春版智能手表销售了104件,挂壁式护眼台灯销售了102件,P30手机8+256G销售了83件,2L大容量电热水壶销售了84件,男士电动化妆刷套装销售了197件,旅行箱销售了82件,手链销售了101件,项链销售了84件,头饰发链销售了89件,腕表销售了98件,戒指销售了157件,真皮皮包销售了136件,风衣大衣销售了76件,运动旅行包销售了91件,丝巾销售了265件,1L迷你空气炸锅销售了85件,豪华款运动手环销售了132件,1L迷你全自动豆浆机销售了81件,豪华版无线蓝牙耳机(绿色)销售了122件,1L迷你便携式榨汁机销售了76件,豪华款智能手表销售了76件,粘贴式护眼台灯销售了109件,M60手机16+512G销售了109件,1L迷你电热水壶销售了63件,女士电动化妆刷套装销售了158件。\\"\\n },\\n \\"httpStatusCode\\": 200,\\n \\"attempts\\": [\\n \\"[{\\\\\\"sql\\\\\\":\\\\\\"SHOW TABLES\\\\\\",\\\\\\"sqlError\\\\\\":\\\\\\"sql is invalid\\\\\\"},{\\\\\\"sql\\\\\\":\\\\\\"SHOW TABLES;\\\\\\",\\\\\\"sqlError\\\\\\":\\\\\\"sql is invalid\\\\\\"}]\\"\\n ],\\n \\"chat\\": {\\n \\"text\\": \\"您想查询的是订单表的创建时间字段嘛?\\"\\n }\\n },\\n \\"message\\": \\"org.springframework.core.task.TaskRejectedException: ExecutorService in active state did not accept task: java.util.concurrent.CompletableFuture$AsyncSupply@25653b3b\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + 'title' => 'Chat Conversation API', + 'description' => 'Before using this API operation, ensure you fully understand the billing model of the Xianyan product and its [pricing](https://common-buy.aliyun.com/?&msctype=email&mscareaid=cn&mscsiteid=cn&mscmsgid=3800124102101018568&yunge_info=email___3800124102101018568&commodityCode=sfm_DataAnalysisGBI_public_cn).'."\n", + 'changeSet' => [ + ['createdAt' => '2025-03-26T09:57:58.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-03-18T11:56:14.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-03-14T02:33:23.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-02-27T11:47:51.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-02-14T05:58:10.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-12-25T13:21:20.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-12-06T09:38:52.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2024-11-25T12:17:49.000Z', 'description' => 'Error codes changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:RunDataAnalysis', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'RunDataResultAnalysis' => [ + 'summary' => 'Analyze the execution results of structured data types and generate visualization information. ', + 'path' => '/gbi/runDataResultAnalysis', + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The Alibaba Cloud Model Studio workspace ID used for the current request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters', + 'type' => 'object', + 'properties' => [ + 'sqlData' => [ + 'description' => 'The structured data content retrieved after executing the SQL query. This parameter is required in the current scenario.'."\n" + .'
'."\n" + .'Sample sqlData'."\n" + .'{'."\n" + .' "column": ['."\n" + .' "month",'."\n" + .' "total_received"'."\n" + .' ],'."\n" + .' "data": ['."\n" + .' {'."\n" + .' "month": "2024-01",'."\n" + .' "total_received": "603"'."\n" + .' },'."\n" + .' {'."\n" + .' "month": "2024-02",'."\n" + .' "total_received": "749"'."\n" + .' },'."\n" + .' {'."\n" + .' "month": "2024-03",'."\n" + .' "total_received": "1311"'."\n" + .' },'."\n" + .' {'."\n" + .' "month": "2024-04",'."\n" + .' "total_received": "1003"'."\n" + .' },'."\n" + .' {'."\n" + .' "month": "2024-05",'."\n" + .' "total_received": "726"'."\n" + .' },'."\n" + .' {'."\n" + .' "month": "2024-06",'."\n" + .' "total_received": "791"'."\n" + .' },'."\n" + .' {'."\n" + .' "month": "2024-07",'."\n" + .' "total_received": "60"'."\n" + .' }'."\n" + .' ]'."\n" + .'}'."\n" + .'
', + 'type' => 'object', + 'properties' => [ + 'column' => [ + 'description' => 'A list of specific field names retrieved from the SQL execution result.', + 'type' => 'array', + 'items' => ['description' => 'A specific column name retrieved from the SQL execution result.', 'type' => 'string', 'required' => false, 'example' => 'month', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'data' => [ + 'description' => 'A list of structured information corresponding to the column names in the SQL execution result. For the detailed structure, refer to the sqlData sample above.', + 'type' => 'array', + 'items' => [ + 'description' => 'Structured information corresponding to the column names in the SQL execution result. Each item represents a row of data, and its fields must correspond one-to-one with the table header list.', + 'additionalProperties' => ['description' => 'The specific content of a data entry corresponding to the current column name.', 'type' => 'string', 'example' => '2024-01', 'title' => ''], + 'type' => 'object', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'analysisMode' => [ + 'enumValueTitles' => ['all' => 'Generate both chart and text analysis', 'text' => 'Generate text analysis only', 'chart' => 'Generate chart only'], + 'description' => 'The type of visualization to execute. You can generate only a chart or only a text analysis.', + 'type' => 'string', + 'required' => false, + 'example' => 'all', + 'title' => '', + ], + 'requestId' => ['description' => 'Request ID. This request ID must be the one returned by the RunSqlGeneration API. If a request ID that has not been executed by RunSqlGeneration is provided, the execution will be denied.', 'type' => 'string', 'required' => true, 'example' => 'FF76AD3F-8B32-567E-819B-0D3738917006', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response ', + 'title' => 'SseEmitter ', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'Return Result ', + 'type' => 'object', + 'properties' => [ + 'errorMessage' => ['description' => 'error message', 'type' => 'string', 'example' => 'Access was denied, message: No such namespace namespaces/tech-scp-chain7.', 'title' => ''], + 'event' => [ + 'enumValueTitles' => ['result' => 'Result management event'], + 'description' => 'Type of management event', + 'type' => 'string', + 'example' => 'result', + 'title' => '', + ], + 'requestId' => ['description' => 'The ID of the current request', 'type' => 'string', 'example' => 'DA2578F7-88A5-5D6E-9305-33E724E97D60', 'title' => ''], + 'visualization' => [ + 'description' => 'Information required for display in the visualization module ', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'Data List ', + 'type' => 'object', + 'properties' => [ + 'plotType' => ['description' => 'Type of visualization chart to display ', 'type' => 'string', 'example' => 'bar', 'title' => ''], + 'xAxis' => [ + 'description' => 'List of fields displayed on a specific x-axis ', + 'type' => 'array', + 'items' => ['description' => 'Field displayed on a specific x-axis ', 'type' => 'string', 'example' => 'product_name', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'yAxis' => [ + 'description' => 'List of fields displayed on a specific y-axis ', + 'type' => 'array', + 'items' => ['description' => 'Field displayed on a specific y-axis ', 'type' => 'string', 'example' => 'total_sales', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'text' => ['description' => 'Analysis summary of the SQL execution result ', 'type' => 'string', 'example' => '查询结果显示,在过去两年中销量超过5的所有产品包括:2L大容量空气炸锅销售了109件,青春版运动手环销售了119件,2L大容量全自动豆浆机销售了106件,无线蓝牙耳机快充版销售了84件,2L大容量便携式榨汁机销售了136件,青春版智能手表销售了104件,挂壁式护眼台灯销售了102件,P30手机8+256G销售了83件,2L大容量电热水壶销售了84件,男士电动化妆刷套装销售了197件,旅行箱销售了82件,手链销售了101件,项链销售了84件,头饰发链销售了89件,腕表销售了98件,戒指销售了157件,真皮皮包销售了136件,风衣大衣销售了76件,运动旅行包销售了91件,丝巾销售了265件,1L迷你空气炸锅销售了85件,豪华款运动手环销售了132件,1L迷你全自动豆浆机销售了81件,豪华版无线蓝牙耳机(绿色)销售了122件,1L迷你便携式榨汁机销售了76件,豪华款智能手表销售了76件,粘贴式护眼台灯销售了109件,M60手机16+512G销售了109件,1L迷你电热水壶销售了63件,女士电动化妆刷套装销售了158件。', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'sql' => ['description' => 'SQL statement generated in the current conversation', 'type' => 'string', 'example' => 'select p.product_id, p.product_name, sum(o.quantity) as total_sales from products p join orders o on p.product_id = o.product_id where o.order_date between \'2022-10-22\' and \'2024-10-22\' group by p.product_id, p.product_name having total_sales > 5', 'title' => ''], + 'rewrite' => ['description' => 'Rewritten user input', 'type' => 'string', 'example' => '过去两年中,销量超过5的产品有哪些', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'Invalid.RequestId', 'errorMessage' => 'Bad Request: Invalid RequestId.', 'description' => 'requestId error or expired'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"errorMessage\\": \\"Access was denied, message: No such namespace namespaces/tech-scp-chain7.\\",\\n \\"event\\": \\"result\\",\\n \\"requestId\\": \\"DA2578F7-88A5-5D6E-9305-33E724E97D60\\",\\n \\"visualization\\": {\\n \\"data\\": {\\n \\"plotType\\": \\"bar\\",\\n \\"xAxis\\": [\\n \\"product_name\\"\\n ],\\n \\"yAxis\\": [\\n \\"total_sales\\"\\n ]\\n },\\n \\"text\\": \\"查询结果显示,在过去两年中销量超过5的所有产品包括:2L大容量空气炸锅销售了109件,青春版运动手环销售了119件,2L大容量全自动豆浆机销售了106件,无线蓝牙耳机快充版销售了84件,2L大容量便携式榨汁机销售了136件,青春版智能手表销售了104件,挂壁式护眼台灯销售了102件,P30手机8+256G销售了83件,2L大容量电热水壶销售了84件,男士电动化妆刷套装销售了197件,旅行箱销售了82件,手链销售了101件,项链销售了84件,头饰发链销售了89件,腕表销售了98件,戒指销售了157件,真皮皮包销售了136件,风衣大衣销售了76件,运动旅行包销售了91件,丝巾销售了265件,1L迷你空气炸锅销售了85件,豪华款运动手环销售了132件,1L迷你全自动豆浆机销售了81件,豪华版无线蓝牙耳机(绿色)销售了122件,1L迷你便携式榨汁机销售了76件,豪华款智能手表销售了76件,粘贴式护眼台灯销售了109件,M60手机16+512G销售了109件,1L迷你电热水壶销售了63件,女士电动化妆刷套装销售了158件。\\"\\n },\\n \\"sql\\": \\"select p.product_id, p.product_name, sum(o.quantity) as total_sales from products p join orders o on p.product_id = o.product_id where o.order_date between \'2022-10-22\' and \'2024-10-22\' group by p.product_id, p.product_name having total_sales > 5\\",\\n \\"rewrite\\": \\"过去两年中,销量超过5的产品有哪些\\"\\n }\\n}","type":"json"}]', + 'title' => 'Execution Result Analysis', + 'changeSet' => [ + ['createdAt' => '2025-02-25T11:35:15.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:RunDataResultAnalysis', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'RunSqlGeneration' => [ + 'summary' => 'This operation generates SQL statements based on the current query information and associated data tables. This API is suitable for scenarios where your database is stored locally and cannot be accessed by Xiyan. You can associate a virtual data source with Xiyan, call this API to generate the SQL statements, and then parse and execute them locally. For more information, see the best practices document.', + 'path' => '/gbi/runSqlGeneration', + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Alibaba Cloud Model Studio workspace used for the current request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'specificationType' => [ + 'description' => 'The version information specified for the current request. If empty, the default workspace version is used.', + 'enumValueTitles' => ['STANDARD_TURBO' => 'Standard Edition turbo', 'STANDARD_MIX' => 'Standard Edition mix', 'CUSTOMIZATION' => 'Customized Edition turbo'], + 'type' => 'string', + 'required' => false, + 'example' => 'STANDARD_MIX', + 'title' => '', + ], + 'query' => ['description' => 'The query entered by the user.', 'type' => 'string', 'required' => true, 'example' => '请问销量前十的产品有哪些', 'title' => ''], + 'sessionId' => ['description' => 'The message session ID. Multiple request IDs can belong to the same session ID.', 'type' => 'string', 'required' => false, 'example' => 'd5eced84-fd25-43ee-a245-adb4e4a8c3be', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'SseEmitter', + 'title' => 'SseEmitter ', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'Return information.', + 'type' => 'object', + 'properties' => [ + 'errorMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Access was denied, message: No such namespace namespaces/tech-scp-chain7.', 'title' => ''], + 'event' => [ + 'description' => 'Event type.', + 'enumValueTitles' => ['evidence' => 'Information used for auxiliary model inference.', 'sql_part' => 'Intermediate event for streaming SQL generation.', 'selector' => 'Table selection event.', 'rewrite' => 'Rewrite event.', 'sql' => 'Final event for SQL generation.'], + 'type' => 'string', + 'example' => 'sql', + 'title' => '', + ], + 'evidence' => ['description' => 'Information used for auxiliary model inference.', 'type' => 'string', 'example' => '今年是2024年', 'title' => ''], + 'requestId' => ['description' => 'The ID of the current request.', 'type' => 'string', 'example' => 'DA2578F7-88A5-5D6E-9305-33E724E97D60', 'title' => ''], + 'rewrite' => ['description' => 'The rewritten user input.', 'type' => 'string', 'example' => '查询全部关键字数据,并以饼图形式展示', 'title' => ''], + 'selector' => [ + 'description' => 'List of specific table names retrieved.', + 'type' => 'array', + 'items' => ['description' => 'The name of the specific table retrieved.', 'type' => 'string', 'example' => 'table_name1', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'sessionId' => ['description' => 'Conversation ID.', 'type' => 'string', 'example' => 'f64c38dd-a235-4bb4-ae6c-79eaedcba699', 'title' => ''], + 'sql' => ['description' => 'The SQL statement generated for the current conversation.', 'type' => 'string', 'example' => 'select p.product_id, p.product_name, sum(o.quantity) as total_sales from products p join orders o on p.product_id = o.product_id where o.order_date between \'2022-10-22\' and \'2024-10-22\' group by p.product_id, p.product_name having total_sales > 5', 'title' => ''], + 'sqlError' => ['description' => 'If the task execution fails, this field reports the reason for the failure.', 'type' => 'string', 'example' => 'Can not issue data manipulation statements with executeQuery()', 'title' => ''], + 'chat' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'text' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"errorMessage\\": \\"Access was denied, message: No such namespace namespaces/tech-scp-chain7.\\",\\n \\"event\\": \\"sql\\",\\n \\"evidence\\": \\"今年是2024年\\",\\n \\"requestId\\": \\"DA2578F7-88A5-5D6E-9305-33E724E97D60\\",\\n \\"rewrite\\": \\"查询全部关键字数据,并以饼图形式展示\\",\\n \\"selector\\": [\\n \\"table_name1\\"\\n ],\\n \\"sessionId\\": \\"f64c38dd-a235-4bb4-ae6c-79eaedcba699\\",\\n \\"sql\\": \\"select p.product_id, p.product_name, sum(o.quantity) as total_sales from products p join orders o on p.product_id = o.product_id where o.order_date between \'2022-10-22\' and \'2024-10-22\' group by p.product_id, p.product_name having total_sales > 5\\",\\n \\"sqlError\\": \\"Can not issue data manipulation statements with executeQuery()\\",\\n \\"chat\\": {\\n \\"text\\": \\"\\"\\n }\\n }\\n}","type":"json"}]', + 'title' => 'Run SQL generation', + 'changeSet' => [ + ['createdAt' => '2025-03-26T09:57:58.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:RunSqlGeneration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'SaveVirtualDatasourceDdl' => [ + 'summary' => 'Add DDL statements to a virtual data source instance in your current workspace. Alibaba Cloud GBI parses these DDL statements to extract and maintain table schema information.', + 'path' => '/gbi/virtualDatasource/addDdl2VirtualInstance', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used for this request', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters', + 'type' => 'object', + 'properties' => [ + 'vdbId' => ['description' => 'ID of the virtual data source instance', 'type' => 'string', 'required' => true, 'example' => 'vdb-E0F693C8-9F72-5830-B81A-696C9D8EBBD1'."\n", 'title' => ''], + 'ddl' => ['description' => 'A CREATE DDL statement for a database. You can pass multiple statements. Separate them with line feeds ('."\n" + .').', 'type' => 'string', 'required' => true, 'example' => 'CREATE TABLE user (id int NOT NULL AUTO_INCREMENT comment \'ID\',name varchar(10) NOT NULL comment \'姓名\', dept_id int NOT NULL comment \'部门ID\', salary bigint NULL DEFAULT 0 comment \'薪水\', PRIMARY KEY (`id`), KEY `idx_name` (`name`), KEY `d_id` (`dept_id`), CONSTRAINT `d_id` FOREIGN KEY (`dept_id`) REFERENCES `department` (`id`)) COMMENT=\'This is my table\' ENGINE=InnoDB AUTO_INCREMENT=20094 DEFAULT CHARSET=utf8 ;', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result ', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response data', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error message', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'True if the call succeeds. False if it fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique ID for the request. Use it to troubleshoot issues.', 'type' => 'string', 'example' => '72ABCA5B-1E93-55D3-8A61-6D8A03CC5C8B', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"72ABCA5B-1E93-55D3-8A61-6D8A03CC5C8B\\"\\n}","type":"json"}]', + 'title' => 'Add DDL statements to a virtual data source ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:SaveVirtualDatasourceDdl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'SyncRemoteTables' => [ + 'summary' => 'Update the data tables associated with your workspace by syncing the latest tables from a remote virtual data source and associating them with the specified workspace.', + 'path' => '/gbi/update/datasource/tables', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used for this request', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters', + 'type' => 'object', + 'properties' => [ + 'tableNames' => [ + 'description' => 'List of names of tables to associate', + 'type' => 'array', + 'items' => ['description' => 'Table name', 'type' => 'string', 'required' => false, 'example' => 'user', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'pullSamples' => ['description' => 'Whether to pull sample data when associating tables', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'keepTableNames' => [ + 'description' => 'List of table names to keep and add columns for during association.'."\n" + ."\n" + .'> Keep and add: For tables marked as Keep and Add, the system retains information about already-associated columns and adds information about unassociated columns.', + 'type' => 'array', + 'items' => ['description' => 'Table name', 'type' => 'string', 'required' => false, 'example' => 'order', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'noModifiedTableNames' => [ + 'description' => 'List of table names to keep and skip column updates for during association.'."\n" + ."\n" + .'> Keep and skip: For tables marked as Keep and Skip, the system retains all information about already-associated columns and does not add any information about unassociated columns.', + 'type' => 'array', + 'items' => ['description' => 'Table name', 'type' => 'string', 'required' => false, 'example' => 'user', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response message', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error message', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'True if the call succeeds. False if it fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique ID for the request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'E9563C85-5810-5835-B68C-78580BC3169E', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"E9563C85-5810-5835-B68C-78580BC3169E\\"\\n}","type":"json"}]', + 'title' => 'Synchronize Data Tables from Data Source', + 'changeSet' => [ + ['createdAt' => '2025-01-15T05:55:16.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:SyncRemoteTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateBusinessLogic' => [ + 'summary' => 'Update a business logic description in the specified Alibaba Cloud Model Studio workspace.', + 'path' => '/gbi/update/logic', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used for this request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'businessLogicIdKey' => ['description' => 'Unique ID of the business logic description.', 'type' => 'string', 'required' => true, 'example' => 'businessLogic-AAAAAAAAAGAIyJoP7LbKuA', 'title' => ''], + 'description' => ['description' => 'Content of the business logic description.', 'type' => 'string', 'required' => true, 'example' => '冬季指的是10月到去年三月', 'title' => ''], + 'type' => [ + 'description' => 'Type of the business logic description.', + 'enumValueTitles' => ['Global', 'Smart system judgment'], + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '0', + 'title' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response data.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'Indicates whether the call succeeded. true means success. false means failure.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique ID of the request. Use it to troubleshoot issues.', 'type' => 'string', 'example' => 'FB11F719-9AC8-5C99-AB0A-4709D437FCFC', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"FB11F719-9AC8-5C99-AB0A-4709D437FCFC\\"\\n}","type":"json"}]', + 'title' => 'Modify Business Logic Description', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:UpdateBusinessLogic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateColumn' => [ + 'summary' => 'Updates column information in the specified workspace.', + 'path' => '/gbi/update/column', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used for this request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'columnIdKey' => ['description' => 'Unique ID of the column.', 'type' => 'string', 'required' => true, 'example' => 'column-AAAAAAAAh6cWOUPagYstkg', 'title' => ''], + 'tableIdKey' => ['description' => 'Unique ID of the table.', 'type' => 'string', 'required' => true, 'example' => 'table-AAAAAAAAFQBwSLJkUj4CYg', 'title' => ''], + 'chineseName' => ['description' => 'Chinese name of the column.', 'type' => 'string', 'required' => false, 'example' => '学生姓名', 'title' => ''], + 'description' => ['description' => 'Description of the column.', 'type' => 'string', 'required' => false, 'example' => '这个列用于表示学生的姓名', 'title' => ''], + 'enumType' => [ + 'description' => 'Indicates whether the field is an enumeration type. If set to 1, you can provide values in the enumValues field.', + 'enumValueTitles' => ['Not an enumeration type.', 'Enumeration type.'], + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + 'title' => '', + ], + 'enumValues' => [ + 'description' => 'List of enumeration values.', + 'type' => 'array', + 'items' => ['description' => 'An enumeration value.', 'type' => 'string', 'required' => false, 'example' => '北京', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'samples' => [ + 'description' => 'List of sample data values. This field populates automatically if you enable sample data pull when associating a table.', + 'type' => 'array', + 'items' => ['description' => 'A sample data value.', 'type' => 'string', 'required' => false, 'example' => '上海', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'rangeMin' => ['description' => 'Minimum value for numeric data.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'title' => ''], + 'rangeMax' => ['description' => 'Maximum value for numeric data.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2000', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response data.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'True if the API call succeeded. False if it failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique ID for the request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '45390C6D-016D-5030-BF65-031ED1F65003', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"45390C6D-016D-5030-BF65-031ED1F65003\\"\\n}","type":"json"}]', + 'title' => 'Modify Data Column Information', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:UpdateColumn', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateEnumMapping' => [ + 'summary' => 'Modifies the enumeration mapping for a specified column in a workspace.', + 'path' => '/gbi/update/mapping', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Alibaba Cloud Model Studio workspace for the current request.', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'tableIdKey' => ['description' => 'The unique ID of the data table.', 'type' => 'string', 'required' => true, 'example' => 'table-AAAAAAAAFQBwSLJkUj4CYg', 'title' => ''], + 'columnIdKey' => ['description' => 'The unique ID of the data column.', 'type' => 'string', 'required' => true, 'example' => 'column-AAAAAAAAh6cWOUPagYstkg', 'title' => ''], + 'enumMapping' => [ + 'description' => 'The value mapping for the enumeration.', + 'additionalProperties' => [ + 'description' => 'A list of content for an enumeration value mapping.', + 'type' => 'array', + 'items' => ['description' => 'The specific content of the enumeration value mapping.', 'type' => 'string', 'example' => '上海', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'type' => 'object', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'The returned information.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'The error description.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'true indicates that the API call was successful. false indicates that the API call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'The request ID. Each request has a unique ID, which helps with troubleshooting.', 'type' => 'string', 'example' => 'FB11F719-9AC8-5C99-AB0A-4709D437FCFC', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"FB11F719-9AC8-5C99-AB0A-4709D437FCFC\\"\\n}","type":"json"}]', + 'title' => 'Modify Enumeration Value Mapping', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:UpdateEnumMapping', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateSynonyms' => [ + 'summary' => 'Update synonym information in the current workspace.', + 'path' => '/gbi/update/synonyms', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used for this request', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters', + 'type' => 'object', + 'properties' => [ + 'synonymIdKey' => ['description' => 'Unique ID of the synonym', 'type' => 'string', 'required' => true, 'example' => 'synonyms-AAAAAAAAAUpwTTVrwTFJwQ', 'title' => ''], + 'word' => ['description' => 'The synonym term', 'type' => 'string', 'required' => true, 'example' => '首都', 'title' => ''], + 'wordSynonyms' => [ + 'description' => 'List of terms to map to this synonym', + 'type' => 'array', + 'items' => ['description' => 'The word to map to a synonym', 'type' => 'string', 'required' => false, 'example' => '北京', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'columns' => [ + 'description' => 'Column names to associate with this synonym, in table.column format', + 'type' => 'array', + 'items' => ['description' => 'A column name to associate with this synonym', 'type' => 'string', 'required' => false, 'example' => 'table.username', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response data', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error message', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'True if the call succeeded. False if it failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique ID for this request. Use it to troubleshoot issues.', 'type' => 'string', 'example' => '7D63529B-5D42-5BF0-84E4-F742FFE02E7F', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"7D63529B-5D42-5BF0-84E4-F742FFE02E7F\\"\\n}","type":"json"}]', + 'title' => 'Modify Synonym', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:UpdateSynonyms', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateTableInfo' => [ + 'summary' => 'Updates information for a specified data table.', + 'path' => '/gbi/update/table', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used in this request', 'type' => 'string', 'required' => true, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters', + 'type' => 'object', + 'properties' => [ + 'tableIdKey' => ['description' => 'Unique ID of the data table', 'type' => 'string', 'required' => true, 'example' => 'table-AAAAAAAAFQBwSLJkUj4CYg', 'title' => ''], + 'description' => ['description' => 'Description of the data table', 'type' => 'string', 'required' => false, 'example' => '这是一张用户信息表', 'title' => ''], + 'primaryKey' => ['description' => 'Primary key field', 'type' => 'string', 'required' => false, 'example' => 'id', 'title' => ''], + 'foreignKeys' => [ + 'description' => 'List of foreign key relationships for this table, formatted as "table\\_name.column\\_name=table\\_name.column\\_name"', + 'type' => 'array', + 'items' => ['description' => 'A single foreign key relationship', 'type' => 'string', 'required' => false, 'example' => 'user.name=order.username', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response data', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error message', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'True if the API call succeeded. False if it failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique ID for the request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'E9563C85-5810-5835-B68C-78580BC3169E', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ['errorCode' => 'NoResourceAuth', 'errorMessage' => 'Bad Request: Resource Auth Error.', 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['errorCode' => 'SystemOperationInProgress', 'errorMessage' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"E9563C85-5810-5835-B68C-78580BC3169E\\"\\n}","type":"json"}]', + 'title' => 'Modify Data Table Information', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:UpdateTableInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateVirtualDatasourceInstance' => [ + 'summary' => 'Updates the information of a virtual data source in a specified workspace.', + 'path' => '/gbi/virtualDatasource/updateVirtualDatasourceInstance', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the Alibaba Cloud Model Studio workspace used for this request.', 'type' => 'string', 'required' => false, 'example' => 'llm-2v3934xtp49esw64'."\n", 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'name' => ['description' => 'Name of the virtual data source.', 'type' => 'string', 'required' => false, 'example' => '虚拟数据源1', 'title' => ''], + 'description' => ['description' => 'Description of the virtual data source.', 'type' => 'string', 'required' => false, 'example' => '用于订单表的虚拟数据源实例', 'title' => ''], + 'vdbId' => ['description' => 'ID of the virtual data source instance.', 'type' => 'string', 'required' => true, 'example' => 'vdb-E0F693C8-9F72-5830-B81A-696C9D8EBBD1'."\n", 'title' => ''], + 'type' => [ + 'description' => 'Type of the virtual data source.', + 'enumValueTitles' => [51 => 'MySQL virtual data source', 'PostgreSQL virtual data source'], + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '51', + 'title' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result.', + 'title' => 'Result', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Response data.', 'type' => 'any', 'example' => 'true', 'title' => ''], + 'errorMsg' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'NoAuth', 'title' => ''], + 'success' => ['description' => 'Indicates whether the call succeeded. Returns true on success and false on failure.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'requestId' => ['description' => 'Unique ID of the request. Use it to troubleshoot issues.', 'type' => 'string', 'example' => 'E9563C85-5810-5835-B68C-78580BC3169E', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'Internal.Error', 'errorMessage' => 'Bad Request: Internal Error.', 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['errorCode' => 'NoAuth', 'errorMessage' => 'Bad Request: Workspace.Illegal.Auth.', 'description' => 'The current account does not have the permission to the specified business space.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"true\\",\\n \\"errorMsg\\": \\"NoAuth\\",\\n \\"code\\": \\"NoAuth\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"E9563C85-5810-5835-B68C-78580BC3169E\\"\\n}","type":"json"}]', + 'title' => 'Modify Virtual Data Source Instance Information', + 'changeSet' => [ + ['createdAt' => '2024-12-10T15:46:05.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:UpdateVirtualDatasourceInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + ], + 'endpoints' => [ + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dataanalysisgbi.cn-beijing.aliyuncs.com', 'endpoint' => 'dataanalysisgbi.cn-beijing.aliyuncs.com', 'vpc' => 'dataanalysisgbi-vpc.cn-beijing.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'Internal Error', 'message' => 'Bad Request: Internal Error.', 'http_code' => 401, 'description' => 'An internal error occurred during system operation, please contact the staff for troubleshooting.'], + ['code' => 'Internal.Error', 'message' => 'Bad Request: Internal Error.', 'http_code' => 401, 'description' => 'Internal error, please contact customer service personnel to troubleshoot'], + ['code' => 'Invalid.RequestId', 'message' => 'Bad Request: Invalid RequestId.', 'http_code' => 401, 'description' => 'requestId error or expired'], + ['code' => 'NoAuth', 'message' => 'Bad Request: Workspace.Illegal.Auth.', 'http_code' => 401, 'description' => 'The current account does not have the permission to the specified business space.'], + ['code' => 'NoResourceAuth', 'message' => 'Bad Request: Resource Auth Error.', 'http_code' => 401, 'description' => 'If you do not have permission for the requested resource, make sure that the requested resource belongs to the business space in the current parameter.'], + ['code' => 'Parameter.Error', 'message' => 'Bad Request: Parameter Error.', 'http_code' => 400, 'description' => 'Current request parameter error'], + ['code' => 'SystemOperationInProgress', 'message' => 'Xiyan GBI is learning your previous modifications. Please try again later.', 'http_code' => 401, 'description' => ''], + ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ram' => [ + 'productCode' => 'DataAnalysisGBI', + 'productName' => 'Alibaba Cloud Model Studio', + 'ramCodes' => ['dataanalysisgbi'], + 'ramLevel' => 'OPERATION', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'RunSqlGeneration', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:RunSqlGeneration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListSelectedTables', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ListSelectedTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateVirtualDatasourceInstance', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:CreateVirtualDatasourceInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RunDataResultAnalysis', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:RunDataResultAnalysis', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateSynonyms', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:UpdateSynonyms', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ResyncTable', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ResyncTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateEnumMapping', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:UpdateEnumMapping', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SaveVirtualDatasourceDdl', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:SaveVirtualDatasourceDdl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateBusinessLogic', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:CreateBusinessLogic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateTableInfo', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:UpdateTableInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListBusinessLogic', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ListBusinessLogic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVirtualDatasourceInstance', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:DeleteVirtualDatasourceInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVirtualDatasourceInstance', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ListVirtualDatasourceInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'BatchDeleteSynonyms', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:BatchDeleteSynonyms', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateSynonyms', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:CreateSynonyms', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateColumn', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:UpdateColumn', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteBusinessLogic', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:DeleteBusinessLogic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListSynonyms', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ListSynonyms', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RunDataAnalysis', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:RunDataAnalysis', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListColumn', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ListColumn', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteColumn', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:DeleteColumn', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateBusinessLogic', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:UpdateBusinessLogic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateDatasourceAuthorization', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:CreateDatasourceAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SyncRemoteTables', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:SyncRemoteTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CancelDatasourceAuthorization', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:CancelDatasourceAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteSelectedTable', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:DeleteSelectedTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListEnumMapping', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:ListEnumMapping', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RecoverColumn', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:RecoverColumn', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateVirtualDatasourceInstance', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'dataanalysisgbi:UpdateVirtualDatasourceInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DataAnalysisGBI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'resourceTypes' => [], + ], ]; -- cgit v1.2.3