Skip to content

Reject Predictions

datazone_reject_predictions R Documentation

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

Description

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

Usage

datazone_reject_predictions(clientToken, domainIdentifier, identifier,
  rejectChoices, rejectRule, revision)

Arguments

clientToken

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

domainIdentifier

[required] The identifier of the Amazon DataZone domain.

identifier

[required] The identifier of the prediction.

rejectChoices

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

rejectRule

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

revision

The revision that is to be made to the asset.

Value

A list with the following syntax:

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

Request syntax

svc$reject_predictions(
  clientToken = "string",
  domainIdentifier = "string",
  identifier = "string",
  rejectChoices = list(
    list(
      predictionChoices = list(
        123
      ),
      predictionTarget = "string"
    )
  ),
  rejectRule = list(
    rule = "ALL"|"NONE",
    threshold = 123.0
  ),
  revision = "string"
)