start_data_quality_ruleset_evaluation_run
async
¶
start_data_quality_ruleset_evaluation_run(
data_source: DataSource,
role: RoleString,
ruleset_names: RulesetNames,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
number_of_workers: Optional[NullableInteger] = None,
timeout: Optional[Timeout] = None,
client_token: Optional[HashString] = None,
additional_run_options: Optional[
DataQualityEvaluationRunAdditionalRunOptions
] = None,
additional_data_sources: Optional[DataSourceMap] = None,
) -> StartDataQualityRulesetEvaluationRunResponse
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.
Parameters:
-
data_source(DataSource) –The data source (Glue table) associated with this run.
-
role(RoleString) –An IAM role supplied to encrypt the results of the run.
-
number_of_workers(Optional[NullableInteger], default:None) –The number of
G.1Xworkers to be used in the run. The default is 5. -
timeout(Optional[Timeout], default:None) –The timeout for a run in minutes. This is the maximum time that a run can consume resources before it is terminated and enters
TIMEOUTstatus. The default is 2,880 minutes (48 hours). -
client_token(Optional[HashString], default:None) –Used for idempotency and is recommended to be set to a random ID (such as a UUID) to avoid creating or starting multiple instances of the same resource.
-
additional_run_options(Optional[DataQualityEvaluationRunAdditionalRunOptions], default:None) –Additional run options you can specify for an evaluation run.
-
ruleset_names(RulesetNames) –A list of ruleset names.
-
additional_data_sources(Optional[DataSourceMap], default:None) –A map of reference strings to additional data sources you can specify for an evaluation run.
Raises:
-
ConflictException–The
CreatePartitionsAPI was called on a table that has indexes enabled. -
EntityNotFoundException–A specified entity does not exist
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 18782 18783 18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 18797 18798 18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 18823 18824 18825 18826 18827 18828 | |