revoke_signature
¶
revoke_signature(
job_id: JobId,
reason: RevocationReasonString,
*,
config_overrides: Optional[signerClientConfig] = None,
job_owner: Optional[AccountId] = None,
) -> None
Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.
Parameters:
-
job_id(JobId) –ID of the signing job to be revoked.
-
job_owner(Optional[AccountId], default:None) –AWS account ID of the job owner.
-
reason(RevocationReasonString) –The reason for revoking the signing job.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServiceErrorException–An internal error occurred.
-
ResourceNotFoundException–A specified resource could not be found.
-
TooManyRequestsException–The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException. -
ValidationException–You signing certificate could not be validated.
-
UnknownServiceError–The service returned an error code this client does not model.