run_api: Run the Sagemaker multi-model API

View source: R/plumber_entrypoint.R

run_apiR Documentation

Run the Sagemaker multi-model API

Description

Run the Sagemaker multi-model API

Usage

run_api(.host = "0.0.0.0", .port = 8080, ...)

Arguments

.host

IP of the host, Default: 0.0.0.0

.port

Which port to use for the API, Default: 8000

...

Options passed to plumber::plumb()$run()

Value

A running Plumber API

Examples

## Not run: 
run_api()
run_api(.host = "127.0.0.1", port = 4242)

## End(Not run)

jcpsantiago/sagemaker-multimodel-R documentation built on March 29, 2022, 3:29 p.m.