Skip to content

batch_get_data_quality_ruleset_evaluation_run

batch_get_data_quality_ruleset_evaluation_run(
    run_ids: DataQualityRulesetEvaluationRunIdList,
    *,
    config_overrides: Optional[GlueClientConfig] = None,
) -> BatchGetDataQualityRulesetEvaluationRunResponse

Retrieves the details of multiple evaluation runs in a single request.

Parameters:

Raises:

Source code in docs_src/capo_glue/_services/glue.py
def batch_get_data_quality_ruleset_evaluation_run(
    self,
    run_ids: "capo_glue.types.data_quality_ruleset_evaluation_run_id_list.DataQualityRulesetEvaluationRunIdList",
    *,
    config_overrides: Optional[GlueClientConfig] = None,
) -> "capo_glue.types.batch_get_data_quality_ruleset_evaluation_run_response.BatchGetDataQualityRulesetEvaluationRunResponse":
    """<p>Retrieves the details of multiple evaluation runs in a single request.</p>

    Args:
        run_ids: <p>A list of unique run identifiers for the evaluation runs to retrieve.</p>

    Raises:
        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.batch_get_data_quality_ruleset_evaluation_run_request.BatchGetDataQualityRulesetEvaluationRunRequest]",
    ) -> OperationResponse[
        "capo_glue.types.batch_get_data_quality_ruleset_evaluation_run_response.BatchGetDataQualityRulesetEvaluationRunResponse"
    ]:
        import capo_glue._operations.aws_glue.batch_get_data_quality_ruleset_evaluation_run

        output, http_response = (
            capo_glue._operations.aws_glue.batch_get_data_quality_ruleset_evaluation_run.batch_get_data_quality_ruleset_evaluation_run(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides,
        OperationLogging("BatchGetDataQualityRulesetEvaluationRun"),
    )
    input_: capo_glue.types.batch_get_data_quality_ruleset_evaluation_run_request.BatchGetDataQualityRulesetEvaluationRunRequest = {
        "run_ids": run_ids
    }

    response = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output