R/utils.R

Defines functions get_modelid get_modelid.default get_modelid.character get_modelid.aws_ml_model

get_modelid <- function(x) {
    UseMethod("get_modelid")
}

get_modelid.default <- function(x) {
    x
}

get_modelid.character <- function(x) {
    x
}

get_modelid.aws_ml_model <- function(x) {
    x$MLModelId
}
cloudyr/aws.ml documentation built on Jan. 12, 2020, 8:33 p.m.