Skip to content

describe_signing_job

describe_signing_job(
    job_id: JobId, *, config_overrides: Optional[signerClientConfig] = None
) -> DescribeSigningJobResponse

Returns information about a specific code signing job. You specify the job by using the jobId value that is returned by the StartSigningJob operation.

Parameters:

  • job_id (JobId) –

    The ID of the signing job on input.

Raises:

Source code in docs_src/capo_signer/_services/signer.py
def describe_signing_job(
    self,
    job_id: "capo_signer.types.job_id.JobId",
    *,
    config_overrides: Optional[signerClientConfig] = None,
) -> "capo_signer.types.describe_signing_job_response.DescribeSigningJobResponse":
    """<p>Returns information about a specific code signing job. You specify the job by using the <code>jobId</code> value that is returned by the <a>StartSigningJob</a> operation. </p>

    Args:
        job_id: <p>The ID of the signing job on input.</p>

    Raises:
        capo_signer.errors.access_denied_exception.AccessDeniedException: <p>You do not have sufficient access to perform this action.</p>
        capo_signer.errors.internal_service_error_exception.InternalServiceErrorException: <p>An internal error occurred.</p>
        capo_signer.errors.resource_not_found_exception.ResourceNotFoundException: <p>A specified resource could not be found.</p>
        capo_signer.errors.too_many_requests_exception.TooManyRequestsException: <p>The allowed number of job-signing requests has been exceeded.</p> <p>This error supersedes the error <code>ThrottlingException</code>.</p>
        capo_signer.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[capo_signer.types.describe_signing_job_request.DescribeSigningJobRequest]",
    ) -> OperationResponse[
        "capo_signer.types.describe_signing_job_response.DescribeSigningJobResponse"
    ]:
        import capo_signer._operations.wallaby_service.describe_signing_job

        output, http_response = (
            capo_signer._operations.wallaby_service.describe_signing_job.describe_signing_job(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DescribeSigningJob")
    )
    input_: capo_signer.types.describe_signing_job_request.DescribeSigningJobRequest = {
        "job_id": job_id
    }

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