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

**********************
revoke_signing_profile
**********************



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

  

  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 <https://docs.aws.amazon.com/signer/latest/developerguide/retention.html>`__ for more information on scheduled deletion of a revoked signing profile.

  

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


  **Request Syntax**
  ::

    response = client.revoke_signing_profile(
        profileName='string',
        profileVersion='string',
        reason='string',
        effectiveTime=datetime(2015, 1, 1)
    )
    
  :type profileName: string
  :param profileName: **[REQUIRED]** 

    The name of the signing profile to be revoked.

    

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

    The version of the signing profile to be revoked.

    

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

    The reason for revoking a signing profile.

    

  
  :type effectiveTime: datetime
  :param effectiveTime: **[REQUIRED]** 

    A timestamp for when revocation of a Signing Profile should become effective. Signatures generated using the signing profile after this timestamp are not trusted.

    

  
  
  :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`

  