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
18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 | |