Gets the specified recommendation run that was used to generate rules.
Parameters:
-
run_id
(HashString)
–
The unique run identifier associated with this run.
Raises:
Source code in docs_src/capo_glue/_services/glue.py
| def get_data_quality_rule_recommendation_run(
self,
run_id: "capo_glue.types.hash_string.HashString",
*,
config_overrides: Optional[GlueClientConfig] = None,
) -> "capo_glue.types.get_data_quality_rule_recommendation_run_response.GetDataQualityRuleRecommendationRunResponse":
"""<p>Gets the specified recommendation run that was used to generate rules.</p>
Args:
run_id: <p>The unique run identifier associated with this run.</p>
Raises:
capo_glue.errors.entity_not_found_exception.EntityNotFoundException: <p>A specified entity does not exist</p>
capo_glue.errors.internal_service_exception.InternalServiceException: <p>An internal service error occurred.</p>
capo_glue.errors.invalid_input_exception.InvalidInputException: <p>The input provided was not valid.</p>
capo_glue.errors.operation_timeout_exception.OperationTimeoutException: <p>The operation timed out.</p>
capo_glue.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_glue.types.get_data_quality_rule_recommendation_run_request.GetDataQualityRuleRecommendationRunRequest]",
) -> OperationResponse[
"capo_glue.types.get_data_quality_rule_recommendation_run_response.GetDataQualityRuleRecommendationRunResponse"
]:
import capo_glue._operations.aws_glue.get_data_quality_rule_recommendation_run
output, http_response = (
capo_glue._operations.aws_glue.get_data_quality_rule_recommendation_run.get_data_quality_rule_recommendation_run(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetDataQualityRuleRecommendationRun")
)
input_: capo_glue.types.get_data_quality_rule_recommendation_run_request.GetDataQualityRuleRecommendationRunRequest = {
"run_id": run_id
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|