You can call this operation to modify the specified service on a cluster.

Request parameters

Name Type Required Example Description
ClusterId String Yes C-EBD62A703A430E23 The ID of the cluster.
RegionId String Yes cn-hangzhou RegionID
ServiceName String Yes Tez. The name of the service.
Comment String No modify tez config The comment for the modification.
ConfigParams String No {"tez-site":{"":"640"}} The modification represented as a JSON string.
ConfigType String No "" The type of the configuration item.
CustomConfigParams String No {"tez-site":{"key1":{"Value":"value1"}}} The modification of the custom configuration item.
GroupId String No G-xxx The ID of the instance group.
HostInstanceId String No i-xxx The instance ID of the host.
AccessKeyId String No xxx The AccessKey ID.

Response parameters

Name Type Example Description
RequestId String D9A09DDE-6BE7-473B-9E4B-B3CB762FD4B The ID of the request.


  • Sample requests
    /? ClusterId=C-xxx
    &Comment=modify tez config
    &<Common request parameters>
  • Successful response examples
    JSON format
  • Error response examples
    JSON format
    	"message":"It is not allow to execute this operation,please use RAM to authorize!",

Error codes

View error codes.