Skip to content

Accept Predictions

datazone_accept_predictions R Documentation

Accepts automatically generated business-friendly metadata for your Amazon DataZone assets

Description

Accepts automatically generated business-friendly metadata for your Amazon DataZone assets.

Usage

datazone_accept_predictions(acceptChoices, acceptRule, clientToken,
  domainIdentifier, identifier, revision)

Arguments

acceptChoices

Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.

acceptRule

Specifies the rule (or the conditions) under which a prediction can be accepted.

clientToken

A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.

domainIdentifier

[required] The identifier of the Amazon DataZone domain.

identifier

[required] The identifier of the asset.

revision

The revision that is to be made to the asset.

Value

A list with the following syntax:

list(
  assetId = "string",
  domainId = "string",
  revision = "string"
)

Request syntax

svc$accept_predictions(
  acceptChoices = list(
    list(
      editedValue = "string",
      predictionChoice = 123,
      predictionTarget = "string"
    )
  ),
  acceptRule = list(
    rule = "ALL"|"NONE",
    threshold = 123.0
  ),
  clientToken = "string",
  domainIdentifier = "string",
  identifier = "string",
  revision = "string"
)