start_data_quality_rule_recommendation_run
¶
start_data_quality_rule_recommendation_run(
data_source: DataSource,
role: RoleString,
*,
config_overrides: Optional[GlueClientConfig] = None,
number_of_workers: Optional[NullableInteger] = None,
timeout: Optional[Timeout] = None,
created_ruleset_name: Optional[NameString] = None,
data_quality_security_configuration: Optional[NameString] = None,
client_token: Optional[HashString] = None,
additional_run_options: Optional[
DataQualityRuleRecommendationRunAdditionalRunOptions
] = None,
recommendation_mode: Optional[RecommendationMode] = None,
) -> StartDataQualityRuleRecommendationRunResponse
Starts a recommendation run that is used to generate rules when you don't know what rules to write. Glue Data Quality analyzes the data and comes up with recommendations for a potential ruleset. You can then triage the ruleset and modify the generated ruleset to your liking.
Recommendation runs are automatically deleted after 90 days.
Parameters:
-
data_source(DataSource) –The data source (Glue table) associated with this run.
-
role(RoleString) –The IAM role that Glue assumes to access resources for the run.
For more information, see Configure IAM permissions for Glue Data Quality.
-
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). -
created_ruleset_name(Optional[NameString], default:None) –A name for the ruleset.
-
data_quality_security_configuration(Optional[NameString], default:None) –The name of the security configuration created with the data quality encryption option.
-
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[DataQualityRuleRecommendationRunAdditionalRunOptions], default:None) –Additional run options you can specify for a recommendation run.
-
recommendation_mode(Optional[RecommendationMode], default:None) –The mode that Glue Data Quality uses to recommend rules.
The default is
BASIC.
Raises:
-
ConflictException–The
CreatePartitionsAPI was called on a table that has indexes enabled. -
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/glue.py
18360 18361 18362 18363 18364 18365 18366 18367 18368 18369 18370 18371 18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 | |