getPublicKey method
Gets information for the specified public key.
May throw AccessDeniedException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter arn :
ARN of the public key for which the information is to be retrieved.
Implementation
Future<GetPublicKeyResponse> getPublicKey({
required String arn,
}) async {
final $payload = <String, dynamic>{
'arn': arn,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/GetPublicKey',
exceptionFnMap: _exceptionFns,
);
return GetPublicKeyResponse.fromJson(response);
}