get_revocation_status
async
¶
get_revocation_status(
signature_timestamp: datetime,
platform_id: PlatformId,
profile_version_arn: Arn,
job_arn: Arn,
certificate_hashes: CertificateHashes,
*,
config_overrides: Optional[AsyncSignerDataClientConfig] = None,
) -> GetRevocationStatusResponse
Retrieves the revocation status for a signed artifact by checking if the signing profile, job, or certificate has been revoked.
Parameters:
-
signature_timestamp(datetime) –The timestamp when the artifact was signed, in ISO 8601 format.
-
platform_id(PlatformId) –The platform identifier for the signing platform used.
-
profile_version_arn(Arn) –The ARN of the signing profile version used to sign the artifact.
-
job_arn(Arn) –The ARN of the signing job that produced the signature.
-
certificate_hashes(CertificateHashes) –List of certificate hashes to check for revocation.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServiceErrorException–An internal service error occurred.
-
TooManyRequestsException–The request was denied due to request throttling.
-
ValidationException–The request contains invalid parameters or is malformed.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Check revocation status for a signed artifact Checks if a signing profile, job, or certificate has been revoked for a given artifact.
>>> await client.get_revocation_status(signature_timestamp=1700000000, platform_id='Notation-OCI-SHA384-ECDSA', profile_version_arn='arn:aws:signer:us-east-1:123456789012:/signing-profiles/my-profile/v1', job_arn='arn:aws:signer:us-east-1:123456789012:/signing-jobs/my-job-id', certificate_hashes=['e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'])