:doc:`signer <../../signer>` / Client / revoke_signature

****************
revoke_signature
****************



.. py:method:: signer.Client.revoke_signature(**kwargs)

  

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

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RevokeSignature>`_  


  **Request Syntax**
  ::

    response = client.revoke_signature(
        jobId='string',
        jobOwner='string',
        reason='string'
    )
    
  :type jobId: string
  :param jobId: **[REQUIRED]** 

    ID of the signing job to be revoked.

    

  
  :type jobOwner: string
  :param jobOwner: 

    AWS account ID of the job owner.

    

  
  :type reason: string
  :param reason: **[REQUIRED]** 

    The reason for revoking the signing job.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`signer.Client.exceptions.ValidationException`

  
  *   :py:class:`signer.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`signer.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`signer.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`signer.Client.exceptions.InternalServiceErrorException`

  