@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonLocationAsyncClient extends AmazonLocationClient implements AmazonLocationAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Suite of geospatial services including Maps, Places, Routes, Tracking, and Geofencing
configFactoryclient, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXassociateTrackerConsumer, batchDeleteDevicePositionHistory, batchDeleteGeofence, batchEvaluateGeofences, batchGetDevicePosition, batchPutGeofence, batchUpdateDevicePosition, builder, calculateRoute, createGeofenceCollection, createMap, createPlaceIndex, createRouteCalculator, createTracker, deleteGeofenceCollection, deleteMap, deletePlaceIndex, deleteRouteCalculator, deleteTracker, describeGeofenceCollection, describeMap, describePlaceIndex, describeRouteCalculator, describeTracker, disassociateTrackerConsumer, getCachedResponseMetadata, getDevicePosition, getDevicePositionHistory, getGeofence, getMapGlyphs, getMapSprites, getMapStyleDescriptor, getMapTile, listDevicePositions, listGeofenceCollections, listGeofences, listMaps, listPlaceIndexes, listRouteCalculators, listTagsForResource, listTrackerConsumers, listTrackers, putGeofence, searchPlaceIndexForPosition, searchPlaceIndexForText, tagResource, untagResourceaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassociateTrackerConsumer, batchDeleteDevicePositionHistory, batchDeleteGeofence, batchEvaluateGeofences, batchGetDevicePosition, batchPutGeofence, batchUpdateDevicePosition, calculateRoute, createGeofenceCollection, createMap, createPlaceIndex, createRouteCalculator, createTracker, deleteGeofenceCollection, deleteMap, deletePlaceIndex, deleteRouteCalculator, deleteTracker, describeGeofenceCollection, describeMap, describePlaceIndex, describeRouteCalculator, describeTracker, disassociateTrackerConsumer, getCachedResponseMetadata, getDevicePosition, getDevicePositionHistory, getGeofence, getMapGlyphs, getMapSprites, getMapStyleDescriptor, getMapTile, listDevicePositions, listGeofenceCollections, listGeofences, listMaps, listPlaceIndexes, listRouteCalculators, listTagsForResource, listTrackerConsumers, listTrackers, putGeofence, searchPlaceIndexForPosition, searchPlaceIndexForText, tagResource, untagResourcepublic static AmazonLocationAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateTrackerConsumerResult> associateTrackerConsumerAsync(AssociateTrackerConsumerRequest request)
AmazonLocationAsyncCreates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection.
Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.
associateTrackerConsumerAsync in interface AmazonLocationAsyncpublic Future<AssociateTrackerConsumerResult> associateTrackerConsumerAsync(AssociateTrackerConsumerRequest request, AsyncHandler<AssociateTrackerConsumerRequest,AssociateTrackerConsumerResult> asyncHandler)
AmazonLocationAsyncCreates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection.
Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.
associateTrackerConsumerAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchDeleteDevicePositionHistoryResult> batchDeleteDevicePositionHistoryAsync(BatchDeleteDevicePositionHistoryRequest request)
AmazonLocationAsyncDeletes the position history of one or more devices from a tracker resource.
batchDeleteDevicePositionHistoryAsync in interface AmazonLocationAsyncpublic Future<BatchDeleteDevicePositionHistoryResult> batchDeleteDevicePositionHistoryAsync(BatchDeleteDevicePositionHistoryRequest request, AsyncHandler<BatchDeleteDevicePositionHistoryRequest,BatchDeleteDevicePositionHistoryResult> asyncHandler)
AmazonLocationAsyncDeletes the position history of one or more devices from a tracker resource.
batchDeleteDevicePositionHistoryAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchDeleteGeofenceResult> batchDeleteGeofenceAsync(BatchDeleteGeofenceRequest request)
AmazonLocationAsyncDeletes a batch of geofences from a geofence collection.
This operation deletes the resource permanently.
batchDeleteGeofenceAsync in interface AmazonLocationAsyncpublic Future<BatchDeleteGeofenceResult> batchDeleteGeofenceAsync(BatchDeleteGeofenceRequest request, AsyncHandler<BatchDeleteGeofenceRequest,BatchDeleteGeofenceResult> asyncHandler)
AmazonLocationAsyncDeletes a batch of geofences from a geofence collection.
This operation deletes the resource permanently.
batchDeleteGeofenceAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchEvaluateGeofencesResult> batchEvaluateGeofencesAsync(BatchEvaluateGeofencesRequest request)
AmazonLocationAsyncEvaluates device positions against the geofence geometries from a given geofence collection. The evaluation determines if the device has entered or exited a geofenced area, which publishes ENTER or EXIT geofence events to Amazon EventBridge.
The last geofence that a device was observed within, if any, is tracked for 30 days after the most recent device position update
batchEvaluateGeofencesAsync in interface AmazonLocationAsyncpublic Future<BatchEvaluateGeofencesResult> batchEvaluateGeofencesAsync(BatchEvaluateGeofencesRequest request, AsyncHandler<BatchEvaluateGeofencesRequest,BatchEvaluateGeofencesResult> asyncHandler)
AmazonLocationAsyncEvaluates device positions against the geofence geometries from a given geofence collection. The evaluation determines if the device has entered or exited a geofenced area, which publishes ENTER or EXIT geofence events to Amazon EventBridge.
The last geofence that a device was observed within, if any, is tracked for 30 days after the most recent device position update
batchEvaluateGeofencesAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchGetDevicePositionResult> batchGetDevicePositionAsync(BatchGetDevicePositionRequest request)
AmazonLocationAsyncA batch request to retrieve all device positions.
batchGetDevicePositionAsync in interface AmazonLocationAsyncpublic Future<BatchGetDevicePositionResult> batchGetDevicePositionAsync(BatchGetDevicePositionRequest request, AsyncHandler<BatchGetDevicePositionRequest,BatchGetDevicePositionResult> asyncHandler)
AmazonLocationAsyncA batch request to retrieve all device positions.
batchGetDevicePositionAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchPutGeofenceResult> batchPutGeofenceAsync(BatchPutGeofenceRequest request)
AmazonLocationAsyncA 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.
batchPutGeofenceAsync in interface AmazonLocationAsyncpublic Future<BatchPutGeofenceResult> batchPutGeofenceAsync(BatchPutGeofenceRequest request, AsyncHandler<BatchPutGeofenceRequest,BatchPutGeofenceResult> asyncHandler)
AmazonLocationAsyncA 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.
batchPutGeofenceAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchUpdateDevicePositionResult> batchUpdateDevicePositionAsync(BatchUpdateDevicePositionRequest request)
AmazonLocationAsyncUploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when reporting the last known device position and position history.
Only one position update is stored per sample time. Location data is sampled at a fixed rate of one position per 30-second interval and retained for 30 days before it's deleted.
batchUpdateDevicePositionAsync in interface AmazonLocationAsyncpublic Future<BatchUpdateDevicePositionResult> batchUpdateDevicePositionAsync(BatchUpdateDevicePositionRequest request, AsyncHandler<BatchUpdateDevicePositionRequest,BatchUpdateDevicePositionResult> asyncHandler)
AmazonLocationAsyncUploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when reporting the last known device position and position history.
Only one position update is stored per sample time. Location data is sampled at a fixed rate of one position per 30-second interval and retained for 30 days before it's deleted.
batchUpdateDevicePositionAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CalculateRouteResult> calculateRouteAsync(CalculateRouteRequest request)
AmazonLocationAsync
Calculates a route
given the following required parameters: DeparturePostiton and DestinationPosition.
Requires that you first create
aroute 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 DepartureNow. This
calculates a route based on predictive traffic data at the given time.
You can't specify both DepartureTime and DepartureNow in a single request. Specifying
both parameters returns an error message.
Specifying
a travel mode using TravelMode. This lets you specify additional route preference such as
CarModeOptions if traveling by Car, or TruckModeOptions if traveling by
Truck.
calculateRouteAsync in interface AmazonLocationAsyncpublic Future<CalculateRouteResult> calculateRouteAsync(CalculateRouteRequest request, AsyncHandler<CalculateRouteRequest,CalculateRouteResult> asyncHandler)
AmazonLocationAsync
Calculates a route
given the following required parameters: DeparturePostiton and DestinationPosition.
Requires that you first create
aroute 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 DepartureNow. This
calculates a route based on predictive traffic data at the given time.
You can't specify both DepartureTime and DepartureNow in a single request. Specifying
both parameters returns an error message.
Specifying
a travel mode using TravelMode. This lets you specify additional route preference such as
CarModeOptions if traveling by Car, or TruckModeOptions if traveling by
Truck.
calculateRouteAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateGeofenceCollectionResult> createGeofenceCollectionAsync(CreateGeofenceCollectionRequest request)
AmazonLocationAsyncCreates a geofence collection, which manages and stores geofences.
createGeofenceCollectionAsync in interface AmazonLocationAsyncpublic Future<CreateGeofenceCollectionResult> createGeofenceCollectionAsync(CreateGeofenceCollectionRequest request, AsyncHandler<CreateGeofenceCollectionRequest,CreateGeofenceCollectionResult> asyncHandler)
AmazonLocationAsyncCreates a geofence collection, which manages and stores geofences.
createGeofenceCollectionAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateMapResult> createMapAsync(CreateMapRequest request)
AmazonLocationAsyncCreates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers.
createMapAsync in interface AmazonLocationAsyncpublic Future<CreateMapResult> createMapAsync(CreateMapRequest request, AsyncHandler<CreateMapRequest,CreateMapResult> asyncHandler)
AmazonLocationAsyncCreates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers.
createMapAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreatePlaceIndexResult> createPlaceIndexAsync(CreatePlaceIndexRequest request)
AmazonLocationAsyncCreates a place index resource in your AWS account, which supports functions with geospatial data sourced from your chosen data provider.
createPlaceIndexAsync in interface AmazonLocationAsyncpublic Future<CreatePlaceIndexResult> createPlaceIndexAsync(CreatePlaceIndexRequest request, AsyncHandler<CreatePlaceIndexRequest,CreatePlaceIndexResult> asyncHandler)
AmazonLocationAsyncCreates a place index resource in your AWS account, which supports functions with geospatial data sourced from your chosen data provider.
createPlaceIndexAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateRouteCalculatorResult> createRouteCalculatorAsync(CreateRouteCalculatorRequest request)
AmazonLocationAsyncCreates 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.
createRouteCalculatorAsync in interface AmazonLocationAsyncpublic Future<CreateRouteCalculatorResult> createRouteCalculatorAsync(CreateRouteCalculatorRequest request, AsyncHandler<CreateRouteCalculatorRequest,CreateRouteCalculatorResult> asyncHandler)
AmazonLocationAsyncCreates 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.
createRouteCalculatorAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateTrackerResult> createTrackerAsync(CreateTrackerRequest request)
AmazonLocationAsyncCreates a tracker resource in your AWS account, which lets you retrieve current and historical location of devices.
createTrackerAsync in interface AmazonLocationAsyncpublic Future<CreateTrackerResult> createTrackerAsync(CreateTrackerRequest request, AsyncHandler<CreateTrackerRequest,CreateTrackerResult> asyncHandler)
AmazonLocationAsyncCreates a tracker resource in your AWS account, which lets you retrieve current and historical location of devices.
createTrackerAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteGeofenceCollectionResult> deleteGeofenceCollectionAsync(DeleteGeofenceCollectionRequest request)
AmazonLocationAsyncDeletes a geofence collection from your AWS 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.
deleteGeofenceCollectionAsync in interface AmazonLocationAsyncpublic Future<DeleteGeofenceCollectionResult> deleteGeofenceCollectionAsync(DeleteGeofenceCollectionRequest request, AsyncHandler<DeleteGeofenceCollectionRequest,DeleteGeofenceCollectionResult> asyncHandler)
AmazonLocationAsyncDeletes a geofence collection from your AWS 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.
deleteGeofenceCollectionAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteMapResult> deleteMapAsync(DeleteMapRequest request)
AmazonLocationAsyncDeletes a map resource from your AWS account.
This operation deletes the resource permanently. If the map is being used in an application, the map may not render.
deleteMapAsync in interface AmazonLocationAsyncpublic Future<DeleteMapResult> deleteMapAsync(DeleteMapRequest request, AsyncHandler<DeleteMapRequest,DeleteMapResult> asyncHandler)
AmazonLocationAsyncDeletes a map resource from your AWS account.
This operation deletes the resource permanently. If the map is being used in an application, the map may not render.
deleteMapAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeletePlaceIndexResult> deletePlaceIndexAsync(DeletePlaceIndexRequest request)
AmazonLocationAsyncDeletes a place index resource from your AWS account.
This operation deletes the resource permanently.
deletePlaceIndexAsync in interface AmazonLocationAsyncpublic Future<DeletePlaceIndexResult> deletePlaceIndexAsync(DeletePlaceIndexRequest request, AsyncHandler<DeletePlaceIndexRequest,DeletePlaceIndexResult> asyncHandler)
AmazonLocationAsyncDeletes a place index resource from your AWS account.
This operation deletes the resource permanently.
deletePlaceIndexAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRouteCalculatorResult> deleteRouteCalculatorAsync(DeleteRouteCalculatorRequest request)
AmazonLocationAsyncDeletes a route calculator resource from your AWS account.
This operation deletes the resource permanently.
deleteRouteCalculatorAsync in interface AmazonLocationAsyncpublic Future<DeleteRouteCalculatorResult> deleteRouteCalculatorAsync(DeleteRouteCalculatorRequest request, AsyncHandler<DeleteRouteCalculatorRequest,DeleteRouteCalculatorResult> asyncHandler)
AmazonLocationAsyncDeletes a route calculator resource from your AWS account.
This operation deletes the resource permanently.
deleteRouteCalculatorAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteTrackerResult> deleteTrackerAsync(DeleteTrackerRequest request)
AmazonLocationAsyncDeletes a tracker resource from your AWS 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.
deleteTrackerAsync in interface AmazonLocationAsyncpublic Future<DeleteTrackerResult> deleteTrackerAsync(DeleteTrackerRequest request, AsyncHandler<DeleteTrackerRequest,DeleteTrackerResult> asyncHandler)
AmazonLocationAsyncDeletes a tracker resource from your AWS 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.
deleteTrackerAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeGeofenceCollectionResult> describeGeofenceCollectionAsync(DescribeGeofenceCollectionRequest request)
AmazonLocationAsyncRetrieves the geofence collection details.
describeGeofenceCollectionAsync in interface AmazonLocationAsyncpublic Future<DescribeGeofenceCollectionResult> describeGeofenceCollectionAsync(DescribeGeofenceCollectionRequest request, AsyncHandler<DescribeGeofenceCollectionRequest,DescribeGeofenceCollectionResult> asyncHandler)
AmazonLocationAsyncRetrieves the geofence collection details.
describeGeofenceCollectionAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeMapResult> describeMapAsync(DescribeMapRequest request)
AmazonLocationAsyncRetrieves the map resource details.
describeMapAsync in interface AmazonLocationAsyncpublic Future<DescribeMapResult> describeMapAsync(DescribeMapRequest request, AsyncHandler<DescribeMapRequest,DescribeMapResult> asyncHandler)
AmazonLocationAsyncRetrieves the map resource details.
describeMapAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribePlaceIndexResult> describePlaceIndexAsync(DescribePlaceIndexRequest request)
AmazonLocationAsyncRetrieves the place index resource details.
describePlaceIndexAsync in interface AmazonLocationAsyncpublic Future<DescribePlaceIndexResult> describePlaceIndexAsync(DescribePlaceIndexRequest request, AsyncHandler<DescribePlaceIndexRequest,DescribePlaceIndexResult> asyncHandler)
AmazonLocationAsyncRetrieves the place index resource details.
describePlaceIndexAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRouteCalculatorResult> describeRouteCalculatorAsync(DescribeRouteCalculatorRequest request)
AmazonLocationAsyncRetrieves the route calculator resource details.
describeRouteCalculatorAsync in interface AmazonLocationAsyncpublic Future<DescribeRouteCalculatorResult> describeRouteCalculatorAsync(DescribeRouteCalculatorRequest request, AsyncHandler<DescribeRouteCalculatorRequest,DescribeRouteCalculatorResult> asyncHandler)
AmazonLocationAsyncRetrieves the route calculator resource details.
describeRouteCalculatorAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeTrackerResult> describeTrackerAsync(DescribeTrackerRequest request)
AmazonLocationAsyncRetrieves the tracker resource details.
describeTrackerAsync in interface AmazonLocationAsyncpublic Future<DescribeTrackerResult> describeTrackerAsync(DescribeTrackerRequest request, AsyncHandler<DescribeTrackerRequest,DescribeTrackerResult> asyncHandler)
AmazonLocationAsyncRetrieves the tracker resource details.
describeTrackerAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisassociateTrackerConsumerResult> disassociateTrackerConsumerAsync(DisassociateTrackerConsumerRequest request)
AmazonLocationAsyncRemoves 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.
disassociateTrackerConsumerAsync in interface AmazonLocationAsyncpublic Future<DisassociateTrackerConsumerResult> disassociateTrackerConsumerAsync(DisassociateTrackerConsumerRequest request, AsyncHandler<DisassociateTrackerConsumerRequest,DisassociateTrackerConsumerResult> asyncHandler)
AmazonLocationAsyncRemoves 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.
disassociateTrackerConsumerAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDevicePositionResult> getDevicePositionAsync(GetDevicePositionRequest request)
AmazonLocationAsyncRetrieves a device's most recent position according to its sample time.
Device positions are deleted after 30 days.
getDevicePositionAsync in interface AmazonLocationAsyncpublic Future<GetDevicePositionResult> getDevicePositionAsync(GetDevicePositionRequest request, AsyncHandler<GetDevicePositionRequest,GetDevicePositionResult> asyncHandler)
AmazonLocationAsyncRetrieves a device's most recent position according to its sample time.
Device positions are deleted after 30 days.
getDevicePositionAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDevicePositionHistoryResult> getDevicePositionHistoryAsync(GetDevicePositionHistoryRequest request)
AmazonLocationAsyncRetrieves the device position history from a tracker resource within a specified range of time.
Device positions are deleted after 30 days.
getDevicePositionHistoryAsync in interface AmazonLocationAsyncpublic Future<GetDevicePositionHistoryResult> getDevicePositionHistoryAsync(GetDevicePositionHistoryRequest request, AsyncHandler<GetDevicePositionHistoryRequest,GetDevicePositionHistoryResult> asyncHandler)
AmazonLocationAsyncRetrieves the device position history from a tracker resource within a specified range of time.
Device positions are deleted after 30 days.
getDevicePositionHistoryAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetGeofenceResult> getGeofenceAsync(GetGeofenceRequest request)
AmazonLocationAsyncRetrieves the geofence details from a geofence collection.
getGeofenceAsync in interface AmazonLocationAsyncpublic Future<GetGeofenceResult> getGeofenceAsync(GetGeofenceRequest request, AsyncHandler<GetGeofenceRequest,GetGeofenceResult> asyncHandler)
AmazonLocationAsyncRetrieves the geofence details from a geofence collection.
getGeofenceAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetMapGlyphsResult> getMapGlyphsAsync(GetMapGlyphsRequest request)
AmazonLocationAsyncRetrieves glyphs used to display labels on a map.
getMapGlyphsAsync in interface AmazonLocationAsyncpublic Future<GetMapGlyphsResult> getMapGlyphsAsync(GetMapGlyphsRequest request, AsyncHandler<GetMapGlyphsRequest,GetMapGlyphsResult> asyncHandler)
AmazonLocationAsyncRetrieves glyphs used to display labels on a map.
getMapGlyphsAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetMapSpritesResult> getMapSpritesAsync(GetMapSpritesRequest request)
AmazonLocationAsyncRetrieves 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.
getMapSpritesAsync in interface AmazonLocationAsyncpublic Future<GetMapSpritesResult> getMapSpritesAsync(GetMapSpritesRequest request, AsyncHandler<GetMapSpritesRequest,GetMapSpritesResult> asyncHandler)
AmazonLocationAsyncRetrieves 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.
getMapSpritesAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetMapStyleDescriptorResult> getMapStyleDescriptorAsync(GetMapStyleDescriptorRequest request)
AmazonLocationAsyncRetrieves 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.
getMapStyleDescriptorAsync in interface AmazonLocationAsyncpublic Future<GetMapStyleDescriptorResult> getMapStyleDescriptorAsync(GetMapStyleDescriptorRequest request, AsyncHandler<GetMapStyleDescriptorRequest,GetMapStyleDescriptorResult> asyncHandler)
AmazonLocationAsyncRetrieves 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.
getMapStyleDescriptorAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetMapTileResult> getMapTileAsync(GetMapTileRequest request)
AmazonLocationAsyncRetrieves 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).
getMapTileAsync in interface AmazonLocationAsyncpublic Future<GetMapTileResult> getMapTileAsync(GetMapTileRequest request, AsyncHandler<GetMapTileRequest,GetMapTileResult> asyncHandler)
AmazonLocationAsyncRetrieves 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).
getMapTileAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDevicePositionsResult> listDevicePositionsAsync(ListDevicePositionsRequest request)
AmazonLocationAsyncLists the latest device positions for requested devices.
listDevicePositionsAsync in interface AmazonLocationAsyncpublic Future<ListDevicePositionsResult> listDevicePositionsAsync(ListDevicePositionsRequest request, AsyncHandler<ListDevicePositionsRequest,ListDevicePositionsResult> asyncHandler)
AmazonLocationAsyncLists the latest device positions for requested devices.
listDevicePositionsAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListGeofenceCollectionsResult> listGeofenceCollectionsAsync(ListGeofenceCollectionsRequest request)
AmazonLocationAsyncLists geofence collections in your AWS account.
listGeofenceCollectionsAsync in interface AmazonLocationAsyncpublic Future<ListGeofenceCollectionsResult> listGeofenceCollectionsAsync(ListGeofenceCollectionsRequest request, AsyncHandler<ListGeofenceCollectionsRequest,ListGeofenceCollectionsResult> asyncHandler)
AmazonLocationAsyncLists geofence collections in your AWS account.
listGeofenceCollectionsAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListGeofencesResult> listGeofencesAsync(ListGeofencesRequest request)
AmazonLocationAsyncLists geofences stored in a given geofence collection.
listGeofencesAsync in interface AmazonLocationAsyncpublic Future<ListGeofencesResult> listGeofencesAsync(ListGeofencesRequest request, AsyncHandler<ListGeofencesRequest,ListGeofencesResult> asyncHandler)
AmazonLocationAsyncLists geofences stored in a given geofence collection.
listGeofencesAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListMapsResult> listMapsAsync(ListMapsRequest request)
AmazonLocationAsyncLists map resources in your AWS account.
listMapsAsync in interface AmazonLocationAsyncpublic Future<ListMapsResult> listMapsAsync(ListMapsRequest request, AsyncHandler<ListMapsRequest,ListMapsResult> asyncHandler)
AmazonLocationAsyncLists map resources in your AWS account.
listMapsAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListPlaceIndexesResult> listPlaceIndexesAsync(ListPlaceIndexesRequest request)
AmazonLocationAsyncLists place index resources in your AWS account.
listPlaceIndexesAsync in interface AmazonLocationAsyncpublic Future<ListPlaceIndexesResult> listPlaceIndexesAsync(ListPlaceIndexesRequest request, AsyncHandler<ListPlaceIndexesRequest,ListPlaceIndexesResult> asyncHandler)
AmazonLocationAsyncLists place index resources in your AWS account.
listPlaceIndexesAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRouteCalculatorsResult> listRouteCalculatorsAsync(ListRouteCalculatorsRequest request)
AmazonLocationAsyncLists route calculator resources in your AWS account.
listRouteCalculatorsAsync in interface AmazonLocationAsyncpublic Future<ListRouteCalculatorsResult> listRouteCalculatorsAsync(ListRouteCalculatorsRequest request, AsyncHandler<ListRouteCalculatorsRequest,ListRouteCalculatorsResult> asyncHandler)
AmazonLocationAsyncLists route calculator resources in your AWS account.
listRouteCalculatorsAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonLocationAsyncReturns the tags for the specified Amazon Location Service resource.
listTagsForResourceAsync in interface AmazonLocationAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonLocationAsyncReturns the tags for the specified Amazon Location Service resource.
listTagsForResourceAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTrackerConsumersResult> listTrackerConsumersAsync(ListTrackerConsumersRequest request)
AmazonLocationAsyncLists geofence collections currently associated to the given tracker resource.
listTrackerConsumersAsync in interface AmazonLocationAsyncpublic Future<ListTrackerConsumersResult> listTrackerConsumersAsync(ListTrackerConsumersRequest request, AsyncHandler<ListTrackerConsumersRequest,ListTrackerConsumersResult> asyncHandler)
AmazonLocationAsyncLists geofence collections currently associated to the given tracker resource.
listTrackerConsumersAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTrackersResult> listTrackersAsync(ListTrackersRequest request)
AmazonLocationAsyncLists tracker resources in your AWS account.
listTrackersAsync in interface AmazonLocationAsyncpublic Future<ListTrackersResult> listTrackersAsync(ListTrackersRequest request, AsyncHandler<ListTrackersRequest,ListTrackersResult> asyncHandler)
AmazonLocationAsyncLists tracker resources in your AWS account.
listTrackersAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutGeofenceResult> putGeofenceAsync(PutGeofenceRequest request)
AmazonLocationAsyncStores 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.
putGeofenceAsync in interface AmazonLocationAsyncpublic Future<PutGeofenceResult> putGeofenceAsync(PutGeofenceRequest request, AsyncHandler<PutGeofenceRequest,PutGeofenceResult> asyncHandler)
AmazonLocationAsyncStores 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.
putGeofenceAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<SearchPlaceIndexForPositionResult> searchPlaceIndexForPositionAsync(SearchPlaceIndexForPositionRequest request)
AmazonLocationAsyncReverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of interest near a given position.
searchPlaceIndexForPositionAsync in interface AmazonLocationAsyncpublic Future<SearchPlaceIndexForPositionResult> searchPlaceIndexForPositionAsync(SearchPlaceIndexForPositionRequest request, AsyncHandler<SearchPlaceIndexForPositionRequest,SearchPlaceIndexForPositionResult> asyncHandler)
AmazonLocationAsyncReverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of interest near a given position.
searchPlaceIndexForPositionAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<SearchPlaceIndexForTextResult> searchPlaceIndexForTextAsync(SearchPlaceIndexForTextRequest request)
AmazonLocationAsyncGeocodes free-form text, such as an address, name, city, or region to allow you to search for Places or points of interest.
Includes the option to apply additional parameters to narrow your list of results.
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.
searchPlaceIndexForTextAsync in interface AmazonLocationAsyncpublic Future<SearchPlaceIndexForTextResult> searchPlaceIndexForTextAsync(SearchPlaceIndexForTextRequest request, AsyncHandler<SearchPlaceIndexForTextRequest,SearchPlaceIndexForTextResult> asyncHandler)
AmazonLocationAsyncGeocodes free-form text, such as an address, name, city, or region to allow you to search for Places or points of interest.
Includes the option to apply additional parameters to narrow your list of results.
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.
searchPlaceIndexForTextAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonLocationAsyncAssigns 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>Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.</p> <p>You can use the <code>TagResource</code> action 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 is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. </p> <p>You can associate as many as 50 tags with a resource.</p>
tagResourceAsync in interface AmazonLocationAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonLocationAsyncAssigns 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>Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.</p> <p>You can use the <code>TagResource</code> action 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 is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. </p> <p>You can associate as many as 50 tags with a resource.</p>
tagResourceAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonLocationAsyncRemoves one or more tags from the specified Amazon Location Service resource.
untagResourceAsync in interface AmazonLocationAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonLocationAsyncRemoves one or more tags from the specified Amazon Location Service resource.
untagResourceAsync in interface AmazonLocationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AmazonLocationshutdown in class AmazonLocationClientCopyright © 2021. All rights reserved.