revoke_signing_profile
async
¶
revoke_signing_profile(
profile_name: ProfileName,
profile_version: ProfileVersion,
reason: RevocationReasonString,
effective_time: Timestamp,
*,
config_overrides: Optional[AsyncsignerClientConfig] = None,
) -> None
Changes the state of a signing profile to REVOKED. This indicates that signatures generated using the signing profile after an effective start date are no longer valid. A revoked profile is still viewable with the ListSigningProfiles operation, but it cannot perform new signing jobs. See Data Retention for more information on scheduled deletion of a revoked signing profile.
Parameters:
-
profile_name(ProfileName) –The name of the signing profile to be revoked.
-
profile_version(ProfileVersion) –The version of the signing profile to be revoked.
-
reason(RevocationReasonString) –The reason for revoking a signing profile.
-
effective_time(Timestamp) –A timestamp for when revocation of a Signing Profile should become effective. Signatures generated using the signing profile after this timestamp are not trusted.
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.