Skip to content

/AWS1/CL_DBR=>CREATERULESET()

About CreateRuleset

Creates a new ruleset that can be used in a profile job to validate the data quality of a dataset.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/DBRRULESETNAME

The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

IV_TARGETARN TYPE /AWS1/DBRARN

The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.

IT_RULES TYPE TT_RULELIST

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

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/DBRRULESETDESCRIPTION

The description of the ruleset.

IT_TAGS TYPE TT_TAGMAP

Metadata tags to apply to the ruleset.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DBRCREATERULESETRSP