Skip to content

Update Ruleset

gluedatabrew_update_ruleset R Documentation

Updates specified ruleset

Description

Updates specified ruleset.

Usage

gluedatabrew_update_ruleset(Name, Description, Rules)

Arguments

Name

[required] The name of the ruleset to be updated.

Description

The description of the ruleset.

Rules

[required] A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.

Value

A list with the following syntax:

list(
  Name = "string"
)

Request syntax

svc$update_ruleset(
  Name = "string",
  Description = "string",
  Rules = list(
    list(
      Name = "string",
      Disabled = TRUE|FALSE,
      CheckExpression = "string",
      SubstitutionMap = list(
        "string"
      ),
      Threshold = list(
        Value = 123.0,
        Type = "GREATER_THAN_OR_EQUAL"|"LESS_THAN_OR_EQUAL"|"GREATER_THAN"|"LESS_THAN",
        Unit = "COUNT"|"PERCENTAGE"
      ),
      ColumnSelectors = list(
        list(
          Regex = "string",
          Name = "string"
        )
      )
    )
  )
)