@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonLocationClient extends AmazonWebServiceClient implements AmazonLocation
Suite of geospatial services including Maps, Places, Tracking, and Geofencing
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AssociateTrackerConsumerResult |
associateTrackerConsumer(AssociateTrackerConsumerRequest request)
Creates an association between a geofence collection and a tracker resource.
|
BatchDeleteGeofenceResult |
batchDeleteGeofence(BatchDeleteGeofenceRequest request)
Deletes a batch of geofences from a geofence collection.
|
BatchEvaluateGeofencesResult |
batchEvaluateGeofences(BatchEvaluateGeofencesRequest request)
Used in geofence monitoring.
|
BatchGetDevicePositionResult |
batchGetDevicePosition(BatchGetDevicePositionRequest request)
A batch request to retrieve device positions.
|
BatchPutGeofenceResult |
batchPutGeofence(BatchPutGeofenceRequest request)
A batch request for storing geofences into a given geofence collection.
|
BatchUpdateDevicePositionResult |
batchUpdateDevicePosition(BatchUpdateDevicePositionRequest request)
Uploads a position update for one or more devices to a tracker resource.
|
static AmazonLocationClientBuilder |
builder() |
CreateGeofenceCollectionResult |
createGeofenceCollection(CreateGeofenceCollectionRequest request)
Creates a geofence collection, which manages and stores geofences.
|
CreateMapResult |
createMap(CreateMapRequest request)
Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global
location data providers.
|
CreatePlaceIndexResult |
createPlaceIndex(CreatePlaceIndexRequest request)
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 request)
Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of
devices.
|
DeleteGeofenceCollectionResult |
deleteGeofenceCollection(DeleteGeofenceCollectionRequest request)
Deletes a geofence collection from your AWS account.
|
DeleteMapResult |
deleteMap(DeleteMapRequest request)
Deletes a map resource from your AWS account.
|
DeletePlaceIndexResult |
deletePlaceIndex(DeletePlaceIndexRequest request)
Deletes a Place index resource from your AWS account.
|
DeleteTrackerResult |
deleteTracker(DeleteTrackerRequest request)
Deletes a tracker resource from your AWS account.
|
DescribeGeofenceCollectionResult |
describeGeofenceCollection(DescribeGeofenceCollectionRequest request)
Retrieves the geofence collection details.
|
DescribeMapResult |
describeMap(DescribeMapRequest request)
Retrieves the map resource details.
|
DescribePlaceIndexResult |
describePlaceIndex(DescribePlaceIndexRequest request)
Retrieves the Place index resource details.
|
DescribeTrackerResult |
describeTracker(DescribeTrackerRequest request)
Retrieves the tracker resource details.
|
DisassociateTrackerConsumerResult |
disassociateTrackerConsumer(DisassociateTrackerConsumerRequest request)
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 request)
Retrieves the latest device position.
|
GetDevicePositionHistoryResult |
getDevicePositionHistory(GetDevicePositionHistoryRequest request)
Retrieves the device position history from a tracker resource within a specified range of time.
|
GetGeofenceResult |
getGeofence(GetGeofenceRequest request)
Retrieves the geofence details from a geofence collection.
|
GetMapGlyphsResult |
getMapGlyphs(GetMapGlyphsRequest request)
Retrieves glyphs used to display labels on a map.
|
GetMapSpritesResult |
getMapSprites(GetMapSpritesRequest request)
Retrieves the sprite sheet corresponding to a map resource.
|
GetMapStyleDescriptorResult |
getMapStyleDescriptor(GetMapStyleDescriptorRequest request)
Retrieves the map style descriptor from a map resource.
|
GetMapTileResult |
getMapTile(GetMapTileRequest request)
Retrieves a vector data tile from the map resource.
|
ListGeofenceCollectionsResult |
listGeofenceCollections(ListGeofenceCollectionsRequest request)
Lists geofence collections in your AWS account.
|
ListGeofencesResult |
listGeofences(ListGeofencesRequest request)
Lists geofences stored in a given geofence collection.
|
ListMapsResult |
listMaps(ListMapsRequest request)
Lists map resources in your AWS account.
|
ListPlaceIndexesResult |
listPlaceIndexes(ListPlaceIndexesRequest request)
Lists Place index resources in your AWS account.
|
ListTrackerConsumersResult |
listTrackerConsumers(ListTrackerConsumersRequest request)
Lists geofence collections currently associated to the given tracker resource.
|
ListTrackersResult |
listTrackers(ListTrackersRequest request)
Lists tracker resources in your AWS account.
|
PutGeofenceResult |
putGeofence(PutGeofenceRequest request)
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 request)
Reverse geocodes a given coordinate and returns a legible address.
|
SearchPlaceIndexForTextResult |
searchPlaceIndexForText(SearchPlaceIndexForTextRequest request)
Geocodes free-form text, such as an address, name, city, or region to allow you to search for Places or points of
interest.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonLocationClientBuilder builder()
public AssociateTrackerConsumerResult associateTrackerConsumer(AssociateTrackerConsumerRequest request)
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.
associateTrackerConsumer
in interface AmazonLocation
associateTrackerConsumerRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.ConflictException
- The request was unsuccessful due to a conflict.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public BatchDeleteGeofenceResult batchDeleteGeofence(BatchDeleteGeofenceRequest request)
Deletes a batch of geofences from a geofence collection.
This action deletes the resource permanently. You can't undo this action.
batchDeleteGeofence
in interface AmazonLocation
batchDeleteGeofenceRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public BatchEvaluateGeofencesResult batchEvaluateGeofences(BatchEvaluateGeofencesRequest request)
Used in geofence monitoring. Evaluates device positions against the position of geofences in a given geofence collection.
batchEvaluateGeofences
in interface AmazonLocation
batchEvaluateGeofencesRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public BatchGetDevicePositionResult batchGetDevicePosition(BatchGetDevicePositionRequest request)
A batch request to retrieve device positions.
The response will return the device positions from the last 24 hours.
batchGetDevicePosition
in interface AmazonLocation
batchGetDevicePositionRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public BatchPutGeofenceResult batchPutGeofence(BatchPutGeofenceRequest request)
A batch request for storing geofences into a given geofence collection.
batchPutGeofence
in interface AmazonLocation
batchPutGeofenceRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public BatchUpdateDevicePositionResult batchUpdateDevicePosition(BatchUpdateDevicePositionRequest request)
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.
batchUpdateDevicePosition
in interface AmazonLocation
batchUpdateDevicePositionRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public CreateGeofenceCollectionResult createGeofenceCollection(CreateGeofenceCollectionRequest request)
Creates a geofence collection, which manages and stores geofences.
createGeofenceCollection
in interface AmazonLocation
createGeofenceCollectionRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ConflictException
- The request was unsuccessful due to a conflict.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public CreateMapResult createMap(CreateMapRequest request)
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.
createMap
in interface AmazonLocation
createMapRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ConflictException
- The request was unsuccessful due to a conflict.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public CreatePlaceIndexResult createPlaceIndex(CreatePlaceIndexRequest request)
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.
createPlaceIndex
in interface AmazonLocation
createPlaceIndexRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ConflictException
- The request was unsuccessful due to a conflict.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public CreateTrackerResult createTracker(CreateTrackerRequest request)
Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of devices.
createTracker
in interface AmazonLocation
createTrackerRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ConflictException
- The request was unsuccessful due to a conflict.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public DeleteGeofenceCollectionResult deleteGeofenceCollection(DeleteGeofenceCollectionRequest request)
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.
deleteGeofenceCollection
in interface AmazonLocation
deleteGeofenceCollectionRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public DeleteMapResult deleteMap(DeleteMapRequest request)
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.
deleteMap
in interface AmazonLocation
deleteMapRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public DeletePlaceIndexResult deletePlaceIndex(DeletePlaceIndexRequest request)
Deletes a Place index resource from your AWS account.
This action deletes the resource permanently. You cannot undo this action.
deletePlaceIndex
in interface AmazonLocation
deletePlaceIndexRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public DeleteTrackerResult deleteTracker(DeleteTrackerRequest request)
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.
deleteTracker
in interface AmazonLocation
deleteTrackerRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public DescribeGeofenceCollectionResult describeGeofenceCollection(DescribeGeofenceCollectionRequest request)
Retrieves the geofence collection details.
describeGeofenceCollection
in interface AmazonLocation
describeGeofenceCollectionRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public DescribeMapResult describeMap(DescribeMapRequest request)
Retrieves the map resource details.
describeMap
in interface AmazonLocation
describeMapRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public DescribePlaceIndexResult describePlaceIndex(DescribePlaceIndexRequest request)
Retrieves the Place index resource details.
describePlaceIndex
in interface AmazonLocation
describePlaceIndexRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public DescribeTrackerResult describeTracker(DescribeTrackerRequest request)
Retrieves the tracker resource details.
describeTracker
in interface AmazonLocation
describeTrackerRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public DisassociateTrackerConsumerResult disassociateTrackerConsumer(DisassociateTrackerConsumerRequest request)
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.
disassociateTrackerConsumer
in interface AmazonLocation
disassociateTrackerConsumerRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public GetDevicePositionResult getDevicePosition(GetDevicePositionRequest request)
Retrieves the latest device position.
Limitation — Device positions are deleted after one year.
getDevicePosition
in interface AmazonLocation
getDevicePositionRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public GetDevicePositionHistoryResult getDevicePositionHistory(GetDevicePositionHistoryRequest request)
Retrieves the device position history from a tracker resource within a specified range of time.
Limitation — Device positions are deleted after one year.
getDevicePositionHistory
in interface AmazonLocation
getDevicePositionHistoryRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public GetGeofenceResult getGeofence(GetGeofenceRequest request)
Retrieves the geofence details from a geofence collection.
getGeofence
in interface AmazonLocation
getGeofenceRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public GetMapGlyphsResult getMapGlyphs(GetMapGlyphsRequest request)
Retrieves glyphs used to display labels on a map.
getMapGlyphs
in interface AmazonLocation
getMapGlyphsRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public GetMapSpritesResult getMapSprites(GetMapSpritesRequest request)
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.
getMapSprites
in interface AmazonLocation
getMapSpritesRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public GetMapStyleDescriptorResult getMapStyleDescriptor(GetMapStyleDescriptorRequest request)
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.
getMapStyleDescriptor
in interface AmazonLocation
getMapStyleDescriptorRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public GetMapTileResult getMapTile(GetMapTileRequest request)
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).
getMapTile
in interface AmazonLocation
getMapTileRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public ListGeofenceCollectionsResult listGeofenceCollections(ListGeofenceCollectionsRequest request)
Lists geofence collections in your AWS account.
listGeofenceCollections
in interface AmazonLocation
listGeofenceCollectionsRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public ListGeofencesResult listGeofences(ListGeofencesRequest request)
Lists geofences stored in a given geofence collection.
listGeofences
in interface AmazonLocation
listGeofencesRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public ListMapsResult listMaps(ListMapsRequest request)
Lists map resources in your AWS account.
listMaps
in interface AmazonLocation
listMapsRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public ListPlaceIndexesResult listPlaceIndexes(ListPlaceIndexesRequest request)
Lists Place index resources in your AWS account.
listPlaceIndexes
in interface AmazonLocation
listPlaceIndexesRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public ListTrackerConsumersResult listTrackerConsumers(ListTrackerConsumersRequest request)
Lists geofence collections currently associated to the given tracker resource.
listTrackerConsumers
in interface AmazonLocation
listTrackerConsumersRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public ListTrackersResult listTrackers(ListTrackersRequest request)
Lists tracker resources in your AWS account.
listTrackers
in interface AmazonLocation
listTrackersRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public PutGeofenceResult putGeofence(PutGeofenceRequest request)
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.
putGeofence
in interface AmazonLocation
putGeofenceRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.ConflictException
- The request was unsuccessful due to a conflict.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public SearchPlaceIndexForPositionResult searchPlaceIndexForPosition(SearchPlaceIndexForPositionRequest request)
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.
searchPlaceIndexForPosition
in interface AmazonLocation
searchPlaceIndexForPositionRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public SearchPlaceIndexForTextResult searchPlaceIndexForText(SearchPlaceIndexForTextRequest request)
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.
searchPlaceIndexForText
in interface AmazonLocation
searchPlaceIndexForTextRequest
- InternalServerException
- The request has failed to process because of an unknown server error, exception, or failure.ResourceNotFoundException
- The resource that you've entered was not found in your AWS account.AccessDeniedException
- The request was denied due to insufficient access or permission. Check with an administrator to verify
your permissions.ValidationException
- The input failed to meet the constraints specified by the AWS service.ThrottlingException
- The request was denied due to request throttling.public 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 the request.
getCachedResponseMetadata
in interface AmazonLocation
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonLocation
shutdown
in class AmazonWebServiceClient