class EmrClusterDefinitionRestController extends HerdBaseController {

    @RequestMapping(
        value = EMR_CLUSTER_DEFINITIONS_URI_PREFIX + "/namespaces/{namespace}/emrClusterDefinitionNames/{emrClusterDefinitionName}",
        method = RequestMethod.PUT, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_EMR_CLUSTER_DEFINITIONS_PUT)
    public EmrClusterDefinitionInformation updateEmrClusterDefinition(@PathVariable("namespace") String namespace,
        @PathVariable("emrClusterDefinitionName") String emrClusterDefinitionName, @RequestBody EmrClusterDefinitionUpdateRequest request) throws Exception
    {
        return emrClusterDefinitionService.updateEmrClusterDefinition(new EmrClusterDefinitionKey(namespace, emrClusterDefinitionName), request);
    }

}