diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/emr-serverless-spark/2023-08-08 | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/emr-serverless-spark/2023-08-08')
| -rw-r--r-- | data/emr-serverless-spark/2023-08-08/api-docs.php | 6803 |
1 files changed, 2450 insertions, 4353 deletions
diff --git a/data/emr-serverless-spark/2023-08-08/api-docs.php b/data/emr-serverless-spark/2023-08-08/api-docs.php index 62b8542..d9ac007 100644 --- a/data/emr-serverless-spark/2023-08-08/api-docs.php +++ b/data/emr-serverless-spark/2023-08-08/api-docs.php @@ -1,173 +1,117 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'emr-serverless-spark', - 'version' => '2023-08-08', - ], + 'info' => ['style' => 'ROA', 'product' => 'emr-serverless-spark', 'version' => '2023-08-08'], 'components' => [ 'schemas' => [ - 'Artifact' => [ + 'CacheCluster' => [ 'type' => 'object', 'properties' => [ - 'fullPath' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', + 'clusterId' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'state' => ['type' => 'string'], + 'creator' => ['type' => 'string'], + 'modifier' => ['type' => 'string'], + 'paymentType' => ['type' => 'string'], + 'resourceSpec' => [ + 'type' => 'object', + 'properties' => [ + 'bandWidth' => ['type' => 'integer', 'format' => 'int64'], + 'storage' => ['type' => 'integer', 'format' => 'int64'], + 'ha' => ['type' => 'boolean'], ], ], - 'gmtModified' => [ - 'type' => 'string', - 'required' => true, - ], - 'creator' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'credential' => [ - '$ref' => '#/components/schemas/Credential', - ], - 'gmtCreated' => [ - 'type' => 'string', - 'required' => true, - ], - 'modifier' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'bizId' => [ - 'type' => 'string', - 'required' => true, - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'location' => [ - 'type' => 'string', - 'required' => true, - ], - 'catagoryBizId' => [ - 'type' => 'string', - ], - 'modifierName' => [ - 'type' => 'string', - ], - ], - ], - 'Category' => [ - 'type' => 'object', - 'properties' => [ - 'type' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'TASK', - 'ARTIFACT', + 'regionId' => ['type' => 'string'], + 'usedResourceSpec' => [ + 'type' => 'object', + 'properties' => [ + 'bandWidth' => ['type' => 'integer', 'format' => 'int64'], + 'storage' => ['type' => 'integer', 'format' => 'int64'], ], ], - 'gmtModified' => [ - 'type' => 'string', - 'required' => true, - ], - 'creator' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'gmtCreated' => [ - 'type' => 'string', - 'required' => true, - ], - 'modifier' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'bizId' => [ - 'type' => 'string', - 'required' => true, - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 64, - ], - 'parentBizId' => [ - 'type' => 'string', + 'gmtCreated' => ['type' => 'integer', 'format' => 'int64'], + 'gmtModified' => ['type' => 'integer', 'format' => 'int64'], + 'configuration' => ['type' => 'string'], + 'resourceGroupId' => ['type' => 'string'], + 'cacheClusterId' => ['type' => 'string'], + 'createTime' => ['type' => 'string'], + 'cacheClusterName' => ['type' => 'string'], + 'version' => ['type' => 'string'], + 'configurations' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'name' => [ + 'type' => 'string', + 'enum' => ['cacheset.xml'], + ], + 'content' => ['type' => 'string'], + ], + ], ], - ], - ], - 'Configuration' => [ - 'type' => 'object', - 'properties' => [ - 'configFileName' => [ - 'type' => 'string', + 'bindedWorkspaces' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'configItemKey' => [ - 'type' => 'string', + 'cachesets' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'name' => ['type' => 'string'], + 'path' => ['type' => 'string'], + ], + ], ], - 'configItemValue' => [ - 'type' => 'string', + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'key' => ['type' => 'string'], + 'value' => ['type' => 'string'], + ], + ], ], - ], - ], - 'ConfigurationOverrides' => [ - 'type' => 'object', - 'properties' => [ - 'configurations' => [ + 'tables' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'configFileName' => [ - 'type' => 'string', - ], - 'configItemKey' => [ - 'type' => 'string', - ], - 'configItemValue' => [ - 'type' => 'string', - ], + 'catalogId' => ['type' => 'string'], + 'catalogProvider' => ['type' => 'string'], + 'database' => ['type' => 'string'], + 'table' => ['type' => 'string'], + 'workspaceId' => ['type' => 'string'], ], ], ], + 'extra' => ['type' => 'string'], ], ], - 'Credential' => [ + 'Category' => [ 'type' => 'object', 'properties' => [ - 'securityToken' => [ - 'type' => 'string', - 'required' => true, - ], - 'accessId' => [ - 'type' => 'string', - 'required' => true, - ], - 'signature' => [ - 'type' => 'string', - 'required' => true, - ], - 'expire' => [ - 'type' => 'string', - 'required' => true, - ], - 'host' => [ - 'type' => 'string', - 'required' => true, - ], - 'dir' => [ - 'type' => 'string', - 'required' => true, - ], - 'policy' => [ + 'type' => [ 'type' => 'string', 'required' => true, + 'enum' => ['TASK', 'ARTIFACT'], ], + 'gmtModified' => ['type' => 'string', 'required' => true], + 'creator' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'gmtCreated' => ['type' => 'string', 'required' => true], + 'modifier' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'bizId' => ['type' => 'string', 'required' => true], + 'name' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 64], + 'parentBizId' => ['type' => 'string'], + ], + ], + 'Configuration' => [ + 'type' => 'object', + 'properties' => [ + 'configFileName' => ['type' => 'string'], + 'configItemKey' => ['type' => 'string'], + 'configItemValue' => ['type' => 'string'], ], ], 'JobDriver' => [ @@ -176,555 +120,262 @@ 'sparkSubmit' => [ 'type' => 'object', 'properties' => [ - 'entryPoint' => [ - 'type' => 'string', - ], + 'entryPoint' => ['type' => 'string'], 'entryPointArguments' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'sparkSubmitParameters' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'sparkSubmitParameters' => ['type' => 'string'], ], ], ], ], - 'KerberosConf' => [ - 'type' => 'object', - 'properties' => [ - 'gmtModified' => [ - 'type' => 'string', - ], - 'creator' => [ - 'type' => 'string', - ], - 'krb5Conf' => [ - 'type' => 'string', - ], - 'gmtCreated' => [ - 'type' => 'string', - ], - 'networkServiceId' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'kerberosConfId' => [ - 'type' => 'string', - ], - 'keytabs' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'enabled' => [ - 'type' => 'boolean', - ], - 'workspaceId' => [ - 'type' => 'string', - ], - ], - ], 'PrincipalAction' => [ 'type' => 'object', 'properties' => [ - 'principalArn' => [ - 'type' => 'string', - ], - 'actionArn' => [ - 'type' => 'string', - ], - ], - ], - 'ReleaseVersionImage' => [ - 'type' => 'object', - 'properties' => [ - 'runtimeEngineType' => [ - 'type' => 'string', - ], - 'cpuArchitecture' => [ - 'type' => 'string', - ], - 'imageId' => [ - 'type' => 'string', - ], + 'principalArn' => ['type' => 'string'], + 'actionArn' => ['type' => 'string'], ], ], 'RunLog' => [ 'type' => 'object', 'properties' => [ - 'driverStdOut' => [ - 'type' => 'string', - ], - 'driverStdError' => [ - 'type' => 'string', - ], - 'driverSyslog' => [ - 'type' => 'string', - ], - 'driverStartup' => [ - 'type' => 'string', - ], + 'driverStdOut' => ['type' => 'string'], + 'driverStdError' => ['type' => 'string'], + 'driverSyslog' => ['type' => 'string'], + 'driverStartup' => ['type' => 'string'], ], ], 'SparkConf' => [ 'type' => 'object', 'properties' => [ - 'value' => [ - 'type' => 'string', - 'required' => true, - ], - 'key' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - 'SqlOutput' => [ - 'type' => 'object', - 'properties' => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'fields' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], - 'nullable' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - ], - 'rows' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'values' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - ], - ], - ], + 'value' => ['type' => 'string', 'required' => true], + 'key' => ['type' => 'string', 'required' => true], ], ], 'Tag' => [ 'type' => 'object', 'properties' => [ - 'key' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'string', - ], + 'key' => ['type' => 'string'], + 'value' => ['type' => 'string'], ], ], 'Task' => [ 'type' => 'object', 'properties' => [ - 'kernelId' => [ - 'type' => 'string', - ], - 'gmtModified' => [ - 'type' => 'string', - 'required' => true, - ], - 'defaultSqlComputeId' => [ - 'type' => 'string', - ], - 'archives' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'lastRunResourceQueueId' => [ - 'type' => 'string', - ], - 'sparkLogLevel' => [ - 'type' => 'string', - 'required' => true, - ], - 'gmtCreated' => [ - 'type' => 'string', - 'required' => true, - ], - 'sparkDriverMemory' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'modifier' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'jars' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'sparkExecutorCores' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'sparkArgs' => ['type' => 'string'], + 'sparkDriverMemory' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'sparkVersion' => ['type' => 'string', 'required' => true], + 'sparkExecutorMemory' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'sparkLogLevel' => ['type' => 'string', 'required' => true], + 'sparkEntrypoint' => ['type' => 'string', 'required' => false], + 'gmtModified' => ['type' => 'string', 'required' => true], + 'hasCommited' => ['type' => 'boolean', 'required' => true], + 'sparkLogPath' => ['type' => 'string', 'required' => true], + 'creator' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'gmtCreated' => ['type' => 'string', 'required' => true], + 'name' => ['type' => 'string', 'required' => true], + 'sparkDriverCores' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'type' => ['type' => 'string', 'required' => true], + 'sparkExecutorCores' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'content' => ['type' => 'string', 'required' => false], 'extraArtifactIds' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], - 'type' => [ - 'type' => 'string', - 'required' => true, + 'lastRunResourceQueueId' => ['type' => 'string'], + 'modifier' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'sparkConf' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/SparkConf'], ], - 'content' => [ - 'type' => 'string', + 'bizId' => ['type' => 'string', 'required' => true], + 'categoryBizId' => ['type' => 'string'], + 'artifactUrl' => ['type' => 'string'], + 'defaultResourceQueueId' => ['type' => 'string'], + 'tags' => [ + 'type' => 'object', 'required' => false, + 'additionalProperties' => ['type' => 'string'], ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'sparkVersion' => [ - 'type' => 'string', - 'required' => true, - ], - 'sparkEntrypoint' => [ - 'type' => 'string', + 'defaultDatabase' => ['type' => 'string'], + 'hasChanged' => ['type' => 'boolean'], + 'pyFiles' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string'], ], - 'sparkArgs' => [ - 'type' => 'string', + 'defaultCatalogId' => ['type' => 'string'], + 'defaultSqlComputeId' => ['type' => 'string'], + 'jars' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'environmentId' => [ - 'type' => 'string', + 'archives' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], + 'files' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'extraSparkSubmitParams' => ['type' => 'string'], + 'deploymentId' => ['type' => 'string'], + 'isStreaming' => ['type' => 'boolean'], + 'sparkSubmitClause' => ['type' => 'string'], + 'fusion' => ['type' => 'boolean'], + 'timeout' => ['type' => 'integer', 'format' => 'int32'], 'credential' => [ 'type' => 'object', 'properties' => [ - 'accessId' => [ - 'type' => 'string', - ], - 'securityToken' => [ - 'type' => 'string', - ], - 'path' => [ - 'type' => 'string', - ], - 'signature' => [ - 'type' => 'string', - ], - 'accessUrl' => [ - 'type' => 'string', - ], - 'expire' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'host' => [ - 'type' => 'string', - ], - 'policy' => [ - 'type' => 'string', - ], - ], - ], - 'hasChanged' => [ - 'type' => 'boolean', - ], - 'extraSparkSubmitParams' => [ - 'type' => 'string', - ], - 'deploymentId' => [ - 'type' => 'string', - ], - 'bizId' => [ - 'type' => 'string', - 'required' => true, - ], - 'artifactUrl' => [ - 'type' => 'string', - ], - 'defaultResourceQueueId' => [ - 'type' => 'string', - ], - 'defaultDatabase' => [ - 'type' => 'string', - ], - 'creator' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'categoryBizId' => [ - 'type' => 'string', - ], - 'sessionClusterId' => [ - 'type' => 'string', - ], - 'sparkSubmitClause' => [ - 'type' => 'string', - ], - 'sparkConf' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/SparkConf', + 'accessId' => ['type' => 'string'], + 'securityToken' => ['type' => 'string'], + 'policy' => ['type' => 'string'], + 'signature' => ['type' => 'string'], + 'path' => ['type' => 'string'], + 'host' => ['type' => 'string'], + 'expire' => ['type' => 'integer', 'format' => 'int64'], + 'accessUrl' => ['type' => 'string'], ], ], + 'environmentId' => ['type' => 'string'], + 'sessionClusterId' => ['type' => 'string'], + 'kernelId' => ['type' => 'string'], 'params' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'pyFiles' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - ], - ], - 'tags' => [ + 'additionalProperties' => ['type' => 'string'], + ], + 'rayEntrypoint' => ['type' => 'string'], + 'rayVersion' => ['type' => 'string'], + 'rayNetworkServiceName' => ['type' => 'string'], + 'rayRuntimeEnvJson' => ['type' => 'string'], + 'rayWorkingDir' => ['type' => 'string'], + 'rayMetadataJson' => ['type' => 'string'], + 'raySubmissionMode' => ['type' => 'string'], + 'rayEntrypointNumCpus' => ['type' => 'string'], + 'rayEntrypointNumGpus' => ['type' => 'string'], + 'rayEntrypointMemory' => ['type' => 'string'], + 'rayEntrypointResources' => ['type' => 'string'], + 'rayShutdownAfterJobFinishes' => ['type' => 'boolean'], + 'rayTtlSecondsAfterFinished' => ['type' => 'integer', 'format' => 'int64'], + 'rayActiveDeadlineSeconds' => ['type' => 'integer', 'format' => 'int64'], + 'rayBackoffLimit' => ['type' => 'integer', 'format' => 'int32'], + 'rayHeadSpec' => [ 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', + 'properties' => [ + 'replica' => ['type' => 'integer', 'format' => 'int32'], + 'enableAutoScaling' => ['type' => 'boolean'], + 'idleTimeoutSeconds' => ['type' => 'integer', 'format' => 'int64'], + 'queueName' => ['type' => 'string'], + 'cpu' => ['type' => 'string'], + 'memory' => ['type' => 'string'], + 'gpuSpec' => ['type' => 'string'], ], ], - 'defaultCatalogId' => [ - 'type' => 'string', - ], - 'sparkExecutorMemory' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'fusion' => [ - 'type' => 'boolean', - ], - 'isStreaming' => [ - 'type' => 'boolean', - ], - 'sparkDriverCores' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - 'sparkLogPath' => [ - 'type' => 'string', - 'required' => true, - ], - 'name' => [ - 'type' => 'string', - 'required' => true, + 'rayExtraParam' => ['type' => 'string'], + 'rayVolumeIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'files' => [ + 'rayWorkerSpec' => [ 'type' => 'array', 'items' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'groupName' => ['type' => 'string'], + 'replica' => ['type' => 'integer', 'format' => 'int32'], + 'minReplica' => ['type' => 'integer', 'format' => 'int32'], + 'maxReplica' => ['type' => 'integer', 'format' => 'int32'], + 'queueName' => ['type' => 'string'], + 'cpu' => ['type' => 'string'], + 'memory' => ['type' => 'string'], + 'gpuSpec' => ['type' => 'string'], + ], ], ], - 'hasCommited' => [ - 'type' => 'boolean', - 'required' => true, - ], ], ], 'TaskInstance' => [ 'type' => 'object', 'properties' => [ - 'taskInfo' => [ - '$ref' => '#/components/schemas/Task', - 'required' => false, - ], - 'workspaceBizId' => [ - 'type' => 'string', - ], - 'taskBizId' => [ - 'type' => 'string', - ], - 'taskStatus' => [ - 'type' => 'string', - ], - 'bizId' => [ - 'type' => 'string', - ], - 'fenixRunId' => [ - 'type' => 'string', - ], - 'gmtCreated' => [ - 'type' => 'string', - ], - 'creator' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - 'TaskSnapshot' => [ - 'type' => 'object', - 'properties' => [ - 'commiter' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'item' => [ - '$ref' => '#/components/schemas/Task', - ], - 'taskBizId' => [ - 'type' => 'string', - ], - 'message' => [ - 'type' => 'string', - ], - 'version' => [ - 'type' => 'string', - ], - 'gmtCreated' => [ - 'type' => 'string', - ], - 'bizId' => [ - 'type' => 'string', - ], + 'taskInfo' => ['$ref' => '#/components/schemas/Task', 'required' => false], + 'workspaceBizId' => ['type' => 'string'], + 'taskBizId' => ['type' => 'string'], + 'taskStatus' => ['type' => 'string'], + 'bizId' => ['type' => 'string'], + 'fenixRunId' => ['type' => 'string'], + 'gmtCreated' => ['type' => 'string'], + 'creator' => ['type' => 'integer', 'format' => 'int64'], ], ], 'Template' => [ 'type' => 'object', 'properties' => [ - 'templateType' => [ - 'type' => 'string', - ], - 'gmtModified' => [ - 'type' => 'string', - 'required' => true, - ], - 'creator' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'sparkLogLevel' => [ - 'type' => 'string', - 'required' => true, - ], - 'gmtCreated' => [ - 'type' => 'string', - 'required' => true, - ], - 'sparkDriverMemory' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'modifier' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'sparkExecutorCores' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'templateType' => ['type' => 'string'], + 'gmtModified' => ['type' => 'string', 'required' => true], + 'creator' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'sparkLogLevel' => ['type' => 'string', 'required' => true], + 'gmtCreated' => ['type' => 'string', 'required' => true], + 'sparkDriverMemory' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'modifier' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'sparkExecutorCores' => ['type' => 'integer', 'format' => 'int32', 'required' => true], 'sparkConf' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/SparkConf', - ], - ], - 'sparkVersion' => [ - 'type' => 'string', - 'required' => true, - ], - 'sparkExecutorMemory' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'fusion' => [ - 'type' => 'boolean', - ], - 'isDefault' => [ - 'type' => 'boolean', - ], - 'sparkDriverCores' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - 'displaySparkVersion' => [ - 'type' => 'string', - ], - 'sparkLogPath' => [ - 'type' => 'string', - 'required' => true, - ], - 'name' => [ - 'type' => 'string', - ], - 'bizId' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/SparkConf'], ], + 'sparkVersion' => ['type' => 'string', 'required' => true], + 'sparkExecutorMemory' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'fusion' => ['type' => 'boolean'], + 'isDefault' => ['type' => 'boolean'], + 'sparkDriverCores' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'displaySparkVersion' => ['type' => 'string'], + 'sparkLogPath' => ['type' => 'string', 'required' => true], + 'name' => ['type' => 'string'], + 'bizId' => ['type' => 'string'], ], ], 'TimeRange' => [ 'type' => 'object', 'properties' => [ - 'startTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'endTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'startTime' => ['type' => 'integer', 'format' => 'int64'], + 'endTime' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], 'apis' => [ - 'AddMembers' => [ - 'path' => '/api/v1/auth/members', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ActivateAICenter' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/activateaicenter', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'AddMembers' => [ + 'path' => '/api/v1/auth/members', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ 'name' => 'body', @@ -734,17 +385,11 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'workspaceId' => [ - 'type' => 'string', - 'required' => true, - ], + 'workspaceId' => ['type' => 'string', 'required' => true], 'memberArns' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], @@ -752,91 +397,153 @@ [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListMembers' => [ - 'path' => '/api/v1/auth/{workspaceId}/members', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CancelJobRun' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/jobRuns/{jobRunId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'maxResults', + 'name' => 'jobRunId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'CancelKyuubiSparkApplication' => [ + 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}/application/{applicationId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'kyuubiServiceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'applicationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GrantRoleToUsers' => [ - 'path' => '/api/v1/auth/roles/grant', - 'methods' => [ - 'post', + 'CancelRayJob' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/rayJob/{submissionId}/cancel', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'submissionId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'ChangeResourceGroup' => [ + 'path' => '/changeResourceGroup', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'resourceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'resourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'CreateKyuubiService' => [ + 'path' => '/api/v1/kyuubi/{workspaceId}', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', @@ -844,100 +551,99 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'roleArn' => [ - 'type' => 'string', - 'required' => false, - ], - 'userArns' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'kyuubiConfigs' => ['type' => 'string', 'required' => false], + 'sparkConfigs' => ['type' => 'string', 'required' => false], + 'name' => ['type' => 'string', 'required' => false], + 'queue' => ['type' => 'string', 'required' => false], + 'computeInstance' => ['type' => 'string', 'required' => false], + 'releaseVersion' => ['type' => 'string', 'required' => false], + 'publicEndpointEnabled' => ['type' => 'boolean', 'required' => false], + 'replica' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'kyuubiReleaseVersion' => ['type' => 'string', 'required' => false], ], ], ], - [ - 'name' => 'regionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], ], ], - 'GetSessionCluster' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/sessionClusters/{sessionClusterId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateKyuubiToken' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/kyuubiService/{kyuubiServiceId}/token', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'sessionClusterId', + 'name' => 'kyuubiServiceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'token' => ['type' => 'string', 'required' => false], + 'autoExpireConfiguration' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'enable' => ['type' => 'boolean', 'required' => false], + 'expireDays' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + 'memberArns' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'sparkRole' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], ], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateSessionCluster' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/sessionClusters', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateLivyCompute' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ + 'name' => 'workspaceBizId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', @@ -945,131 +651,76 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'queueName' => [ + 'name' => ['type' => 'string', 'required' => false], + 'livyVersion' => [ 'type' => 'string', 'required' => false, + 'enum' => ['0.8.0'], ], + 'releaseVersion' => ['type' => 'string', 'required' => false], + 'queueName' => ['type' => 'string', 'required' => false], + 'cpuLimit' => ['type' => 'string', 'required' => false], + 'memoryLimit' => ['type' => 'string', 'required' => false], 'autoStartConfiguration' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'enable' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'enable' => ['type' => 'boolean', 'required' => false], ], ], 'autoStopConfiguration' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'enable' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'idleTimeoutMinutes' => [ - 'type' => 'integer', - 'required' => false, - ], - ], - ], - 'applicationConfigs' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'configFileName' => [ - 'type' => 'string', - 'required' => false, - ], - 'configItemKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'configItemValue' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'enable' => ['type' => 'boolean', 'required' => false], + 'idleTimeoutMinutes' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], - 'releaseVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'kind' => [ - 'type' => 'string', - 'required' => false, - ], - 'displayReleaseVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'fusion' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'envId' => [ - 'type' => 'string', - 'required' => false, - ], - 'publicEndpointEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'clientToken' => [ + 'authType' => [ 'type' => 'string', 'required' => false, + 'enum' => ['Token'], ], + 'displayReleaseVersion' => ['type' => 'string', 'required' => false], + 'fusion' => ['type' => 'boolean', 'required' => false], + 'environmentId' => ['type' => 'string', 'required' => false], + 'networkName' => ['type' => 'string', 'required' => false], + 'livyServerConf' => ['type' => 'string', 'required' => false], + 'enablePublic' => ['type' => 'boolean', 'required' => false], ], ], ], [ - 'name' => 'workspaceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'StopSessionCluster' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/sessionClusters/action/stopSessionCluster', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateLivyComputeToken' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/token', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ + 'name' => 'workspaceBizId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'livyComputeId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', @@ -1077,55 +728,37 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'queueName' => [ - 'type' => 'string', - 'required' => false, - ], - 'sessionClusterId' => [ - 'type' => 'string', + 'name' => ['type' => 'string', 'required' => false], + 'token' => ['type' => 'string', 'required' => false], + 'autoExpireConfiguration' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'enable' => ['type' => 'boolean', 'required' => false], + 'expireDays' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], ], ], ], [ - 'name' => 'workspaceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'StartSessionCluster' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/sessionClusters/action/startSessionCluster', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateNetworkService' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/networkServices', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ 'name' => 'body', @@ -1135,401 +768,449 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'queueName' => [ - 'type' => 'string', - 'required' => false, - ], - 'sessionClusterId' => [ - 'type' => 'string', + 'name' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'vpcId' => ['type' => 'string', 'required' => false], + 'vswitchIds' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], + 'securityGroupId' => ['type' => 'string', 'required' => false], + 'clientToken' => ['type' => 'string', 'required' => false], ], ], ], [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListSessionClusters' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/sessionClusters', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateProcessDefinitionWithSchedule' => [ + 'path' => '/dolphinscheduler/projects/{bizId}/process-definition', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'nextToken', + 'name' => 'productNamespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'bizId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'workspaceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'sessionClusterId', + 'name' => 'description', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'queueName', + 'name' => 'timeout', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'kind', + 'name' => 'taskRelationJson', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'preTaskCode' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'preTaskVersion' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'postTaskCode' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'postTaskVersion' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + ], + ], ], ], [ - 'name' => 'regionId', + 'name' => 'taskDefinitionJson', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'code' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'alertEmailAddress' => ['type' => 'string', 'required' => false], + 'startAlertEnable' => ['type' => 'boolean', 'required' => false], + 'failAlertEnable' => ['type' => 'boolean', 'required' => false], + 'failRetryTimes' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'name' => ['type' => 'string', 'required' => true], + 'taskParams' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'workspaceBizId' => ['type' => 'string', 'required' => true], + 'taskBizId' => ['type' => 'string', 'required' => true], + 'resourceQueueId' => ['type' => 'string', 'required' => true], + 'sparkDriverCores' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'sparkExecutorCores' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'sparkDriverMemory' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'sparkExecutorMemory' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'sparkConf' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'sparkVersion' => ['type' => 'string', 'required' => false], + 'sparkLogLevel' => ['type' => 'string', 'required' => false], + 'sparkLogPath' => ['type' => 'string', 'required' => false], + 'displaySparkVersion' => ['type' => 'string', 'required' => false], + 'fusion' => ['type' => 'boolean', 'required' => false], + 'environmentId' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'localParams' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'prop' => ['type' => 'string', 'required' => false], + 'direct' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'taskType' => ['type' => 'string', 'required' => true], + 'timeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'tags' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + ], + ], ], ], - ], - ], - 'ListKyuubiSparkApplications' => [ - 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}/applications', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'nextToken', + 'name' => 'executionType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'maxResults', + 'name' => 'alertEmailAddress', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'workspaceId', - 'in' => 'path', + 'name' => 'schedule', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'string', 'required' => false], + 'endTime' => ['type' => 'string', 'required' => false], + 'crontab' => ['type' => 'string', 'required' => false], + 'timezoneId' => ['type' => 'string', 'required' => false], + ], ], ], [ - 'name' => 'kyuubiServiceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'retryTimes', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'applicationId', + 'name' => 'taskParallelism', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'applicationName', + 'name' => 'resourceQueue', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'startTime', + 'name' => 'tags', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, - 'properties' => [ - 'startTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'endTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], + 'additionalProperties' => ['type' => 'string'], ], ], [ - 'name' => 'resourceQueueId', + 'name' => 'publish', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'minDuration', + 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'orderBy', + 'name' => 'runAs', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'globalParams', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'prop' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + 'direct' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + ], ], ], ], - [ - 'name' => 'sort', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], ], ], - 'CancelKyuubiSparkApplication' => [ - 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}/application/{applicationId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'CreateRayCluster' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'kyuubiServiceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'applicationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'regionId', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'displayReleaseVersion' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'networkServiceName' => ['type' => 'string', 'required' => false], + 'headSpec' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'queueName' => ['type' => 'string', 'required' => false], + 'cpu' => ['type' => 'string', 'required' => false], + 'memory' => ['type' => 'string', 'required' => false], + 'enableAutoScaling' => ['type' => 'boolean', 'required' => false], + 'idleTimeoutSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'gpuSpec' => ['type' => 'string'], + ], + ], + 'workerSpec' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'groupName' => ['type' => 'string', 'required' => false], + 'workerType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['CPU'], + ], + 'replica' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'queueName' => ['type' => 'string', 'required' => false], + 'cpu' => ['type' => 'string', 'required' => false], + 'memory' => ['type' => 'string', 'required' => false], + 'minReplica' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'maxReplica' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'gpuSpec' => ['type' => 'string'], + ], + ], + ], + 'extraParam' => ['type' => 'string', 'required' => false], + 'volumeIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], ], ], ], ], - 'DeleteKyuubiToken' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/kyuubiService/{kyuubiServiceId}/token/{tokenId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'CreateSessionCluster' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/sessionClusters', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ - 'name' => 'workspaceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'kyuubiServiceId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'queueName' => ['type' => 'string', 'required' => false], + 'autoStartConfiguration' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'enable' => ['type' => 'boolean', 'required' => false], + ], + ], + 'autoStopConfiguration' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'enable' => ['type' => 'boolean', 'required' => false], + 'idleTimeoutMinutes' => ['type' => 'integer', 'required' => false], + ], + ], + 'applicationConfigs' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'configFileName' => ['type' => 'string', 'required' => false], + 'configItemKey' => ['type' => 'string', 'required' => false], + 'configItemValue' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'releaseVersion' => ['type' => 'string', 'required' => false], + 'name' => ['type' => 'string', 'required' => false], + 'kind' => ['type' => 'string', 'required' => false], + 'displayReleaseVersion' => ['type' => 'string', 'required' => false], + 'fusion' => ['type' => 'boolean', 'required' => false], + 'envId' => ['type' => 'string', 'required' => false], + 'publicEndpointEnabled' => ['type' => 'boolean', 'required' => false], + 'clientToken' => ['type' => 'string', 'required' => false], + ], ], ], [ - 'name' => 'tokenId', + 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateKyuubiToken' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/kyuubiService/{kyuubiServiceId}/token/{tokenId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'CreateSqlStatement' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceId}/statement', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'kyuubiServiceId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'flat', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'codeContent' => ['type' => 'string', 'required' => false], + 'defaultDatabase' => ['type' => 'string', 'required' => false], + 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'defaultCatalog' => ['type' => 'string', 'required' => false], + 'sqlComputeId' => ['type' => 'string', 'required' => false], + 'taskBizId' => ['type' => 'string'], + ], ], ], [ - 'name' => 'tokenId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'CreateWorkspace' => [ + 'path' => '/api/v1/workspaces', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'parameters' => [ [ 'name' => 'body', 'in' => 'body', @@ -1538,36 +1219,45 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'token' => [ - 'type' => 'string', - 'required' => false, - ], - 'autoExpireConfiguration' => [ + 'workspaceName' => ['type' => 'string', 'required' => false], + 'resourceSpec' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'enable' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'expireDays' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'cu' => ['type' => 'string', 'required' => false], + 'gpu' => ['type' => 'integer', 'format' => 'int32'], ], ], - 'memberArns' => [ + 'ossBucket' => ['type' => 'string', 'required' => false], + 'dlfCatalogId' => ['type' => 'string', 'required' => false], + 'paymentType' => ['type' => 'string', 'required' => false], + 'paymentDurationUnit' => ['type' => 'string', 'required' => false], + 'duration' => ['type' => 'string', 'required' => false], + 'autoRenew' => ['type' => 'string', 'required' => false], + 'autoRenewPeriod' => ['type' => 'string', 'required' => false], + 'autoRenewPeriodUnit' => ['type' => 'string', 'required' => false], + 'clientToken' => ['type' => 'string', 'required' => false], + 'ramRoleName' => ['type' => 'string', 'required' => false], + 'autoStartSessionCluster' => ['type' => 'boolean', 'required' => false], + 'releaseType' => ['type' => 'string', 'required' => false], + 'dlfType' => ['type' => 'string', 'required' => false], + 'tag' => [ 'type' => 'array', 'required' => false, 'items' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], ], + 'maxItems' => 20, + ], + 'resourceGroupId' => ['type' => 'string', 'required' => false], + 'gpuSpec' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], @@ -1575,265 +1265,174 @@ [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetKyuubiToken' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/kyuubiService/{kyuubiServiceId}/token/{tokenId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteKyuubiService' => [ + 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'kyuubiServiceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'DeleteKyuubiToken' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/kyuubiService/{kyuubiServiceId}/token/{tokenId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'kyuubiServiceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'tokenId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateKyuubiToken' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/kyuubiService/{kyuubiServiceId}/token', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteLivyCompute' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceId', + 'name' => 'workspaceBizId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'kyuubiServiceId', + 'name' => 'livyComputeId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'token' => [ - 'type' => 'string', - 'required' => false, - ], - 'autoExpireConfiguration' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'enable' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'expireDays' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - 'memberArns' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListKyuubiToken' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/kyuubiService/{kyuubiServiceId}/token', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteLivyComputeToken' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/token/{tokenId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceId', + 'name' => 'workspaceBizId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'kyuubiServiceId', + 'name' => 'livyComputeId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tokenId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListKyuubiServices' => [ - 'path' => '/api/v1/kyuubi/{workspaceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteRayCluster' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster/{clusterId}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'clusterId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateKyuubiService' => [ - 'path' => '/api/v1/kyuubi/{workspaceId}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'EditWorkspaceQueue' => [ + 'path' => '/api/v1/workspaces/queues/action/edit', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ 'name' => 'body', 'in' => 'body', 'style' => 'json', @@ -1841,965 +1440,564 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'kyuubiConfigs' => [ - 'type' => 'string', - 'required' => false, - ], - 'sparkConfigs' => [ - 'type' => 'string', - 'required' => false, - ], - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'queue' => [ - 'type' => 'string', - 'required' => false, - ], - 'computeInstance' => [ - 'type' => 'string', - 'required' => false, - ], - 'releaseVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'publicEndpointEnabled' => [ - 'type' => 'boolean', + 'workspaceId' => ['type' => 'string', 'required' => false], + 'resourceSpec' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'cu' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'maxCu' => ['type' => 'integer', 'format' => 'int64'], + 'gpu' => ['type' => 'integer', 'format' => 'int32'], + ], ], - 'replica' => [ - 'type' => 'integer', - 'format' => 'int32', + 'workspaceQueueName' => ['type' => 'string', 'required' => false], + 'environments' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], - 'kyuubiReleaseVersion' => [ - 'type' => 'string', - 'required' => false, + 'gpuSpec' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'GetKyuubiService' => [ - 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GenerateTaskCodes' => [ + 'path' => '/dolphinscheduler/projects/{bizId}/task-definition/gen-task-codes', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceId', + 'name' => 'bizId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'kyuubiServiceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'genNum', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + ], + [ + 'name' => 'productNamespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateKyuubiService' => [ - 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}', - 'methods' => [ - 'put', + 'GetAICenterState' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/aicenter', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'GetCacheCluster' => [ + 'path' => '/api/v1/cache/{cacheClusterId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'cacheClusterId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetCuHours' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/metric/cuHours/{queue}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'kyuubiServiceId', + 'name' => 'queue', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'kyuubiConfigs' => [ - 'type' => 'string', - 'required' => false, - ], - 'sparkConfigs' => [ - 'type' => 'string', - 'required' => false, - ], - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'queue' => [ - 'type' => 'string', - 'required' => false, - ], - 'releaseVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'computeInstance' => [ - 'type' => 'string', - 'required' => false, - ], - 'publicEndpointEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'replica' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'kyuubiReleaseVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'restart' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'name' => 'startTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'endTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteKyuubiService' => [ - 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'GetDoctorApplication' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/runs/{runId}/action/getDoctorApplication', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'kyuubiServiceId', + 'name' => 'runId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'queryTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'locale', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'StartKyuubiService' => [ - 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}/start', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetJobRun' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/jobRuns/{jobRunId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'kyuubiServiceId', + 'name' => 'jobRunId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'StopKyuubiService' => [ - 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}/stop', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetKyuubiService' => [ + 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'kyuubiServiceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListLivyComputeSessions' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/livycompute/{livyComputeId}/session', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetKyuubiToken' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/kyuubiService/{kyuubiServiceId}/token/{tokenId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'livyComputeId', + 'name' => 'kyuubiServiceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageNum', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'tokenId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteLivyCompute' => [ + 'GetLivyCompute' => [ 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceBizId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'livyComputeId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateLivyCompute' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetLivyComputeToken' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/token/{tokenId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceBizId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'livyVersion' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - '0.8.0', - ], - ], - 'releaseVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'queueName' => [ - 'type' => 'string', - 'required' => false, - ], - 'cpuLimit' => [ - 'type' => 'string', - 'required' => false, - ], - 'memoryLimit' => [ - 'type' => 'string', - 'required' => false, - ], - 'autoStartConfiguration' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'enable' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], - 'autoStopConfiguration' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'enable' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'idleTimeoutMinutes' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - 'authType' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'Token', - ], - ], - 'displayReleaseVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'fusion' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'environmentId' => [ - 'type' => 'string', - 'required' => false, - ], - 'networkName' => [ - 'type' => 'string', - 'required' => false, - ], - 'livyServerConf' => [ - 'type' => 'string', - 'required' => false, - ], - 'enablePublic' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'name' => 'livyComputeId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tokenId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateLivyCompute' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetRayCluster' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster/{clusterId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceBizId', + 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'livyComputeId', + 'name' => 'clusterId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'GetRayJob' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/rayJob/{submissionId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'livyVersion' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - '0.8.0', - ], - ], - 'releaseVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'queueName' => [ - 'type' => 'string', - 'required' => false, - ], - 'cpuLimit' => [ - 'type' => 'string', - 'required' => false, - ], - 'memoryLimit' => [ - 'type' => 'string', - 'required' => false, - ], - 'autoStartConfiguration' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'enable' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], - 'autoStopConfiguration' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'enable' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'idleTimeoutMinutes' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - 'authType' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'Token', - ], - ], - 'displayReleaseVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'fusion' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'environmentId' => [ - 'type' => 'string', - 'required' => false, - ], - 'networkName' => [ - 'type' => 'string', - 'required' => false, - ], - 'livyServerConf' => [ - 'type' => 'string', - 'required' => false, - ], - 'enablePublic' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'regionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'submissionId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListLivyCompute' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetRayLog' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceId}/ray/{instanceId}/log', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceBizId', + 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'environmentId', + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'bucketName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'regionId', + 'name' => 'path', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'StartLivyCompute' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/start', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetRunConfiguration' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/runs/{runId}/action/getRunConfiguration', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceBizId', + 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'livyComputeId', + 'name' => 'runId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'RefreshLivyComputeToken' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/token/{tokenId}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetSessionCluster' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/sessionClusters/{sessionClusterId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ - 'name' => 'workspaceBizId', + 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'livyComputeId', + 'name' => 'sessionClusterId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'tokenId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'token' => [ - 'type' => 'string', - 'required' => false, - ], - 'autoExpireConfiguration' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'enable' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'expireDays' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetLivyComputeToken' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/token/{tokenId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetSqlStatement' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceId}/statement/{statementId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceBizId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'livyComputeId', + 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'tokenId', + 'name' => 'statementId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateLivyComputeToken' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/token', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTemplate' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/template', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceBizId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'livyComputeId', - 'in' => 'path', + 'name' => 'templateType', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['TASK', 'SESSION'], ], ], [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'templateBizId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'GrantRoleToUsers' => [ + 'path' => '/api/v1/auth/roles/grant', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'parameters' => [ + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', @@ -2807,28 +2005,11 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'token' => [ - 'type' => 'string', - 'required' => false, - ], - 'autoExpireConfiguration' => [ - 'type' => 'object', + 'roleArn' => ['type' => 'string', 'required' => false], + 'userArns' => [ + 'type' => 'array', 'required' => false, - 'properties' => [ - 'enable' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'expireDays' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], @@ -2836,1292 +2017,980 @@ [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteLivyComputeToken' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/token/{tokenId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListCatalogs' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/catalogs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ - 'name' => 'workspaceBizId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'livyComputeId', + 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'tokenId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'environment', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'StopLivyCompute' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/stop', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListExecutorLogs' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/jobRuns/{jobRunId}/executors/{executorId}/logs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceBizId', + 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'livyComputeId', + 'name' => 'jobRunId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'executorId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'logType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListLivyComputeToken' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/token', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListJobExecutors' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/jobRuns/{jobRunId}/executors', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceBizId', + 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'livyComputeId', + 'name' => 'jobRunId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'executorType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetLivyCompute' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListJobRuns' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/jobRuns', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ - 'name' => 'workspaceBizId', + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'workspaceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'creator', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'jobRunId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tags', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], ], ], [ - 'name' => 'livyComputeId', - 'in' => 'path', + 'name' => 'states', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'regionId', + 'name' => 'startTime', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'endTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + ], + [ + 'name' => 'endTime', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'endTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], + [ + 'name' => 'resourceQueueId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'jobRunDeploymentId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'minDuration', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'isWorkflow', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'runtimeConfigs', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'applicationConfigs', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'GetTemplate' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/template', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListKyuubiServices' => [ + 'path' => '/api/v1/kyuubi/{workspaceId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'ListKyuubiSparkApplications' => [ + 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}/applications', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceBizId', + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'templateType', + 'name' => 'kyuubiServiceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'applicationId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'applicationName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'startTime', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, - 'enum' => [ - 'TASK', - 'SESSION', + 'properties' => [ + 'startTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'endTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], [ - 'name' => 'regionId', + 'name' => 'resourceQueueId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'minDuration', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'orderBy', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'templateBizId', + 'name' => 'sort', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'endTime', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'object', + 'properties' => [ + 'startTime' => ['type' => 'integer', 'format' => 'int64'], + 'endTime' => ['type' => 'integer', 'format' => 'int64'], + ], ], ], + [ + 'name' => 'states', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'latestSqlStatementStatuses', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], ], ], - 'TerminateSqlStatement' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceId}/statement/{statementId}/terminate', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListKyuubiToken' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/kyuubiService/{kyuubiServiceId}/token', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'statementId', + 'name' => 'kyuubiServiceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateSqlStatement' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceId}/statement', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListLivyCompute' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceId', + 'name' => 'workspaceBizId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'flat', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'codeContent' => [ - 'type' => 'string', - 'required' => false, - ], - 'defaultDatabase' => [ - 'type' => 'string', - 'required' => false, - ], - 'limit' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'defaultCatalog' => [ - 'type' => 'string', - 'required' => false, - ], - 'sqlComputeId' => [ - 'type' => 'string', - 'required' => false, - ], - 'taskBizId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'environmentId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetSqlStatement' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceId}/statement/{statementId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListLivyComputeSessions' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/livycompute/{livyComputeId}/session', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'statementId', + 'name' => 'livyComputeId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pageNum', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListSqlStatementContents' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/action/listSqlStatementContents', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListLivyComputeToken' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/token', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'fileName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'workspaceId', + 'name' => 'workspaceBizId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'livyComputeId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'maxResults', + 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateWorkspace' => [ - 'path' => '/api/v1/workspaces', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListLogContents' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/action/listLogContents', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'workspaceName' => [ - 'type' => 'string', - 'required' => false, - ], - 'resourceSpec' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'cu' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'ossBucket' => [ - 'type' => 'string', - 'required' => false, - ], - 'dlfCatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'paymentType' => [ - 'type' => 'string', - 'required' => false, - ], - 'paymentDurationUnit' => [ - 'type' => 'string', - 'required' => false, - ], - 'duration' => [ - 'type' => 'string', - 'required' => false, - ], - 'autoRenew' => [ - 'type' => 'string', - 'required' => false, - ], - 'autoRenewPeriod' => [ - 'type' => 'string', - 'required' => false, - ], - 'autoRenewPeriodUnit' => [ - 'type' => 'string', - 'required' => false, - ], - 'clientToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'ramRoleName' => [ - 'type' => 'string', - 'required' => false, - ], - 'autoStartSessionCluster' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'releaseType' => [ - 'type' => 'string', - 'required' => false, - ], - 'dlfType' => [ - 'type' => 'string', - 'required' => false, - ], - 'tag' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'maxItems' => 20, - ], - ], - ], + 'name' => 'fileName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'offset', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'length', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListWorkspaces' => [ - 'path' => '/api/v1/workspaces', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListMembers' => [ + 'path' => '/api/v1/auth/{workspaceId}/members', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'state', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'tag', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListWorkspaceQueues' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/queues', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListNetworkServices' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/networkServices', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'environment', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'EditWorkspaceQueue' => [ - 'path' => '/api/v1/workspaces/queues/action/edit', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRayCluster' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'workspaceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'resourceSpec' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'cu' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'maxCu' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - 'workspaceQueueName' => [ - 'type' => 'string', - 'required' => false, - ], - 'environments' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'regionId', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageNum', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'ListReleaseVersions' => [ - 'path' => '/api/v1/releaseVersions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRayJob' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/rayJob', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'serviceFilter', + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'releaseVersion', + 'name' => 'pageNum', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'releaseVersionStatus', + 'name' => 'submissionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'releaseType', + 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'workspaceId', + 'name' => 'submitTime', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'endTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], [ - 'name' => 'regionId', + 'name' => 'taskBizId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListJobExecutors' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/jobRuns/{jobRunId}/executors', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRayLogs' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceId}/ray/{instanceId}/logs', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'jobRunId', + 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'nextToken', + 'name' => 'bucketName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'maxResults', + 'name' => 'prefix', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'status', + 'name' => 'marker', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'executorType', + 'name' => 'delimiter', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'regionId', + 'name' => 'maxKeys', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'ListLogContents' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/action/listLogContents', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListReleaseVersions' => [ + 'path' => '/api/v1/releaseVersions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ - 'name' => 'fileName', + 'name' => 'serviceFilter', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'offset', + 'name' => 'releaseVersion', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'length', + 'name' => 'releaseVersionStatus', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'releaseType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'workspaceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetCuHours' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/metric/cuHours/{queue}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListSessionClusters' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/sessionClusters', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'queue', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'sessionClusterId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'startTime', + 'name' => 'queueName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'endTime', + 'name' => 'kind', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetDoctorApplication' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/runs/{runId}/action/getDoctorApplication', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListSqlStatementContents' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/action/listSqlStatementContents', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'fileName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'runId', + 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'queryTime', + 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'locale', + 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], + 'ListTemplate' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/template/listing', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceBizId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CancelJobRun' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/jobRuns/{jobRunId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListWorkspaceQueues' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/queues', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'jobRunId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'environment', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListJobRuns' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/jobRuns', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListWorkspaces' => [ + 'path' => '/api/v1/workspaces', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'workspaceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'creator', + 'name' => 'state', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'jobRunId', + 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'tags', + 'name' => 'tag', 'in' => 'query', 'style' => 'json', 'schema' => [ @@ -4131,193 +3000,111 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], ], ], ], ], [ - 'name' => 'states', + 'name' => 'resourceGroupId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'string'], ], + ], + ], + 'RefreshLivyComputeToken' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/token/{tokenId}', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'startTime', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'startTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'endTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'endTime', - 'in' => 'query', + 'name' => 'workspaceBizId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'livyComputeId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tokenId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'startTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'endTime' => [ - 'type' => 'integer', - 'format' => 'int64', + 'name' => ['type' => 'string', 'required' => false], + 'token' => ['type' => 'string', 'required' => false], + 'autoExpireConfiguration' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'enable' => ['type' => 'boolean', 'required' => false], + 'expireDays' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], ], ], ], [ - 'name' => 'resourceQueueId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'jobRunDeploymentId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'minDuration', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'isWorkflow', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'runtimeConfigs', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'applicationConfigs', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetJobRun' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/jobRuns/{jobRunId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StartCacheCluster' => [ + 'path' => '/api/v1/cache/{cacheClusterId}/start', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceId', + 'name' => 'cacheClusterId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'jobRunId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'StartJobRun' => [ 'path' => '/api/v1/workspaces/{workspaceId}/jobRuns', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ 'name' => 'body', @@ -4327,31 +3114,12 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'releaseVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'jobId' => [ - 'type' => 'string', - 'required' => false, - ], - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'resourceQueueId' => [ - 'type' => 'string', - 'required' => false, - ], - 'codeType' => [ - 'type' => 'string', - 'required' => false, - ], - 'executionTimeoutSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'releaseVersion' => ['type' => 'string', 'required' => false], + 'jobId' => ['type' => 'string', 'required' => false], + 'name' => ['type' => 'string', 'required' => false], + 'resourceQueueId' => ['type' => 'string', 'required' => false], + 'codeType' => ['type' => 'string', 'required' => false], + 'executionTimeoutSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'configurationOverrides' => [ 'type' => 'object', 'required' => false, @@ -4363,18 +3131,9 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'configFileName' => [ - 'type' => 'string', - 'required' => false, - ], - 'configItemKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'configItemValue' => [ - 'type' => 'string', - 'required' => false, - ], + 'configFileName' => ['type' => 'string', 'required' => false], + 'configItemKey' => ['type' => 'string', 'required' => false], + 'configItemValue' => ['type' => 'string', 'required' => false], ], ], ], @@ -4383,98 +3142,86 @@ 'tags' => [ 'type' => 'array', 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/Tag', - 'required' => false, - ], - ], - 'clientToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'jobDriver' => [ - '$ref' => '#/components/schemas/JobDriver', - 'required' => false, - ], - 'displayReleaseVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'fusion' => [ - 'type' => 'boolean', - 'required' => false, + 'items' => ['$ref' => '#/components/schemas/Tag', 'required' => false], ], + 'clientToken' => ['type' => 'string', 'required' => false], + 'jobDriver' => ['$ref' => '#/components/schemas/JobDriver', 'required' => false], + 'displayReleaseVersion' => ['type' => 'string', 'required' => false], + 'fusion' => ['type' => 'boolean', 'required' => false], ], ], ], [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetRunConfiguration' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/runs/{runId}/action/getRunConfiguration', - 'methods' => [ - 'get', + 'StartKyuubiService' => [ + 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}/start', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'kyuubiServiceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'StartLivyCompute' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/start', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceId', + 'name' => 'workspaceBizId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'runId', + 'name' => 'livyComputeId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'StartProcessInstance' => [ 'path' => '/dolphinscheduler/projects/{bizId}/executors/start-process-instance', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4485,1017 +3232,310 @@ [ 'name' => 'productNamespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'bizId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'processDefinitionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'versionNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'isProd', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'runtimeQueue', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'versionHashCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'interval', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'action', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'comments', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'email', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateProcessDefinitionWithSchedule' => [ - 'path' => '/dolphinscheduler/projects/{bizId}/process-definition/{code}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StartRayCluster' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster/{clusterId}/start', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'productNamespace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'bizId', + 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'code', + 'name' => 'clusterId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'description', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'timeout', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'taskDefinitionJson', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'code' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'alertEmailAddress' => [ - 'type' => 'string', - 'required' => false, - ], - 'startAlertEnable' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'failAlertEnable' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'failRetryTimes' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'taskParams' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'workspaceBizId' => [ - 'type' => 'string', - 'required' => true, - ], - 'taskBizId' => [ - 'type' => 'string', - 'required' => true, - ], - 'resourceQueueId' => [ - 'type' => 'string', - 'required' => true, - ], - 'sparkDriverCores' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'sparkExecutorCores' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'sparkDriverMemory' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'sparkExecutorMemory' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'sparkConf' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'sparkVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'sparkLogLevel' => [ - 'type' => 'string', - 'required' => false, - ], - 'sparkLogPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'displaySparkVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'fusion' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'environmentId' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'localParams' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'prop' => [ - 'type' => 'string', - 'required' => false, - ], - 'direct' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'taskType' => [ - 'type' => 'string', - 'required' => true, - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'tags' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - [ - 'name' => 'taskRelationJson', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'preTaskCode' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'preTaskVersion' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - 'postTaskCode' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'postTaskVersion' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - ], - ], - ], - ], - [ - 'name' => 'executionType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'alertEmailAddress', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'schedule', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => false, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => false, - ], - 'crontab' => [ - 'type' => 'string', - 'required' => false, - ], - 'timezoneId' => [ - 'type' => 'string', - 'required' => false, - ], + 'clientToken' => ['type' => 'string', 'required' => false], ], ], ], + ], + ], + 'StartSessionCluster' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/sessionClusters/action/startSessionCluster', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'retryTimes', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'taskParallelism', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'parameters' => [ [ - 'name' => 'tags', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', + 'properties' => [ + 'queueName' => ['type' => 'string', 'required' => false], + 'sessionClusterId' => ['type' => 'string', 'required' => false], ], ], ], [ - 'name' => 'resourceQueue', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'releaseState', + 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'StopCacheCluster' => [ + 'path' => '/api/v1/cache/{cacheClusterId}/stop', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'runAs', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'publish', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'name' => 'cacheClusterId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'globalParams', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'prop' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - 'direct' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateProcessDefinitionWithSchedule' => [ - 'path' => '/dolphinscheduler/projects/{bizId}/process-definition', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StopKyuubiService' => [ + 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}/stop', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'productNamespace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'bizId', + 'name' => 'kyuubiServiceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'StopLivyCompute' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}/stop', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'description', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'workspaceBizId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'timeout', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'livyComputeId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'taskRelationJson', + 'name' => 'regionId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'preTaskCode' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'preTaskVersion' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - 'postTaskCode' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'postTaskVersion' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'StopRayCluster' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster/{clusterId}/stop', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'taskDefinitionJson', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'code' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'alertEmailAddress' => [ - 'type' => 'string', - 'required' => false, - ], - 'startAlertEnable' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'failAlertEnable' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'failRetryTimes' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'taskParams' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'workspaceBizId' => [ - 'type' => 'string', - 'required' => true, - ], - 'taskBizId' => [ - 'type' => 'string', - 'required' => true, - ], - 'resourceQueueId' => [ - 'type' => 'string', - 'required' => true, - ], - 'sparkDriverCores' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'sparkExecutorCores' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'sparkDriverMemory' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'sparkExecutorMemory' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'sparkConf' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'sparkVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'sparkLogLevel' => [ - 'type' => 'string', - 'required' => false, - ], - 'sparkLogPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'displaySparkVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'fusion' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'environmentId' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'localParams' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'prop' => [ - 'type' => 'string', - 'required' => false, - ], - 'direct' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'taskType' => [ - 'type' => 'string', - 'required' => true, - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'tags' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - ], - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'executionType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'alertEmailAddress', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'clusterId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'schedule', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => false, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => false, - ], - 'crontab' => [ - 'type' => 'string', - 'required' => false, - ], - 'timezoneId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - [ - 'name' => 'retryTimes', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'taskParallelism', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'resourceQueue', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'tags', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - [ - 'name' => 'publish', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'regionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'runAs', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'globalParams', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'prop' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - 'direct' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'instanceId' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'GenerateTaskCodes' => [ - 'path' => '/dolphinscheduler/projects/{bizId}/task-definition/gen-task-codes', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StopSessionCluster' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/sessionClusters/action/stopSessionCluster', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ - 'name' => 'bizId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'genNum', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'queueName' => ['type' => 'string', 'required' => false], + 'sessionClusterId' => ['type' => 'string', 'required' => false], + ], ], ], [ - 'name' => 'productNamespace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateRayCluster' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster/{clusterId}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'SubmitRayJob' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/rayJob', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'clusterId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -5505,47 +3545,48 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'displayReleaseVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', + 'entrypoint' => ['type' => 'string', 'required' => false], + 'name' => ['type' => 'string', 'required' => false], + 'displayReleaseVersion' => ['type' => 'string', 'required' => false], + 'tags' => [ + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], ], - 'networkServiceName' => [ - 'type' => 'string', + 'networkServiceName' => ['type' => 'string', 'required' => false], + 'runtimeEnvJson' => ['type' => 'string', 'required' => false], + 'workingDir' => ['type' => 'string', 'required' => false], + 'metadataJson' => ['type' => 'string', 'required' => false], + 'submissionMode' => ['type' => 'string', 'required' => false], + 'entrypointNumCpus' => ['type' => 'string', 'required' => false], + 'entrypointNumGpus' => ['type' => 'string', 'required' => false], + 'entrypointMemory' => ['type' => 'string', 'required' => false], + 'entrypointResources' => ['type' => 'string', 'required' => false], + 'shutdownAfterJobFinishes' => ['type' => 'boolean', 'required' => false], + 'ttlSecondsAfterFinished' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'activeDeadlineSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'volumeIds' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], 'headSpec' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'queueName' => [ - 'type' => 'string', - 'required' => false, - ], - 'cpu' => [ - 'type' => 'string', - 'required' => false, - ], - 'memory' => [ - 'type' => 'string', - 'required' => false, - ], - 'enableAutoScaling' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'idleTimeoutSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'queueName' => ['type' => 'string', 'required' => false], + 'cpu' => ['type' => 'string', 'required' => false], + 'memory' => ['type' => 'string', 'required' => false], + 'enableAutoScaling' => ['type' => 'boolean', 'required' => false], + 'idleTimeoutSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'gpuSpec' => ['type' => 'string', 'required' => false], ], ], 'workerSpec' => [ @@ -5555,180 +3596,131 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'groupName' => [ - 'type' => 'string', - 'required' => false, - ], + 'groupName' => ['type' => 'string', 'required' => false], 'workerType' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'CPU', - ], - ], - 'replica' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'queueName' => [ - 'type' => 'string', - 'required' => false, - ], - 'cpu' => [ - 'type' => 'string', - 'required' => false, - ], - 'memory' => [ - 'type' => 'string', - 'required' => false, - ], - 'minReplica' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'maxReplica' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, + 'enum' => ['CPU'], ], + 'replica' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'queueName' => ['type' => 'string', 'required' => false], + 'cpu' => ['type' => 'string', 'required' => false], + 'memory' => ['type' => 'string', 'required' => false], + 'minReplica' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'maxReplica' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'gpuSpec' => ['type' => 'string', 'required' => false], ], ], ], - 'extraParam' => [ - 'type' => 'string', - 'required' => false, - ], + 'extraParam' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'GetRayCluster' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster/{clusterId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'TerminateSqlStatement' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceId}/statement/{statementId}/terminate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'clusterId', + 'name' => 'statementId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListRayCluster' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateKyuubiService' => [ + 'path' => '/api/v1/kyuubi/{workspaceId}/{kyuubiServiceId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'kyuubiServiceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageNum', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'kyuubiConfigs' => ['type' => 'string', 'required' => false], + 'sparkConfigs' => ['type' => 'string', 'required' => false], + 'name' => ['type' => 'string', 'required' => false], + 'queue' => ['type' => 'string', 'required' => false], + 'releaseVersion' => ['type' => 'string', 'required' => false], + 'computeInstance' => ['type' => 'string', 'required' => false], + 'publicEndpointEnabled' => ['type' => 'boolean', 'required' => false], + 'replica' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'kyuubiReleaseVersion' => ['type' => 'string', 'required' => false], + 'restart' => ['type' => 'boolean', 'required' => false], + ], ], ], ], ], - 'StopRayCluster' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster/{clusterId}/stop', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateKyuubiToken' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/kyuubiService/{kyuubiServiceId}/token/{tokenId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'clusterId', + 'name' => 'kyuubiServiceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tokenId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -5738,51 +3730,57 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'instanceId' => [ - 'type' => 'string', + 'name' => ['type' => 'string', 'required' => false], + 'token' => ['type' => 'string', 'required' => false], + 'autoExpireConfiguration' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'enable' => ['type' => 'boolean', 'required' => false], + 'expireDays' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + 'memberArns' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'sparkRole' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'StartRayCluster' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster/{clusterId}/start', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateLivyCompute' => [ + 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/livycompute/{livyComputeId}', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceId', + 'name' => 'workspaceBizId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'clusterId', + 'name' => 'livyComputeId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -5792,82 +3790,301 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'clientToken' => [ + 'name' => ['type' => 'string', 'required' => false], + 'livyVersion' => [ 'type' => 'string', 'required' => false, + 'enum' => ['0.8.0'], ], + 'releaseVersion' => ['type' => 'string', 'required' => false], + 'queueName' => ['type' => 'string', 'required' => false], + 'cpuLimit' => ['type' => 'string', 'required' => false], + 'memoryLimit' => ['type' => 'string', 'required' => false], + 'autoStartConfiguration' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'enable' => ['type' => 'boolean', 'required' => false], + ], + ], + 'autoStopConfiguration' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'enable' => ['type' => 'boolean', 'required' => false], + 'idleTimeoutMinutes' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + 'authType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['Token'], + ], + 'displayReleaseVersion' => ['type' => 'string', 'required' => false], + 'fusion' => ['type' => 'boolean', 'required' => false], + 'environmentId' => ['type' => 'string', 'required' => false], + 'networkName' => ['type' => 'string', 'required' => false], + 'livyServerConf' => ['type' => 'string', 'required' => false], + 'enablePublic' => ['type' => 'boolean', 'required' => false], ], ], ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'DeleteRayCluster' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster/{clusterId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'UpdateProcessDefinitionWithSchedule' => [ + 'path' => '/dolphinscheduler/projects/{bizId}/process-definition/{code}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceId', + 'name' => 'productNamespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'bizId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'code', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'description', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'timeout', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'taskDefinitionJson', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'code' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'alertEmailAddress' => ['type' => 'string', 'required' => false], + 'startAlertEnable' => ['type' => 'boolean', 'required' => false], + 'failAlertEnable' => ['type' => 'boolean', 'required' => false], + 'failRetryTimes' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'name' => ['type' => 'string', 'required' => true], + 'taskParams' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'workspaceBizId' => ['type' => 'string', 'required' => true], + 'taskBizId' => ['type' => 'string', 'required' => true], + 'resourceQueueId' => ['type' => 'string', 'required' => true], + 'sparkDriverCores' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'sparkExecutorCores' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'sparkDriverMemory' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'sparkExecutorMemory' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'sparkConf' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'sparkVersion' => ['type' => 'string', 'required' => false], + 'sparkLogLevel' => ['type' => 'string', 'required' => false], + 'sparkLogPath' => ['type' => 'string', 'required' => false], + 'displaySparkVersion' => ['type' => 'string', 'required' => false], + 'fusion' => ['type' => 'boolean', 'required' => false], + 'environmentId' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'localParams' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'prop' => ['type' => 'string', 'required' => false], + 'direct' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'taskType' => ['type' => 'string', 'required' => true], + 'timeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'tags' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + ], + ], + ], + ], + [ + 'name' => 'taskRelationJson', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'preTaskCode' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'preTaskVersion' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'postTaskCode' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'postTaskVersion' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + ], + ], + ], + ], + [ + 'name' => 'executionType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'alertEmailAddress', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'schedule', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'string', 'required' => false], + 'endTime' => ['type' => 'string', 'required' => false], + 'crontab' => ['type' => 'string', 'required' => false], + 'timezoneId' => ['type' => 'string', 'required' => false], + ], ], ], [ - 'name' => 'clusterId', - 'in' => 'path', + 'name' => 'retryTimes', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'taskParallelism', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'tags', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + ], + [ + 'name' => 'resourceQueue', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'releaseState', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'runAs', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'publish', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'globalParams', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'prop' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + 'direct' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + ], + ], ], ], ], ], - 'CreateRayCluster' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateRayCluster' => [ + 'path' => '/api/v1/workspaces/{workspaceId}/rayCluster/{clusterId}', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'clusterId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -5877,47 +4094,20 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'displayReleaseVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'networkServiceName' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => ['type' => 'string', 'required' => false], + 'displayReleaseVersion' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'networkServiceName' => ['type' => 'string', 'required' => false], 'headSpec' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'queueName' => [ - 'type' => 'string', - 'required' => false, - ], - 'cpu' => [ - 'type' => 'string', - 'required' => false, - ], - 'memory' => [ - 'type' => 'string', - 'required' => false, - ], - 'enableAutoScaling' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'idleTimeoutSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'queueName' => ['type' => 'string', 'required' => false], + 'cpu' => ['type' => 'string', 'required' => false], + 'memory' => ['type' => 'string', 'required' => false], + 'enableAutoScaling' => ['type' => 'boolean', 'required' => false], + 'idleTimeoutSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'gpuSpec' => ['type' => 'string'], ], ], 'workerSpec' => [ @@ -5927,203 +4117,110 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'groupName' => [ - 'type' => 'string', - 'required' => false, - ], + 'groupName' => ['type' => 'string', 'required' => false], 'workerType' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'CPU', - ], - ], - 'replica' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'queueName' => [ - 'type' => 'string', - 'required' => false, - ], - 'cpu' => [ - 'type' => 'string', - 'required' => false, - ], - 'memory' => [ - 'type' => 'string', - 'required' => false, - ], - 'minReplica' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'maxReplica' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, + 'enum' => ['CPU'], ], + 'replica' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'queueName' => ['type' => 'string', 'required' => false], + 'cpu' => ['type' => 'string', 'required' => false], + 'memory' => ['type' => 'string', 'required' => false], + 'minReplica' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'maxReplica' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'gpuSpec' => ['type' => 'string'], ], ], ], - 'extraParam' => [ - 'type' => 'string', - 'required' => false, + 'extraParam' => ['type' => 'string', 'required' => false], + 'volumeIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], ], ], ], - 'ListCatalogs' => [ - 'path' => '/api/v1/workspaces/{workspaceId}/catalogs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'parameters' => [ - [ - 'name' => 'workspaceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'environment', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'regionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'ListTemplate' => [ - 'path' => '/api/interactive/v1/workspace/{workspaceBizId}/template/listing', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateWorkspace' => [ + 'path' => '/api/v1/workspaces/update', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceBizId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'workspaceId' => ['type' => 'string', 'required' => false], + 'workspaceName' => ['type' => 'string', 'required' => false], + 'cu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'subscription' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'queue' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'paymentDurationUnit' => ['type' => 'string', 'required' => false], + 'duration' => ['type' => 'string', 'required' => false], + 'autoRenew' => ['type' => 'string', 'required' => false], + 'autoRenewPeriod' => ['type' => 'string', 'required' => false], + 'autoRenewPeriodUnit' => ['type' => 'string', 'required' => false], + 'clientToken' => ['type' => 'string', 'required' => false], + ], + ], + 'resourceGroupId' => ['type' => 'string', 'required' => false], + 'gpu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'gpuSpec' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'ipWhiteList' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], ], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'emr-serverless-spark.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'emr-serverless-spark.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'emr-serverless-spark.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'emr-serverless-spark.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'emr-serverless-spark.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'emr-serverless-spark.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'emr-serverless-spark.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'emr-serverless-spark.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'emr-serverless-spark.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'emr-serverless-spark.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'emr-serverless-spark.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'emr-serverless-spark.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'emr-serverless-spark.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'emr-serverless-spark.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'na-south-1', - 'endpoint' => 'emr-serverless-spark.na-south-1.aliyuncs.com', - ], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr-serverless-spark.cn-beijing.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.cn-beijing.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr-serverless-spark.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr-serverless-spark.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.cn-wulanchabu.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr-serverless-spark.cn-hangzhou.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.cn-hangzhou.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr-serverless-spark.cn-shanghai.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.cn-shanghai.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr-serverless-spark.cn-shenzhen.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.cn-shenzhen.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr-serverless-spark.cn-chengdu.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.cn-chengdu.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr-serverless-spark.cn-hongkong.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.cn-hongkong.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr-serverless-spark.ap-northeast-1.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.ap-northeast-1.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr-serverless-spark.ap-southeast-1.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.ap-southeast-1.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr-serverless-spark.ap-southeast-5.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.ap-southeast-5.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'na-south-1', 'regionName' => '墨西哥', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'emr-serverless-spark.na-south-1.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.na-south-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'emr-serverless-spark.eu-central-1.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.eu-central-1.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'emr-serverless-spark.us-west-1.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.us-west-1.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'emr-serverless-spark.us-east-1.aliyuncs.com', 'endpoint' => 'emr-serverless-spark.us-east-1.aliyuncs.com', 'vpc' => 'emr-serverless-spark-vpc.us-east-1.aliyuncs.com'], ], ]; |
