Skip to content

GetTrustStoreRevocationContent

Source: src/AWS/ELBv2/GetTrustStoreRevocationContent.ts

Runtime binding for the GetTrustStoreRevocationContent operation (IAM action elasticloadbalancing:GetTrustStoreRevocationContent scoped to the trust-store ARN).

Returns a pre-signed S3 URI (active for ten minutes) for a certificate revocation list (CRL) previously added to the bound TrustStore — e.g. an ops endpoint auditing which client certificates are currently revoked. A missing revocation id surfaces as the typed RevocationIdNotFoundException. Provide the implementation with Effect.provide(AWS.ELBv2.GetTrustStoreRevocationContentHttp).

// init — bind the operation to the trust store
const getRevocation = yield* AWS.ELBv2.GetTrustStoreRevocationContent(trustStore);
// runtime
const { Location } = yield* getRevocation({ RevocationId: 1 });