return toImportKeyPair(engine.importKeyPair(ec2Request));
}
public static ImportKeyPairResponse toImportKeyPair(final EC2SSHKeyPair key) {
ImportKeyPairResponseType respType = new ImportKeyPairResponseType();
respType.setRequestId(UUID.randomUUID().toString());
respType.setKeyName(key.getKeyName());
respType.setKeyFingerprint(key.getFingerprint());
ImportKeyPairResponse response = new ImportKeyPairResponse();
response.setImportKeyPairResponse(respType);
return response;