Skip to content

Update Model Version

frauddetector_update_model_version R Documentation

Updates a model version

Description

Updates a model version. Updating a model version retrains an existing model version using updated training data and produces a new minor version of the model. You can update the training data set location and data access role attributes using this action. This action creates and trains a new minor version of the model, for example version 1.01, 1.02, 1.03.

Usage

frauddetector_update_model_version(modelId, modelType,
  majorVersionNumber, externalEventsDetail, ingestedEventsDetail, tags)

Arguments

modelId

[required] The model ID.

modelType

[required] The model type.

majorVersionNumber

[required] The major version number.

externalEventsDetail

The details of the external events data used for training the model version. Required if trainingDataSource is EXTERNAL_EVENTS.

ingestedEventsDetail

The details of the ingested event used for training the model version. Required if your trainingDataSource is INGESTED_EVENTS.

tags

A collection of key and value pairs.

Value

A list with the following syntax:

list(
  modelId = "string",
  modelType = "ONLINE_FRAUD_INSIGHTS"|"TRANSACTION_FRAUD_INSIGHTS"|"ACCOUNT_TAKEOVER_INSIGHTS",
  modelVersionNumber = "string",
  status = "string"
)

Request syntax

svc$update_model_version(
  modelId = "string",
  modelType = "ONLINE_FRAUD_INSIGHTS"|"TRANSACTION_FRAUD_INSIGHTS"|"ACCOUNT_TAKEOVER_INSIGHTS",
  majorVersionNumber = "string",
  externalEventsDetail = list(
    dataLocation = "string",
    dataAccessRoleArn = "string"
  ),
  ingestedEventsDetail = list(
    ingestedEventsTimeWindow = list(
      startTime = "string",
      endTime = "string"
    )
  ),
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)