@Override
    public EnableImageResult enableImage(EnableImageRequest request) {
        request = beforeClientExecution(request);
        return executeEnableImage(request);
    }
<p>
Re-enables a disabled AMI. The re-enabled AMI is marked as <code>available</code> and can be used for instance
launches, appears in describe operations, and can be shared. Amazon Web Services accounts, organizations, and
Organizational Units that lost access to the AMI when it was disabled do not regain access automatically. Once
the AMI is available, it can be shared with them again.
</p>
<p>
Only the AMI owner can re-enable a disabled AMI.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/disable-an-ami.html">Disable an AMI</a> in the
<i>Amazon EC2 User Guide</i>.
</p>

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