|| null != request.getTargetComponent()) {
throw new AmbariException("Cannot update inputs, target_service, or target_component");
}
TargetHostType targetType = request.getTargetType() == null ? null
: TargetHostType.valueOf(request.getTargetType());
ActionType actionType = request.getActionType() == null ? null : ActionType.valueOf(request.getActionType());
Short defaultTimeout = null;
if (request.getDefaultTimeout() != null && !request.getDefaultTimeout().isEmpty()) {
defaultTimeout = Short.parseShort(request.getDefaultTimeout());
}
getActionManager().updateActionDefinition(request.getActionName(), actionType,