class EmrClusterDefinitionRestController extends HerdBaseController {

    @RequestMapping(value = EMR_CLUSTER_DEFINITIONS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_EMR_CLUSTER_DEFINITIONS_POST)
    public EmrClusterDefinitionInformation createEmrClusterDefinition(@RequestBody EmrClusterDefinitionCreateRequest request) throws Exception
    {
        return emrClusterDefinitionService.createEmrClusterDefinition(request);
    }

}