@SdkInternalApi
    final CancelCapacityReservationFleetsResult executeCancelCapacityReservationFleets(
            CancelCapacityReservationFleetsRequest cancelCapacityReservationFleetsRequest) {

        ExecutionContext executionContext = createExecutionContext(cancelCapacityReservationFleetsRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<CancelCapacityReservationFleetsRequest> request = null;
        Response<CancelCapacityReservationFleetsResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new CancelCapacityReservationFleetsRequestMarshaller().marshall(super.beforeMarshalling(cancelCapacityReservationFleetsRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "EC2");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CancelCapacityReservationFleets");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            StaxResponseHandler<CancelCapacityReservationFleetsResult> responseHandler = new StaxResponseHandler<CancelCapacityReservationFleetsResult>(
                    new CancelCapacityReservationFleetsResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Cancels one or more Capacity Reservation Fleets. When you cancel a Capacity Reservation Fleet, the following
happens:
</p>
<ul>
<li>
<p>
The Capacity Reservation Fleet's status changes to <code>cancelled</code>.
</p>
</li>
<li>
<p>
The individual Capacity Reservations in the Fleet are cancelled. Instances running in the Capacity Reservations
at the time of cancelling the Fleet continue to run in shared capacity.
</p>
</li>
<li>
<p>
The Fleet stops creating new Capacity Reservations.
</p>
</li>
</ul>

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