Queries the configurations of submodules in a workspace. You can query information about 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 generated by DataWorks. | 1234 |
| ProjectId | long | Yes | The ID of the DataWorks workspace. | 5678 |
| ConfigType | string | Yes | The configuration type of the cluster. Valid values:
| SPARK_CONF |
Response parameters
Examples
Sample success responses
JSONformat
{
"ClusterConfigs": [
{
"ModuleName": "ide",
"ConfigValue": {
"spark.driver.memory": "1g"
},
"EnableOverwrite": false
}
],
"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.
