@Override
    public ImportKeyPairResult importKeyPair(ImportKeyPairRequest request) {
        request = beforeClientExecution(request);
        return executeImportKeyPair(request);
    }
<p>
Imports the public key from an RSA or ED25519 key pair that you created with a third-party tool. Compare this
with <a>CreateKeyPair</a>, in which Amazon Web Services creates the key pair and gives the keys to you (Amazon
Web Services keeps a copy of the public key). With ImportKeyPair, you create the key pair and give Amazon Web
Services just the public key. The private key is never transferred between you and Amazon Web Services.
</p>
<p>
For more information about key pairs, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs</a> in the
<i>Amazon Elastic Compute Cloud User Guide</i>.
</p>

@param importKeyPairRequest
@return Result of the ImportKeyPair operation returned by the service.
@sample AmazonEC2.ImportKeyPair
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPair" target="_top">AWS API
     Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java