Skip to content

Create Realtime Endpoint

machinelearning_create_realtime_endpoint R Documentation

Creates a real-time endpoint for the MLModel

Description

Creates a real-time endpoint for the MLModel. The endpoint contains the URI of the MLModel; that is, the location to send real-time prediction requests for the specified MLModel.

Usage

machinelearning_create_realtime_endpoint(MLModelId)

Arguments

MLModelId

[required] The ID assigned to the MLModel during creation.

Value

A list with the following syntax:

list(
  MLModelId = "string",
  RealtimeEndpointInfo = list(
    PeakRequestsPerSecond = 123,
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    EndpointUrl = "string",
    EndpointStatus = "NONE"|"READY"|"UPDATING"|"FAILED"
  )
)

Request syntax

svc$create_realtime_endpoint(
  MLModelId = "string"
)