Modifies the settings of a cluster associated with a project.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyFlowProjectClusterSetting

The operation that you want to perform. Set the value to ModifyFlowProjectClusterSetting.

ClusterId String Yes C-FDB726F71863****

The ID of the cluster.

ProjectId String Yes FP-179332E88F52****

The ID of the project.

RegionId String Yes cn-hangzhou

The region ID.

DefaultQueue String No default

The default queue to which the request is submitted.

DefaultUser String No hadoop

The default user who submits the request.

HostList.N RepeatList No emr-header-1

The list of associated hosts.

QueueList.N RepeatList No queue1

The list of queues.

UserList.N RepeatList No user1

The list of users.

Response parameters

Parameter Type Example Description
Data Boolean true

Indicates whether the modification is successful. Valid values: true (successful) and false (failed).

RequestId String 5ECD6EA1-838E-4BDF-96C8-AEAA40F04F48

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/?Action=ModifyFlowProjectClusterSetting
&ClusterId=C-FDB726F71863****
&ProjectId=FP-179332E88F52****
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<ModifyFlowProjectClusterSettingResponse>
  <code>200</code>
	  <data>
		    <RequestId>5ECD6EA1-838E-4BDF-96C8-AEAA40F04F48</RequestId>
		    <Data>true</Data>
	  </data>
	  <requestId>5ECD6EA1-838E-4BDF-96C8-AEAA40F04F48</requestId>
	  <successResponse>true</successResponse>
</ModifyFlowProjectClusterSettingResponse>

JSON format

{
	"successResponse":true,
	"requestId":"5ECD6EA1-838E-4BDF-96C8-AEAA40F04F48",
	"data":{
		"Data":true,
		"RequestId":"5ECD6EA1-838E-4BDF-96C8-AEAA40F04F48"
	},
	"code":"200"
}

Error codes

For a list of error codes, visit the API Error Center.