diff options
Diffstat (limited to 'data/paiautoml')
| -rw-r--r-- | data/paiautoml/2022-08-28/api-docs.php | 1389 |
1 files changed, 399 insertions, 990 deletions
diff --git a/data/paiautoml/2022-08-28/api-docs.php b/data/paiautoml/2022-08-28/api-docs.php index 04c30ef..42bd884 100644 --- a/data/paiautoml/2022-08-28/api-docs.php +++ b/data/paiautoml/2022-08-28/api-docs.php @@ -1,10 +1,6 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'paiAutoML', - 'version' => '2022-08-28', - ], + 'info' => ['style' => 'ROA', 'product' => 'paiAutoML', 'version' => '2022-08-28'], 'components' => [ 'schemas' => [ 'AutofeExperimentConfiguration' => [ @@ -14,132 +10,52 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'oss_bucket' => [ - 'type' => 'string', - 'required' => true, - ], - 'oss_access_id' => [ - 'type' => 'string', - 'required' => false, - ], - 'oss_access_key' => [ - 'type' => 'string', - 'required' => false, - ], - 'oss_role_arn' => [ - 'type' => 'string', - 'required' => false, - ], - 'oss_endpoint' => [ - 'type' => 'string', - 'required' => true, - ], + 'oss_bucket' => ['type' => 'string', 'required' => true], + 'oss_access_id' => ['type' => 'string', 'required' => false], + 'oss_access_key' => ['type' => 'string', 'required' => false], + 'oss_role_arn' => ['type' => 'string', 'required' => false], + 'oss_endpoint' => ['type' => 'string', 'required' => true], ], ], 'odps_config' => [ 'type' => 'object', 'required' => true, 'properties' => [ - 'odps_region_id' => [ - 'type' => 'string', - 'required' => true, - ], - 'odps_project_name' => [ - 'type' => 'string', - 'required' => true, - ], - 'odps_endpoint' => [ - 'type' => 'string', - 'required' => true, - ], - 'odps_access_id' => [ - 'type' => 'string', - ], - 'odps_access_key' => [ - 'type' => 'string', - ], - 'odps_role_arn' => [ - 'type' => 'string', - ], + 'odps_region_id' => ['type' => 'string', 'required' => true], + 'odps_project_name' => ['type' => 'string', 'required' => true], + 'odps_endpoint' => ['type' => 'string', 'required' => true], + 'odps_access_id' => ['type' => 'string'], + 'odps_access_key' => ['type' => 'string'], + 'odps_role_arn' => ['type' => 'string'], ], ], 'yml_config' => [ 'type' => 'object', 'required' => true, 'properties' => [ - 'workspace_name' => [ - 'type' => 'string', - 'required' => true, - ], - 'output_config_oss_dir' => [ - 'type' => 'string', - 'required' => true, - ], - 'label' => [ - 'type' => 'string', - 'required' => true, - ], - 'data_source' => [ - 'type' => 'string', - 'required' => true, - ], - 'data_type' => [ - 'type' => 'string', - ], - 'aggregate_only' => [ - 'type' => 'string', - ], - 'reuse_results' => [ - 'type' => 'string', - ], - 'workers' => [ - 'type' => 'string', - ], - 'memory' => [ - 'type' => 'string', - ], - 'cpu' => [ - 'type' => 'string', - ], - 'debug_mode' => [ - 'type' => 'string', - ], - 'action' => [ - 'type' => 'string', - ], - 'sample_size' => [ - 'type' => 'string', - ], - 'analyze_exp_id' => [ - 'type' => 'string', - ], - 'data_partition' => [ - 'type' => 'string', - ], - 'exclude_columns' => [ - 'type' => 'string', - ], - 'feature_selection' => [ - 'type' => 'string', - ], - 'selection_exp_id' => [ - 'type' => 'string', - ], - 'pipeline_exp_id' => [ - 'type' => 'string', - ], - 'sample_ratio' => [ - 'type' => 'string', - ], - 'filter_thresh' => [ - 'type' => 'string', - ], - 'skip_select' => [ - 'type' => 'string', - ], - 'iv_thresh' => [ - 'type' => 'string', - ], + 'workspace_name' => ['type' => 'string', 'required' => true], + 'output_config_oss_dir' => ['type' => 'string', 'required' => true], + 'label' => ['type' => 'string', 'required' => true], + 'data_source' => ['type' => 'string', 'required' => true], + 'data_type' => ['type' => 'string'], + 'aggregate_only' => ['type' => 'string'], + 'reuse_results' => ['type' => 'string'], + 'workers' => ['type' => 'string'], + 'memory' => ['type' => 'string'], + 'cpu' => ['type' => 'string'], + 'debug_mode' => ['type' => 'string'], + 'action' => ['type' => 'string'], + 'sample_size' => ['type' => 'string'], + 'analyze_exp_id' => ['type' => 'string'], + 'data_partition' => ['type' => 'string'], + 'exclude_columns' => ['type' => 'string'], + 'feature_selection' => ['type' => 'string'], + 'selection_exp_id' => ['type' => 'string'], + 'pipeline_exp_id' => ['type' => 'string'], + 'sample_ratio' => ['type' => 'string'], + 'filter_thresh' => ['type' => 'string'], + 'skip_select' => ['type' => 'string'], + 'iv_thresh' => ['type' => 'string'], ], ], ], @@ -152,9 +68,7 @@ 'properties' => [ 'params_src_dst_filepath' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -162,274 +76,145 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => ['type' => 'string', 'required' => true], 'cmd' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => true, - ], - ], - 'resume' => [ - 'type' => 'string', + 'items' => ['type' => 'string', 'required' => true], ], + 'resume' => ['type' => 'string'], ], ], 'metric_config' => [ 'type' => 'object', 'required' => true, 'properties' => [ - 'metric_type' => [ - 'type' => 'string', - 'required' => true, - ], + 'metric_type' => ['type' => 'string', 'required' => true], 'metric_source' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - ], - ], - 'final_mode' => [ - 'type' => 'string', - 'required' => true, - ], - 'metric_dict' => [ - 'type' => 'object', - 'required' => true, - ], - 'source_list_final_mode' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'final_mode' => ['type' => 'string', 'required' => true], + 'metric_dict' => ['type' => 'object', 'required' => true], + 'source_list_final_mode' => ['type' => 'string'], ], ], 'oss_config' => [ 'type' => 'object', 'properties' => [ - 'endpoint' => [ - 'type' => 'string', - ], - 'accessKeyID' => [ - 'type' => 'string', - ], - 'accessKeySecret' => [ - 'type' => 'string', - ], - 'role_arn' => [ - 'type' => 'string', - ], + 'endpoint' => ['type' => 'string'], + 'accessKeyID' => ['type' => 'string'], + 'accessKeySecret' => ['type' => 'string'], + 'role_arn' => ['type' => 'string'], ], ], 'odps_config' => [ 'type' => 'object', 'properties' => [ - 'access_id' => [ - 'type' => 'string', - ], - 'access_key' => [ - 'type' => 'string', - ], - 'project_name' => [ - 'type' => 'string', - ], - 'end_point' => [ - 'type' => 'string', - ], - 'log_view_host' => [ - 'type' => 'string', - ], - 'region' => [ - 'type' => 'string', - ], - 'role_arn' => [ - 'type' => 'string', - ], + 'access_id' => ['type' => 'string'], + 'access_key' => ['type' => 'string'], + 'project_name' => ['type' => 'string'], + 'end_point' => ['type' => 'string'], + 'log_view_host' => ['type' => 'string'], + 'region' => ['type' => 'string'], + 'role_arn' => ['type' => 'string'], ], ], 'ts_config' => [ 'type' => 'object', 'properties' => [ - 'access_key_id' => [ - 'type' => 'string', - ], - 'access_key_secret' => [ - 'type' => 'string', - ], - 'region_id' => [ - 'type' => 'string', - ], - 'endpoint' => [ - 'type' => 'string', - ], + 'access_key_id' => ['type' => 'string'], + 'access_key_secret' => ['type' => 'string'], + 'region_id' => ['type' => 'string'], + 'endpoint' => ['type' => 'string'], ], ], 'paiflow_config' => [ 'type' => 'object', 'properties' => [ - 'access_key_id' => [ - 'type' => 'string', - ], - 'access_key_secret' => [ - 'type' => 'string', - ], - 'region_id' => [ - 'type' => 'string', - ], - 'workspace_id' => [ - 'type' => 'string', - ], + 'access_key_id' => ['type' => 'string'], + 'access_key_secret' => ['type' => 'string'], + 'region_id' => ['type' => 'string'], + 'workspace_id' => ['type' => 'string'], ], ], 'yml_config' => [ 'type' => 'object', 'properties' => [ - 'trial_concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'max_trial_number' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'experiment_name' => [ - 'type' => 'string', - ], + 'trial_concurrency' => ['type' => 'integer', 'format' => 'int32'], + 'max_trial_number' => ['type' => 'integer', 'format' => 'int32'], + 'experiment_name' => ['type' => 'string'], 'tuner' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'class_args' => [ - 'type' => 'object', - ], + 'name' => ['type' => 'string'], + 'class_args' => ['type' => 'object'], ], ], - 'debug' => [ - 'type' => 'boolean', - ], - 'log_level' => [ - 'type' => 'string', - ], + 'debug' => ['type' => 'boolean'], + 'log_level' => ['type' => 'string'], 'assessor' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], 'class_args' => [ 'type' => 'object', 'properties' => [ - 'proportion' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'start_step' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'moving_avg' => [ - 'type' => 'string', - ], - 'optimize_mode' => [ - 'type' => 'string', - ], - 'earlystop' => [ - 'type' => 'boolean', - ], + 'proportion' => ['type' => 'number', 'format' => 'float'], + 'start_step' => ['type' => 'integer', 'format' => 'int32'], + 'moving_avg' => ['type' => 'string'], + 'optimize_mode' => ['type' => 'string'], + 'earlystop' => ['type' => 'boolean'], ], ], ], ], ], ], - 'search_space' => [ - 'type' => 'object', - ], + 'search_space' => ['type' => 'object'], 'k8s_config' => [ 'type' => 'object', 'properties' => [ - 'nni_container_requested_memory' => [ - 'type' => 'string', - ], - 'nni_container_requested_cpu' => [ - 'type' => 'string', - ], - 'nni_container_memory_limit' => [ - 'type' => 'string', - ], - 'nni_container_cpu_limit' => [ - 'type' => 'string', - ], + 'nni_container_requested_memory' => ['type' => 'string'], + 'nni_container_requested_cpu' => ['type' => 'string'], + 'nni_container_memory_limit' => ['type' => 'string'], + 'nni_container_cpu_limit' => ['type' => 'string'], ], ], 'dlc_config' => [ 'type' => 'object', 'properties' => [ - 'access_id' => [ - 'type' => 'string', - ], - 'access_key' => [ - 'type' => 'string', - ], - 'endpoint' => [ - 'type' => 'string', - ], - 'region' => [ - 'type' => 'string', - ], - 'protocol' => [ - 'type' => 'string', - ], + 'access_id' => ['type' => 'string'], + 'access_key' => ['type' => 'string'], + 'endpoint' => ['type' => 'string'], + 'region' => ['type' => 'string'], + 'protocol' => ['type' => 'string'], ], ], 'schedule_config' => [ 'type' => 'object', 'properties' => [ - 'day' => [ - 'type' => 'string', - ], - 'start_time' => [ - 'type' => 'string', - ], - 'end_time' => [ - 'type' => 'string', - ], + 'day' => ['type' => 'string'], + 'start_time' => ['type' => 'string'], + 'end_time' => ['type' => 'string'], ], ], 'monitor_config' => [ 'type' => 'object', 'properties' => [ - 'url' => [ - 'type' => 'string', - ], - 'keyword' => [ - 'type' => 'string', - ], - 'at_mobiles' => [ - 'type' => 'string', - ], - 'at_user_ids' => [ - 'type' => 'string', - ], - 'is_at_all' => [ - 'type' => 'string', - ], + 'url' => ['type' => 'string'], + 'keyword' => ['type' => 'string'], + 'at_mobiles' => ['type' => 'string'], + 'at_user_ids' => ['type' => 'string'], + 'is_at_all' => ['type' => 'string'], ], ], 'output_config' => [ 'type' => 'object', 'properties' => [ - 'model_path' => [ - 'type' => 'string', - ], - 'summary_path' => [ - 'type' => 'string', - ], + 'model_path' => ['type' => 'string'], + 'summary_path' => ['type' => 'string'], ], ], ], @@ -437,70 +222,61 @@ ], ], 'apis' => [ - 'GetServiceIdentityRole' => [ - 'path' => '/api/automl/v1/serviceidentityrole', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateAutofeExperiment' => [ + 'path' => '/api/automl/v1/autofe/experiment', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, - 'parameters' => [], - ], - 'CreateServiceIdentityRole' => [ - 'path' => '/api/automl/v1/serviceidentityrole', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ + 'parameters' => [ [ - 'AK' => [], + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Name' => ['type' => 'string', 'required' => true], + 'AutofeExperimentConfiguration' => ['$ref' => '#/components/schemas/AutofeExperimentConfiguration', 'required' => false], + 'Description' => ['type' => 'string', 'required' => false], + 'Accessibility' => ['type' => 'string', 'required' => false], + 'WorkspaceId' => ['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, + ], + ], + ], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [], ], 'CreateHpoExperiment' => [ 'path' => '/api/automl/v1/hpo/experiment', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -511,26 +287,11 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'HpoExperimentConfiguration' => [ - '$ref' => '#/components/schemas/HpoExperimentConfig', - 'required' => false, - ], - 'Name' => [ - 'type' => 'string', - 'required' => false, - ], - 'WorkspaceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'Description' => [ - 'type' => 'string', - 'required' => false, - ], - 'Accessibility' => [ - 'type' => 'string', - 'required' => false, - ], + 'HpoExperimentConfiguration' => ['$ref' => '#/components/schemas/HpoExperimentConfig', 'required' => false], + 'Name' => ['type' => 'string', 'required' => false], + 'WorkspaceId' => ['type' => 'string', 'required' => false], + 'Description' => ['type' => 'string', 'required' => false], + 'Accessibility' => ['type' => 'string', 'required' => false], 'Tag' => [ 'type' => 'array', 'required' => false, @@ -538,14 +299,8 @@ '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], ], ], 'maxItems' => 20, @@ -555,125 +310,226 @@ ], ], ], - 'ListHpoExperiments' => [ - 'path' => '/api/automl/v1/hpo/experiments', - 'methods' => [ - 'get', + 'CreateServiceIdentityRole' => [ + 'path' => '/api/automl/v1/serviceidentityrole', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [], + ], + 'DeleteHpoExperiment' => [ + 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/delete', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'GetAutofeExperiment' => [ + 'path' => '/api/automl/v1/autofe/experiment/{ExperimentId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'GetHpoExperiment' => [ + 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'produces' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'GetHpoTrial' => [ + 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/trial/{TrialId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TrialId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'GetServiceIdentityRole' => [ + 'path' => '/api/automl/v1/serviceidentityrole', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [], + ], + 'ListHpoExperimentLogs' => [ + 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/logs', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'LogName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], + 'ListHpoExperiments' => [ + 'path' => '/api/automl/v1/hpo/experiments', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Creator', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'MinCreateTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MaxCreateTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Accessibility', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'IncludeConfigData', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Tag', @@ -686,438 +542,161 @@ '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], ], ], ], ], ], ], - 'GetHpoExperiment' => [ - 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListHpoTrialCommands' => [ + 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/trial/{TrialId}/commands', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ExperimentId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'UpdateHpoExperiment' => [ - 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/update', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'ExperimentId', + 'name' => 'TrialId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'HpoExperimentConfiguration' => [ - '$ref' => '#/components/schemas/HpoExperimentConfig', - 'required' => false, - ], - 'Description' => [ - 'type' => 'string', - 'required' => false, - ], - 'Accessibility' => [ - 'type' => 'string', - 'required' => false, - ], - 'Name' => [ - 'type' => 'string', - 'required' => false, - ], - 'WorkspaceId' => [ - '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, - ], - ], - ], - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'StopHpoExperiment' => [ - 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/stop', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListHpoTrialLogNames' => [ + 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/trial/{TrialId}/lognames', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ExperimentId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'DeleteHpoExperiment' => [ - 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/delete', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'ExperimentId', + 'name' => 'TrialId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListHpoExperimentLogs' => [ - 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/logs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListHpoTrialLogs' => [ + 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/trial/{TrialId}/logs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ExperimentId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TrialId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'LogName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListHpoTrials' => [ 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/trials', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ExperimentId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'GetHpoTrial' => [ - 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/trial/{TrialId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'ExperimentId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'TrialId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'StopHpoTrials' => [ - 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/stop_trials', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'ExperimentId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'TrialIds' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'RestartHpoTrials' => [ 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/restart_trials', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ExperimentId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -1130,186 +709,88 @@ 'TrialIds' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'TrialHyperParameters' => [ - 'type' => 'string', - 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], + 'TrialHyperParameters' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'ListHpoTrialLogNames' => [ - 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/trial/{TrialId}/lognames', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'StopHpoExperiment' => [ + 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/stop', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ExperimentId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'TrialId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListHpoTrialLogs' => [ - 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/trial/{TrialId}/logs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StopHpoTrials' => [ + 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/stop_trials', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ExperimentId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TrialId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'LogName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'TrialIds' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], ], ], ], ], - 'ListHpoTrialCommands' => [ - 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/trial/{TrialId}/commands', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateHpoExperiment' => [ + 'path' => '/api/automl/v1/hpo/experiment/{ExperimentId}/update', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ExperimentId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TrialId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'CreateAutofeExperiment' => [ - 'path' => '/api/automl/v1/autofe/experiment', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ 'name' => 'body', 'in' => 'body', @@ -1318,26 +799,11 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'AutofeExperimentConfiguration' => [ - '$ref' => '#/components/schemas/AutofeExperimentConfiguration', - 'required' => false, - ], - 'Description' => [ - 'type' => 'string', - 'required' => false, - ], - 'Accessibility' => [ - 'type' => 'string', - 'required' => false, - ], - 'WorkspaceId' => [ - 'type' => 'string', - 'required' => false, - ], + 'HpoExperimentConfiguration' => ['$ref' => '#/components/schemas/HpoExperimentConfig', 'required' => false], + 'Description' => ['type' => 'string', 'required' => false], + 'Accessibility' => ['type' => 'string', 'required' => false], + 'Name' => ['type' => 'string', 'required' => false], + 'WorkspaceId' => ['type' => 'string', 'required' => false], 'Tag' => [ 'type' => 'array', 'required' => false, @@ -1345,80 +811,23 @@ '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], ], ], - 'maxItems' => 20, ], ], ], ], ], ], - 'GetAutofeExperiment' => [ - 'path' => '/api/automl/v1/autofe/experiment/{ExperimentId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'ExperimentId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'paiautoml.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'paiautoml.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'paiautoml.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'paiautoml.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'paiautoml.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'paiautoml.cn-wulanchabu.aliyuncs.com', - ], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiautoml.cn-shenzhen.aliyuncs.com', 'endpoint' => 'paiautoml.cn-shenzhen.aliyuncs.com', 'vpc' => 'paiautoml-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiautoml.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'paiautoml.cn-wulanchabu.aliyuncs.com', 'vpc' => 'paiautoml-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiautoml.cn-beijing.aliyuncs.com', 'endpoint' => 'paiautoml.cn-beijing.aliyuncs.com', 'vpc' => 'paiautoml-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiautoml.cn-shanghai.aliyuncs.com', 'endpoint' => 'paiautoml.cn-shanghai.aliyuncs.com', 'vpc' => 'paiautoml-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiautoml.cn-hongkong.aliyuncs.com', 'endpoint' => 'paiautoml.cn-hongkong.aliyuncs.com', 'vpc' => 'paiautoml-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiautoml.cn-hangzhou.aliyuncs.com', 'endpoint' => 'paiautoml.cn-hangzhou.aliyuncs.com', 'vpc' => 'paiautoml-vpc.cn-hangzhou.aliyuncs.com'], ], ]; |
