Skip to content

Put External Model

frauddetector_put_external_model R Documentation

Creates or updates an Amazon SageMaker model endpoint

Description

Creates or updates an Amazon SageMaker model endpoint. You can also use this action to update the configuration of the model endpoint, including the IAM role and/or the mapped variables.

Usage

frauddetector_put_external_model(modelEndpoint, modelSource,
  invokeModelEndpointRoleArn, inputConfiguration, outputConfiguration,
  modelEndpointStatus, tags)

Arguments

modelEndpoint

[required] The model endpoints name.

modelSource

[required] The source of the model.

invokeModelEndpointRoleArn

[required] The IAM role used to invoke the model endpoint.

inputConfiguration

[required] The model endpoint input configuration.

outputConfiguration

[required] The model endpoint output configuration.

modelEndpointStatus

[required] The model endpoint’s status in Amazon Fraud Detector.

tags

A collection of key and value pairs.

Value

An empty list.

Request syntax

svc$put_external_model(
  modelEndpoint = "string",
  modelSource = "SAGEMAKER",
  invokeModelEndpointRoleArn = "string",
  inputConfiguration = list(
    eventTypeName = "string",
    format = "TEXT_CSV"|"APPLICATION_JSON",
    useEventVariables = TRUE|FALSE,
    jsonInputTemplate = "string",
    csvInputTemplate = "string"
  ),
  outputConfiguration = list(
    format = "TEXT_CSV"|"APPLICATION_JSONLINES",
    jsonKeyToVariableMap = list(
      "string"
    ),
    csvIndexToVariableMap = list(
      "string"
    )
  ),
  modelEndpointStatus = "ASSOCIATED"|"DISSOCIATED",
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)