@Override
    public RequestSpotInstancesResult requestSpotInstances(RequestSpotInstancesRequest request) {
        request = beforeClientExecution(request);
        return executeRequestSpotInstances(request);
    }
<p>
Creates a Spot Instance request.
</p>
<p>
For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html">Work
with Spot Instance</a> in the <i>Amazon EC2 User Guide</i>.
</p>
<important>
<p>
We strongly discourage using the RequestSpotInstances API because it is a legacy API with no planned investment.
For options for requesting Spot Instances, see <a href=
"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-best-practices.html#which-spot-request-method-to-use"
>Which is the best Spot request method to use?</a> in the <i>Amazon EC2 User Guide</i>.
</p>
</important>

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