getTrustStoreRevocationContent method
Retrieves the specified revocation file.
This action returns a pre-signed S3 URI which is active for ten minutes.
May throw RevocationIdNotFoundException.
May throw TrustStoreNotFoundException.
Parameter revocationId :
The revocation ID of the revocation file.
Parameter trustStoreArn :
The Amazon Resource Name (ARN) of the trust store.
Implementation
Future<GetTrustStoreRevocationContentOutput> getTrustStoreRevocationContent({
required int revocationId,
required String trustStoreArn,
}) async {
final $request = <String, String>{
'RevocationId': revocationId.toString(),
'TrustStoreArn': trustStoreArn,
};
final $result = await _protocol.send(
$request,
action: 'GetTrustStoreRevocationContent',
version: '2015-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
resultWrapper: 'GetTrustStoreRevocationContentResult',
);
return GetTrustStoreRevocationContentOutput.fromXml($result);
}