Create Ruleset
gluedatabrew_create_ruleset | R Documentation |
Creates a new ruleset that can be used in a profile job to validate the data quality of a dataset¶
Description¶
Creates a new ruleset that can be used in a profile job to validate the data quality of a dataset.
Usage¶
Arguments¶
Name
[required] The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
Description
The description of the ruleset.
TargetArn
[required] The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
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.
Tags
Metadata tags to apply to the ruleset.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_ruleset(
Name = "string",
Description = "string",
TargetArn = "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"
)
)
)
),
Tags = list(
"string"
)
)