You can call ModifyFlowProjectClusterSetting operation to modify the cluster settings for a project.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyFlowProjectClusterSetting

The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to ModifyFlowProjectClusterSetting.

ClusterId String Yes C-FDB726F71863****

The ID of the cluster. You can call ListClusters You can call this operation to view the ID of a cluster.

ProjectId String Yes FP-179332E88F52****

The ID of the project. You can call ListFlowProject View the ID of the project.

RegionId String Yes cn-hangzhou

The region ID of the instance. You can call DescribeRegions To view the latest list of Alibaba Cloud regions.

DefaultUser String No hadoop

The default user who submits the request.

DefaultQueue String No default

The default queue to which the request is submitted.

UserList.N RepeatList No user1

The list of users.

QueueList.N RepeatList No queue1

The list of queues.

HostList.N RepeatList No emr-header-1

The list of associated hosts.

Response parameters

Parameter Type Example Description
Data Boolean true

Modification results:

  • true: indicates that the modification was successful.
  • false: indicates that the modification has 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

<RequestId>5ECD6EA1-838E-4BDF-96C8-AEAA40F04F48</RequestId>
<Data>true</Data>

JSON Syntax

{
    "RequestId":"5ECD6EA1-838E-4BDF-96C8-AEAA40F04F48",
    "Data":"true"
    }