@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
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
associateTrackerConsumer, 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, untagResource, updateGeofenceCollection, updateMap, updatePlaceIndex, updateRouteCalculator, updateTracker
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, 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, untagResource, updateGeofenceCollection, updateMap, updatePlaceIndex, updateRouteCalculator, updateTracker
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.
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.
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.
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.
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<BatchDeleteDevicePositionHistoryResult> batchDeleteDevicePositionHistoryAsync(BatchDeleteDevicePositionHistoryRequest request)
AmazonLocationAsync
Deletes the position history of one or more devices from a tracker resource.
batchDeleteDevicePositionHistoryAsync
in interface AmazonLocationAsync
public Future<BatchDeleteDevicePositionHistoryResult> batchDeleteDevicePositionHistoryAsync(BatchDeleteDevicePositionHistoryRequest request, AsyncHandler<BatchDeleteDevicePositionHistoryRequest,BatchDeleteDevicePositionHistoryResult> asyncHandler)
AmazonLocationAsync
Deletes the position history of one or more devices from a tracker resource.
batchDeleteDevicePositionHistoryAsync
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 operation deletes the resource permanently.
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 operation deletes the resource permanently.
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
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.
batchEvaluateGeofencesAsync
in interface AmazonLocationAsync
public Future<BatchEvaluateGeofencesResult> batchEvaluateGeofencesAsync(BatchEvaluateGeofencesRequest request, AsyncHandler<BatchEvaluateGeofencesRequest,BatchEvaluateGeofencesResult> asyncHandler)
AmazonLocationAsync
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.
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
Lists the latest device positions for requested devices.
batchGetDevicePositionAsync
in interface AmazonLocationAsync
public Future<BatchGetDevicePositionResult> batchGetDevicePositionAsync(BatchGetDevicePositionRequest request, AsyncHandler<BatchGetDevicePositionRequest,BatchGetDevicePositionResult> asyncHandler)
AmazonLocationAsync
Lists the latest device positions for requested devices.
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 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 AmazonLocationAsync
public Future<BatchPutGeofenceResult> batchPutGeofenceAsync(BatchPutGeofenceRequest request, AsyncHandler<BatchPutGeofenceRequest,BatchPutGeofenceResult> asyncHandler)
AmazonLocationAsync
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.
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 position update data for one or more devices to a tracker resource. Amazon Location uses the data when it reports the last known device position and position history. Amazon Location retains location data for 30 days.
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).
batchUpdateDevicePositionAsync
in interface AmazonLocationAsync
public Future<BatchUpdateDevicePositionResult> batchUpdateDevicePositionAsync(BatchUpdateDevicePositionRequest request, AsyncHandler<BatchUpdateDevicePositionRequest,BatchUpdateDevicePositionResult> asyncHandler)
AmazonLocationAsync
Uploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when it reports the last known device position and position history. Amazon Location retains location data for 30 days.
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).
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<CalculateRouteResult> calculateRouteAsync(CalculateRouteRequest request)
AmazonLocationAsync
Calculates a route
given the following required parameters: DeparturePostiton
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 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 an additional route preference such as
CarModeOptions
if traveling by Car
, or TruckModeOptions
if traveling by
Truck
.
calculateRouteAsync
in interface AmazonLocationAsync
public 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 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 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 an additional route preference such as
CarModeOptions
if traveling by Car
, or TruckModeOptions
if traveling by
Truck
.
calculateRouteAsync
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.
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.
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 functions with geospatial data sourced from your chosen data provider.
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 functions with geospatial data sourced from your chosen data provider.
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<CreateRouteCalculatorResult> createRouteCalculatorAsync(CreateRouteCalculatorRequest request)
AmazonLocationAsync
Creates a route calculator resource in your AWS account.
You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider.
createRouteCalculatorAsync
in interface AmazonLocationAsync
public Future<CreateRouteCalculatorResult> createRouteCalculatorAsync(CreateRouteCalculatorRequest request, AsyncHandler<CreateRouteCalculatorRequest,CreateRouteCalculatorResult> asyncHandler)
AmazonLocationAsync
Creates a route calculator resource in your AWS account.
You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider.
createRouteCalculatorAsync
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 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 AmazonLocationAsync
public Future<DeleteGeofenceCollectionResult> deleteGeofenceCollectionAsync(DeleteGeofenceCollectionRequest request, AsyncHandler<DeleteGeofenceCollectionRequest,DeleteGeofenceCollectionResult> asyncHandler)
AmazonLocationAsync
Deletes 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 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 operation deletes the resource permanently. 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 operation deletes the resource permanently. 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 operation deletes the resource permanently.
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 operation deletes the resource permanently.
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<DeleteRouteCalculatorResult> deleteRouteCalculatorAsync(DeleteRouteCalculatorRequest request)
AmazonLocationAsync
Deletes a route calculator resource from your AWS account.
This operation deletes the resource permanently.
deleteRouteCalculatorAsync
in interface AmazonLocationAsync
public Future<DeleteRouteCalculatorResult> deleteRouteCalculatorAsync(DeleteRouteCalculatorRequest request, AsyncHandler<DeleteRouteCalculatorRequest,DeleteRouteCalculatorResult> asyncHandler)
AmazonLocationAsync
Deletes a route calculator resource from your AWS account.
This operation deletes the resource permanently.
deleteRouteCalculatorAsync
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 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 AmazonLocationAsync
public Future<DeleteTrackerResult> deleteTrackerAsync(DeleteTrackerRequest request, AsyncHandler<DeleteTrackerRequest,DeleteTrackerResult> asyncHandler)
AmazonLocationAsync
Deletes 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 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<DescribeRouteCalculatorResult> describeRouteCalculatorAsync(DescribeRouteCalculatorRequest request)
AmazonLocationAsync
Retrieves the route calculator resource details.
describeRouteCalculatorAsync
in interface AmazonLocationAsync
public Future<DescribeRouteCalculatorResult> describeRouteCalculatorAsync(DescribeRouteCalculatorRequest request, AsyncHandler<DescribeRouteCalculatorRequest,DescribeRouteCalculatorResult> asyncHandler)
AmazonLocationAsync
Retrieves the route calculator resource details.
describeRouteCalculatorAsync
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 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 AmazonLocationAsync
public Future<DisassociateTrackerConsumerResult> disassociateTrackerConsumerAsync(DisassociateTrackerConsumerRequest request, AsyncHandler<DisassociateTrackerConsumerRequest,DisassociateTrackerConsumerResult> asyncHandler)
AmazonLocationAsync
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.
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 a device's most recent position according to its sample time.
Device positions are deleted after 30 days.
getDevicePositionAsync
in interface AmazonLocationAsync
public Future<GetDevicePositionResult> getDevicePositionAsync(GetDevicePositionRequest request, AsyncHandler<GetDevicePositionRequest,GetDevicePositionResult> asyncHandler)
AmazonLocationAsync
Retrieves a device's most recent position according to its sample time.
Device positions are deleted after 30 days.
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.
Device positions are deleted after 30 days.
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.
Device positions are deleted after 30 days.
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 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 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 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 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'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 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'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 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<ListDevicePositionsResult> listDevicePositionsAsync(ListDevicePositionsRequest request)
AmazonLocationAsync
A batch request to retrieve all device positions.
listDevicePositionsAsync
in interface AmazonLocationAsync
public Future<ListDevicePositionsResult> listDevicePositionsAsync(ListDevicePositionsRequest request, AsyncHandler<ListDevicePositionsRequest,ListDevicePositionsResult> asyncHandler)
AmazonLocationAsync
A batch request to retrieve all device positions.
listDevicePositionsAsync
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<ListRouteCalculatorsResult> listRouteCalculatorsAsync(ListRouteCalculatorsRequest request)
AmazonLocationAsync
Lists route calculator resources in your AWS account.
listRouteCalculatorsAsync
in interface AmazonLocationAsync
public Future<ListRouteCalculatorsResult> listRouteCalculatorsAsync(ListRouteCalculatorsRequest request, AsyncHandler<ListRouteCalculatorsRequest,ListRouteCalculatorsResult> asyncHandler)
AmazonLocationAsync
Lists route calculator resources in your AWS account.
listRouteCalculatorsAsync
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonLocationAsync
Returns a list of tags that are applied to the specified Amazon Location resource.
listTagsForResourceAsync
in interface AmazonLocationAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonLocationAsync
Returns a list of tags that are applied to the specified Amazon Location resource.
listTagsForResourceAsync
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 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 AmazonLocationAsync
public Future<PutGeofenceResult> putGeofenceAsync(PutGeofenceRequest request, AsyncHandler<PutGeofenceRequest,PutGeofenceResult> asyncHandler)
AmazonLocationAsync
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.
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.
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.
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.
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.
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 Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonLocationAsync
Assigns one or more tags (key-value pairs) to the specified Amazon Location Service resource.
<p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.</p> <p>You can use the <code>TagResource</code> operation with an Amazon Location Service resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the tags already associated with the resource. If you specify a tag key that's already associated with the resource, the new tag value that you specify replaces the previous value for that tag. </p> <p>You can associate up to 50 tags with a resource.</p>
tagResourceAsync
in interface AmazonLocationAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonLocationAsync
Assigns one or more tags (key-value pairs) to the specified Amazon Location Service resource.
<p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.</p> <p>You can use the <code>TagResource</code> operation with an Amazon Location Service resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the tags already associated with the resource. If you specify a tag key that's already associated with the resource, the new tag value that you specify replaces the previous value for that tag. </p> <p>You can associate up to 50 tags with a resource.</p>
tagResourceAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonLocationAsync
Removes one or more tags from the specified Amazon Location resource.
untagResourceAsync
in interface AmazonLocationAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonLocationAsync
Removes one or more tags from the specified Amazon Location resource.
untagResourceAsync
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<UpdateGeofenceCollectionResult> updateGeofenceCollectionAsync(UpdateGeofenceCollectionRequest request)
AmazonLocationAsync
Updates the specified properties of a given geofence collection.
updateGeofenceCollectionAsync
in interface AmazonLocationAsync
public Future<UpdateGeofenceCollectionResult> updateGeofenceCollectionAsync(UpdateGeofenceCollectionRequest request, AsyncHandler<UpdateGeofenceCollectionRequest,UpdateGeofenceCollectionResult> asyncHandler)
AmazonLocationAsync
Updates the specified properties of a given geofence collection.
updateGeofenceCollectionAsync
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<UpdateMapResult> updateMapAsync(UpdateMapRequest request)
AmazonLocationAsync
Updates the specified properties of a given map resource.
updateMapAsync
in interface AmazonLocationAsync
public Future<UpdateMapResult> updateMapAsync(UpdateMapRequest request, AsyncHandler<UpdateMapRequest,UpdateMapResult> asyncHandler)
AmazonLocationAsync
Updates the specified properties of a given map resource.
updateMapAsync
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<UpdatePlaceIndexResult> updatePlaceIndexAsync(UpdatePlaceIndexRequest request)
AmazonLocationAsync
Updates the specified properties of a given place index resource.
updatePlaceIndexAsync
in interface AmazonLocationAsync
public Future<UpdatePlaceIndexResult> updatePlaceIndexAsync(UpdatePlaceIndexRequest request, AsyncHandler<UpdatePlaceIndexRequest,UpdatePlaceIndexResult> asyncHandler)
AmazonLocationAsync
Updates the specified properties of a given place index resource.
updatePlaceIndexAsync
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<UpdateRouteCalculatorResult> updateRouteCalculatorAsync(UpdateRouteCalculatorRequest request)
AmazonLocationAsync
Updates the specified properties for a given route calculator resource.
updateRouteCalculatorAsync
in interface AmazonLocationAsync
public Future<UpdateRouteCalculatorResult> updateRouteCalculatorAsync(UpdateRouteCalculatorRequest request, AsyncHandler<UpdateRouteCalculatorRequest,UpdateRouteCalculatorResult> asyncHandler)
AmazonLocationAsync
Updates the specified properties for a given route calculator resource.
updateRouteCalculatorAsync
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<UpdateTrackerResult> updateTrackerAsync(UpdateTrackerRequest request)
AmazonLocationAsync
Updates the specified properties of a given tracker resource.
updateTrackerAsync
in interface AmazonLocationAsync
public Future<UpdateTrackerResult> updateTrackerAsync(UpdateTrackerRequest request, AsyncHandler<UpdateTrackerRequest,UpdateTrackerResult> asyncHandler)
AmazonLocationAsync
Updates the specified properties of a given tracker resource.
updateTrackerAsync
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