public interface AmazonLocation
Suite of geospatial services including Maps, Places, Tracking, and Geofencing
Modifier and Type | Method and Description |
---|---|
AssociateTrackerConsumerResult |
associateTrackerConsumer(AssociateTrackerConsumerRequest associateTrackerConsumerRequest)
Creates an association between a geofence collection and a tracker
resource.
|
BatchDeleteGeofenceResult |
batchDeleteGeofence(BatchDeleteGeofenceRequest batchDeleteGeofenceRequest)
Deletes a batch of geofences from a geofence collection.
|
BatchEvaluateGeofencesResult |
batchEvaluateGeofences(BatchEvaluateGeofencesRequest batchEvaluateGeofencesRequest)
Used in geofence monitoring.
|
BatchGetDevicePositionResult |
batchGetDevicePosition(BatchGetDevicePositionRequest batchGetDevicePositionRequest)
A batch request to retrieve device positions.
|
BatchPutGeofenceResult |
batchPutGeofence(BatchPutGeofenceRequest batchPutGeofenceRequest)
A batch request for storing geofences into a given geofence collection.
|
BatchUpdateDevicePositionResult |
batchUpdateDevicePosition(BatchUpdateDevicePositionRequest batchUpdateDevicePositionRequest)
Uploads a position update for one or more devices to a tracker resource.
|
CreateGeofenceCollectionResult |
createGeofenceCollection(CreateGeofenceCollectionRequest createGeofenceCollectionRequest)
Creates a geofence collection, which manages and stores geofences.
|
CreateMapResult |
createMap(CreateMapRequest createMapRequest)
Creates a map resource in your AWS account, which provides map tiles of
different styles sourced from global location data providers.
|
CreatePlaceIndexResult |
createPlaceIndex(CreatePlaceIndexRequest createPlaceIndexRequest)
Creates a Place index resource in your AWS account, which supports Places
functions with geospatial data sourced from your chosen data provider.
|
CreateTrackerResult |
createTracker(CreateTrackerRequest createTrackerRequest)
Creates a tracker resource in your AWS account, which lets you retrieve
current and historical location of devices.
|
DeleteGeofenceCollectionResult |
deleteGeofenceCollection(DeleteGeofenceCollectionRequest deleteGeofenceCollectionRequest)
Deletes a geofence collection from your AWS account.
|
DeleteMapResult |
deleteMap(DeleteMapRequest deleteMapRequest)
Deletes a map resource from your AWS account.
|
DeletePlaceIndexResult |
deletePlaceIndex(DeletePlaceIndexRequest deletePlaceIndexRequest)
Deletes a Place index resource from your AWS account.
|
DeleteTrackerResult |
deleteTracker(DeleteTrackerRequest deleteTrackerRequest)
Deletes a tracker resource from your AWS account.
|
DescribeGeofenceCollectionResult |
describeGeofenceCollection(DescribeGeofenceCollectionRequest describeGeofenceCollectionRequest)
Retrieves the geofence collection details.
|
DescribeMapResult |
describeMap(DescribeMapRequest describeMapRequest)
Retrieves the map resource details.
|
DescribePlaceIndexResult |
describePlaceIndex(DescribePlaceIndexRequest describePlaceIndexRequest)
Retrieves the Place index resource details.
|
DescribeTrackerResult |
describeTracker(DescribeTrackerRequest describeTrackerRequest)
Retrieves the tracker resource details.
|
DisassociateTrackerConsumerResult |
disassociateTrackerConsumer(DisassociateTrackerConsumerRequest disassociateTrackerConsumerRequest)
Removes the association bewteen a tracker resource and a geofence
collection.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request,
typically used for debugging issues where a service isn't acting as
expected.
|
GetDevicePositionResult |
getDevicePosition(GetDevicePositionRequest getDevicePositionRequest)
Retrieves the latest device position.
|
GetDevicePositionHistoryResult |
getDevicePositionHistory(GetDevicePositionHistoryRequest getDevicePositionHistoryRequest)
Retrieves the device position history from a tracker resource within a
specified range of time.
|
GetGeofenceResult |
getGeofence(GetGeofenceRequest getGeofenceRequest)
Retrieves the geofence details from a geofence collection.
|
GetMapGlyphsResult |
getMapGlyphs(GetMapGlyphsRequest getMapGlyphsRequest)
Retrieves glyphs used to display labels on a map.
|
GetMapSpritesResult |
getMapSprites(GetMapSpritesRequest getMapSpritesRequest)
Retrieves the sprite sheet corresponding to a map resource.
|
GetMapStyleDescriptorResult |
getMapStyleDescriptor(GetMapStyleDescriptorRequest getMapStyleDescriptorRequest)
Retrieves the map style descriptor from a map resource.
|
GetMapTileResult |
getMapTile(GetMapTileRequest getMapTileRequest)
Retrieves a vector data tile from the map resource.
|
ListGeofenceCollectionsResult |
listGeofenceCollections(ListGeofenceCollectionsRequest listGeofenceCollectionsRequest)
Lists geofence collections in your AWS account.
|
ListGeofencesResult |
listGeofences(ListGeofencesRequest listGeofencesRequest)
Lists geofences stored in a given geofence collection.
|
ListMapsResult |
listMaps(ListMapsRequest listMapsRequest)
Lists map resources in your AWS account.
|
ListPlaceIndexesResult |
listPlaceIndexes(ListPlaceIndexesRequest listPlaceIndexesRequest)
Lists Place index resources in your AWS account.
|
ListTrackerConsumersResult |
listTrackerConsumers(ListTrackerConsumersRequest listTrackerConsumersRequest)
Lists geofence collections currently associated to the given tracker
resource.
|
ListTrackersResult |
listTrackers(ListTrackersRequest listTrackersRequest)
Lists tracker resources in your AWS account.
|
PutGeofenceResult |
putGeofence(PutGeofenceRequest putGeofenceRequest)
Stores a geofence to a given geofence collection, or updates the geometry
of an existing geofence if a geofence ID is included in the request.
|
SearchPlaceIndexForPositionResult |
searchPlaceIndexForPosition(SearchPlaceIndexForPositionRequest searchPlaceIndexForPositionRequest)
Reverse geocodes a given coordinate and returns a legible address.
|
SearchPlaceIndexForTextResult |
searchPlaceIndexForText(SearchPlaceIndexForTextRequest searchPlaceIndexForTextRequest)
Geocodes free-form text, such as an address, name, city, or region to
allow you to search for Places or points of interest.
|
void |
setEndpoint(java.lang.String endpoint)
Overrides the default endpoint for this client
("https://geo.us-east-1.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
setEndpoint(String) , sets the
regional endpoint for this client's service calls. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
void setEndpoint(java.lang.String endpoint) throws java.lang.IllegalArgumentException
Callers can pass in just the endpoint (ex: "geo.us-east-1.amazonaws.com")
or a full URL, including the protocol (ex:
"https://geo.us-east-1.amazonaws.com"). If the protocol is not specified
here, the default protocol from this client's ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID= 3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
endpoint
- The endpoint (ex: "geo.us-east-1.amazonaws.com") or a
full URL, including the protocol (ex:
"https://geo.us-east-1.amazonaws.com") of the region specific
AWS endpoint this client will communicate with.java.lang.IllegalArgumentException
- If any problems are detected with the
specified endpoint.void setRegion(Region region) throws java.lang.IllegalArgumentException
setEndpoint(String)
, sets the
regional endpoint for this client's service calls. Callers can use this
method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol.
To use http instead, specify it in the ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
region
- The region this client will communicate with. See
Region.getRegion(com.amazonaws.regions.Regions)
for
accessing a given region.java.lang.IllegalArgumentException
- If the given region is null,
or if this service isn't available in the given region. See
Region.isServiceSupported(String)
Region.getRegion(com.amazonaws.regions.Regions)
,
Region.createClient(Class,
com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
AssociateTrackerConsumerResult associateTrackerConsumer(AssociateTrackerConsumerRequest associateTrackerConsumerRequest) throws AmazonClientException, AmazonServiceException
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.
associateTrackerConsumerRequest
- InternalServerException
ResourceNotFoundException
ConflictException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.BatchDeleteGeofenceResult batchDeleteGeofence(BatchDeleteGeofenceRequest batchDeleteGeofenceRequest) throws AmazonClientException, AmazonServiceException
Deletes a batch of geofences from a geofence collection.
This action deletes the resource permanently. You can't undo this action.
batchDeleteGeofenceRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.BatchEvaluateGeofencesResult batchEvaluateGeofences(BatchEvaluateGeofencesRequest batchEvaluateGeofencesRequest) throws AmazonClientException, AmazonServiceException
Used in geofence monitoring. Evaluates device positions against the position of geofences in a given geofence collection.
batchEvaluateGeofencesRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.BatchGetDevicePositionResult batchGetDevicePosition(BatchGetDevicePositionRequest batchGetDevicePositionRequest) throws AmazonClientException, AmazonServiceException
A batch request to retrieve device positions.
The response will return the device positions from the last 24 hours.
batchGetDevicePositionRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.BatchPutGeofenceResult batchPutGeofence(BatchPutGeofenceRequest batchPutGeofenceRequest) throws AmazonClientException, AmazonServiceException
A batch request for storing geofences into a given geofence collection.
batchPutGeofenceRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.BatchUpdateDevicePositionResult batchUpdateDevicePosition(BatchUpdateDevicePositionRequest batchUpdateDevicePositionRequest) throws AmazonClientException, AmazonServiceException
Uploads a position update for one or more devices to a tracker resource. The data is used for API queries requesting the device position and position history.
Limitation — Location data is sampled at a fixed rate of 1 position per 30 second interval, and retained for 1 year before it is deleted.
batchUpdateDevicePositionRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.CreateGeofenceCollectionResult createGeofenceCollection(CreateGeofenceCollectionRequest createGeofenceCollectionRequest) throws AmazonClientException, AmazonServiceException
Creates a geofence collection, which manages and stores geofences.
createGeofenceCollectionRequest
- InternalServerException
ConflictException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.CreateMapResult createMap(CreateMapRequest createMapRequest) throws AmazonClientException, AmazonServiceException
Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers.
By using Maps, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using. For more information, see the AWS Service Terms for Amazon Location Service.
createMapRequest
- InternalServerException
ConflictException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.CreatePlaceIndexResult createPlaceIndex(CreatePlaceIndexRequest createPlaceIndexRequest) throws AmazonClientException, AmazonServiceException
Creates a Place index resource in your AWS account, which supports Places functions with geospatial data sourced from your chosen data provider.
By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.
Because of licensing limitations, you may not use HERE to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
createPlaceIndexRequest
- InternalServerException
ConflictException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.CreateTrackerResult createTracker(CreateTrackerRequest createTrackerRequest) throws AmazonClientException, AmazonServiceException
Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of devices.
createTrackerRequest
- InternalServerException
ConflictException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.DeleteGeofenceCollectionResult deleteGeofenceCollection(DeleteGeofenceCollectionRequest deleteGeofenceCollectionRequest) throws AmazonClientException, AmazonServiceException
Deletes a geofence collection from your AWS account.
This action deletes the resource permanently. You can't undo this action. If the geofence collection is the target of a tracker resource, the devices will no longer be monitored.
deleteGeofenceCollectionRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.DeleteMapResult deleteMap(DeleteMapRequest deleteMapRequest) throws AmazonClientException, AmazonServiceException
Deletes a map resource from your AWS account.
This action deletes the resource permanently. You cannot undo this action. If the map is being used in an application, the map may not render.
deleteMapRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.DeletePlaceIndexResult deletePlaceIndex(DeletePlaceIndexRequest deletePlaceIndexRequest) throws AmazonClientException, AmazonServiceException
Deletes a Place index resource from your AWS account.
This action deletes the resource permanently. You cannot undo this action.
deletePlaceIndexRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.DeleteTrackerResult deleteTracker(DeleteTrackerRequest deleteTrackerRequest) throws AmazonClientException, AmazonServiceException
Deletes a tracker resource from your AWS account.
This action deletes the resource permanently. You can't undo this action. If the tracker resource is in use, you may encounter an error. Make sure that the target resource is not a dependency for your applications.
deleteTrackerRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.DescribeGeofenceCollectionResult describeGeofenceCollection(DescribeGeofenceCollectionRequest describeGeofenceCollectionRequest) throws AmazonClientException, AmazonServiceException
Retrieves the geofence collection details.
describeGeofenceCollectionRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.DescribeMapResult describeMap(DescribeMapRequest describeMapRequest) throws AmazonClientException, AmazonServiceException
Retrieves the map resource details.
describeMapRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.DescribePlaceIndexResult describePlaceIndex(DescribePlaceIndexRequest describePlaceIndexRequest) throws AmazonClientException, AmazonServiceException
Retrieves the Place index resource details.
describePlaceIndexRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.DescribeTrackerResult describeTracker(DescribeTrackerRequest describeTrackerRequest) throws AmazonClientException, AmazonServiceException
Retrieves the tracker resource details.
describeTrackerRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.DisassociateTrackerConsumerResult disassociateTrackerConsumer(DisassociateTrackerConsumerRequest disassociateTrackerConsumerRequest) throws AmazonClientException, AmazonServiceException
Removes the association bewteen a tracker resource and a geofence collection.
Once you unlink a tracker resource from a geofence collection, the tracker positions will no longer be automatically evaluated against geofences.
disassociateTrackerConsumerRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.GetDevicePositionResult getDevicePosition(GetDevicePositionRequest getDevicePositionRequest) throws AmazonClientException, AmazonServiceException
Retrieves the latest device position.
Limitation — Device positions are deleted after one year.
getDevicePositionRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.GetDevicePositionHistoryResult getDevicePositionHistory(GetDevicePositionHistoryRequest getDevicePositionHistoryRequest) throws AmazonClientException, AmazonServiceException
Retrieves the device position history from a tracker resource within a specified range of time.
Limitation — Device positions are deleted after one year.
getDevicePositionHistoryRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.GetGeofenceResult getGeofence(GetGeofenceRequest getGeofenceRequest) throws AmazonClientException, AmazonServiceException
Retrieves the geofence details from a geofence collection.
getGeofenceRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.GetMapGlyphsResult getMapGlyphs(GetMapGlyphsRequest getMapGlyphsRequest) throws AmazonClientException, AmazonServiceException
Retrieves glyphs used to display labels on a map.
getMapGlyphsRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.GetMapSpritesResult getMapSprites(GetMapSpritesRequest getMapSpritesRequest) throws AmazonClientException, AmazonServiceException
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.
getMapSpritesRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.GetMapStyleDescriptorResult getMapStyleDescriptor(GetMapStyleDescriptorRequest getMapStyleDescriptorRequest) throws AmazonClientException, AmazonServiceException
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.
getMapStyleDescriptorRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.GetMapTileResult getMapTile(GetMapTileRequest getMapTileRequest) throws AmazonClientException, AmazonServiceException
Retrieves a vector data tile from the map resource. Map tiles are used by clients to render a map. They are addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level.
The origin (0, 0) is the top left of the map. Increasing the zoom level by 1 doubles both the X and Y dimensions, so a tile containing data for the entire world at (0/0/0) will be split into 4 tiles at zoom 1 (1/0/0, 1/0/1, 1/1/0, 1/1/1).
getMapTileRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.ListGeofenceCollectionsResult listGeofenceCollections(ListGeofenceCollectionsRequest listGeofenceCollectionsRequest) throws AmazonClientException, AmazonServiceException
Lists geofence collections in your AWS account.
listGeofenceCollectionsRequest
- InternalServerException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.ListGeofencesResult listGeofences(ListGeofencesRequest listGeofencesRequest) throws AmazonClientException, AmazonServiceException
Lists geofences stored in a given geofence collection.
listGeofencesRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.ListMapsResult listMaps(ListMapsRequest listMapsRequest) throws AmazonClientException, AmazonServiceException
Lists map resources in your AWS account.
listMapsRequest
- InternalServerException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.ListPlaceIndexesResult listPlaceIndexes(ListPlaceIndexesRequest listPlaceIndexesRequest) throws AmazonClientException, AmazonServiceException
Lists Place index resources in your AWS account.
listPlaceIndexesRequest
- InternalServerException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.ListTrackerConsumersResult listTrackerConsumers(ListTrackerConsumersRequest listTrackerConsumersRequest) throws AmazonClientException, AmazonServiceException
Lists geofence collections currently associated to the given tracker resource.
listTrackerConsumersRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.ListTrackersResult listTrackers(ListTrackersRequest listTrackersRequest) throws AmazonClientException, AmazonServiceException
Lists tracker resources in your AWS account.
listTrackersRequest
- InternalServerException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.PutGeofenceResult putGeofence(PutGeofenceRequest putGeofenceRequest) throws AmazonClientException, AmazonServiceException
Stores a geofence to a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.
putGeofenceRequest
- InternalServerException
ResourceNotFoundException
ConflictException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.SearchPlaceIndexForPositionResult searchPlaceIndexForPosition(SearchPlaceIndexForPositionRequest searchPlaceIndexForPositionRequest) throws AmazonClientException, AmazonServiceException
Reverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of interest near a given position.
By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.
Because of licensing limitations, you may not use HERE to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
searchPlaceIndexForPositionRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.SearchPlaceIndexForTextResult searchPlaceIndexForText(SearchPlaceIndexForTextRequest searchPlaceIndexForTextRequest) throws AmazonClientException, AmazonServiceException
Geocodes free-form text, such as an address, name, city, or region to allow you to search for Places or points of interest.
Includes the option to apply additional parameters to narrow your list of results.
You can search for places near a given position using
BiasPosition
, or filter results within a bounding box using
FilterBBox
. Providing both parameters simultaneously returns
an error.
By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.
Also, when using HERE as your data provider, you may not (a) use HERE
Places for Asset Management, or (b) select the Storage
option for the IntendedUse
parameter when requesting Places
in Japan. For more information, see the AWS Service Terms for
Amazon Location Service.
searchPlaceIndexForTextRequest
- InternalServerException
ResourceNotFoundException
AccessDeniedException
ValidationException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
Location service indicating either a problem with the data in
the request, or a server side issue.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.