@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, Tracking, and Geofencing
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
associateTrackerConsumer, batchDeleteGeofence, batchEvaluateGeofences, batchGetDevicePosition, batchPutGeofence, batchUpdateDevicePosition, builder, createGeofenceCollection, createMap, createPlaceIndex, createTracker, deleteGeofenceCollection, deleteMap, deletePlaceIndex, deleteTracker, describeGeofenceCollection, describeMap, describePlaceIndex, describeTracker, disassociateTrackerConsumer, getCachedResponseMetadata, getDevicePosition, getDevicePositionHistory, getGeofence, getMapGlyphs, getMapSprites, getMapStyleDescriptor, getMapTile, listGeofenceCollections, listGeofences, listMaps, listPlaceIndexes, listTrackerConsumers, listTrackers, putGeofence, searchPlaceIndexForPosition, searchPlaceIndexForText
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateTrackerConsumer, batchDeleteGeofence, batchEvaluateGeofences, batchGetDevicePosition, batchPutGeofence, batchUpdateDevicePosition, createGeofenceCollection, createMap, createPlaceIndex, createTracker, deleteGeofenceCollection, deleteMap, deletePlaceIndex, deleteTracker, describeGeofenceCollection, describeMap, describePlaceIndex, describeTracker, disassociateTrackerConsumer, getCachedResponseMetadata, getDevicePosition, getDevicePositionHistory, getGeofence, getMapGlyphs, getMapSprites, getMapStyleDescriptor, getMapTile, listGeofenceCollections, listGeofences, listMaps, listPlaceIndexes, listTrackerConsumers, listTrackers, putGeofence, searchPlaceIndexForPosition, searchPlaceIndexForText
public static AmazonLocationAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateTrackerConsumerResult> associateTrackerConsumerAsync(AssociateTrackerConsumerRequest request)
AmazonLocationAsync
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.
associateTrackerConsumerAsync
in interface AmazonLocationAsync
public Future<AssociateTrackerConsumerResult> associateTrackerConsumerAsync(AssociateTrackerConsumerRequest request, AsyncHandler<AssociateTrackerConsumerRequest,AssociateTrackerConsumerResult> asyncHandler)
AmazonLocationAsync
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.
associateTrackerConsumerAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Deletes a batch of geofences from a geofence collection.
This action deletes the resource permanently. You can't undo this action.
batchDeleteGeofenceAsync
in interface AmazonLocationAsync
public Future<BatchDeleteGeofenceResult> batchDeleteGeofenceAsync(BatchDeleteGeofenceRequest request, AsyncHandler<BatchDeleteGeofenceRequest,BatchDeleteGeofenceResult> asyncHandler)
AmazonLocationAsync
Deletes a batch of geofences from a geofence collection.
This action deletes the resource permanently. You can't undo this action.
batchDeleteGeofenceAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Used in geofence monitoring. Evaluates device positions against the position of geofences in a given geofence collection.
batchEvaluateGeofencesAsync
in interface AmazonLocationAsync
public Future<BatchEvaluateGeofencesResult> batchEvaluateGeofencesAsync(BatchEvaluateGeofencesRequest request, AsyncHandler<BatchEvaluateGeofencesRequest,BatchEvaluateGeofencesResult> asyncHandler)
AmazonLocationAsync
Used in geofence monitoring. Evaluates device positions against the position of geofences in a given geofence collection.
batchEvaluateGeofencesAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
A batch request to retrieve device positions.
The response will return the device positions from the last 24 hours.
batchGetDevicePositionAsync
in interface AmazonLocationAsync
public Future<BatchGetDevicePositionResult> batchGetDevicePositionAsync(BatchGetDevicePositionRequest request, AsyncHandler<BatchGetDevicePositionRequest,BatchGetDevicePositionResult> asyncHandler)
AmazonLocationAsync
A batch request to retrieve device positions.
The response will return the device positions from the last 24 hours.
batchGetDevicePositionAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
A batch request for storing geofences into a given geofence collection.
batchPutGeofenceAsync
in interface AmazonLocationAsync
public Future<BatchPutGeofenceResult> batchPutGeofenceAsync(BatchPutGeofenceRequest request, AsyncHandler<BatchPutGeofenceRequest,BatchPutGeofenceResult> asyncHandler)
AmazonLocationAsync
A batch request for storing geofences into a given geofence collection.
batchPutGeofenceAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Uploads a position update for one or more devices to a tracker resource. The data is used for API queries requesting the device position and position history.
Limitation ā Location data is sampled at a fixed rate of 1 position per 30 second interval, and retained for 1 year before it is deleted.
batchUpdateDevicePositionAsync
in interface AmazonLocationAsync
public Future<BatchUpdateDevicePositionResult> batchUpdateDevicePositionAsync(BatchUpdateDevicePositionRequest request, AsyncHandler<BatchUpdateDevicePositionRequest,BatchUpdateDevicePositionResult> asyncHandler)
AmazonLocationAsync
Uploads a position update for one or more devices to a tracker resource. The data is used for API queries requesting the device position and position history.
Limitation ā Location data is sampled at a fixed rate of 1 position per 30 second interval, and retained for 1 year before it is deleted.
batchUpdateDevicePositionAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Creates a geofence collection, which manages and stores geofences.
createGeofenceCollectionAsync
in interface AmazonLocationAsync
public Future<CreateGeofenceCollectionResult> createGeofenceCollectionAsync(CreateGeofenceCollectionRequest request, AsyncHandler<CreateGeofenceCollectionRequest,CreateGeofenceCollectionResult> asyncHandler)
AmazonLocationAsync
Creates a geofence collection, which manages and stores geofences.
createGeofenceCollectionAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers.
By using Maps, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using. For more information, see the AWS Service Terms for Amazon Location Service.
createMapAsync
in interface AmazonLocationAsync
public Future<CreateMapResult> createMapAsync(CreateMapRequest request, AsyncHandler<CreateMapRequest,CreateMapResult> asyncHandler)
AmazonLocationAsync
Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers.
By using Maps, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using. For more information, see the AWS Service Terms for Amazon Location Service.
createMapAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Creates a Place index resource in your AWS account, which supports Places functions with geospatial data sourced from your chosen data provider.
By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.
Because of licensing limitations, you may not use HERE to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
createPlaceIndexAsync
in interface AmazonLocationAsync
public Future<CreatePlaceIndexResult> createPlaceIndexAsync(CreatePlaceIndexRequest request, AsyncHandler<CreatePlaceIndexRequest,CreatePlaceIndexResult> asyncHandler)
AmazonLocationAsync
Creates a Place index resource in your AWS account, which supports Places functions with geospatial data sourced from your chosen data provider.
By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.
Because of licensing limitations, you may not use HERE to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
createPlaceIndexAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of devices.
createTrackerAsync
in interface AmazonLocationAsync
public Future<CreateTrackerResult> createTrackerAsync(CreateTrackerRequest request, AsyncHandler<CreateTrackerRequest,CreateTrackerResult> asyncHandler)
AmazonLocationAsync
Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of devices.
createTrackerAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Deletes a geofence collection from your AWS account.
This action deletes the resource permanently. You can't undo this action. If the geofence collection is the target of a tracker resource, the devices will no longer be monitored.
deleteGeofenceCollectionAsync
in interface AmazonLocationAsync
public Future<DeleteGeofenceCollectionResult> deleteGeofenceCollectionAsync(DeleteGeofenceCollectionRequest request, AsyncHandler<DeleteGeofenceCollectionRequest,DeleteGeofenceCollectionResult> asyncHandler)
AmazonLocationAsync
Deletes a geofence collection from your AWS account.
This action deletes the resource permanently. You can't undo this action. If the geofence collection is the target of a tracker resource, the devices will no longer be monitored.
deleteGeofenceCollectionAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Deletes a map resource from your AWS account.
This action deletes the resource permanently. You cannot undo this action. If the map is being used in an application, the map may not render.
deleteMapAsync
in interface AmazonLocationAsync
public Future<DeleteMapResult> deleteMapAsync(DeleteMapRequest request, AsyncHandler<DeleteMapRequest,DeleteMapResult> asyncHandler)
AmazonLocationAsync
Deletes a map resource from your AWS account.
This action deletes the resource permanently. You cannot undo this action. If the map is being used in an application, the map may not render.
deleteMapAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Deletes a Place index resource from your AWS account.
This action deletes the resource permanently. You cannot undo this action.
deletePlaceIndexAsync
in interface AmazonLocationAsync
public Future<DeletePlaceIndexResult> deletePlaceIndexAsync(DeletePlaceIndexRequest request, AsyncHandler<DeletePlaceIndexRequest,DeletePlaceIndexResult> asyncHandler)
AmazonLocationAsync
Deletes a Place index resource from your AWS account.
This action deletes the resource permanently. You cannot undo this action.
deletePlaceIndexAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Deletes a tracker resource from your AWS account.
This action deletes the resource permanently. You can't undo this action. If the tracker resource is in use, you may encounter an error. Make sure that the target resource is not a dependency for your applications.
deleteTrackerAsync
in interface AmazonLocationAsync
public Future<DeleteTrackerResult> deleteTrackerAsync(DeleteTrackerRequest request, AsyncHandler<DeleteTrackerRequest,DeleteTrackerResult> asyncHandler)
AmazonLocationAsync
Deletes a tracker resource from your AWS account.
This action deletes the resource permanently. You can't undo this action. If the tracker resource is in use, you may encounter an error. Make sure that the target resource is not a dependency for your applications.
deleteTrackerAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Retrieves the geofence collection details.
describeGeofenceCollectionAsync
in interface AmazonLocationAsync
public Future<DescribeGeofenceCollectionResult> describeGeofenceCollectionAsync(DescribeGeofenceCollectionRequest request, AsyncHandler<DescribeGeofenceCollectionRequest,DescribeGeofenceCollectionResult> asyncHandler)
AmazonLocationAsync
Retrieves the geofence collection details.
describeGeofenceCollectionAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Retrieves the map resource details.
describeMapAsync
in interface AmazonLocationAsync
public Future<DescribeMapResult> describeMapAsync(DescribeMapRequest request, AsyncHandler<DescribeMapRequest,DescribeMapResult> asyncHandler)
AmazonLocationAsync
Retrieves the map resource details.
describeMapAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Retrieves the Place index resource details.
describePlaceIndexAsync
in interface AmazonLocationAsync
public Future<DescribePlaceIndexResult> describePlaceIndexAsync(DescribePlaceIndexRequest request, AsyncHandler<DescribePlaceIndexRequest,DescribePlaceIndexResult> asyncHandler)
AmazonLocationAsync
Retrieves the Place index resource details.
describePlaceIndexAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Retrieves the tracker resource details.
describeTrackerAsync
in interface AmazonLocationAsync
public Future<DescribeTrackerResult> describeTrackerAsync(DescribeTrackerRequest request, AsyncHandler<DescribeTrackerRequest,DescribeTrackerResult> asyncHandler)
AmazonLocationAsync
Retrieves the tracker resource details.
describeTrackerAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Removes the association bewteen 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 AmazonLocationAsync
public Future<DisassociateTrackerConsumerResult> disassociateTrackerConsumerAsync(DisassociateTrackerConsumerRequest request, AsyncHandler<DisassociateTrackerConsumerRequest,DisassociateTrackerConsumerResult> asyncHandler)
AmazonLocationAsync
Removes the association bewteen 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 AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Retrieves the latest device position.
Limitation ā Device positions are deleted after one year.
getDevicePositionAsync
in interface AmazonLocationAsync
public Future<GetDevicePositionResult> getDevicePositionAsync(GetDevicePositionRequest request, AsyncHandler<GetDevicePositionRequest,GetDevicePositionResult> asyncHandler)
AmazonLocationAsync
Retrieves the latest device position.
Limitation ā Device positions are deleted after one year.
getDevicePositionAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Retrieves the device position history from a tracker resource within a specified range of time.
Limitation ā Device positions are deleted after one year.
getDevicePositionHistoryAsync
in interface AmazonLocationAsync
public Future<GetDevicePositionHistoryResult> getDevicePositionHistoryAsync(GetDevicePositionHistoryRequest request, AsyncHandler<GetDevicePositionHistoryRequest,GetDevicePositionHistoryResult> asyncHandler)
AmazonLocationAsync
Retrieves the device position history from a tracker resource within a specified range of time.
Limitation ā Device positions are deleted after one year.
getDevicePositionHistoryAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Retrieves the geofence details from a geofence collection.
getGeofenceAsync
in interface AmazonLocationAsync
public Future<GetGeofenceResult> getGeofenceAsync(GetGeofenceRequest request, AsyncHandler<GetGeofenceRequest,GetGeofenceResult> asyncHandler)
AmazonLocationAsync
Retrieves the geofence details from a geofence collection.
getGeofenceAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Retrieves glyphs used to display labels on a map.
getMapGlyphsAsync
in interface AmazonLocationAsync
public Future<GetMapGlyphsResult> getMapGlyphsAsync(GetMapGlyphsRequest request, AsyncHandler<GetMapGlyphsRequest,GetMapGlyphsResult> asyncHandler)
AmazonLocationAsync
Retrieves glyphs used to display labels on a map.
getMapGlyphsAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
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.
getMapSpritesAsync
in interface AmazonLocationAsync
public Future<GetMapSpritesResult> getMapSpritesAsync(GetMapSpritesRequest request, AsyncHandler<GetMapSpritesRequest,GetMapSpritesResult> asyncHandler)
AmazonLocationAsync
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.
getMapSpritesAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Retrieves the map style descriptor from a map resource.
The style descriptor contains speciļ¬cations 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 AmazonLocationAsync
public Future<GetMapStyleDescriptorResult> getMapStyleDescriptorAsync(GetMapStyleDescriptorRequest request, AsyncHandler<GetMapStyleDescriptorRequest,GetMapStyleDescriptorResult> asyncHandler)
AmazonLocationAsync
Retrieves the map style descriptor from a map resource.
The style descriptor contains speciļ¬cations 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 AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Retrieves a vector data tile from the map resource. Map tiles are used by clients to render a map. They are 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 AmazonLocationAsync
public Future<GetMapTileResult> getMapTileAsync(GetMapTileRequest request, AsyncHandler<GetMapTileRequest,GetMapTileResult> asyncHandler)
AmazonLocationAsync
Retrieves a vector data tile from the map resource. Map tiles are used by clients to render a map. They are 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 AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Lists geofence collections in your AWS account.
listGeofenceCollectionsAsync
in interface AmazonLocationAsync
public Future<ListGeofenceCollectionsResult> listGeofenceCollectionsAsync(ListGeofenceCollectionsRequest request, AsyncHandler<ListGeofenceCollectionsRequest,ListGeofenceCollectionsResult> asyncHandler)
AmazonLocationAsync
Lists geofence collections in your AWS account.
listGeofenceCollectionsAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Lists geofences stored in a given geofence collection.
listGeofencesAsync
in interface AmazonLocationAsync
public Future<ListGeofencesResult> listGeofencesAsync(ListGeofencesRequest request, AsyncHandler<ListGeofencesRequest,ListGeofencesResult> asyncHandler)
AmazonLocationAsync
Lists geofences stored in a given geofence collection.
listGeofencesAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Lists map resources in your AWS account.
listMapsAsync
in interface AmazonLocationAsync
public Future<ListMapsResult> listMapsAsync(ListMapsRequest request, AsyncHandler<ListMapsRequest,ListMapsResult> asyncHandler)
AmazonLocationAsync
Lists map resources in your AWS account.
listMapsAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Lists Place index resources in your AWS account.
listPlaceIndexesAsync
in interface AmazonLocationAsync
public Future<ListPlaceIndexesResult> listPlaceIndexesAsync(ListPlaceIndexesRequest request, AsyncHandler<ListPlaceIndexesRequest,ListPlaceIndexesResult> asyncHandler)
AmazonLocationAsync
Lists Place index resources in your AWS account.
listPlaceIndexesAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Lists geofence collections currently associated to the given tracker resource.
listTrackerConsumersAsync
in interface AmazonLocationAsync
public Future<ListTrackerConsumersResult> listTrackerConsumersAsync(ListTrackerConsumersRequest request, AsyncHandler<ListTrackerConsumersRequest,ListTrackerConsumersResult> asyncHandler)
AmazonLocationAsync
Lists geofence collections currently associated to the given tracker resource.
listTrackerConsumersAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Lists tracker resources in your AWS account.
listTrackersAsync
in interface AmazonLocationAsync
public Future<ListTrackersResult> listTrackersAsync(ListTrackersRequest request, AsyncHandler<ListTrackersRequest,ListTrackersResult> asyncHandler)
AmazonLocationAsync
Lists tracker resources in your AWS account.
listTrackersAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Stores a geofence to a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.
putGeofenceAsync
in interface AmazonLocationAsync
public Future<PutGeofenceResult> putGeofenceAsync(PutGeofenceRequest request, AsyncHandler<PutGeofenceRequest,PutGeofenceResult> asyncHandler)
AmazonLocationAsync
Stores a geofence to a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.
putGeofenceAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Reverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of interest near a given position.
By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.
Because of licensing limitations, you may not use HERE to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
searchPlaceIndexForPositionAsync
in interface AmazonLocationAsync
public Future<SearchPlaceIndexForPositionResult> searchPlaceIndexForPositionAsync(SearchPlaceIndexForPositionRequest request, AsyncHandler<SearchPlaceIndexForPositionRequest,SearchPlaceIndexForPositionResult> asyncHandler)
AmazonLocationAsync
Reverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of interest near a given position.
By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.
Because of licensing limitations, you may not use HERE to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
searchPlaceIndexForPositionAsync
in interface AmazonLocationAsync
asyncHandler
- 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)
AmazonLocationAsync
Geocodes 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.
By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.
Also, when using HERE as your data provider, you may not (a) use HERE Places for Asset Management, or (b) select
the Storage
option for the IntendedUse
parameter when requesting Places in Japan. For
more information, see the AWS Service Terms for Amazon
Location Service.
searchPlaceIndexForTextAsync
in interface AmazonLocationAsync
public Future<SearchPlaceIndexForTextResult> searchPlaceIndexForTextAsync(SearchPlaceIndexForTextRequest request, AsyncHandler<SearchPlaceIndexForTextRequest,SearchPlaceIndexForTextResult> asyncHandler)
AmazonLocationAsync
Geocodes 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.
By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.
Also, when using HERE as your data provider, you may not (a) use HERE Places for Asset Management, or (b) select
the Storage
option for the IntendedUse
parameter when requesting Places in Japan. For
more information, see the AWS Service Terms for Amazon
Location Service.
searchPlaceIndexForTextAsync
in interface AmazonLocationAsync
asyncHandler
- 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 AmazonLocation
shutdown
in class AmazonLocationClient