Learn R Programming

paws (version 0.1.12)

sagemakerruntime: Amazon SageMaker Runtime

Description

The Amazon SageMaker runtime API.

Usage

sagemakerruntime(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- sagemakerruntime(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

invoke_endpointAfter you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint

Examples

Run this code
if (FALSE) {
svc <- sagemakerruntime()
svc$invoke_endpoint(
  Foo = 123
)
}

Run the code above in your browser using DataLab