Glue.Client.
create_data_quality_ruleset
(**kwargs)¶Creates a data quality ruleset with DQDL rules applied to a specified Glue table.
You create the ruleset using the Data Quality Definition Language (DQDL). For more information, see the Glue developer guide.
See also: AWS API Documentation
Request Syntax
response = client.create_data_quality_ruleset(
Name='string',
Description='string',
Ruleset='string',
Tags={
'string': 'string'
},
TargetTable={
'TableName': 'string',
'DatabaseName': 'string'
},
ClientToken='string'
)
[REQUIRED]
A unique name for the data quality ruleset.
[REQUIRED]
A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue developer guide.
A list of tags applied to the data quality ruleset.
A target table associated with the data quality ruleset.
The name of the Glue table.
The name of the database where the Glue table exists.
dict
Response Syntax
{
'Name': 'string'
}
Response Structure
(dict) --
Name (string) --
A unique name for the data quality ruleset.
Exceptions
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.AlreadyExistsException
Glue.Client.exceptions.OperationTimeoutException
Glue.Client.exceptions.InternalServiceException
Glue.Client.exceptions.ResourceNumberLimitExceededException