@Override
    public ModifyInstanceFleetResult modifyInstanceFleet(ModifyInstanceFleetRequest request) {
        request = beforeClientExecution(request);
        return executeModifyInstanceFleet(request);
    }
<p>
Modifies the target On-Demand and target Spot capacities for the instance fleet with the specified
InstanceFleetID within the cluster specified using ClusterID. The call either succeeds or fails atomically.
</p>
<note>
<p>
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x
versions.
</p>
</note>

@param modifyInstanceFleetRequest
@return Result of the ModifyInstanceFleet operation returned by the service.
@throws InternalServerException
        This exception occurs when there is an internal failure in the Amazon EMR service.
@throws InvalidRequestException
        This exception occurs when there is something wrong with user input.
@sample AmazonElasticMapReduce.ModifyInstanceFleet
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleet"
     target="_top">AWS API Documentation</a>
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/AmazonElasticMapReduceClient.java