Glue.Client.
start_data_quality_ruleset_evaluation_run
(**kwargs)¶Once you have a ruleset definition (either recommended or your own), you call this operation to evaluate the ruleset against a data source (Glue table). The evaluation computes results which you can retrieve with the GetDataQualityResult
API.
See also: AWS API Documentation
Request Syntax
response = client.start_data_quality_ruleset_evaluation_run(
DataSource={
'GlueTable': {
'DatabaseName': 'string',
'TableName': 'string',
'CatalogId': 'string',
'ConnectionName': 'string',
'AdditionalOptions': {
'string': 'string'
}
}
},
Role='string',
NumberOfWorkers=123,
Timeout=123,
ClientToken='string',
AdditionalRunOptions={
'CloudWatchMetricsEnabled': True|False,
'ResultsS3Prefix': 'string'
},
RulesetNames=[
'string',
]
)
[REQUIRED]
The data source (Glue table) associated with this run.
An Glue table.
A database name in the Glue Data Catalog.
A table name in the Glue Data Catalog.
A unique identifier for the Glue Data Catalog.
The name of the connection to the Glue Data Catalog.
Additional options for the table. Currently there are two keys supported:
pushDownPredicate
: to filter on partitions without having to list and read all the files in your dataset.catalogPartitionPredicate
: to use server-side partition pruning using partition indexes in the Glue Data Catalog.[REQUIRED]
An IAM role supplied to encrypt the results of the run.
G.1X
workers to be used in the run. The default is 5.TIMEOUT
status. The default is 2,880 minutes (48 hours).Additional run options you can specify for an evaluation run.
Whether or not to enable CloudWatch metrics.
Prefix for Amazon S3 to store results.
[REQUIRED]
A list of ruleset names.
dict
Response Syntax
{
'RunId': 'string'
}
Response Structure
(dict) --
RunId (string) --
The unique run identifier associated with this run.
Exceptions
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.EntityNotFoundException
Glue.Client.exceptions.OperationTimeoutException
Glue.Client.exceptions.InternalServiceException
Glue.Client.exceptions.ConflictException