@Override
    public BatchEvaluateGeofencesResult batchEvaluateGeofences(BatchEvaluateGeofencesRequest request) {
        request = beforeClientExecution(request);
        return executeBatchEvaluateGeofences(request);
    }
<p>
Evaluates device positions against the geofence geometries from a given geofence collection.
</p>
<p>
This operation always returns an empty response because geofences are asynchronously evaluated. The evaluation
determines if the device has entered or exited a geofenced area, and then publishes one of the following events
to Amazon EventBridge:
</p>
<ul>
<li>
<p>
<code>ENTER</code> if Amazon Location determines that the tracked device has entered a geofenced area.
</p>
</li>
<li>
<p>
<code>EXIT</code> if Amazon Location determines that the tracked device has exited a geofenced area.
</p>
</li>
</ul>
<note>
<p>
The last geofence that a device was observed within is tracked for 30 days after the most recent device position
update.
</p>
</note> <note>
<p>
Geofence evaluation uses the given device position. It does not account for the optional <code>Accuracy</code> of
a <code>DevicePositionUpdate</code>.
</p>
</note> <note>
<p>
The <code>DeviceID</code> is used as a string to represent the device. You do not need to have a
<code>Tracker</code> associated with the <code>DeviceID</code>.
</p>
</note>

@param batchEvaluateGeofencesRequest
@return Result of the BatchEvaluateGeofences 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.BatchEvaluateGeofences
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchEvaluateGeofences"
     target="_top">AWS API Documentation</a>
aws-java-sdk-location/src/main/java/com/amazonaws/services/location/AmazonLocationClient.java