text:
package com.amazonaws.services.location;

import javax.annotation.Generated;

import com.amazonaws.*;
import com.amazonaws.regions.*;

import com.amazonaws.services.location.model.*;

/**
 * Interface for accessing Amazon Location Service.
 *

 * Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
 * {@link com.amazonaws.services.location.AbstractAmazonLocation} instead.
 *

 *

 *

 * "Suite of geospatial services including Maps, Places, Routes, Tracking, and Geofencing"
 *

 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AmazonLocation {

    /**
     * The region metadata service name for computing region endpoints. You can use this value to retrieve metadata
     * (such as supported regions) of the service.
     *
     * @see RegionUtils#getRegionsForService(String)
     */
    String ENDPOINT_PREFIX = "geo";

    /**
     *

     * Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to
     * communicate location data to the linked geofence collection.
     *

     *

     * You can associate up to five geofence collections to each tracker resource.
     *

     * <note>
     *

     * Currently not supported — Cross-account configurations, such as creating associations between a tracker resource
     * in one account and a geofence collection in another account.
     *

     * </note>
     *
     * @param associateTrackerConsumerRequest
     * @return Result of the AssociateTrackerConsumer 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 ConflictException
     *         The request was unsuccessful because of a conflict.
     * @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 ServiceQuotaExceededException
     *         The operation was denied because the request would exceed the maximum quota set for
     *         Amazon Location Service.
     * @throws ThrottlingException
     *         The request was denied because of request throttling.
     * @sample AmazonLocation.AssociateTrackerConsumer
     * @see AWS API Documentation
     */
    AssociateTrackerConsumerResult associateTrackerConsumer(AssociateTrackerConsumerRequest associateTrackerConsumerRequest);

    /**
     *

     * Deletes the position history of one or more devices from a tracker resource.
     *

     *
     * @param batchDeleteDevicePositionHistoryRequest
     * @return Result of the BatchDeleteDevicePositionHistory 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.BatchDeleteDevicePositionHistory
     * @see AWS API Documentation
     */
    BatchDeleteDevicePositionHistoryResult batchDeleteDevicePositionHistory(BatchDeleteDevicePositionHistoryRequest batchDeleteDevicePositionHistoryRequest);

    /**
     *

     * Deletes a batch of geofences from a geofence collection.
     *

     * <note>
     *

     * This operation deletes the resource permanently.
     *

     * </note>
     *
     * @param batchDeleteGeofenceRequest
     * @return Result of the BatchDeleteGeofence 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.BatchDeleteGeofence
     * @see AWS
     *      API Documentation
     */
    BatchDeleteGeofenceResult batchDeleteGeofence(BatchDeleteGeofenceRequest batchDeleteGeofenceRequest);

    /**
     *

     * Evaluates device positions against the geofence geometries from a given geofence collection.
     *

     *

     * 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:
     *

     *

     *

     *

     * ENTER if Amazon Location determines that the tracked device has entered a geofenced area.
     *

     *

     *

     *

     * EXIT if Amazon Location determines that the tracked device has exited a geofenced area.
     *

     *

     *

     * <note>
     *

     * The last geofence that a device was observed within is tracked for 30 days after the most recent device position
     * update.
     *

     * </note> <note>
     *

     * Geofence evaluation uses the given device position. It does not account for the optional Accuracy of
     * a DevicePositionUpdate.
     *

     * </note> <note>
     *

     * The DeviceID is used as a string to represent the device. You do not need to have a
     * Tracker associated with the DeviceID.
     *

     * </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 AWS API Documentation
     */
    BatchEvaluateGeofencesResult batchEvaluateGeofences(BatchEvaluateGeofencesRequest batchEvaluateGeofencesRequest);

    /**
     *

     * Lists the latest device positions for requested devices.
     *

     *
     * @param batchGetDevicePositionRequest
     * @return Result of the BatchGetDevicePosition 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.BatchGetDevicePosition
     * @see AWS API Documentation
     */
    BatchGetDevicePositionResult batchGetDevicePosition(BatchGetDevicePositionRequest batchGetDevicePositionRequest);

    /**
     *

     * A batch request for storing geofence geometries into a given geofence collection, or updates the geometry of an
     * existing geofence if a geofence ID is included in the request.
     *

     *
     * @param batchPutGeofenceRequest
     * @return Result of the BatchPutGeofence 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.BatchPutGeofence
     * @see AWS API
     *      Documentation
     */
    BatchPutGeofenceResult batchPutGeofence(BatchPutGeofenceRequest batchPutGeofenceRequest);

    /**
     *

     * Uploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when it
     * reports the last known device position and position history. Amazon Location retains location data for 30 days.
     *

     * <note>
     *

     * Position updates are handled based on the PositionFiltering property of the tracker. When
     * PositionFiltering is set to TimeBased, updates are evaluated against linked geofence
     * collections, and location data is stored at a maximum of one position per 30 second interval. If your update
     * frequency is more often than every 30 seconds, only one update per 30 seconds is stored for each unique device
     * ID.
     *

     *

     * When PositionFiltering is set to DistanceBased filtering, location data is stored and
     * evaluated against linked geofence collections only if the device has moved more than 30 m (98.4 ft).
     *

     *

     * When PositionFiltering is set to AccuracyBased filtering, location data is stored and
     * evaluated against linked geofence collections only if the device has moved more than the measured accuracy. For
     * example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update
     * is neither stored or evaluated if the device has moved less than 15 m. If PositionFiltering is set
     * to AccuracyBased filtering, Amazon Location uses the default value { "Horizontal": 0}
     * when accuracy is not provided on a DevicePositionUpdate.
     *

     * </note>
     *
     * @param batchUpdateDevicePositionRequest
     * @return Result of the BatchUpdateDevicePosition 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.BatchUpdateDevicePosition
     * @see AWS API Documentation
     */
    BatchUpdateDevicePositionResult batchUpdateDevicePosition(BatchUpdateDevicePositionRequest batchUpdateDevicePositionRequest);

    /**
     *

     * Calculates a route
     * given the following required parameters: DeparturePosition and DestinationPosition.
     * Requires that you first create a
     * route calculator resource.
     *

     *

     * By default, a request that doesn't specify a departure time uses the best time of day to travel with the best
     * traffic conditions when calculating the route.
     *

     *

     * Additional options include:
     *

     *

     *

     *

     * Specifying a departure
     * time using either DepartureTime or DepartNow. This calculates a route based on
     * predictive traffic data at the given time.
     *

     * <note>
     *

     * You can't specify both DepartureTime and DepartNow in a single request. Specifying both
     * parameters returns a validation error.
     *

     * </note>

     *

     *

     * Specifying a travel
     * mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify
     * additional route preferences in CarModeOptions if traveling by Car, or
     * TruckModeOptions if traveling by Truck.
     *

     * <note>
     *

     * If you specify walking for the travel mode and your data provider is Esri, the start and destination
     * must be within 40km.
     *

     * </note>

     *

     *
     * @param calculateRouteRequest
     * @return Result of the CalculateRoute 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.CalculateRoute
     * @see AWS API
     *      Documentation
     */
    CalculateRouteResult calculateRoute(CalculateRouteRequest calculateRouteRequest);

    /**
     *

     *  Calculates a
     * route matrix given the following required parameters: DeparturePositions and
     * DestinationPositions. CalculateRouteMatrix calculates routes and returns the travel
     * time and travel distance from each departure position to each destination position in the request. For example,
     * given departure positions A and B, and destination positions X and Y, CalculateRouteMatrix will
     * return time and distance for routes from A to X, A to Y, B to X, and B to Y (in that order). The number of
     * results returned (and routes calculated) will be the number of DeparturePositions times the number
     * of DestinationPositions.
     *

     * <note>
     *

     * Your account is charged for each route calculated, not the number of requests.
     *

     * </note>
     *

     * Requires that you first create a
     * route calculator resource.
     *

     *

     * By default, a request that doesn't specify a departure time uses the best time of day to travel with the best
     * traffic conditions when calculating routes.
     *

     *

     * Additional options include:
     *

     *

     *

     *

     *  Specifying a departure
     * time using either DepartureTime or DepartNow. This calculates routes based on
     * predictive traffic data at the given time.
     *

     * <note>
     *

     * You can't specify both DepartureTime and DepartNow in a single request. Specifying both
     * parameters returns a validation error.
     *

     * </note>

     *

     *

     * Specifying a travel
     * mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify
     * additional route preferences in CarModeOptions if traveling by Car, or
     * TruckModeOptions if traveling by Truck.
     *

     *

     *

     *
     * @param calculateRouteMatrixRequest
     * @return Result of the CalculateRouteMatrix 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.CalculateRouteMatrix
     * @see AWS
     *      API Documentation
     */
    CalculateRouteMatrixResult calculateRouteMatrix(CalculateRouteMatrixRequest calculateRouteMatrixRequest);

    /**
     *

     * Creates a geofence collection, which manages and stores geofences.
     *

     *
     * @param createGeofenceCollectionRequest
     * @return Result of the CreateGeofenceCollection operation returned by the service.
     * @throws InternalServerException
     *         The request has failed to process because of an unknown server error, exception, or failure.
     * @throws ConflictException
     *         The request was unsuccessful because of a conflict.
     * @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.CreateGeofenceCollection
     * @see AWS API Documentation
     */
    CreateGeofenceCollectionResult createGeofenceCollection(CreateGeofenceCollectionRequest createGeofenceCollectionRequest);

    /**
     *

     * Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global
     * location data providers.
     *

     * <note>
     *

     * If your application is tracking or routing assets you use in your business, such as delivery vehicles or
     * employees, you may only use HERE as your geolocation provider. See section 82 of the AWS service terms for more details.
     *

     * </note>
     *
     * @param createMapRequest
     * @return Result of the CreateMap operation returned by the service.
     * @throws InternalServerException
     *         The request has failed to process because of an unknown server error, exception, or failure.
     * @throws ConflictException
     *         The request was unsuccessful because of a conflict.
     * @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.CreateMap
     * @see AWS API
     *      Documentation
     */
    CreateMapResult createMap(CreateMapRequest createMapRequest);

    /**
     *

     * Creates a place index resource in your AWS account. Use a place index resource to geocode addresses and other
     * text queries by using the SearchPlaceIndexForText operation, and reverse geocode coordinates by
     * using the SearchPlaceIndexForPosition operation, and enable autosuggestions by using the
     * SearchPlaceIndexForSuggestions operation.
     *

     * <note>
     *

     * If your application is tracking or routing assets you use in your business, such as delivery vehicles or
     * employees, you may only use HERE as your geolocation provider. See section 82 of the AWS service terms for more details.
     *

     * </note>
     *
     * @param createPlaceIndexRequest
     * @return Result of the CreatePlaceIndex operation returned by the service.
     * @throws InternalServerException
     *         The request has failed to process because of an unknown server error, exception, or failure.
     * @throws ConflictException
     *         The request was unsuccessful because of a conflict.
     * @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.CreatePlaceIndex
     * @see AWS API
     *      Documentation
     */
    CreatePlaceIndexResult createPlaceIndex(CreatePlaceIndexRequest createPlaceIndexRequest);

    /**
     *

     * Creates a route calculator resource in your AWS account.
     *

     *

     * You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A
     * route calculator sources traffic and road network data from your chosen data provider.
     *

     * <note>
     *

     * If your application is tracking or routing assets you use in your business, such as delivery vehicles or
     * employees, you may only use HERE as your geolocation provider. See section 82 of the AWS service terms for more details.
     *

     * </note>
     *
     * @param createRouteCalculatorRequest
     * @return Result of the CreateRouteCalculator operation returned by the service.
     * @throws InternalServerException
     *         The request has failed to process because of an unknown server error, exception, or failure.
     * @throws ConflictException
     *         The request was unsuccessful because of a conflict.
     * @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.CreateRouteCalculator
     * @see AWS
     *      API Documentation
     */
    CreateRouteCalculatorResult createRouteCalculator(CreateRouteCalculatorRequest createRouteCalculatorRequest);

    /**
     *

     * Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of
     * devices.
     *

     *
     * @param createTrackerRequest
     * @return Result of the CreateTracker operation returned by the service.
     * @throws InternalServerException
     *         The request has failed to process because of an unknown server error, exception, or failure.
     * @throws ConflictException
     *         The request was unsuccessful because of a conflict.
     * @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.CreateTracker
     * @see AWS API
     *      Documentation
     */
    CreateTrackerResult createTracker(CreateTrackerRequest createTrackerRequest);

    /**
     *

     * Deletes a geofence collection from your AWS account.
     *

     * <note>
     *

     * This operation deletes the resource permanently. If the geofence collection is the target of a tracker resource,
     * the devices will no longer be monitored.
     *

     * </note>
     *
     * @param deleteGeofenceCollectionRequest
     * @return Result of the DeleteGeofenceCollection 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.DeleteGeofenceCollection
     * @see AWS API Documentation
     */
    DeleteGeofenceCollectionResult deleteGeofenceCollection(DeleteGeofenceCollectionRequest deleteGeofenceCollectionRequest);

    /**
     *

     * Deletes a map resource from your AWS account.
     *

     * <note>
     *

     * This operation deletes the resource permanently. If the map is being used in an application, the map may not
     * render.
     *

     * </note>
     *
     * @param deleteMapRequest
     * @return Result of the DeleteMap 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.DeleteMap
     * @see AWS API
     *      Documentation
     */
    DeleteMapResult deleteMap(DeleteMapRequest deleteMapRequest);

    /**
     *

     * Deletes a place index resource from your AWS account.
     *

     * <note>
     *

     * This operation deletes the resource permanently.
     *

     * </note>
     *
     * @param deletePlaceIndexRequest
     * @return Result of the DeletePlaceIndex 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.DeletePlaceIndex
     * @see AWS API
     *      Documentation
     */
    DeletePlaceIndexResult deletePlaceIndex(DeletePlaceIndexRequest deletePlaceIndexRequest);

    /**
     *

     * Deletes a route calculator resource from your AWS account.
     *

     * <note>
     *

     * This operation deletes the resource permanently.
     *

     * </note>
     *
     * @param deleteRouteCalculatorRequest
     * @return Result of the DeleteRouteCalculator 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.DeleteRouteCalculator
     * @see AWS
     *      API Documentation
     */
    DeleteRouteCalculatorResult deleteRouteCalculator(DeleteRouteCalculatorRequest deleteRouteCalculatorRequest);

    /**
     *

     * Deletes a tracker resource from your AWS account.
     *

     * <note>
     *

     * This operation deletes the resource permanently. If the tracker resource is in use, you may encounter an error.
     * Make sure that the target resource isn't a dependency for your applications.
     *

     * </note>
     *
     * @param deleteTrackerRequest
     * @return Result of the DeleteTracker 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.DeleteTracker
     * @see AWS API
     *      Documentation
     */
    DeleteTrackerResult deleteTracker(DeleteTrackerRequest deleteTrackerRequest);

    /**
     *

     * Retrieves the geofence collection details.
     *

     *
     * @param describeGeofenceCollectionRequest
     * @return Result of the DescribeGeofenceCollection 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.DescribeGeofenceCollection
     * @see AWS API Documentation
     */
    DescribeGeofenceCollectionResult describeGeofenceCollection(DescribeGeofenceCollectionRequest describeGeofenceCollectionRequest);

    /**
     *

     * Retrieves the map resource details.
     *

     *
     * @param describeMapRequest
     * @return Result of the DescribeMap 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.DescribeMap
     * @see AWS API
     *      Documentation
     */
    DescribeMapResult describeMap(DescribeMapRequest describeMapRequest);

    /**
     *

     * Retrieves the place index resource details.
     *

     *
     * @param describePlaceIndexRequest
     * @return Result of the DescribePlaceIndex 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.DescribePlaceIndex
     * @see AWS
     *      API Documentation
     */
    DescribePlaceIndexResult describePlaceIndex(DescribePlaceIndexRequest describePlaceIndexRequest);

    /**
     *

     * Retrieves the route calculator resource details.
     *

     *
     * @param describeRouteCalculatorRequest
     * @return Result of the DescribeRouteCalculator 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.DescribeRouteCalculator
     * @see AWS API Documentation
     */
    DescribeRouteCalculatorResult describeRouteCalculator(DescribeRouteCalculatorRequest describeRouteCalculatorRequest);

    /**
     *

     * Retrieves the tracker resource details.
     *

     *
     * @param describeTrackerRequest
     * @return Result of the DescribeTracker 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.DescribeTracker
     * @see AWS API
     *      Documentation
     */
    DescribeTrackerResult describeTracker(DescribeTrackerRequest describeTrackerRequest);

    /**
     *

     * Removes the association between a tracker resource and a geofence collection.
     *

     * <note>
     *

     * Once you unlink a tracker resource from a geofence collection, the tracker positions will no longer be
     * automatically evaluated against geofences.
     *

     * </note>
     *
     * @param disassociateTrackerConsumerRequest
     * @return Result of the DisassociateTrackerConsumer 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.DisassociateTrackerConsumer
     * @see AWS API Documentation
     */
    DisassociateTrackerConsumerResult disassociateTrackerConsumer(DisassociateTrackerConsumerRequest disassociateTrackerConsumerRequest);

    /**
     *

     * Retrieves a device's most recent position according to its sample time.
     *

     * <note>
     *

     * Device positions are deleted after 30 days.
     *

     * </note>
     *
     * @param getDevicePositionRequest
     * @return Result of the GetDevicePosition 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.GetDevicePosition
     * @see AWS API
     *      Documentation
     */
    GetDevicePositionResult getDevicePosition(GetDevicePositionRequest getDevicePositionRequest);

    /**
     *

     * Retrieves the device position history from a tracker resource within a specified range of time.
     *

     * <note>
     *

     * Device positions are deleted after 30 days.
     *

     * </note>
     *
     * @param getDevicePositionHistoryRequest
     * @return Result of the GetDevicePositionHistory 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.GetDevicePositionHistory
     * @see AWS API Documentation
     */
    GetDevicePositionHistoryResult getDevicePositionHistory(GetDevicePositionHistoryRequest getDevicePositionHistoryRequest);

    /**
     *

     * Retrieves the geofence details from a geofence collection.
     *

     *
     * @param getGeofenceRequest
     * @return Result of the GetGeofence 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.GetGeofence
     * @see AWS API
     *      Documentation
     */
    GetGeofenceResult getGeofence(GetGeofenceRequest getGeofenceRequest);

    /**
     *

     * Retrieves glyphs used to display labels on a map.
     *

     *
     * @param getMapGlyphsRequest
     * @return Result of the GetMapGlyphs 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.GetMapGlyphs
     * @see AWS API
     *      Documentation
     */
    GetMapGlyphsResult getMapGlyphs(GetMapGlyphsRequest getMapGlyphsRequest);

    /**
     *

     * Retrieves the sprite sheet corresponding to a map resource. The sprite sheet is a PNG image paired with a JSON
     * document describing the offsets of individual icons that will be displayed on a rendered map.
     *

     *
     * @param getMapSpritesRequest
     * @return Result of the GetMapSprites 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.GetMapSprites
     * @see AWS API
     *      Documentation
     */
    GetMapSpritesResult getMapSprites(GetMapSpritesRequest getMapSpritesRequest);

    /**
     *

     * Retrieves the map style descriptor from a map resource.
     *

     *

     * The style descriptor contains specifications on how features render on a map. For example, what data to display,
     * what order to display the data in, and the style for the data. Style descriptors follow the Mapbox Style
     * Specification.
     *

     *
     * @param getMapStyleDescriptorRequest
     * @return Result of the GetMapStyleDescriptor 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.GetMapStyleDescriptor
     * @see AWS
     *      API Documentation
     */
    GetMapStyleDescriptorResult getMapStyleDescriptor(GetMapStyleDescriptorRequest getMapStyleDescriptorRequest);

    /**
     *

     * Retrieves a vector data tile from the map resource. Map tiles are used by clients to render a map. they're
     * addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level.
     *

     *

     * The origin (0, 0) is the top left of the map. Increasing the zoom level by 1 doubles both the X and Y dimensions,
     * so a tile containing data for the entire world at (0/0/0) will be split into 4 tiles at zoom 1 (1/0/0, 1/0/1,
     * 1/1/0, 1/1/1).
     *

     *
     * @param getMapTileRequest
     * @return Result of the GetMapTile 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.GetMapTile
     * @see AWS API
     *      Documentation
     */
    GetMapTileResult getMapTile(GetMapTileRequest getMapTileRequest);

    /**
     *

     * Finds a place by its unique ID. A PlaceId is returned by other search operations.
     *

     * <note>
     *

     * A PlaceId is valid only if all of the following are the same in the original search request and the call to
     * GetPlace.
     *

     *

     *

     *

     * Customer AWS account
     *

     *

     *

     *

     * AWS Region
     *

     *

     *

     *

     * Data provider specified in the place index resource
     *

     *

     *

     * </note>
     *
     * @param getPlaceRequest
     * @return Result of the GetPlace 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.GetPlace
     * @see AWS API
     *      Documentation
     */
    GetPlaceResult getPlace(GetPlaceRequest getPlaceRequest);

    /**
     *

     * A batch request to retrieve all device positions.
     *

     *
     * @param listDevicePositionsRequest
     * @return Result of the ListDevicePositions operation returned by the service.
     * @throws InternalServerException
     *         The request has failed to process because of an unknown server error, exception, or failure.
     * @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.ListDevicePositions
     * @see AWS
     *      API Documentation
     */
    ListDevicePositionsResult listDevicePositions(ListDevicePositionsRequest listDevicePositionsRequest);

    /**
     *

     * Lists geofence collections in your AWS account.
     *

     *
     * @param listGeofenceCollectionsRequest
     * @return Result of the ListGeofenceCollections operation returned by the service.
     * @throws InternalServerException
     *         The request has failed to process because of an unknown server error, exception, or failure.
     * @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.ListGeofenceCollections
     * @see AWS API Documentation
     */
    ListGeofenceCollectionsResult listGeofenceCollections(ListGeofenceCollectionsRequest listGeofenceCollectionsRequest);

    /**
     *

     * Lists geofences stored in a given geofence collection.
     *

     *
     * @param listGeofencesRequest
     * @return Result of the ListGeofences 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.ListGeofences
     * @see AWS API
     *      Documentation
     */
    ListGeofencesResult listGeofences(ListGeofencesRequest listGeofencesRequest);

    /**
     *

     * Lists map resources in your AWS account.
     *

     *
     * @param listMapsRequest
     * @return Result of the ListMaps operation returned by the service.
     * @throws InternalServerException
     *         The request has failed to process because of an unknown server error, exception, or failure.
     * @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.ListMaps
     * @see AWS API
     *      Documentation
     */
    ListMapsResult listMaps(ListMapsRequest listMapsRequest);

    /**
     *

     * Lists place index resources in your AWS account.
     *

     *
     * @param listPlaceIndexesRequest
     * @return Result of the ListPlaceIndexes operation returned by the service.
     * @throws InternalServerException
     *         The request has failed to process because of an unknown server error, exception, or failure.
     * @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.ListPlaceIndexes
     * @see AWS API
     *      Documentation
     */
    ListPlaceIndexesResult listPlaceIndexes(ListPlaceIndexesRequest listPlaceIndexesRequest);

    /**
     *

     * Lists route calculator resources in your AWS account.
     *

     *
     * @param listRouteCalculatorsRequest
     * @return Result of the ListRouteCalculators operation returned by the service.
     * @throws InternalServerException
     *         The request has failed to process because of an unknown server error, exception, or failure.
     * @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.ListRouteCalculators
     * @see AWS
     *      API Documentation
     */
    ListRouteCalculatorsResult listRouteCalculators(ListRouteCalculatorsRequest listRouteCalculatorsRequest);

    /**
     *

     * Returns a list of tags that are applied to the specified Amazon Location resource.
     *

     *
     * @param listTagsForResourceRequest
     * @return Result of the ListTagsForResource 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.ListTagsForResource
     * @see AWS
     *      API Documentation
     */
    ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest);

    /**
     *

     * Lists geofence collections currently associated to the given tracker resource.
     *

     *
     * @param listTrackerConsumersRequest
     * @return Result of the ListTrackerConsumers 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.ListTrackerConsumers
     * @see AWS
     *      API Documentation
     */
    ListTrackerConsumersResult listTrackerConsumers(ListTrackerConsumersRequest listTrackerConsumersRequest);

    /**
     *

     * Lists tracker resources in your AWS account.
     *

     *
     * @param listTrackersRequest
     * @return Result of the ListTrackers operation returned by the service.
     * @throws InternalServerException
     *         The request has failed to process because of an unknown server error, exception, or failure.
     * @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.ListTrackers
     * @see AWS API
     *      Documentation
     */
    ListTrackersResult listTrackers(ListTrackersRequest listTrackersRequest);

    /**
     *

     * Stores a geofence geometry in a given geofence collection, or updates the geometry of an existing geofence if a
     * geofence ID is included in the request.
     *

     *
     * @param putGeofenceRequest
     * @return Result of the PutGeofence 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 ConflictException
     *         The request was unsuccessful because of a conflict.
     * @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.PutGeofence
     * @see AWS API
     *      Documentation
     */
    PutGeofenceResult putGeofence(PutGeofenceRequest putGeofenceRequest);

    /**
     *

     * Reverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of
     * interest near a given position.
     *

     *
     * @param searchPlaceIndexForPositionRequest
     * @return Result of the SearchPlaceIndexForPosition 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.SearchPlaceIndexForPosition
     * @see AWS API Documentation
     */
    SearchPlaceIndexForPositionResult searchPlaceIndexForPosition(SearchPlaceIndexForPositionRequest searchPlaceIndexForPositionRequest);

    /**
     *

     * Generates suggestions for addresses and points of interest based on partial or misspelled free-form text. This
     * operation is also known as autocomplete, autosuggest, or fuzzy matching.
     *

     *

     * Optional parameters let you narrow your search results by bounding box or country, or bias your search toward a
     * specific position on the globe.
     *

     * <note>
     *

     * You can search for suggested place names near a specified position by using BiasPosition, or filter
     * results within a bounding box by using FilterBBox. These parameters are mutually exclusive; using
     * both BiasPosition and FilterBBox in the same command returns an error.
     *

     * </note>
     *
     * @param searchPlaceIndexForSuggestionsRequest
     * @return Result of the SearchPlaceIndexForSuggestions 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.SearchPlaceIndexForSuggestions
     * @see AWS API Documentation
     */
    SearchPlaceIndexForSuggestionsResult searchPlaceIndexForSuggestions(SearchPlaceIndexForSuggestionsRequest searchPlaceIndexForSuggestionsRequest);

    /**
     *

     * Geocodes free-form text, such as an address, name, city, or region to allow you to search for Places or points of
     * interest.
     *

     *

     * Optional parameters let you narrow your search results by bounding box or country, or bias your search toward a
     * specific position on the globe.
     *

     * <note>
     *

     * You can search for places near a given position using BiasPosition, or filter results within a
     * bounding box using FilterBBox. Providing both parameters simultaneously returns an error.
     *

     * </note>
     *

     * Search results are returned in order of highest to lowest relevance.
     *

     *
     * @param searchPlaceIndexForTextRequest
     * @return Result of the SearchPlaceIndexForText 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.SearchPlaceIndexForText
     * @see AWS API Documentation
     */
    SearchPlaceIndexForTextResult searchPlaceIndexForText(SearchPlaceIndexForTextRequest searchPlaceIndexForTextRequest);

    /**
     *

     * Assigns one or more tags (key-value pairs) to the specified Amazon Location Service resource.
     *

     *
     *

     *  <p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.</p> <p>You can use the <code>TagResource</code> operation with an Amazon Location Service resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the tags already associated with the resource. If you specify a tag key that's already associated with the resource, the new tag value that you specify replaces the previous value for that tag. </p> <p>You can associate up to 50 tags with a resource.</p>
     *

     *
     * @param tagResourceRequest
     * @return Result of the TagResource 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.TagResource
     * @see AWS API
     *      Documentation
     */
    TagResourceResult tagResource(TagResourceRequest tagResourceRequest);

    /**
     *

     * Removes one or more tags from the specified Amazon Location resource.
     *

     *
     * @param untagResourceRequest
     * @return Result of the UntagResource 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.UntagResource
     * @see AWS API
     *      Documentation
     */
    UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest);

    /**
     *

     * Updates the specified properties of a given geofence collection.
     *

     *
     * @param updateGeofenceCollectionRequest
     * @return Result of the UpdateGeofenceCollection 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.UpdateGeofenceCollection
     * @see AWS API Documentation
     */
    UpdateGeofenceCollectionResult updateGeofenceCollection(UpdateGeofenceCollectionRequest updateGeofenceCollectionRequest);

    /**
     *

     * Updates the specified properties of a given map resource.
     *

     *
     * @param updateMapRequest
     * @return Result of the UpdateMap 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.UpdateMap
     * @see AWS API
     *      Documentation
     */
    UpdateMapResult updateMap(UpdateMapRequest updateMapRequest);

    /**
     *

     * Updates the specified properties of a given place index resource.
     *

     *
     * @param updatePlaceIndexRequest
     * @return Result of the UpdatePlaceIndex 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.UpdatePlaceIndex
     * @see AWS API
     *      Documentation
     */
    UpdatePlaceIndexResult updatePlaceIndex(UpdatePlaceIndexRequest updatePlaceIndexRequest);

    /**
     *

     * Updates the specified properties for a given route calculator resource.
     *

     *
     * @param updateRouteCalculatorRequest
     * @return Result of the UpdateRouteCalculator 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.UpdateRouteCalculator
     * @see AWS
     *      API Documentation
     */
    UpdateRouteCalculatorResult updateRouteCalculator(UpdateRouteCalculatorRequest updateRouteCalculatorRequest);

    /**
     *

     * Updates the specified properties of a given tracker resource.
     *

     *
     * @param updateTrackerRequest
     * @return Result of the UpdateTracker 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.UpdateTracker
     * @see AWS API
     *      Documentation
     */
    UpdateTrackerResult updateTracker(UpdateTrackerRequest updateTrackerRequest);

    /**
     * Shuts down this client object, releasing any resources that might be held open. This is an optional method, and
     * callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client
     * has been shutdown, it should not be used to make any more requests.
     */
    void shutdown();

    /**
     * Returns additional metadata for a previously executed successful request, typically used for debugging issues
     * where a service isn't acting as expected. This data isn't considered part of the result data returned by an
     * operation, so it's available through this separate, diagnostic interface.
     *

     * Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic
     * information for an executed request, you should use this method to retrieve it as soon as possible after
     * executing a request.
     *
     * @param request
     *        The originally executed request.
     *
     * @return The response metadata for the specified request, or null if none is available.
     */
    ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request);

}


text:
===============================
Trio Transmission Disequilibrium Test
===============================

.. image:: https://img.shields.io/travis/asifrim/trio_tdt.svg
        :target: https://travis-ci.org/asifrim/trio_tdt

.. image:: https://img.shields.io/pypi/v/trio_tdt.svg
        :target: https://pypi.python.org/pypi/trio_tdt

Transmission Disequilibrium Testing starting from VCF files

* Free software: BSD license
* Documentation: https://trio_tdt.readthedocs.org.

Features
--------

* TODO

redpajama_set_name: RedPajamaGithub


text:
spotmarket forgot password

    <form class="UserRegistration__Form">

        Email
        <input class="AuthTextInput" type="text" ng-model="forgotPasswordCtx.email" />

        <button class="Button--primary" ng-click="forgotPasswordCtx.submitResetPassword()">Reset</button>

    </form>


text:
package com.java110.intf.community;

import com.java110.config.feign.FeignConfiguration;
import com.java110.po.purchase.ResourceStorePo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@FeignClient(name = "${java110.community-service}", configuration = {FeignConfiguration.class})
@RequestMapping("/resourceStoreApi")
public interface IResourceStoreServiceSMO {

    /**
     * 查询资源物品信息
     *
     * @param resourceStorePo
     * @return
     */
    @RequestMapping(value = "/getResourceStores", method = RequestMethod.POST)
    List<ResourceStorePo> getResourceStores(@RequestBody ResourceStorePo resourceStorePo);

    /**
     * 查询资源物品信息数量
     *
     * @param resourceStorePo
     * @return
     */
    @RequestMapping(value = "/getResourceStoresCount", method = RequestMethod.POST)
    int getResourceStoresCount(@RequestBody ResourceStorePo resourceStorePo);

}


text:
package com.opengamma.web.analytics.formatting;

import com.opengamma.engine.value.ValueSpecification;

/**
 *
 */
/* package */ class DoubleObjectArrayFormatter extends AbstractFormatter<Double[][]> {

  /* package */ DoubleObjectArrayFormatter() {
    super(Double[][].class);
    addFormatter(new Formatter<Double[][]>(Format.EXPANDED) {
      @Override
      protected Object formatValue(final Double[][] value, final ValueSpecification valueSpec, final Object inlineKey) {
        return value;
      }
    });
  }

  @Override
  public Object formatCell(final Double[][] value, final ValueSpecification valueSpec, final Object inlineKey) {
    int rowCount;
    int colCount;
    rowCount = value.length;
    if (rowCount == 0) {
      colCount = 0;
    } else {
      colCount = value[0].length;
    }
    return "Matrix (" + rowCount + " x " + colCount + ")";
  }

  @Override
  public DataType getDataType() {
    return DataType.MATRIX_2D;
  }
}


text:
<documentation title="Class Comments">
    <standard>
        <![CDATA[
    Classes and interfaces must have a non-empty doc comment.  The short description must be on the second line of the comment.  Each description must have one blank comment line before and after.  There must be one blank line before the tags in the comments.  A @version tag must be in Release: package_version format.
    ]]>
    </standard>
    <code_comparison>

            <![CDATA[
/**
 * The Foo class.
 */
class Foo
{
}
        ]]>

            <![CDATA[
class Foo
{
}
        ]]>

    </code_comparison>
    <code_comparison>

            <![CDATA[
/**
 * The Foo class.
 */
class Foo
{
}
        ]]>

            <![CDATA[
// The Foo class.
class Foo
{
}
        ]]>

    </code_comparison>
    <code_comparison>

            <![CDATA[
/**
 * The Foo class.
 */
class Foo
{
}
        ]]>

            <![CDATA[
/**
 * The Foo class.
 */

class Foo
{
}
        ]]>

    </code_comparison>
    <code_comparison>

            <![CDATA[
/**
 * The Foo class.
 */
class Foo
{
}
        ]]>

            <![CDATA[
/**
 *
 * The Foo class.
 */
class Foo
{
}
        ]]>

    </code_comparison>
    <code_comparison>

            <![CDATA[
/**
 * The Foo class.
 *
 * A helper for the Bar class.
 *
 * @see Bar
 */
class Foo
{
}
        ]]>

            <![CDATA[
/**
 * The Foo class.
 *
 *
 * A helper for the Bar class.
 *
 *
 * @see Bar
 */
class Foo
{
}
        ]]>

    </code_comparison>
    <code_comparison>

            <![CDATA[
/**
 * The Foo class.
 *
 * @see Bar
 */
class Foo
{
}
        ]]>

            <![CDATA[
/**
 * The Foo class.
 *
 *
 * @see Bar
 */
class Foo
{
}
        ]]>

    </code_comparison>
    <code_comparison>

            <![CDATA[
/**
 * The Foo class.
 *
 * @version Release: 1.0
 */
class Foo
{
}
        ]]>

            <![CDATA[
/**
 * The Foo class.
 *
 * @version 1.0
 */
class Foo
{
}
        ]]>

    </code_comparison>
</documentation>


text:
// ES6 Promise polyfill
/* istanbul ignore next */
global.Promise = global.Promise || require('promise-polyfill')

// canvas.toBlob polyfill
/* istanbul ignore next */
require('./vendor/canvas-to-blob')

var browserImageSize = require('../lib')
var test = require('tape')
var images = [
  ['test/fixtures/32.gif', 32],
  ['test/fixtures/64.jpg', 64],
  ['test/fixtures/128.png', 128]
]

test('URLs', function (t) {
  t.timeoutAfter(5000)
  t.plan(images.length)

  for (var i = 0; i < images.length; i++)
    urlTest(images[i][0], images[i][1])

  function urlTest (name, number) {
    baseTest(t, name, name, number)
  }
})

test('Blobs', function (t) {
  t.timeoutAfter(5000)
  t.plan(images.length)

  for (var i = 0; i < images.length; i++)
    blobTest(images[i][0], images[i][1])

  function blobTest (name, number) {
    getBlobFromImageUrl(name)
    .then(function (blob) {
      baseTest(t, name, blob, number)
    })
    .catch(t.fail)
  }
})

test('Failure', function (t) {
  t.timeoutAfter(5000)
  t.plan(4)

  browserImageSize('')
  .catch(function () {
    t.pass('fail with empty path input')
  })

  browserImageSize('test/fixtures')
  .catch(function () {
    t.pass('fail with invalid path input')
  })

  browserImageSize({})
  .catch(function () {
    t.pass('fail with object input')
  })

  getBlobFromImageUrl(images[0][0])
  .then(function (blob) {
    return browserImageSize(blob.slice(0, 1))
  })
  .catch(function () {
    t.pass('fail with invalid blob')
  })
})

// t = tape
// name = file path
// input = browserImageSize input
// number = resulting height and width
function baseTest (t, name, input, number) {
  t.test(name, innerTest)
  function innerTest (st) {
    st.plan(3)
    browserImageSize(input)
    .then(function (size) {
      st.equal(typeof size, 'object', 'resolves promise with size object')
      st.equal(size.height, number, 'has height of ' + number)
      st.equal(size.width, number, 'has width of ' + number)
    })
    .catch(st.fail)
  }
}

// Helper
// Given a url, return a blob
function getBlobFromImageUrl (url) {
  return new Promise(function (resolve, reject) {
    var img = document.createElement('img')
    img.onload = function onload () {
      var canvas = document.createElement('canvas')
      canvas.height = img.height
      canvas.width = img.width
      canvas.getContext('2d').drawImage(img, 0, 0)
      canvas.toBlob(resolve, 'image/' + name.split('.').reverse().unshift())
    }
    img.onerror = reject
    img.src = url
  })
}


text:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CmdMessenger: Class Members</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

CmdMessenger
    4.0.0

CmdMessenger is a serial port messaging library for the .Net / Mono Platform.

Main Page

Packages

Classes

Class List

Class Index

Class Hierarchy

Class Members

All

Functions

Properties

Events

a

b

c

d

e

f

g

i

l

m

n

o

p

q

r

s

t

u

w

Here is a list of all documented class members with links to the class documentation for each member:

- e -

Enqueue()
: CommandMessenger.Queue.CollapseCommandStrategy
, CommandMessenger.Queue.CommandStrategy
, CommandMessenger.Queue.TopCommandStrategy
, CommandMessenger.Queue.ListQueue< T >

EnqueueFront()
: CommandMessenger.Queue.ListQueue< T >

EscapeCharacter
: CommandMessenger.CommunicationManager

EscapedChar()
: CommandMessenger.IsEscaped

EscapedStringToBytes()
: CommandMessenger.BinaryConverter

EventWaiter()
: CommandMessenger.EventWaiter

ExecuteSendCommand()
: CommandMessenger.CommunicationManager

ExecuteSendString()
: CommandMessenger.CommunicationManager

<address class="footer">
Generated on Fri Apr 24 2015 23:15:52 for CmdMessenger by

 1.7.6.1
</address>


text:
/**
 * This directive adds the <my-playlist> directive, which inserts the playlist as an element
 */

angular.module('PlaylistDirective', [])
  .controller('Controller', ['$scope', function($scope) {
  }])
  .directive('myPlaylist', function() {
    return {
      restrict: 'E',
      templateUrl: 'playlist/playlist.html'
    };
  });


text:
import asyncio
from aio_pika import connect, IncomingMessage, ExchangeType
from datetime import datetime
import sys

loop = asyncio.get_event_loop()

first_message = False
arrival_begin_time_stamp = None
message_count = 0

def on_message(message: IncomingMessage):
    global first_message, message_count, arrival_begin_time_stamp
    with message.process():
        '''
        if not first_message:
            first_message = True
            arrival_begin_time_stamp = datetime.now()
        d = datetime.now() - arrival_begin_time_stamp
        dd = d.days
        ds = d.seconds
        diff = (3600 * 24) * dd + ds
        '''
        message_count += 1
        print("[x] %s %d" % (message.body, message_count))

async def main(ip, queue):
    # Perform connection
    connection = await connect("amqp://guest:guest@%s/" % ip, loop=loop)

    # Creating a channel
    channel = await connection.channel()
    await channel.set_qos(prefetch_count=1)

    # Declaring queue
    queue = await channel.declare_queue(queue, durable=False)

    # Binding the queue to the exchange

    # Start listening the queue with name 'task_queue'
    queue.consume(on_message)

if __name__ == "__main__":
    ip = sys.argv[1]
    queue = sys.argv[2]
    loop = asyncio.get_event_loop()
    loop.create_task(main(ip, queue))
    print(' [*] Waiting for logs. To exit press CTRL+C. Listening on', ip, queue)
    loop.run_forever()


text:
<phpunit
        bootstrap="./tests/bootstrap.php"
        backupGlobals="false"
        colors="true"
        convertErrorsToExceptions="true"
        convertNoticesToExceptions="true"
        convertWarningsToExceptions="true"
        >
    <php>
        <const name="WP_TESTS_MULTISITE" value="1"/>
    </php>
    <testsuites>
        <testsuite>
            <directory prefix="test-" suffix=".php">./tests/tests/</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist>
            <directory suffix=".php">./</directory>
            <exclude>
                <directory>./inc/installer/</directory>
                <directory>./tests/</directory>
                <directory>./vendor/</directory>
                <directory>./tmp/</directory>
                <directory>./build/</directory>
            </exclude>
        </whitelist>
    </filter>
</phpunit>


text:
using System;
using System.Collections.Generic;
using KitchenPC.Ingredients;
using KitchenPC.NLP;

namespace KitchenPC.UnitTests
{
   internal class TestIngredientLoader : ISynonymLoader<IngredientNode>
   {
      //All ingredients
      public static Guid ING_EGGS = new Guid("948aeda5-ffff-41bd-af4e-71d1c740db76");
      public static Guid ING_BANANAS = new Guid("d54654d8-5d2d-4bda-80ab-82f5d7f008bb");
      public static Guid ING_MILK = new Guid("5a698842-54a9-4ed2-b6c3-aea1bcd157cd");
      public static Guid ING_FLOUR = new Guid("daa8fbf6-3347-41b9-826d-078cd321402e");
      public static Guid ING_CHEESE = new Guid("5ee315ea-7ef6-4fa5-809a-dc9931a01ed1");
      public static Guid ING_LETTUCE = new Guid("55344339-8d1d-4892-a117-ec8018a5e483");

      //Forms for ingredients
      public static Guid FORM_EGG_UNIT = new Guid("821049b8-5789-44dd-a256-824efcb54dab");
      public static Guid FORM_BANANA_UNIT = new Guid("67039fa6-a6a3-4c7e-af97-97cade3f2d19");
      public static Guid FORM_MILK_VOLUME = new Guid("353a5c8f-6a6d-4c7d-a23f-c17805430260");
      public static Guid FORM_FLOUR_VOLUME = new Guid("9bf38fd7-3cc4-4eb5-b2e8-bc77f0978994");
      public static Guid FORM_FLOUR_WEIGHT = new Guid("f9629de4-e51b-45a2-94b2-3e51ccaa5b75");

      public static Guid FORM_LETTUCE_HEAD = new Guid("cc59d558-43ce-48bc-b2fa-ad501d845966");
      public static Guid FORM_CHEESE_MELTED = new Guid("0784f3a5-6f55-44f9-9c55-be5687ca97d8");
      public static Guid FORM_CHEESE_SHREDDED = new Guid("a64c5ccd-6805-4734-8ff8-a1bff6e2b83b");
      public static Guid FORM_CHEESE_DICED = new Guid("58efca93-7c5e-49b3-a04f-e97fe52e9a92");

      public IEnumerable<IngredientNode> LoadSynonyms()
      {
         var eggPairings = new DefaultPairings()
         {
            Unit = new IngredientForm(FORM_EGG_UNIT, ING_EGGS, Units.Unit, null, "egg/eggs", 0, null)
         };

         var bananaPairings = new DefaultPairings()
         {
            Unit = new IngredientForm(FORM_BANANA_UNIT, ING_BANANAS, Units.Unit, null, "banana/bananas", 0, null)
         };

         var milkPairings = new DefaultPairings()
         {
            Volume = new IngredientForm(FORM_MILK_VOLUME, ING_MILK, Units.Cup, null, null, 0, null)
         };

         var flourPairings = new DefaultPairings()
         {
            Volume = new IngredientForm(FORM_FLOUR_VOLUME, ING_FLOUR, Units.Cup, null, null, 0, null),
            Weight = new IngredientForm(FORM_FLOUR_WEIGHT, ING_FLOUR, Units.Ounce, null, null, 0, null)
         };

         var cheese = new IngredientNode(ING_CHEESE, "cheddar cheese", UnitType.Weight, 0, DefaultPairings.Empty);
         var eggs = new IngredientNode(ING_EGGS, "eggs", UnitType.Unit, 0, eggPairings);
         var bananas = new IngredientNode(ING_BANANAS, "bananas", UnitType.Weight, 0, bananaPairings);
         var milk = new IngredientNode(ING_MILK, "milk", UnitType.Volume, 0, milkPairings);
         var flour = new IngredientNode(ING_FLOUR, "all-purpose flour", UnitType.Weight, 0, flourPairings);
         var lettuce = new IngredientNode(ING_LETTUCE, "lettuce", UnitType.Weight, 0, DefaultPairings.Empty);

         //Add in some test ingredients, but this will eventually come from a massive Synonyms database
         //DB will first load ShoppingIngredients and create root nodes for all of those, with default form data, then will load IngredientSynonyms for all aliases
         //TODO: Maybe there is a way to have ingredient nodes contain a singular and plural description so we don't need aliases for all the singulars
         IngredientNode[] ings =
         {
            //Load root nodes for ingredients
            cheese,
            eggs,
            bananas,
            milk,
            flour,
            lettuce,

            //Load any aliases for any ingredients
            new IngredientNode(eggs, "egg", null),
            new IngredientNode(bananas, "banana", null),
            new IngredientNode(bananas, "ripe banana", "ripe"),
            new IngredientNode(bananas, "ripe bananas", "ripe"),
            new IngredientNode(milk, "2% milk", null),
            new IngredientNode(flour, "flour", null)
         };

         return ings;
      }

      public Pairings LoadFormPairings()
      {
         throw new NotImplementedException(); //This will never be called on this type of loader
      }
   }
}


text:
#if !defined(BOOST_FUSION_ITERATOR_RANGE_SIZE_IMPL_HPP_INCLUDED)
#define BOOST_FUSION_ITERATOR_RANGE_SIZE_IMPL_HPP_INCLUDED

#include <boost/fusion/support/config.hpp>
#include <boost/fusion/iterator/distance.hpp>

namespace boost { namespace fusion
{
    struct iterator_range_tag;

    namespace extension
    {
        template <typename Tag>
        struct size_impl;

        template <>
        struct size_impl<iterator_range_tag>
        {
            template <typename Seq>
            struct apply
              : result_of::distance<
                    typename Seq::begin_type,
                    typename Seq::end_type
                >
            {};
        };
    }
}}

#endif


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using org.rnp.voxel.unity.components.meshes;
using org.rnp.voxel.walker;
using org.rnp.voxel.mesh;
using org.rnp.voxel.utils;

namespace org.rnp.voxel.unity.components.colliders
{
  /// <author>Cédric DEMONGIVERT [cedric.demongivert@gmail.com]</author>
  /// <summary>
  ///   A box collider for voxel mesh.
  /// </summary>
  public class OctreeCollider : VoxelMeshCollider
  {
    private OctreeOutlineWalker _walker;

    private IList<BoxCollider> _colliders;

    private IList<BoxCollider> _oldColliders;

    public void Awake()
    {
      this._walker = new OctreeOutlineWalker();
      this._colliders = new List<BoxCollider>();
      this._oldColliders = new List<BoxCollider>();
    }

    public void Start()
    {
      this.RefreshCollider();
    }

    public void Update()
    {

    }

    protected void Clean()
    {
      foreach (BoxCollider collider in this._oldColliders)
      {
        Destroy(collider);
      }

      this._oldColliders.Clear();
    }

    protected void Switch()
    {
      IList<BoxCollider> tmp = this._colliders;
      this._colliders = this._oldColliders;
      this._oldColliders = tmp;
    }

    public override void RefreshCollider()
    {
      this.Switch();

      if (this._mesh == null)
      {
        this.Clean();
        return;
      }

      this._walker.SetRoot(this._mesh.Mesh);
      IVoxelMesh nextBlock = null;

      while((nextBlock = this._walker.Next()) != null)
      {
        this.CreateBoxColliderFor(nextBlock);
      }

      this.Clean();
    }

    protected BoxCollider GetCollider()
    {
      if (this._oldColliders.Count > 0)
      {
        BoxCollider box = this._oldColliders[0];
        this._oldColliders.RemoveAt(0);
        return box;
      }
      else
      {
        return this.gameObject.AddComponent<BoxCollider>();
      }
    }

    protected void CreateBoxColliderFor(IVoxelMesh mesh)
    {
      BoxCollider collider = this.GetCollider();

      Vector3 start = mesh.Start;
      Vector3 end = mesh.End;

      collider.center = (start + end) / 2;
      collider.size = (end - start);

      this._colliders.Add(collider);
    }
  }
}


text:
layout: page
title: Card Mesa Motors Show
date: 2016-05-24
author: Jessica Wilkinson
tags: weekly links, java
status: published
summary: Vestibulum dignissim libero vitae arcu finibus pulvinar. Ut.
banner: images/banner/office-01.jpg
booking:
  startDate: 04/02/2016
  endDate: 04/03/2016
  ctyhocn: TOLWGHX
  groupCode: CMMS
published: true
---
Nullam auctor sagittis orci sit amet porttitor. Nunc ornare ullamcorper enim eget imperdiet. Aliquam sodales ullamcorper turpis, sed auctor turpis faucibus quis. Donec non luctus risus, a commodo odio. Ut diam dolor, dapibus ac eros ac, porta lacinia augue. Sed vel nulla consequat, maximus orci commodo, efficitur erat. Morbi tincidunt porttitor tellus, id lacinia ex lacinia vitae. Aliquam id sapien dignissim, finibus leo et, commodo dolor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

* Praesent convallis tellus in nisl consequat, at fringilla lacus aliquet
* Aenean vestibulum lorem at purus venenatis varius
* Etiam eu arcu a nulla molestie fringilla.

Aliquam consequat sit amet odio tempus rutrum. Vestibulum nunc leo, ultricies eget lacus et, vulputate efficitur mauris. Nullam convallis, nulla in fringilla porttitor, nisl justo semper nunc, ac fringilla dolor purus eu est. Duis sagittis eleifend orci id interdum. Curabitur tellus lectus, bibendum nec condimentum ac, elementum id tellus. Maecenas hendrerit eu ipsum ut mattis. In sed ex blandit, elementum augue in, blandit mauris. Vivamus sit amet congue ligula. Morbi nec ante ullamcorper, imperdiet purus a, dapibus urna.
Quisque tristique placerat libero vulputate laoreet. Pellentesque egestas at libero vel auctor. Ut ut nunc viverra, eleifend metus ac, blandit felis. Donec vel massa non quam dictum sollicitudin. Sed eros nunc, sollicitudin eu lorem nec, vulputate dictum nibh. Integer cursus ornare molestie. Quisque gravida ornare justo et pulvinar. Integer sed mi et lorem dapibus consequat quis ac elit. Mauris aliquet mollis urna, quis faucibus nunc suscipit at. Vestibulum vehicula ultricies erat, eget fermentum ante. Etiam interdum orci non quam pulvinar, et varius est pharetra. Praesent et tortor nisi. Donec in sollicitudin lacus. Etiam egestas tempus tempor.


text:
package eu.faredge.edgeInfrastructure.registry.models;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

//import sun.util.calendar.BaseCalendar.Date;

@JsonInclude(Include.NON_NULL)
public class BaseEntity
{

	private Date dateCreated;
	private String userCreated;
	private Date dateModified;
	private String userModified;
	private String uri;
	public Date getDateCreated() {
		return dateCreated;
	}
	public void setDateCreated(Date dateCreated) {
		this.dateCreated = dateCreated;
	}
	public String getUserCreated() {
		return userCreated;
	}
	public void setUserCreated(String userCreated) {
		this.userCreated = userCreated;
	}
	public Date getDateModified() {
		return dateModified;
	}
	public void setDateModified(Date dateModified) {
		this.dateModified = dateModified;
	}
	public String getUserModified() {
		return userModified;
	}
	public void setUserModified(String userModified) {
		this.userModified = userModified;
	}
	public String getUri() {
		return uri;
	}
	public void setUri(String uri) {
		this.uri = uri;
	}

}


text:
/* jshint node: true */
'use strict';

var VersionChecker = require('ember-cli-version-checker');

module.exports = {
  name: 'ember-each-in-polyfill',

  init: function() {
    this._super.init.apply(this, arguments);
    var checker = new VersionChecker(this);
    this._checkerForEmber = checker.for('ember', 'bower');
  },

  treeFor: function() {
    if (this._checkerForEmber.lt('2.0.0-beta.1')) {
      return this._super.treeFor.apply(this, arguments);
    } else if (this.parent === this.project) {
      console.warn('ember-each-in-polyfill is not required for Ember 2.0.0 and later (a default `each-in` keyword is included with Ember), please remove from your `package.json`.');
    }
  }
};


text:
/**
 * Instagram
 */

module.exports = function (config) {
  return {
    id: 'instagram',
    name: 'instagram',
    protocol: 'OAuth2',
    url: '',
    redirect_uri: config.issuer + '/connect/instagram/callback',
    endpoints: {
      authorize: {
        url: 'https://api.instagram.com/oauth/authorize/',
        method: 'POST'
      },
      token: {
        url: 'https://api.instagram.com/oauth/access_token',
        method: 'POST',
        auth: 'client_secret_post'
      },
      user: {
        url: 'https://api.instagram.com/v1/users/self',
        method: 'GET',
        auth: {
          query: 'access_token'
        }
      }
    },
    mapping: {
      id: 'data.id',
      name: 'data.fullname',
      preferredUsername: 'data.username',
      picture: 'data.profile_picture',
      website: 'data.website'
    }
  }
}


text:
![logo](https://hpatches.github.io/assets/hpatches-logo.png "logo")
## Homography patches dataset

### Task definitions

We provide provide 3 separate tasks, inspired by different practical
aspects of local feature descriptors. In depth details can be found on
[1].

| task name     | description |
| ------------- |:-------------:|
| `verification`| measures how well a descriptor separates positive from negative pairs of patches  |
| `matching`  | measures how well a descriptor matches two images |
| `retrieval` | measures how well a descriptor retrieves similar patches from a large collection |

Description of the task definition files

#### Verification definition files

For the `verification` task, for each split `X`, we provide 3 files:

| file name     | description |
| ------------- |:-------------:|
| `verif_pos_split-X.csv`| contains the positive pairs |
| `verif_neg_inter_split-X.csv`  | contains negative pairs sampled from between sequences |
| `verif_neg_intra_split-X.csv` | contains negative pairs sampled from withing sequences|

In `utils/tasks/` we provide the task definition files for both positive and negative pairs, which are of the form

Negative pairs:
```
s1,t1,idx1,s2,t2,idx2
v_birdwoman,4,251,i_resort,3,204
v_strand,1,1625,i_santuario,3,482
i_salon,0,1100,i_ajuntament,3,544
...
```

Positive pairs:
```
s1,t1,idx1,s2,t2,idx2
v_birdwoman,4,251,v_birdwoman,3,251
v_strand,1,1625,v_strand,3,1625
i_salon,0,1100,i_salon,3,1100
i_zion,3,1766,i_zion,0,1766
...
```

Each pair is defined by the items of the header
`s1,t1,idx1,s2,t2,idx2` where `s` represents the sequence, `t` the
image id from which the patch is extracted (0-5 since in HPatch there are 6 images per sequence), and `idx` the index of the patch inside the
sequence.

For example the, patch `v_birdwoman,4,251` is 252th patch from the
`v_birdwoman` sequence, extracted from the `5th` image and the
`v_birdwoman,0,251` is the same, patch, but extracted from the
`ref` image.

Note that you can visualise individual patches using the `hpatch_vis.py` script provided.

#### Retrieval definition files

For the retrieval task, we provide two files per split `X`:

| file name     | description |
| ------------- |:-------------:|
| `retr_queries_split-X.csv`| contains the queries |
| `retr_distractors_split-X-X.csv`  | contains the pool with the distractors |

Note that the file contents are slightly different than the ones in
the `verification` task:

```
s,idx
v_man,841
v_birdwoman,1758
v_coffeehouse,219
i_salon,986
v_yuri,9
i_ajuntament,799
```

since in the retrieval task, only the patches from the `ref` image are
used, and thus, there is no need for the `t` index.

#### Matching task

The matching task, does not make use of definition files, since due to
its nature there is no need for repeatability enforcement.