Execute optimization task
The table below lists only the request parameters specific to this API and some common parameters. For more information, see Common parameters.
Parameter | Type | Required | Example value | Description |
|---|---|---|---|---|
Action | String | Yes | RunOptimizerTask | The operation to be performed. Value: RunOptimizerTask. |
Version | String | Yes | 2024-04-30 | API version. Value: 2024-04-30. |
CatalogName | String | Yes | hive | Catalog name |
OptimizerId | Long | Yes | 1 | Optimizer ID |
TaskId | Long | No | 1234567890 | Task ID |
Parameters | Object | No | {} | Runtime parameter mapping |
IdentityId | String | No | 2109407840 | Identity |
The table below lists only the response parameters specific to this API. For more information, see Response structure.
Parameter | Type | Example value | Description |
|---|---|---|---|
Success | Boolean | true | Whether the operation was successful |
POST /?Action=RunOptimizerTask&Version=2024-04-30 HTTP/1.1 Host: open.volcengineapi.com Content-Type: application/json; charset=UTF-8 { "CatalogName": "hive", "OptimizerId": 1 }
{ "ResponseMetadata": { "RequestId": "2026042019233000000000000000000009", "Action": "RunOptimizerTask", "Version": "2024-04-30", "Service": "las_ai_dev", "Region": "cn-beijing" }, "Result": { "Success": true } }
The table below lists the error codes related to the business logic of this API. For common error codes, see the Common error codes documentation.
Status code | Error code | Description |
|---|---|---|
400 | InvalidRequestParam | Invalid request parameter {}, reason {} |
400 | MissingParameter | Missing required parameter {}. |
500 | InternalError | The request failed due to an unknown error. |