@Override
    public CreateFleetResult createFleet(CreateFleetRequest request) {
        request = beforeClientExecution(request);
        return executeCreateFleet(request);
    }
<p>
Creates an EC2 Fleet that contains the configuration information for On-Demand Instances and Spot Instances.
Instances are launched immediately if there is available capacity.
</p>
<p>
A single EC2 Fleet can include multiple launch specifications that vary by instance type, AMI, Availability Zone,
or subnet.
</p>
<p>
For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html">EC2
Fleet</a> in the <i>Amazon EC2 User Guide</i>.
</p>

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