@Override
    public CreateRestoreImageTaskResult createRestoreImageTask(CreateRestoreImageTaskRequest request) {
        request = beforeClientExecution(request);
        return executeCreateRestoreImageTask(request);
    }
<p>
Starts a task that restores an AMI from an Amazon S3 object that was previously created by using <a
href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html"
>CreateStoreImageTask</a>.
</p>
<p>
To use this API, you must have the required permissions. For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions">Permissions
for storing and restoring AMIs using Amazon S3</a> in the <i>Amazon EC2 User Guide</i>.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html">Store and restore an AMI using
Amazon S3</a> in the <i>Amazon EC2 User Guide</i>.
</p>

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