@Override
    public ForecastGeofenceEventsResult forecastGeofenceEvents(ForecastGeofenceEventsRequest request) {
        request = beforeClientExecution(request);
        return executeForecastGeofenceEvents(request);
    }
<p>
Evaluates device positions against geofence geometries from a given geofence collection. The event forecasts
three states for which a device can be in relative to a geofence:
</p>
<p>
<code>ENTER</code>: If a device is outside of a geofence, but would breach the fence if the device is moving at
its current speed within time horizon window.
</p>
<p>
<code>EXIT</code>: If a device is inside of a geofence, but would breach the fence if the device is moving at its
current speed within time horizon window.
</p>
<p>
<code>IDLE</code>: If a device is inside of a geofence, and the device is not moving.
</p>

@param forecastGeofenceEventsRequest
@return Result of the ForecastGeofenceEvents operation returned by the service.
@throws InternalServerException
        The request has failed to process because of an unknown server error, exception, or failure.
@throws ResourceNotFoundException
        The resource that you've entered was not found in your AWS account.
@throws AccessDeniedException
        The request was denied because of insufficient access or permissions. Check with an administrator to
        verify your permissions.
@throws ValidationException
        The input failed to meet the constraints specified by the AWS service.
@throws ThrottlingException
        The request was denied because of request throttling.
@sample AmazonLocation.ForecastGeofenceEvents
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ForecastGeofenceEvents"
     target="_top">AWS API Documentation</a>
aws-java-sdk-location/src/main/java/com/amazonaws/services/location/AmazonLocationClient.java