@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonLocationAsync extends AbstractAmazonLocation implements AmazonLocationAsync
AmazonLocationAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
associateTrackerConsumer, batchDeleteDevicePositionHistory, batchDeleteGeofence, batchEvaluateGeofences, batchGetDevicePosition, batchPutGeofence, batchUpdateDevicePosition, calculateRoute, calculateRouteMatrix, createGeofenceCollection, createKey, createMap, createPlaceIndex, createRouteCalculator, createTracker, deleteGeofenceCollection, deleteKey, deleteMap, deletePlaceIndex, deleteRouteCalculator, deleteTracker, describeGeofenceCollection, describeKey, describeMap, describePlaceIndex, describeRouteCalculator, describeTracker, disassociateTrackerConsumer, forecastGeofenceEvents, getCachedResponseMetadata, getDevicePosition, getDevicePositionHistory, getGeofence, getMapGlyphs, getMapSprites, getMapStyleDescriptor, getMapTile, getPlace, listDevicePositions, listGeofenceCollections, listGeofences, listKeys, listMaps, listPlaceIndexes, listRouteCalculators, listTagsForResource, listTrackerConsumers, listTrackers, putGeofence, searchPlaceIndexForPosition, searchPlaceIndexForSuggestions, searchPlaceIndexForText, shutdown, tagResource, untagResource, updateGeofenceCollection, updateKey, updateMap, updatePlaceIndex, updateRouteCalculator, updateTracker, verifyDevicePosition
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateTrackerConsumer, batchDeleteDevicePositionHistory, batchDeleteGeofence, batchEvaluateGeofences, batchGetDevicePosition, batchPutGeofence, batchUpdateDevicePosition, calculateRoute, calculateRouteMatrix, createGeofenceCollection, createKey, createMap, createPlaceIndex, createRouteCalculator, createTracker, deleteGeofenceCollection, deleteKey, deleteMap, deletePlaceIndex, deleteRouteCalculator, deleteTracker, describeGeofenceCollection, describeKey, describeMap, describePlaceIndex, describeRouteCalculator, describeTracker, disassociateTrackerConsumer, forecastGeofenceEvents, getCachedResponseMetadata, getDevicePosition, getDevicePositionHistory, getGeofence, getMapGlyphs, getMapSprites, getMapStyleDescriptor, getMapTile, getPlace, listDevicePositions, listGeofenceCollections, listGeofences, listKeys, listMaps, listPlaceIndexes, listRouteCalculators, listTagsForResource, listTrackerConsumers, listTrackers, putGeofence, searchPlaceIndexForPosition, searchPlaceIndexForSuggestions, searchPlaceIndexForText, shutdown, tagResource, untagResource, updateGeofenceCollection, updateKey, updateMap, updatePlaceIndex, updateRouteCalculator, updateTracker, verifyDevicePosition
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.
Geofence evaluation uses the given device position. It does not account for the optional Accuracy
of
a DevicePositionUpdate
.
The DeviceID
is used as a string to represent the device. You do not need to have a
Tracker
associated with the DeviceID
.
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.
Geofence evaluation uses the given device position. It does not account for the optional Accuracy
of
a DevicePositionUpdate
.
The DeviceID
is used as a string to represent the device. You do not need to have a
Tracker
associated with the DeviceID
.
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 (up to 10 devices per batch). Amazon Location uses the data when it reports the last known device position and position history. Amazon Location retains location data for 30 days.
Position updates are handled based on the PositionFiltering
property of the tracker. When
PositionFiltering
is set to TimeBased
, updates are evaluated against linked geofence
collections, and location data is stored at a maximum of one position per 30 second interval. If your update
frequency is more often than every 30 seconds, only one update per 30 seconds is stored for each unique device
ID.
When PositionFiltering
is set to DistanceBased
filtering, location data is stored and
evaluated against linked geofence collections only if the device has moved more than 30 m (98.4 ft).
When PositionFiltering
is set to AccuracyBased
filtering, location data is stored and
evaluated against linked geofence collections only if the device has moved more than the measured accuracy. For
example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update
is neither stored or evaluated if the device has moved less than 15 m. If PositionFiltering
is set
to AccuracyBased
filtering, Amazon Location uses the default value { "Horizontal": 0}
when accuracy is not provided on a DevicePositionUpdate
.
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 (up to 10 devices per batch). Amazon Location uses the data when it reports the last known device position and position history. Amazon Location retains location data for 30 days.
Position updates are handled based on the PositionFiltering
property of the tracker. When
PositionFiltering
is set to TimeBased
, updates are evaluated against linked geofence
collections, and location data is stored at a maximum of one position per 30 second interval. If your update
frequency is more often than every 30 seconds, only one update per 30 seconds is stored for each unique device
ID.
When PositionFiltering
is set to DistanceBased
filtering, location data is stored and
evaluated against linked geofence collections only if the device has moved more than 30 m (98.4 ft).
When PositionFiltering
is set to AccuracyBased
filtering, location data is stored and
evaluated against linked geofence collections only if the device has moved more than the measured accuracy. For
example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update
is neither stored or evaluated if the device has moved less than 15 m. If PositionFiltering
is set
to AccuracyBased
filtering, Amazon Location uses the default value { "Horizontal": 0}
when accuracy is not provided on a DevicePositionUpdate
.
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: DeparturePosition
and DestinationPosition
.
Requires that you first create a
route calculator resource.
By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating the route.
Additional options include:
Specifying a departure
time using either DepartureTime
or DepartNow
. This calculates a route based on
predictive traffic data at the given time.
You can't specify both DepartureTime
and DepartNow
in a single request. Specifying both
parameters returns a validation error.
Specifying a travel
mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify
additional route preferences in CarModeOptions
if traveling by Car
, or
TruckModeOptions
if traveling by Truck
.
If you specify walking
for the travel mode and your data provider is Esri, the start and destination
must be within 40km.
calculateRouteAsync
in interface AmazonLocationAsync
public Future<CalculateRouteResult> calculateRouteAsync(CalculateRouteRequest request, AsyncHandler<CalculateRouteRequest,CalculateRouteResult> asyncHandler)
AmazonLocationAsync
Calculates a route
given the following required parameters: DeparturePosition
and DestinationPosition
.
Requires that you first create a
route calculator resource.
By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating the route.
Additional options include:
Specifying a departure
time using either DepartureTime
or DepartNow
. This calculates a route based on
predictive traffic data at the given time.
You can't specify both DepartureTime
and DepartNow
in a single request. Specifying both
parameters returns a validation error.
Specifying a travel
mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify
additional route preferences in CarModeOptions
if traveling by Car
, or
TruckModeOptions
if traveling by Truck
.
If you specify walking
for the travel mode and your data provider is Esri, the start and destination
must be within 40km.
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<CalculateRouteMatrixResult> calculateRouteMatrixAsync(CalculateRouteMatrixRequest request)
AmazonLocationAsync
Calculates a
route matrix given the following required parameters: DeparturePositions
and
DestinationPositions
. CalculateRouteMatrix
calculates routes and returns the travel
time and travel distance from each departure position to each destination position in the request. For example,
given departure positions A and B, and destination positions X and Y, CalculateRouteMatrix
will
return time and distance for routes from A to X, A to Y, B to X, and B to Y (in that order). The number of
results returned (and routes calculated) will be the number of DeparturePositions
times the number
of DestinationPositions
.
Your account is charged for each route calculated, not the number of requests.
Requires that you first create a route calculator resource.
By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating routes.
Additional options include:
Specifying a departure
time using either DepartureTime
or DepartNow
. This calculates routes based on
predictive traffic data at the given time.
You can't specify both DepartureTime
and DepartNow
in a single request. Specifying both
parameters returns a validation error.
Specifying a travel
mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify
additional route preferences in CarModeOptions
if traveling by Car
, or
TruckModeOptions
if traveling by Truck
.
calculateRouteMatrixAsync
in interface AmazonLocationAsync
public Future<CalculateRouteMatrixResult> calculateRouteMatrixAsync(CalculateRouteMatrixRequest request, AsyncHandler<CalculateRouteMatrixRequest,CalculateRouteMatrixResult> asyncHandler)
AmazonLocationAsync
Calculates a
route matrix given the following required parameters: DeparturePositions
and
DestinationPositions
. CalculateRouteMatrix
calculates routes and returns the travel
time and travel distance from each departure position to each destination position in the request. For example,
given departure positions A and B, and destination positions X and Y, CalculateRouteMatrix
will
return time and distance for routes from A to X, A to Y, B to X, and B to Y (in that order). The number of
results returned (and routes calculated) will be the number of DeparturePositions
times the number
of DestinationPositions
.
Your account is charged for each route calculated, not the number of requests.
Requires that you first create a route calculator resource.
By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating routes.
Additional options include:
Specifying a departure
time using either DepartureTime
or DepartNow
. This calculates routes based on
predictive traffic data at the given time.
You can't specify both DepartureTime
and DepartNow
in a single request. Specifying both
parameters returns a validation error.
Specifying a travel
mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify
additional route preferences in CarModeOptions
if traveling by Car
, or
TruckModeOptions
if traveling by Truck
.
calculateRouteMatrixAsync
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<CreateKeyResult> createKeyAsync(CreateKeyRequest request)
AmazonLocationAsync
Creates an API key resource in your Amazon Web Services account, which lets you grant actions for Amazon Location resources to the API key bearer.
For more information, see Using API keys.
createKeyAsync
in interface AmazonLocationAsync
public Future<CreateKeyResult> createKeyAsync(CreateKeyRequest request, AsyncHandler<CreateKeyRequest,CreateKeyResult> asyncHandler)
AmazonLocationAsync
Creates an API key resource in your Amazon Web Services account, which lets you grant actions for Amazon Location resources to the API key bearer.
For more information, see Using API keys.
createKeyAsync
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 Amazon Web Services account, which provides map tiles of different styles sourced from global location data providers.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
createMapAsync
in interface AmazonLocationAsync
public Future<CreateMapResult> createMapAsync(CreateMapRequest request, AsyncHandler<CreateMapRequest,CreateMapResult> asyncHandler)
AmazonLocationAsync
Creates a map resource in your Amazon Web Services account, which provides map tiles of different styles sourced from global location data providers.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
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 Amazon Web Services account. Use a place index resource to geocode
addresses and other text queries by using the SearchPlaceIndexForText
operation, and reverse geocode
coordinates by using the SearchPlaceIndexForPosition
operation, and enable autosuggestions by using
the SearchPlaceIndexForSuggestions
operation.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
createPlaceIndexAsync
in interface AmazonLocationAsync
public Future<CreatePlaceIndexResult> createPlaceIndexAsync(CreatePlaceIndexRequest request, AsyncHandler<CreatePlaceIndexRequest,CreatePlaceIndexResult> asyncHandler)
AmazonLocationAsync
Creates a place index resource in your Amazon Web Services account. Use a place index resource to geocode
addresses and other text queries by using the SearchPlaceIndexForText
operation, and reverse geocode
coordinates by using the SearchPlaceIndexForPosition
operation, and enable autosuggestions by using
the SearchPlaceIndexForSuggestions
operation.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
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 Amazon Web Services account.
You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
createRouteCalculatorAsync
in interface AmazonLocationAsync
public Future<CreateRouteCalculatorResult> createRouteCalculatorAsync(CreateRouteCalculatorRequest request, AsyncHandler<CreateRouteCalculatorRequest,CreateRouteCalculatorResult> asyncHandler)
AmazonLocationAsync
Creates a route calculator resource in your Amazon Web Services account.
You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services account.
This operation deletes the resource permanently. If the geofence collection is the target of a tracker resource, the devices will no longer be monitored.
deleteGeofenceCollectionAsync
in interface AmazonLocationAsync
public Future<DeleteGeofenceCollectionResult> deleteGeofenceCollectionAsync(DeleteGeofenceCollectionRequest request, AsyncHandler<DeleteGeofenceCollectionRequest,DeleteGeofenceCollectionResult> asyncHandler)
AmazonLocationAsync
Deletes a geofence collection from your Amazon Web Services account.
This operation deletes the resource permanently. If the geofence collection is the target of a tracker resource, the devices will no longer be monitored.
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<DeleteKeyResult> deleteKeyAsync(DeleteKeyRequest request)
AmazonLocationAsync
Deletes the specified API key. The API key must have been deactivated more than 90 days previously.
deleteKeyAsync
in interface AmazonLocationAsync
public Future<DeleteKeyResult> deleteKeyAsync(DeleteKeyRequest request, AsyncHandler<DeleteKeyRequest,DeleteKeyResult> asyncHandler)
AmazonLocationAsync
Deletes the specified API key. The API key must have been deactivated more than 90 days previously.
deleteKeyAsync
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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services account.
This operation deletes the resource permanently. If the tracker resource is in use, you may encounter an error. Make sure that the target resource isn't a dependency for your applications.
deleteTrackerAsync
in interface AmazonLocationAsync
public Future<DeleteTrackerResult> deleteTrackerAsync(DeleteTrackerRequest request, AsyncHandler<DeleteTrackerRequest,DeleteTrackerResult> asyncHandler)
AmazonLocationAsync
Deletes a tracker resource from your Amazon Web Services account.
This operation deletes the resource permanently. If the tracker resource is in use, you may encounter an error. Make sure that the target resource isn't a dependency for your applications.
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<DescribeKeyResult> describeKeyAsync(DescribeKeyRequest request)
AmazonLocationAsync
Retrieves the API key resource details.
describeKeyAsync
in interface AmazonLocationAsync
public Future<DescribeKeyResult> describeKeyAsync(DescribeKeyRequest request, AsyncHandler<DescribeKeyRequest,DescribeKeyResult> asyncHandler)
AmazonLocationAsync
Retrieves the API key resource details.
describeKeyAsync
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<ForecastGeofenceEventsResult> forecastGeofenceEventsAsync(ForecastGeofenceEventsRequest request)
AmazonLocationAsync
Evaluates device positions against geofence geometries from a given geofence collection. The event forecasts three states for which a device can be in relative to a geofence:
ENTER
: If a device is outside of a geofence, but would breach the fence if the device is moving at
its current speed within time horizon window.
EXIT
: If a device is inside of a geofence, but would breach the fence if the device is moving at its
current speed within time horizon window.
IDLE
: If a device is inside of a geofence, and the device is not moving.
forecastGeofenceEventsAsync
in interface AmazonLocationAsync
public Future<ForecastGeofenceEventsResult> forecastGeofenceEventsAsync(ForecastGeofenceEventsRequest request, AsyncHandler<ForecastGeofenceEventsRequest,ForecastGeofenceEventsResult> asyncHandler)
AmazonLocationAsync
Evaluates device positions against geofence geometries from a given geofence collection. The event forecasts three states for which a device can be in relative to a geofence:
ENTER
: If a device is outside of a geofence, but would breach the fence if the device is moving at
its current speed within time horizon window.
EXIT
: If a device is inside of a geofence, but would breach the fence if the device is moving at its
current speed within time horizon window.
IDLE
: If a device is inside of a geofence, and the device is not moving.
forecastGeofenceEventsAsync
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.
The returned geometry will always match the geometry format used when the geofence was created.
getGeofenceAsync
in interface AmazonLocationAsync
public Future<GetGeofenceResult> getGeofenceAsync(GetGeofenceRequest request, AsyncHandler<GetGeofenceRequest,GetGeofenceResult> asyncHandler)
AmazonLocationAsync
Retrieves the geofence details from a geofence collection.
The returned geometry will always match the geometry format used when the geofence was created.
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<GetPlaceResult> getPlaceAsync(GetPlaceRequest request)
AmazonLocationAsync
Finds a place by its unique ID. A PlaceId
is returned by other search operations.
A PlaceId is valid only if all of the following are the same in the original search request and the call to
GetPlace
.
Customer Amazon Web Services account
Amazon Web Services Region
Data provider specified in the place index resource
getPlaceAsync
in interface AmazonLocationAsync
public Future<GetPlaceResult> getPlaceAsync(GetPlaceRequest request, AsyncHandler<GetPlaceRequest,GetPlaceResult> asyncHandler)
AmazonLocationAsync
Finds a place by its unique ID. A PlaceId
is returned by other search operations.
A PlaceId is valid only if all of the following are the same in the original search request and the call to
GetPlace
.
Customer Amazon Web Services account
Amazon Web Services Region
Data provider specified in the place index resource
getPlaceAsync
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 Amazon Web Services account.
listGeofenceCollectionsAsync
in interface AmazonLocationAsync
public Future<ListGeofenceCollectionsResult> listGeofenceCollectionsAsync(ListGeofenceCollectionsRequest request, AsyncHandler<ListGeofenceCollectionsRequest,ListGeofenceCollectionsResult> asyncHandler)
AmazonLocationAsync
Lists geofence collections in your Amazon Web Services 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<ListKeysResult> listKeysAsync(ListKeysRequest request)
AmazonLocationAsync
Lists API key resources in your Amazon Web Services account.
listKeysAsync
in interface AmazonLocationAsync
public Future<ListKeysResult> listKeysAsync(ListKeysRequest request, AsyncHandler<ListKeysRequest,ListKeysResult> asyncHandler)
AmazonLocationAsync
Lists API key resources in your Amazon Web Services account.
listKeysAsync
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 Amazon Web Services account.
listMapsAsync
in interface AmazonLocationAsync
public Future<ListMapsResult> listMapsAsync(ListMapsRequest request, AsyncHandler<ListMapsRequest,ListMapsResult> asyncHandler)
AmazonLocationAsync
Lists map resources in your Amazon Web Services 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 Amazon Web Services account.
listPlaceIndexesAsync
in interface AmazonLocationAsync
public Future<ListPlaceIndexesResult> listPlaceIndexesAsync(ListPlaceIndexesRequest request, AsyncHandler<ListPlaceIndexesRequest,ListPlaceIndexesResult> asyncHandler)
AmazonLocationAsync
Lists place index resources in your Amazon Web Services 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 Amazon Web Services account.
listRouteCalculatorsAsync
in interface AmazonLocationAsync
public Future<ListRouteCalculatorsResult> listRouteCalculatorsAsync(ListRouteCalculatorsRequest request, AsyncHandler<ListRouteCalculatorsRequest,ListRouteCalculatorsResult> asyncHandler)
AmazonLocationAsync
Lists route calculator resources in your Amazon Web Services 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 Amazon Web Services account.
listTrackersAsync
in interface AmazonLocationAsync
public Future<ListTrackersResult> listTrackersAsync(ListTrackersRequest request, AsyncHandler<ListTrackersRequest,ListTrackersResult> asyncHandler)
AmazonLocationAsync
Lists tracker resources in your Amazon Web Services 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<SearchPlaceIndexForSuggestionsResult> searchPlaceIndexForSuggestionsAsync(SearchPlaceIndexForSuggestionsRequest request)
AmazonLocationAsync
Generates suggestions for addresses and points of interest based on partial or misspelled free-form text. This operation is also known as autocomplete, autosuggest, or fuzzy matching.
Optional parameters let you narrow your search results by bounding box or country, or bias your search toward a specific position on the globe.
You can search for suggested place names near a specified position by using BiasPosition
, or filter
results within a bounding box by using FilterBBox
. These parameters are mutually exclusive; using
both BiasPosition
and FilterBBox
in the same command returns an error.
searchPlaceIndexForSuggestionsAsync
in interface AmazonLocationAsync
public Future<SearchPlaceIndexForSuggestionsResult> searchPlaceIndexForSuggestionsAsync(SearchPlaceIndexForSuggestionsRequest request, AsyncHandler<SearchPlaceIndexForSuggestionsRequest,SearchPlaceIndexForSuggestionsResult> asyncHandler)
AmazonLocationAsync
Generates suggestions for addresses and points of interest based on partial or misspelled free-form text. This operation is also known as autocomplete, autosuggest, or fuzzy matching.
Optional parameters let you narrow your search results by bounding box or country, or bias your search toward a specific position on the globe.
You can search for suggested place names near a specified position by using BiasPosition
, or filter
results within a bounding box by using FilterBBox
. These parameters are mutually exclusive; using
both BiasPosition
and FilterBBox
in the same command returns an error.
searchPlaceIndexForSuggestionsAsync
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.
Optional parameters let you narrow your search results by bounding box or country, or bias your search toward a specific position on the globe.
You can search for places near a given position using BiasPosition
, or filter results within a
bounding box using FilterBBox
. Providing both parameters simultaneously returns an error.
Search results are returned in order of highest to lowest relevance.
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.
Optional parameters let you narrow your search results by bounding box or country, or bias your search toward a specific position on the globe.
You can search for places near a given position using BiasPosition
, or filter results within a
bounding box using FilterBBox
. Providing both parameters simultaneously returns an error.
Search results are returned in order of highest to lowest relevance.
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.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.
You can use the TagResource
operation with an Amazon Location Service resource that already has
tags. If you specify a new tag key for the resource, this tag is appended to the tags already associated with the
resource. If you specify a tag key that's already associated with the resource, the new tag value that you
specify replaces the previous value for that tag.
You can associate up to 50 tags with a resource.
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.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.
You can use the TagResource
operation with an Amazon Location Service resource that already has
tags. If you specify a new tag key for the resource, this tag is appended to the tags already associated with the
resource. If you specify a tag key that's already associated with the resource, the new tag value that you
specify replaces the previous value for that tag.
You can associate up to 50 tags with a resource.
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<UpdateKeyResult> updateKeyAsync(UpdateKeyRequest request)
AmazonLocationAsync
Updates the specified properties of a given API key resource.
updateKeyAsync
in interface AmazonLocationAsync
public Future<UpdateKeyResult> updateKeyAsync(UpdateKeyRequest request, AsyncHandler<UpdateKeyRequest,UpdateKeyResult> asyncHandler)
AmazonLocationAsync
Updates the specified properties of a given API key resource.
updateKeyAsync
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 Future<VerifyDevicePositionResult> verifyDevicePositionAsync(VerifyDevicePositionRequest request)
AmazonLocationAsync
Verifies the integrity of the device's position by determining if it was reported behind a proxy, and by comparing it to an inferred position estimated based on the device's state.
verifyDevicePositionAsync
in interface AmazonLocationAsync
public Future<VerifyDevicePositionResult> verifyDevicePositionAsync(VerifyDevicePositionRequest request, AsyncHandler<VerifyDevicePositionRequest,VerifyDevicePositionResult> asyncHandler)
AmazonLocationAsync
Verifies the integrity of the device's position by determining if it was reported behind a proxy, and by comparing it to an inferred position estimated based on the device's state.
verifyDevicePositionAsync
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.