Updates the configurations of submodules in a workspace. You can configure SPARK parameters.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| ClusterId | long | Yes | The ID of the cluster associated with DataWorks. | 1234 |
| ProjectId | long | Yes | The ID of the workspace. | 5678 |
| ConfigType | string | Yes | The configuration type of the cluster. Valid values:
| SPARK_CONF |
| ConfigValues | array | Yes | The configuration information of the cluster submodule. | |
| ClusterConfig | Yes | The configuration information of the cluster in a module. |
Response parameters
Examples
Sample success responses
JSONformat
{
"Data": true,
"RequestId": "0000-ABCD-E****",
"Success": true,
"ErrorCode": 101011005,
"ErrorMessage": "Invalid.Cluster.ClusterNotFound",
"HttpStatusCode": 200
}Error codes
For a list of error codes, visit the Service error codes.
