revoke_signing_profile

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.

See also: AWS API Documentation

Request Syntax

response = client.revoke_signing_profile(
    profileName='string',
    profileVersion='string',
    reason='string',
    effectiveTime=datetime(2015, 1, 1)
)
Parameters
  • profileName (string) --

    [REQUIRED]

    The name of the signing profile to be revoked.

  • profileVersion (string) --

    [REQUIRED]

    The version of the signing profile to be revoked.

  • reason (string) --

    [REQUIRED]

    The reason for revoking a signing profile.

  • effectiveTime (datetime) --

    [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

  • signer.Client.exceptions.ValidationException
  • signer.Client.exceptions.AccessDeniedException
  • signer.Client.exceptions.ResourceNotFoundException
  • signer.Client.exceptions.TooManyRequestsException
  • signer.Client.exceptions.InternalServiceErrorException