All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.location.AmazonLocation Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Location module holds the client classes that are used for communicating with Amazon Location Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
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. *

* *

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

*
* * @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. *

* *

* This operation deletes the resource permanently. *

*
* * @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. *

    *
  • *
* *

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

*
*

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

*
*

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

*
* * @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 (up to 10 devices per batch). Amazon * Location uses the data when it reports the last known device position and position history. Amazon Location * retains location data for 30 days. *

* *

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

*
* * @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. *

    * *

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

    *
  • *
  • *

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

    * *

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

    *
  • *
* * @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. *

* *

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

*
*

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

    * *

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

    *
  • *
  • *

    * 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 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.CreateGeofenceCollection * @see AWS API Documentation */ CreateGeofenceCollectionResult createGeofenceCollection(CreateGeofenceCollectionRequest createGeofenceCollectionRequest); /** *

* Creates an API key resource in your Amazon Web Services account, which lets you grant actions for Amazon Location * resources to the API key bearer. *

* *

* For more information, see Using API keys. *

*
* * @param createKeyRequest * @return Result of the CreateKey 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 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.CreateKey * @see AWS API * Documentation */ CreateKeyResult createKey(CreateKeyRequest createKeyRequest); /** *

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

* *

* If your application is tracking or routing assets you use in your business, such as delivery vehicles or * employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details. *

*
* * @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 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.CreateMap * @see AWS API * Documentation */ CreateMapResult createMap(CreateMapRequest createMapRequest); /** *

* Creates a place index resource in your Amazon Web Services 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. *

* *

* If your application is tracking or routing assets you use in your business, such as delivery vehicles or * employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details. *

*
* * @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 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.CreatePlaceIndex * @see AWS API * Documentation */ CreatePlaceIndexResult createPlaceIndex(CreatePlaceIndexRequest createPlaceIndexRequest); /** *

* Creates a route calculator resource in your Amazon Web Services 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. *

* *

* If your application is tracking or routing assets you use in your business, such as delivery vehicles or * employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details. *

*
* * @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 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.CreateRouteCalculator * @see AWS * API Documentation */ CreateRouteCalculatorResult createRouteCalculator(CreateRouteCalculatorRequest createRouteCalculatorRequest); /** *

* Creates a tracker resource in your Amazon Web Services 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 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.CreateTracker * @see AWS API * Documentation */ CreateTrackerResult createTracker(CreateTrackerRequest createTrackerRequest); /** *

* Deletes a geofence collection from your Amazon Web Services account. *

* *

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

*
* * @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 the specified API key. The API key must have been deactivated more than 90 days previously. *

* * @param deleteKeyRequest * @return Result of the DeleteKey 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.DeleteKey * @see AWS API * Documentation */ DeleteKeyResult deleteKey(DeleteKeyRequest deleteKeyRequest); /** *

* Deletes a map resource from your Amazon Web Services account. *

* *

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

*
* * @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 Amazon Web Services account. *

* *

* This operation deletes the resource permanently. *

*
* * @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 Amazon Web Services account. *

* *

* This operation deletes the resource permanently. *

*
* * @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 Amazon Web Services account. *

* *

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

*
* * @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 API key resource details. *

* * @param describeKeyRequest * @return Result of the DescribeKey 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.DescribeKey * @see AWS API * Documentation */ DescribeKeyResult describeKey(DescribeKeyRequest describeKeyRequest); /** *

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

* *

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

*
* * @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); /** *

* Evaluates device positions against geofence geometries from a given geofence collection. The event forecasts * three states for which a device can be in relative to a geofence: *

*

* ENTER: If a device is outside of a geofence, but would breach the fence if the device is moving at * its current speed within time horizon window. *

*

* EXIT: If a device is inside of a geofence, but would breach the fence if the device is moving at its * current speed within time horizon window. *

*

* IDLE: If a device is inside of a geofence, and the device is not moving. *

* * @param forecastGeofenceEventsRequest * @return Result of the ForecastGeofenceEvents operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied because of insufficient access or permissions. Check with an administrator to * verify your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied because of request throttling. * @sample AmazonLocation.ForecastGeofenceEvents * @see AWS API Documentation */ ForecastGeofenceEventsResult forecastGeofenceEvents(ForecastGeofenceEventsRequest forecastGeofenceEventsRequest); /** *

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

* *

* Device positions are deleted after 30 days. *

*
* * @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. *

* *

* Device positions are deleted after 30 days. *

*
* * @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. *

* *

* The returned geometry will always match the geometry format used when the geofence was created. *

*
* * @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. *

* *

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

*
    *
  • *

    * Customer Amazon Web Services account *

    *
  • *
  • *

    * Amazon Web Services Region *

    *
  • *
  • *

    * Data provider specified in the place index resource *

    *
  • *
*
* * @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 Amazon Web Services 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 API key resources in your Amazon Web Services account. *

* * @param listKeysRequest * @return Result of the ListKeys 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.ListKeys * @see AWS API * Documentation */ ListKeysResult listKeys(ListKeysRequest listKeysRequest); /** *

* Lists map resources in your Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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. *

* *

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

*
* * @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. *

* *

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

*
*

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

*

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

*

* You can use the TagResource 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. *

*

* You can associate up to 50 tags with a resource. *

* * @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 API key resource. *

* * @param updateKeyRequest * @return Result of the UpdateKey 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.UpdateKey * @see AWS API * Documentation */ UpdateKeyResult updateKey(UpdateKeyRequest updateKeyRequest); /** *

* 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); /** *

* Verifies the integrity of the device's position by determining if it was reported behind a proxy, and by * comparing it to an inferred position estimated based on the device's state. *

* * @param verifyDevicePositionRequest * @return Result of the VerifyDevicePosition 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.VerifyDevicePosition * @see AWS * API Documentation */ VerifyDevicePositionResult verifyDevicePosition(VerifyDevicePositionRequest verifyDevicePositionRequest); /** * 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); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy