start_data_quality_rule_recommendation_run
async
¶
start_data_quality_rule_recommendation_run(
data_source: DataSource,
role: RoleString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = 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/async_glue.py
18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 | |