From 7347bac4ab7e136157fc94777e6cf87ef9e08599 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Fri, 13 Feb 2026 10:54:11 +0800 Subject: first commit --- .../openanalytics-open/2018-06-19/api-docs.php | 1922 ++++++++++++++++++++ .../openanalytics-open/2020-09-28/api-docs.php | 1141 ++++++++++++ 2 files changed, 3063 insertions(+) create mode 100644 data/en_us/openanalytics-open/2018-06-19/api-docs.php create mode 100644 data/en_us/openanalytics-open/2020-09-28/api-docs.php (limited to 'data/en_us/openanalytics-open') diff --git a/data/en_us/openanalytics-open/2018-06-19/api-docs.php b/data/en_us/openanalytics-open/2018-06-19/api-docs.php new file mode 100644 index 0000000..a7ac1f3 --- /dev/null +++ b/data/en_us/openanalytics-open/2018-06-19/api-docs.php @@ -0,0 +1,1922 @@ + '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'openanalytics-open', + 'version' => '2018-06-19', + ], + 'directories' => [ + [ + 'id' => 66483, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetJobStatus', + 'GetJobDetail', + 'GetJobLog', + 'ListSparkJob', + 'SubmitSparkJob', + 'KillSparkJob', + ], + ], + [ + 'id' => 66490, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateInstance', + 'ReleaseInstance', + 'ValidateVirtualClusterName', + ], + ], + [ + 'id' => 362601, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'SubmitSparkSQL', + 'CancelSparkStatement', + 'ExecuteSparkStatement', + 'GetSparkSessionState', + 'GetSparkStatement', + 'ListSparkStatements', + 'GetJobAttemptLog', + 'ListSparkJobAttempt', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'GetJobStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'j202011031935hangzhouf742a4330003667', + ], + ], + [ + 'name' => 'VcName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyCluster', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5C3F9ADD-2350-4C21-A3A1-A906F8DF8016', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"success\\",\\n \\"RequestId\\": \\"5C3F9ADD-2350-4C21-A3A1-A906F8DF8016\\"\\n}","errorExample":""},{"type":"xml","example":"success\\n5C3F9ADD-2350-4C21-A3A1-A906F8DF8016","errorExample":""}]', + 'title' => 'GetJobStatus', + 'requestParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetJobDetail' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'j202010271622hangzhouf742a4330000923', + ], + ], + [ + 'name' => 'VcName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyCluster', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5F10AB6E-8984-4E32-B821-4E1512711B8C', + ], + 'JobDetail' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2020-10-27 16:23:16', + ], + 'ExecutorResourceSpec' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'small', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2020-10-27 16:23:16', + ], + 'DriverResourceSpec' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'small', + ], + 'CreateTimeValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1603786996000', + ], + 'UpdateTimeValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1603786996000', + ], + 'SparkUI' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://dlaui-cn-hangzhou.aliyuncs.com/?token=xxx', + ], + 'LastJobAttemptId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '202105251618hzslot9906b0b40000005-0001', + ], + 'SubmitTimeValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1603786996000', + ], + 'JobName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SparkPi', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'j202010271622hangzhouf742a4330000923', + ], + 'ExecutorInstances' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'VcName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MyCluster', + ], + 'SubmitTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2020-10-27 16:23:16', + ], + 'Detail' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{\\"args\\":[\\"100\\"],\\"name\\":\\"SparkPi\\",\\"className\\":\\"org.apache.spark.examples.SparkPi\\",\\"conf\\":{\\"spark.driver.resourceSpec\\":\\"medium\\",\\"spark.executor.instances\\":5,\\"spark.executor.resourceSpec\\":\\"medium\\"},\\"file\\":\\"local:///tmp/spark-examples.jar\\"}', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5F10AB6E-8984-4E32-B821-4E1512711B8C\\",\\n \\"JobDetail\\": {\\n \\"Status\\": \\"success\\",\\n \\"UpdateTime\\": \\"2020-10-27 16:23:16\\",\\n \\"ExecutorResourceSpec\\": \\"small\\",\\n \\"CreateTime\\": \\"2020-10-27 16:23:16\\",\\n \\"DriverResourceSpec\\": \\"small\\",\\n \\"CreateTimeValue\\": \\"1603786996000\\",\\n \\"UpdateTimeValue\\": \\"1603786996000\\",\\n \\"SparkUI\\": \\"https://dlaui-cn-hangzhou.aliyuncs.com/?token=xxx\\",\\n \\"LastJobAttemptId\\": \\"202105251618hzslot9906b0b40000005-0001\\",\\n \\"SubmitTimeValue\\": \\"1603786996000\\",\\n \\"JobName\\": \\"SparkPi\\",\\n \\"JobId\\": \\"j202010271622hangzhouf742a4330000923\\",\\n \\"ExecutorInstances\\": \\"1\\",\\n \\"VcName\\": \\"MyCluster\\",\\n \\"SubmitTime\\": \\"2020-10-27 16:23:16\\",\\n \\"Detail\\": \\"{\\\\\\\\\\\\\\"args\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"100\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SparkPi\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"className\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"org.apache.spark.examples.SparkPi\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"conf\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"spark.driver.resourceSpec\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"medium\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"spark.executor.instances\\\\\\\\\\\\\\":5,\\\\\\\\\\\\\\"spark.executor.resourceSpec\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"medium\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"file\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"local:///tmp/spark-examples.jar\\\\\\\\\\\\\\"}\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n success\\n MyCluser\\n 5\\n j202010271622hangzhouf742a4330000923-0001\\n https://dlaui-cn-hangzhou.aliyuncs.com/?token=xxx\\n medium\\n 2020-10-27 16:23:16\\n SparkPi\\n medium\\n 2020-10-27 16:22:52\\n 1603786996000\\n 1603787047000\\n 1603786972000\\n 2020-10-27 16:24:07\\n j202010271622hangzhouf742a4330000923\\n {\\"args\\":[\\"100\\"],\\"name\\":\\"SparkPi\\",\\"className\\":\\"org.apache.spark.examples.SparkPi\\",\\"conf\\":{\\"spark.driver.resourceSpec\\":\\"medium\\",\\"spark.executor.instances\\":5,\\"spark.executor.resourceSpec\\":\\"medium\\"},\\"file\\":\\"local:///tmp/spark-examples.jar\\"}\\n\\n5F10AB6E-8984-4E32-B821-4E1512711B8C","errorExample":""}]', + 'title' => 'GetJobDetail', + 'requestParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetJobLog' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'j202010271622hangzhouf742a4330000923', + ], + ], + [ + 'name' => 'VcName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyCluster', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'INFO SparkContext: Running Spark version 2.x', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EC031B4B-3E07-40D2-9BC5-xxxx', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"INFO SparkContext: Running Spark version 2.x\\",\\n \\"RequestId\\": \\"EC031B4B-3E07-40D2-9BC5-xxxx\\"\\n}","errorExample":""},{"type":"xml","example":"3970ACB5-3E30-4A3A-B63A-xxxx\\nRunning Spark version 2.x","errorExample":""}]', + 'title' => 'GetJobLog', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListSparkJob' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'VcName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MySparkCluster', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Condition', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'required' => false, + 'example' => '{ "createTime":"2020-12-28 09:00:00", "jobName":"SparkPi" }', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'E18B0634-F003-486A-90B9-4AA6932DA3AA', + ], + 'DataResult' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'string', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4998', + ], + 'JobList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'running', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2020-10-27 17:51:05', + ], + 'ExecutorResourceSpec' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'small', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2020-10-27 17:51:05', + ], + 'CreateTimeValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1603792267000', + ], + 'DriverResourceSpec' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'small', + ], + 'UpdateTimeValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1603792267000', + ], + 'SparkUI' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://dlaui-cn-hangzhou.aliyuncs.com/?token=xxx', + ], + 'SubmitTimeValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1603792267000', + ], + 'JobName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SparkPi', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'j202010271750hangzhouf742a4330000950', + ], + 'VcName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MyCluster', + ], + 'ExecutorInstances' => [ + 'description' => '', + 'type' => 'string', + 'example' => '100', + ], + 'SubmitTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2020-10-27 17:51:05', + ], + 'Detail' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"args":["100"],"name":...}', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E18B0634-F003-486A-90B9-4AA6932DA3AA\\",\\n \\"DataResult\\": {\\n \\"PageNumber\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"TotalCount\\": \\"4998\\",\\n \\"JobList\\": [\\n {\\n \\"Status\\": \\"running\\",\\n \\"UpdateTime\\": \\"2020-10-27 17:51:05\\",\\n \\"ExecutorResourceSpec\\": \\"small\\",\\n \\"CreateTime\\": \\"2020-10-27 17:51:05\\",\\n \\"CreateTimeValue\\": \\"1603792267000\\",\\n \\"DriverResourceSpec\\": \\"small\\",\\n \\"UpdateTimeValue\\": \\"1603792267000\\",\\n \\"SparkUI\\": \\"https://dlaui-cn-hangzhou.aliyuncs.com/?token=xxx\\",\\n \\"SubmitTimeValue\\": \\"1603792267000\\",\\n \\"JobName\\": \\"SparkPi\\",\\n \\"JobId\\": \\"j202010271750hangzhouf742a4330000950\\",\\n \\"VcName\\": \\"MyCluster\\",\\n \\"ExecutorInstances\\": \\"100\\",\\n \\"SubmitTime\\": \\"2020-10-27 17:51:05\\",\\n \\"Detail\\": \\"{\\\\\\"args\\\\\\":[\\\\\\"100\\\\\\"],\\\\\\"name\\\\\\":...}\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 4998\\n 2\\n 1\\n \\n 2\\n success\\n MyCluster\\n https://dlaui-cn-hangzhou.aliyuncs.com/?token=xxx\\n small\\n 2020-10-27 17:51:07\\n localFile\\n small\\n 2020-10-27 17:50:43\\n 1603792267000\\n 1603792302000\\n 1603792243000\\n 2020-10-27 17:51:42\\n {\\"args\\":[\\"100\\"],\\"name\\"f}\\n j202010271750hangzhouf742a4330000950\\n \\n \\n 2\\n error\\n MyCluster\\n https://dlaui-cn-hangzhou.aliyuncs.com/?token=xxx\\n small\\n 2020-10-27 17:51:05\\n localFile\\n small\\n 2020-10-27 17:50:39\\n 1603792265000\\n 1603792300000\\n 1603792239000\\n 2020-10-27 17:51:40\\n {\\"args\\":[\\"100\\"],\\"name\\"f}\\n j202010271750hangzhouf742a4330000949\\n \\n\\nE18B0634-F003-486A-90B9-4AA6932DA3AA","errorExample":""}]', + 'title' => 'ListSparkJob', + 'extraInfo' => ' ', + ], + 'SubmitSparkJob' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'VcName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyCluster', + ], + ], + [ + 'name' => 'ConfigJson', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '{ "name": "SparkPi", "file": "local:///tmp/spark-examples.jar", "className": "org.apache.spark.examples.SparkPi", "args": [ "100" ], "conf": { "spark.driver.resourceSpec": "medium", "spark.executor.instances": 5, "spark.executor.resourceSpec": "medium" } }', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'j202011032013hangzhouf742a4330003679', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'C039FD4D-2F3C-4556-AF09-864D3A6485B2', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"JobId\\": \\"j202011032013hangzhouf742a4330003679\\",\\n \\"RequestId\\": \\"C039FD4D-2F3C-4556-AF09-864D3A6485B2\\"\\n}","errorExample":""},{"type":"xml","example":"C039FD4D-2F3C-4556-AF09-864D3A6485B2\\nj202011032013hangzhouf742a4330003679","errorExample":""}]', + 'title' => 'SubmitSparkJob', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'KillSparkJob' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'VcName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyCluster', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'j202011031935hangzhouf742a4330003667', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'deleted', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3970ACB5-3E30-4A3A-B63A-1790FCC261F4', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"deleted\\",\\n \\"RequestId\\": \\"3970ACB5-3E30-4A3A-B63A-1790FCC261F4\\"\\n}","errorExample":""},{"type":"xml","example":"3970ACB5-3E30-4A3A-B63A-1790FCC261F4\\ndeleted","errorExample":""}]', + 'title' => 'KillSparkJob', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateInstance' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'ChargeType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'POSTPAY', + ], + ], + [ + 'name' => 'InstanceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'CU_PRESTO', + ], + ], + [ + 'name' => 'Component', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '"{\\"operable\\":\\"false\\",\\"max_cu\\":\\"8\\",\\"instance_name\\":\\"api-test-9\\",\\"min_cu\\":\\"0\\",\\"engine\\":\\"spark\\",\\"region\\":\\"cn-hangzhou\\",\\"app_name\\":\\"xx\\",\\"app_version_name\\":\\"xx\\"}"', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '312F48C7-AFA0-46AA-B8F6-1B16B8808045', + ], + 'ErrorInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'An internal error occurred', + ], + 'Result' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '600', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 401 => [ + [ + 'errorCode' => 'Openanalytics.Unauthorized.Exception', + 'errorMessage' => 'You do not have permission to perform the operation.', + ], + ], + 404 => [ + [ + 'errorCode' => 'Openanalytics.NotFound.Exception', + 'errorMessage' => 'The specified instance does not exist.', + ], + ], + 600 => [ + [ + 'errorCode' => 'Openanalytics.Internal.Exception', + 'errorMessage' => 'An internal error occurred.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"312F48C7-AFA0-46AA-B8F6-1B16B8808045\\",\\n \\"ErrorInfo\\": \\"An internal error occurred\\",\\n \\"Result\\": \\"true\\",\\n \\"ErrorCode\\": \\"600\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"312F48C7-AFA0-46AA-B8F6-1B16B8808045\\nAn internal error occurred\\n600\\ntrue\\ntrue","errorExample":""}]', + 'title' => 'CreateInstance', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ReleaseInstance' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'dla-3qntmdtbqklsbsmceu****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '312F48C7-AFA0-46AA-B8F6-1B16B8808045', + ], + 'ErrorInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'An internal error occurred', + ], + 'Result' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '600', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 401 => [ + [ + 'errorCode' => 'Openanalytics.Unauthorized.Exception', + 'errorMessage' => 'You do not have permission to perform the operation.', + ], + ], + 404 => [ + [ + 'errorCode' => 'Openanalytics.NotFound.Exception', + 'errorMessage' => 'The specified instance does not exist.', + ], + ], + 600 => [ + [ + 'errorCode' => 'Openanalytics.Internal.Exception', + 'errorMessage' => 'An internal error occurred.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"312F48C7-AFA0-46AA-B8F6-1B16B8808045\\",\\n \\"ErrorInfo\\": \\"An internal error occurred\\",\\n \\"Result\\": \\"true\\",\\n \\"ErrorCode\\": \\"600\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"312F48C7-AFA0-46AA-B8F6-1B16B8808045\\ntrue\\ntrue","errorExample":""}]', + 'title' => 'ReleaseInstance', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ValidateVirtualClusterName' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'VcName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'abc123', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'C039FD4D-2F3C-4556-AF09-864D3A6485B2', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'Legal' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'EmptyResult', + 'errorMessage' => 'The result is empty.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C039FD4D-2F3C-4556-AF09-864D3A6485B2\\",\\n \\"Data\\": {\\n \\"Message\\": \\"null\\",\\n \\"Legal\\": \\"true\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"C039FD4D-2F3C-4556-AF09-864D3A6485B2\\n\\n null\\n true\\n","errorExample":""}]', + 'title' => 'ValidateVirtualClusterName', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'SubmitSparkSQL' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'VcName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MySparkCluster', + ], + ], + [ + 'name' => 'Sql', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'set spark.driver.resourceSpec=medium;set spark.executor.instances=5; set spark.executor.resourceSpec=medium; set spark.app.name=sparksqltest; show databases;', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'j202104261729hangzhou224ee5230000930', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'B570310A-8A49-461B-B81D-AE0B58D63DA4', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"JobId\\": \\"j202104261729hangzhou224ee5230000930\\",\\n \\"RequestId\\": \\"B570310A-8A49-461B-B81D-AE0B58D63DA4\\"\\n}","errorExample":""},{"type":"xml","example":"B570310A-8A49-461B-B81D-AE0B58D63DA4\\nj202104261729hangzhou224ee5230000930","errorExample":""}]', + 'title' => 'SubmitSparkSQL', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CancelSparkStatement' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'StatementId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '2026****', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'j202106071620hangzhou****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '341ADFA1-4A68-4707-9CA7-FA86523A5F14', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"true\\",\\n \\"RequestId\\": \\"341ADFA1-4A68-4707-9CA7-FA86523A5F14\\"\\n}","errorExample":""},{"type":"xml","example":"341ADFA1-4A68-4707-9CA7-FA86523A5F14\\ntrue","errorExample":""}]', + 'title' => 'CancelSparkStatement', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + ], + 'ExecuteSparkStatement' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Code', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'print(2+2)\\n', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'j202106071620hangzhou****', + ], + ], + [ + 'name' => 'Kind', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'sql', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0DC5B6F080E8-0DC5B6F080E8-0DC5B', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"2\\",\\n \\"RequestId\\": \\"0DC5B6F080E8-0DC5B6F080E8-0DC5B\\"\\n}","errorExample":""},{"type":"xml","example":"0DC5B6F080E8-0DC5B6F080E8-0DC5B\\n2","errorExample":""}]', + 'title' => 'ExecuteSparkStatement', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetSparkSessionState' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'j202104171040zjkb4cc449d0000000', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'State' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'killed', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9AD49396-8F80-5511-9268-A6360B205136', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"State\\": \\"killed\\",\\n \\"RequestId\\": \\"9AD49396-8F80-5511-9268-A6360B205136\\"\\n}","type":"json"}]', + ], + 'GetSparkStatement' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'StatementId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'minimum' => '0', + 'example' => '1', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'j202106071620hangzhou00000000001', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'C5DB60E0-6EB3-493C-8956-DA0D3A2EE656', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Process' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'CompletedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1623033200754', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'running', + ], + 'StartedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1623033200750', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'print(2+2)', + ], + 'Output' => [ + 'description' => '', + 'type' => 'string', + 'example' => '"{\\"status\\":\\"ok\\",\\"execution_count\\":1,\\"data\\":{\\"text/plain\\":\\"4\\"}}"', + ], + 'Id' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C5DB60E0-6EB3-493C-8956-DA0D3A2EE656\\",\\n \\"Data\\": {\\n \\"Process\\": 0.5,\\n \\"CompletedTime\\": 1623033200754,\\n \\"State\\": \\"running\\",\\n \\"StartedTime\\": 1623033200750,\\n \\"Code\\": \\"print(2+2)\\",\\n \\"Output\\": \\"\\\\\\"{\\\\\\\\\\\\\\"status\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ok\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"execution_count\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"data\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"text/plain\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"4\\\\\\\\\\\\\\"}}\\\\\\"\\",\\n \\"Id\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"C5DB60E0-6EB3-493C-8956-DA0D3A2EE656\\n\\n 1623033200754\\n available\\n {\\"status\\":\\"ok\\",\\"execution_count\\":1,\\"data\\":{\\"text/plain\\":\\"4\\"}}\\n 1623033200753\\n 1\\n 1\\n print(2 + 2)\\n\\n","errorExample":""}]', + 'title' => 'GetSparkStatement', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListSparkStatements' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'j202106071620hangzhou00000000001', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'C2AB7692-B9EF-4A50-BCFF-0DC5B6F080E8', + ], + 'Statements' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Progress' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'CompletedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1623033200754', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'running', + ], + 'StartedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1623033200750', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'print(2 + 2)', + ], + 'Output' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{\\"status\\":\\"ok\\",\\"execution_count\\":1,\\"data\\":{\\"text/plain\\":\\"4\\"}}', + ], + 'Id' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C2AB7692-B9EF-4A50-BCFF-0DC5B6F080E8\\",\\n \\"Statements\\": [\\n {\\n \\"Progress\\": 1,\\n \\"CompletedTime\\": 1623033200754,\\n \\"State\\": \\"running\\",\\n \\"StartedTime\\": 1623033200750,\\n \\"Code\\": \\"print(2 + 2)\\",\\n \\"Output\\": \\"{\\\\\\\\\\\\\\"status\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ok\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"execution_count\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"data\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"text/plain\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"4\\\\\\\\\\\\\\"}}\\",\\n \\"Id\\": 2\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"C2AB7692-B9EF-4A50-BCFF-0DC5B6F080E8\\n\\n 1\\n 1623033200078\\n available\\n {\\"status\\":\\"ok\\",\\"execution_count\\":0,\\"data\\":{\\"text/plain\\":\\"<pyspark.sql.session.SparkSession object at 0x7f5e4a550390>\\"}}\\n 1623033200077\\n 0\\n spark\\n\\n\\n 1\\n 1623033200754\\n available\\n {\\"status\\":\\"ok\\",\\"execution_count\\":1,\\"data\\":{\\"text/plain\\":\\"4\\"}}\\n 1623033200753\\n 1\\n print(2 + 2)\\n\\n","errorExample":""}]', + 'title' => 'ListSparkStatements', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetJobAttemptLog' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'j202105272322hangzhou5d64f1560000128', + ], + ], + [ + 'name' => 'VcName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'release-test', + ], + ], + [ + 'name' => 'JobAttemptId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'j202105272322hangzhou5d64f1560000128-0001', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'local:///opt/spark/jars/offline-sql.jar, main_file\\n+ exec /usr/bin/tini -s -- /jdk/jdk8/bin/java -cp \'/opt/tools/exec-wrapper.jar:.:::/opt/spark/jars/*\' com.aliyun.dla.spark.SparkJobWrapper /opt/spark/bin/spark-submit --conf spark.driver.host=172.16.6.205 --conf spark.ui.port=4040 --conf \'spark.driver.extraJavaOptions=-Dlog4j.configuration=file:///opt/spark/log-conf/log4j.properties -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/dump.hprof -XX:OnOutOfMemoryError=\\"bash /opt/tools/oss-cp.sh /tmp/dump.hprof oss://dla-test-cn-hangzhou/spark-logs/release-test/j202105272322hangzhou5d64f1560000128-0001/driver/dump.hprof; bash /opt/tools/job-stop.sh\\" \'', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9CE8F271-F918-43B6-8F58-F9F1C2DCFDB8', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"local:///opt/spark/jars/offline-sql.jar, main_file\\\\\\\\n+ exec /usr/bin/tini -s -- /jdk/jdk8/bin/java -cp \'/opt/tools/exec-wrapper.jar:.:::/opt/spark/jars/*\' com.aliyun.dla.spark.SparkJobWrapper /opt/spark/bin/spark-submit --conf spark.driver.host=172.16.6.205 --conf spark.ui.port=4040 --conf \'spark.driver.extraJavaOptions=-Dlog4j.configuration=file:///opt/spark/log-conf/log4j.properties -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/dump.hprof -XX:OnOutOfMemoryError=\\\\\\\\\\\\\\"bash /opt/tools/oss-cp.sh /tmp/dump.hprof oss://dla-test-cn-hangzhou/spark-logs/release-test/j202105272322hangzhou5d64f1560000128-0001/driver/dump.hprof; bash /opt/tools/job-stop.sh\\\\\\\\\\\\\\" \'\\",\\n \\"RequestId\\": \\"9CE8F271-F918-43B6-8F58-F9F1C2DCFDB8\\"\\n}","errorExample":""},{"type":"xml","example":"9CE8F271-F918-43B6-8F58-F9F1C2DCFDB8\\nlocal:///opt/spark/jars/offline-sql.jar, main_file\\\\n+ exec /usr/bin/tini -s -- /jdk/jdk8/bin/java -cp \'/opt/tools/exec-wrapper.jar:.:::/opt/spark/jars/*\' com.aliyun.dla.spark.SparkJobWrapper /opt/spark/bin/spark-submit --conf spark.driver.host=172.16.6.205 --conf spark.ui.port=4040 --conf \'spark.driver.extraJavaOptions=-Dlog4j.configuration=file:///opt/spark/log-conf/log4j.properties -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/dump.hprof -XX:OnOutOfMemoryError=\\\\\\"bash /opt/tools/oss-cp.sh /tmp/dump.hprof oss://dla-test-cn-hangzhou/spark-logs/release-test/j202105272322hangzhou5d64f1560000128-0001/driver/dump.hprof; bash /opt/tools/job-stop.sh\\\\\\" \'","errorExample":""}]', + 'title' => 'GetJobAttemptLog', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListSparkJobAttempt' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'VcName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'release-test', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '1000', + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '10', + ], + ], + [ + 'name' => 'Condition', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'required' => false, + 'example' => '{"status":"success", "createTime":"2021-05-27 11:00:00", "timeZone":"Asia/Shanghai"}', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'j202105272322hangzhou5d64f1560000128', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4A839055-70C7-423D-A6F2-E714EA4502DB', + ], + 'DataResult' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'string', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'JobAttemptList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'DurationTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '00:01:12', + ], + 'TerminatedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-05-27 23:23:20', + ], + 'DurationTimeValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => '72000', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-05-27 23:22:08', + ], + 'CreateTimeValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1622128928000', + ], + 'SparkUI' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'JobAttemptId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'j202105272322hangzhou5d64f1560000128-0001', + ], + 'JobName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'j202105272322hangzhou5d64f1560000128', + ], + 'TerminatedTimeValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1622129000000', + ], + 'VcName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'release-test', + ], + 'Detail' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"xxx":"xxx"}', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4A839055-70C7-423D-A6F2-E714EA4502DB\\",\\n \\"DataResult\\": {\\n \\"PageNumber\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"TotalCount\\": \\"1\\",\\n \\"JobAttemptList\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"DurationTime\\": \\"00:01:12\\",\\n \\"TerminatedTime\\": \\"2021-05-27 23:23:20\\",\\n \\"DurationTimeValue\\": \\"72000\\",\\n \\"CreateTime\\": \\"2021-05-27 23:22:08\\",\\n \\"CreateTimeValue\\": \\"1622128928000\\",\\n \\"SparkUI\\": \\"xxx\\",\\n \\"JobAttemptId\\": \\"j202105272322hangzhou5d64f1560000128-0001\\",\\n \\"JobName\\": \\"xxx\\",\\n \\"JobId\\": \\"j202105272322hangzhou5d64f1560000128\\",\\n \\"TerminatedTimeValue\\": \\"1622129000000\\",\\n \\"VcName\\": \\"release-test\\",\\n \\"Detail\\": \\"{\\\\\\"xxx\\\\\\":\\\\\\"xxx\\\\\\"}\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 10\\n 1\\n \\n release-test\\n success\\n j202105272322hangzhou5d64f1560000128-0001\\n 2021-05-27 23:23:20\\n xxx\\n 72000\\n 2021-05-27 23:22:08\\n xxx\\n 1622129000000\\n j202105272322hangzhou5d64f1560000128\\n {\\"xxx\\":\\"xxx\\"}\\n 1622128928000\\n 00:01:12\\n \\n\\n4A839055-70C7-423D-A6F2-E714EA4502DB","errorExample":""}]', + 'title' => 'ListSparkJobAttempt', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'openanalytics.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'openanalytics.cn-zhangjiakou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'openanalytics.cn-hangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'openanalytics.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'openanalytics.cn-shenzhen.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'openanalytics.cn-hongkong.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'openanalytics.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-2', + 'endpoint' => 'datalakeanalytics.ap-southeast-2.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-3', + 'endpoint' => 'openanalytics.ap-southeast-3.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-1', + 'endpoint' => 'datalakeanalytics.ap-northeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1', + 'endpoint' => 'openanalytics.eu-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'openanalytics.us-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'endpoint' => 'datalakeanalytics.us-east-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'datalakeanalytics.eu-central-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-south-1', + 'endpoint' => 'openanalytics.ap-south-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-2-pop', + 'endpoint' => 'openanalytics.ap-northeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'openanalytics.ap-southeast-5.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-finance-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-finance-pop', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-gov-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-nu16-b01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-chengdu', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-edge-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-fujian', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-haidian-cm12-c01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-bj-b01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-finance', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-prod-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-2', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-3', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-test-306', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong-finance-pop', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-huhehaote', + 'endpoint' => 'openanalytics.cn-huhehaote.aliyuncs.com', + ], + [ + 'regionId' => 'cn-north-2-gov-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao', + 'endpoint' => 'openanalytics.cn-qingdao.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao-nebula', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-et15-b01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-et2-b01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-inner', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-internal-test-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-finance-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-inner', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-st4-d01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-su18-b01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wuhan', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-yushanfang', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangbei-na61-b01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou-na62-a01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhengzhou-nebula-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1-oxs', + 'endpoint' => 'openanalytics.ap-northeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'me-east-1', + 'endpoint' => 'openanalytics.me-east-1.aliyuncs.com', + ], + [ + 'regionId' => 'rus-west-1-pop', + 'endpoint' => 'openanalytics.ap-northeast-1.aliyuncs.com', + ], + ], +]; diff --git a/data/en_us/openanalytics-open/2020-09-28/api-docs.php b/data/en_us/openanalytics-open/2020-09-28/api-docs.php new file mode 100644 index 0000000..bd65fb5 --- /dev/null +++ b/data/en_us/openanalytics-open/2020-09-28/api-docs.php @@ -0,0 +1,1141 @@ + '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'openanalytics-open', + 'version' => '2020-09-28', + ], + 'directories' => [ + [ + 'id' => 66508, + 'title' => null, + 'type' => 'directory', + 'children' => [ + [ + 'id' => 66512, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateDatabase', + 'GetAllDatabases', + ], + ], + [ + 'id' => 66518, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'AddPartitions', + ], + ], + [ + 'id' => 66523, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetTable', + 'GetAllTables', + 'DropTable', + ], + ], + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'CreateDatabase' => [ + 'summary' => '创建数据库', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'title' => '创建数据库的名字', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'db001', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'title' => '数据库描述', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'this is db description', + ], + ], + [ + 'name' => 'LocationUri', + 'in' => 'query', + 'schema' => [ + 'title' => '数据库的 location', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'oss://data/xxx', + ], + ], + [ + 'name' => 'Parameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '数据库属性', + 'description' => '', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'key001=value001', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回值主题', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '如果后端处理出现错误,则表示错误的类型', + 'description' => '', + 'type' => 'string', + 'example' => 'ALREADY_EXISTS', + ], + 'Data' => [ + 'title' => '成功创建库的库ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '6666', + ], + 'Message' => [ + 'title' => '如果后端处理出现错误,则表示错误的信息', + 'description' => '', + 'type' => 'string', + 'example' => 'Database db001 already exists', + ], + 'RequestId' => [ + 'title' => '请求的 ID', + 'description' => '', + 'type' => 'string', + 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23', + ], + 'Success' => [ + 'title' => '标识本次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"ALREADY_EXISTS\\",\\n \\"Data\\": 6666,\\n \\"Message\\": \\"Database db001 already exists\\",\\n \\"RequestId\\": \\"9BEAC206-0795-4DE3-B1FD-964BEF432B23\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"Database db001 already exists\\n9BEAC206-0795-4DE3-B1FD-964BEF432B23\\n6666\\nALREADY_EXISTS\\nfalse","errorExample":""}]', + 'title' => 'CreateDatabase', + ], + 'GetAllDatabases' => [ + 'summary' => '获取某个用户所有数据库', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '如果后端处理出现错误,则表示错误的类型', + 'description' => '', + 'type' => 'string', + 'example' => 'ok', + ], + 'Data' => [ + 'title' => '返回的数据库列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'db001', + ], + ], + 'Message' => [ + 'title' => '如果后端处理出现错误,则表示错误的信息', + 'description' => '', + 'type' => 'string', + 'example' => 'ok', + ], + 'RequestId' => [ + 'title' => '请求的 ID', + 'description' => '', + 'type' => 'string', + 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23', + ], + 'Success' => [ + 'title' => '标识本次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"ok\\",\\n \\"Data\\": [\\n \\"db001\\"\\n ],\\n \\"Message\\": \\"ok\\",\\n \\"RequestId\\": \\"9BEAC206-0795-4DE3-B1FD-964BEF432B23\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n ok\\n db001\\n ok\\n 9BEAC206-0795-4DE3-B1FD-964BEF432B23\\n true\\n","errorExample":""}]', + 'title' => 'GetAllDatabases', + ], + 'AddPartitions' => [ + 'summary' => '添加分区', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'Partition', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '添加的分区', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DbName' => [ + 'title' => '数据库名称', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'db001', + ], + 'Parameters' => [ + 'title' => '分区属性', + 'description' => '', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'key001=value002', + ], + ], + 'StorageDescriptor' => [ + 'title' => '分区的 StorageDescriptor ', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Col' => [ + 'title' => '表的列信息', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Comment' => [ + 'title' => '列注释', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'this is comment', + ], + 'Name' => [ + 'title' => '列名', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'col1', + ], + 'Type' => [ + 'title' => '列类型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'string', + ], + ], + 'required' => false, + ], + 'required' => true, + ], + 'InputFormat' => [ + 'title' => '表的 inputFormat', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat', + ], + 'Location' => [ + 'title' => '表路径', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'oss://data/xxxx', + ], + 'OutputFormat' => [ + 'title' => '表的 outputFormat', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat', + ], + 'Parameters' => [ + 'title' => 'StorageDescriptor 的属性', + 'description' => '', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'string', + 'example' => 'key001=value002', + 'description' => '', + ], + ], + 'SerDeInfo' => [ + 'title' => '表的 serDeInfo', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => 'SerDe 的名字', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'serDeName', + ], + 'Parameters' => [ + 'title' => 'SerDe 的', + 'description' => '', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'string', + 'example' => 'key001=value002', + 'description' => '', + ], + ], + 'SerializationLib' => [ + 'title' => 'SerDe 的 serializationLib 信息', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe', + ], + ], + 'required' => true, + ], + ], + 'required' => true, + ], + 'TableName' => [ + 'title' => '表名', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'tbl001', + ], + 'Values' => [ + 'title' => '需要添加的分区', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'p001', + ], + 'required' => true, + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '如果后端处理出现错误,则表示错误的类型', + 'description' => '', + 'type' => 'string', + 'example' => 'INVALID_OPERATION', + ], + 'Data' => [ + 'title' => '成功添加的分区个数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'Message' => [ + 'title' => '如果后端处理出现错误,则表示错误的信息', + 'description' => '', + 'type' => 'string', + 'example' => 'Too many partitions, exceed max partition number', + ], + 'RequestId' => [ + 'title' => '请求的 ID', + 'description' => '', + 'type' => 'string', + 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23', + ], + 'Success' => [ + 'title' => '标识本次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 430 => [ + [ + 'errorCode' => 'ServerError.Inner', + 'errorMessage' => 'An internal error occurred.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"INVALID_OPERATION\\",\\n \\"Data\\": 2,\\n \\"Message\\": \\"Too many partitions, exceed max partition number\\",\\n \\"RequestId\\": \\"9BEAC206-0795-4DE3-B1FD-964BEF432B23\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"Too many partitions, exceed max partition number\\n9BEAC206-0795-4DE3-B1FD-964BEF432B23\\n2\\nINVALID_OPERATION\\ntrue","errorExample":""}]', + 'title' => 'AddPartitions', + ], + 'GetTable' => [ + 'summary' => '获取表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'DbName', + 'in' => 'query', + 'schema' => [ + 'title' => '数据库名称', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'db001', + ], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => [ + 'title' => '表名称', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'tbl001', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '如果后端处理出现错误,则表示错误的类型', + 'description' => '', + 'type' => 'string', + 'example' => 'NO_SUCH_OBJECT', + ], + 'Message' => [ + 'title' => '如果后端处理出现错误,则表示错误的信息', + 'description' => '', + 'type' => 'string', + 'example' => 'No such table: db001.tbl001', + ], + 'RequestId' => [ + 'title' => '请求的 ID', + 'description' => '', + 'type' => 'string', + 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23', + ], + 'Success' => [ + 'title' => '标识本次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Table' => [ + 'title' => '获取的表信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'title' => '表的创建时间', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20190813', + ], + 'DbName' => [ + 'title' => '数据库名称', + 'description' => '', + 'type' => 'string', + 'example' => 'db001', + ], + 'LastAccessTime' => [ + 'title' => '最后一次访问时间', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20190814', + ], + 'Owner' => [ + 'title' => '表的所属用户', + 'description' => '', + 'type' => 'string', + 'example' => 'user001', + ], + 'Parameters' => [ + 'title' => '表属性', + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'key001=value001', + ], + ], + 'PartitionKeys' => [ + 'title' => '分区信息', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Comment' => [ + 'title' => '分区注释', + 'description' => '', + 'type' => 'string', + 'example' => 'this is partition comment', + ], + 'Name' => [ + 'title' => '分区名称', + 'description' => '', + 'type' => 'string', + 'example' => 'part001', + ], + 'Type' => [ + 'title' => '分区类型', + 'description' => '', + 'type' => 'string', + 'example' => 'int', + ], + ], + ], + ], + 'StorageDescriptor' => [ + 'title' => '表的 sd 信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cols' => [ + 'title' => '表的列信息', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Comment' => [ + 'title' => '列注释', + 'description' => '', + 'type' => 'string', + 'example' => 'this is column comment', + ], + 'Name' => [ + 'title' => '列名称', + 'description' => '', + 'type' => 'string', + 'example' => 'col1', + ], + 'Type' => [ + 'title' => '列类型', + 'description' => '', + 'type' => 'string', + 'example' => 'string', + ], + ], + ], + ], + 'InputFormat' => [ + 'title' => '表的 inputFormat', + 'description' => '', + 'type' => 'string', + 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat', + ], + 'Location' => [ + 'title' => '表路径', + 'description' => '', + 'type' => 'string', + 'example' => 'oss://data/xxxx', + ], + 'OutputFormat' => [ + 'title' => '表的 outputFormat', + 'description' => '', + 'type' => 'string', + 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat', + ], + 'Parameters' => [ + 'title' => 'SD 的属性', + 'description' => '', + 'type' => 'object', + ], + 'SerDeInfo' => [ + 'title' => '表的 SerDe 信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => 'SerDe 的名称', + 'description' => '', + 'type' => 'string', + 'example' => 'SerDeName', + ], + 'Parameters' => [ + 'title' => 'SerDe 的属性', + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'key001=value001', + ], + ], + 'SerializationLib' => [ + 'title' => 'SerDe 的 serializationLib', + 'description' => '', + 'type' => 'string', + 'example' => 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe', + ], + ], + ], + ], + ], + 'TableName' => [ + 'title' => '表的名称', + 'description' => '', + 'type' => 'string', + 'example' => 'tbl001', + ], + 'TableType' => [ + 'title' => '表的类型', + 'description' => '', + 'type' => 'string', + 'example' => 'VIEW', + ], + 'ViewExpandedText' => [ + 'title' => '如果表是视图,则存储扩展视图SQL', + 'description' => '', + 'type' => 'string', + 'example' => 'select count(*) from tbl002', + ], + 'ViewOriginalText' => [ + 'title' => '如果表是视图,则存储原生视图SQL', + 'description' => '', + 'type' => 'string', + 'example' => 'select count(*) from tbl002', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NO_SUCH_OBJECT\\",\\n \\"Message\\": \\"No such table: db001.tbl001\\",\\n \\"RequestId\\": \\"9BEAC206-0795-4DE3-B1FD-964BEF432B23\\",\\n \\"Success\\": false,\\n \\"Table\\": {\\n \\"CreateTime\\": 20190813,\\n \\"DbName\\": \\"db001\\",\\n \\"LastAccessTime\\": 20190814,\\n \\"Owner\\": \\"user001\\",\\n \\"Parameters\\": {\\n \\"key\\": \\"key001=value001\\"\\n },\\n \\"PartitionKeys\\": [\\n {\\n \\"Comment\\": \\"this is partition comment\\",\\n \\"Name\\": \\"part001\\",\\n \\"Type\\": \\"int\\"\\n }\\n ],\\n \\"StorageDescriptor\\": {\\n \\"Cols\\": [\\n {\\n \\"Comment\\": \\"this is column comment\\",\\n \\"Name\\": \\"col1\\",\\n \\"Type\\": \\"string\\"\\n }\\n ],\\n \\"InputFormat\\": \\"org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat\\",\\n \\"Location\\": \\"oss://data/xxxx\\",\\n \\"OutputFormat\\": \\"org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat\\",\\n \\"Parameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SerDeInfo\\": {\\n \\"Name\\": \\"SerDeName\\",\\n \\"Parameters\\": {\\n \\"key\\": \\"key001=value001\\"\\n },\\n \\"SerializationLib\\": \\"org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe\\"\\n }\\n },\\n \\"TableName\\": \\"tbl001\\",\\n \\"TableType\\": \\"VIEW\\",\\n \\"ViewExpandedText\\": \\"select count(*) from tbl002\\",\\n \\"ViewOriginalText\\": \\"select count(*) from tbl002\\"\\n }\\n}","type":"json"}]', + 'title' => 'GetTable', + ], + 'GetAllTables' => [ + 'summary' => '获取某个数据库下面的所有表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'DbName', + 'in' => 'query', + 'schema' => [ + 'title' => '数据库名称', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'db001', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '如果后端处理出现错误,则表示错误的类型', + 'description' => '', + 'type' => 'string', + 'example' => 'NO_SUCH_OBJECT', + ], + 'Data' => [ + 'title' => '请求数据库低下的所有表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tbl001', + ], + ], + 'Message' => [ + 'title' => '如果后端处理出现错误,则表示错误的信息', + 'description' => '', + 'type' => 'string', + 'example' => 'The database db001 does not exist', + ], + 'RequestId' => [ + 'title' => '请求的 ID', + 'description' => '', + 'type' => 'string', + 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23', + ], + 'Success' => [ + 'title' => '标识本次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"NO_SUCH_OBJECT\\",\\n \\"Data\\": [\\n \\"tbl001\\"\\n ],\\n \\"Message\\": \\"The database db001 does not exist\\",\\n \\"RequestId\\": \\"9BEAC206-0795-4DE3-B1FD-964BEF432B23\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"The database db001 does not exist\\n9BEAC206-0795-4DE3-B1FD-964BEF432B23\\n[ tbl001,tbl002 ]\\nNO_SUCH_OBJECT\\nfalse","errorExample":""}]', + 'title' => 'GetAllTables', + ], + 'DropTable' => [ + 'summary' => '删除表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'DbName', + 'in' => 'query', + 'schema' => [ + 'title' => '数据库名称', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'db001', + ], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => [ + 'title' => '表名称', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'tbl001', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '如果后端处理出现错误,则表示错误的类型', + 'description' => '', + 'type' => 'string', + 'example' => 'NO_SUCH_OBJECT', + ], + 'Data' => [ + 'title' => '标记表是否删除成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Message' => [ + 'title' => '如果后端处理出现错误,则表示错误的信息', + 'description' => '', + 'type' => 'string', + 'example' => 'No such table: db001.tbl001', + ], + 'RequestId' => [ + 'title' => '请求的 ID', + 'description' => '', + 'type' => 'string', + 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23', + ], + 'Success' => [ + 'title' => '标识本次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 430 => [ + [ + 'errorCode' => 'ServerError.Inner', + 'errorMessage' => 'An internal error occurred.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"NO_SUCH_OBJECT\\",\\n \\"Data\\": false,\\n \\"Message\\": \\"No such table: db001.tbl001\\",\\n \\"RequestId\\": \\"9BEAC206-0795-4DE3-B1FD-964BEF432B23\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"No such table: db001.tbl001\\n9BEAC206-0795-4DE3-B1FD-964BEF432B23\\nfalse\\nNO_SUCH_OBJECT\\nfalse","errorExample":""}]', + 'title' => 'DropTable', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'openanalytics.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'openanalytics.cn-zhangjiakou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'openanalytics.cn-hangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'openanalytics.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'openanalytics.cn-shenzhen.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'openanalytics.cn-hongkong.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'openanalytics.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-2', + 'endpoint' => 'datalakeanalytics.ap-southeast-2.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-3', + 'endpoint' => 'openanalytics.ap-southeast-3.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-1', + 'endpoint' => 'datalakeanalytics.ap-northeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1', + 'endpoint' => 'openanalytics.eu-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'openanalytics.us-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'endpoint' => 'datalakeanalytics.us-east-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'datalakeanalytics.eu-central-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-south-1', + 'endpoint' => 'openanalytics.ap-south-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-2-pop', + 'endpoint' => 'openanalytics.ap-northeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'openanalytics.ap-southeast-5.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-finance-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-finance-pop', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-gov-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-nu16-b01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-chengdu', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-edge-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-fujian', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-haidian-cm12-c01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-bj-b01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-finance', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-prod-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-2', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-3', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-test-306', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong-finance-pop', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-huhehaote', + 'endpoint' => 'openanalytics.cn-huhehaote.aliyuncs.com', + ], + [ + 'regionId' => 'cn-north-2-gov-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao', + 'endpoint' => 'openanalytics.cn-qingdao.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao-nebula', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-et15-b01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-et2-b01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-inner', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-internal-test-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-finance-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-inner', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-st4-d01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-su18-b01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wuhan', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-yushanfang', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangbei-na61-b01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou-na62-a01', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhengzhou-nebula-1', + 'endpoint' => 'openanalytics.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1-oxs', + 'endpoint' => 'openanalytics.ap-northeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'me-east-1', + 'endpoint' => 'openanalytics.me-east-1.aliyuncs.com', + ], + [ + 'regionId' => 'rus-west-1-pop', + 'endpoint' => 'openanalytics.ap-northeast-1.aliyuncs.com', + ], + ], +]; -- cgit v1.2.3