getRevocationStatus

Retrieves the revocation status for a signed artifact by checking if the signing profile, job, or certificate has been revoked.

Samples

import aws.smithy.kotlin.runtime.time.Instant

fun main() { 
   //sampleStart 
   // Checks if a signing profile, job, or certificate has been revoked for a given artifact.
val resp = signerDataClient.getRevocationStatus {
    signatureTimestamp = Instant.fromEpochSeconds(1700000000, 0)
    platformId = "Notation-OCI-SHA384-ECDSA"
    profileVersionArn = "arn:aws:signer:us-east-1:123456789012:/signing-profiles/my-profile/v1"
    jobArn = "arn:aws:signer:us-east-1:123456789012:/signing-jobs/my-job-id"
    certificateHashes = listOf<String>(
        "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    )
} 
   //sampleEnd
}