RevokeSignature - AWS Signer

RevokeSignature

Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.

Request Syntax

PUT /signing-jobs/jobId/revoke HTTP/1.1 Content-type: application/json { "jobOwner": "string", "reason": "string" }

URI Request Parameters

The request uses the following URI parameters.

jobId

ID of the signing job to be revoked.

Required: Yes

Request Body

The request accepts the following data in JSON format.

jobOwner

AWS account ID of the job owner.

Type: String

Length Constraints: Fixed length of 12.

Pattern: ^[0-9]{12}$

Required: No

reason

The reason for revoking the signing job.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 500.

Required: Yes

Response Syntax

HTTP/1.1 200

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403

InternalServiceErrorException

An internal error occurred.

HTTP Status Code: 500

ResourceNotFoundException

A specified resource could not be found.

HTTP Status Code: 404

TooManyRequestsException

The allowed number of job-signing requests has been exceeded.

This error supersedes the error ThrottlingException.

HTTP Status Code: 429

ValidationException

You signing certificate could not be validated.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: