Skip to content

get_column_statistics_task_run

get_column_statistics_task_run(
    column_statistics_task_run_id: HashString,
    *,
    config_overrides: Optional[GlueClientConfig] = None,
) -> GetColumnStatisticsTaskRunResponse

Get the associated metadata/information for a task run, given a task run ID.

Parameters:

  • column_statistics_task_run_id (HashString) –

    The identifier for the particular column statistics task run.

Raises:

Source code in docs_src/capo_glue/_services/glue.py
def get_column_statistics_task_run(
    self,
    column_statistics_task_run_id: "capo_glue.types.hash_string.HashString",
    *,
    config_overrides: Optional[GlueClientConfig] = None,
) -> "capo_glue.types.get_column_statistics_task_run_response.GetColumnStatisticsTaskRunResponse":
    """<p>Get the associated metadata/information for a task run, given a task run ID.</p>

    Args:
        column_statistics_task_run_id: <p>The identifier for the particular column statistics task run.</p>

    Raises:
        capo_glue.errors.entity_not_found_exception.EntityNotFoundException: <p>A specified entity does not exist</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_column_statistics_task_run_request.GetColumnStatisticsTaskRunRequest]",
    ) -> OperationResponse[
        "capo_glue.types.get_column_statistics_task_run_response.GetColumnStatisticsTaskRunResponse"
    ]:
        import capo_glue._operations.aws_glue.get_column_statistics_task_run

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

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetColumnStatisticsTaskRun")
    )
    input_: capo_glue.types.get_column_statistics_task_run_request.GetColumnStatisticsTaskRunRequest = {
        "column_statistics_task_run_id": column_statistics_task_run_id
    }

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