public class AmazonLocationClient extends AmazonWebServiceClient implements AmazonLocation
Suite of geospatial services including Maps, Places, Tracking, and Geofencing
LOGGING_AWS_REQUEST_METRIC| Constructor and Description |
|---|
AmazonLocationClient()
Deprecated.
|
AmazonLocationClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on AmazonLocation using
the specified AWS account credentials.
|
AmazonLocationClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AmazonLocation using
the specified AWS account credentials and client configuration options.
|
AmazonLocationClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on AmazonLocation using
the specified AWS account credentials provider.
|
AmazonLocationClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AmazonLocation using
the specified AWS account credentials provider and client configuration
options.
|
AmazonLocationClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
HttpClient httpClient)
Constructs a new client to invoke service methods on AmazonLocation using
the specified AWS account credentials provider, client configuration
options and request metric collector.
|
AmazonLocationClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
com.amazonaws.metrics.RequestMetricCollector requestMetricCollector)
Deprecated.
|
AmazonLocationClient(ClientConfiguration clientConfiguration)
Deprecated.
|
| 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)
Deprecated.
ResponseMetadata cache can hold up to 50 requests and
responses in memory and will cause memory issue. This method
now always returns null.
|
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.
|
addRequestHandler, addRequestHandler, getEndpoint, getEndpointPrefix, getRegions, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, removeRequestHandler, removeRequestHandler, setConfiguration, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion, shutdown@Deprecated public AmazonLocationClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain@Deprecated public AmazonLocationClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling
how this client connects to AmazonLocation (ex: proxy
settings, retry counts, etc.).DefaultAWSCredentialsProviderChainpublic AmazonLocationClient(AWSCredentials awsCredentials)
The client requests are authenticated using the AWSCredentials
provided in this constructor. Static AWSCredentials can be passed for
quick testing. However, it is strongly recommended to use Amazon Cognito
vended temporary credentials for use in production. This can be achieved
by using AWSMobileClient. Please see
https://aws-amplify.github.io/docs/android/authentication for
instructions on how to enable AWSMobileClient.
AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() {
@Override
public void onResult(final UserStateDetails details) {
AmazonLocationClient client = new AmazonLocationClient(AWSMobileClient.getInstance());
}
@Override
public void onError(final Exception e) {
e.printStackTrace();
}
});
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key)
to use when authenticating with AWS services.public AmazonLocationClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
The client requests are authenticated using the AWSCredentials
provided in this constructor. Static AWSCredentials can be passed for
quick testing. However, it is strongly recommended to use Amazon Cognito
vended temporary credentials for use in production. This can be achieved
by using AWSMobileClient. Please see
https://aws-amplify.github.io/docs/android/authentication for
instructions on how to enable AWSMobileClient.
AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() {
@Override
public void onResult(final UserStateDetails details) {
AmazonLocationClient client = new AmazonLocationClient(AWSMobileClient.getInstance());
}
@Override
public void onError(final Exception e) {
e.printStackTrace();
}
});
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key)
to use when authenticating with AWS services.clientConfiguration - The client configuration options controlling
how this client connects to AmazonLocation (ex: proxy
settings, retry counts, etc.).public AmazonLocationClient(AWSCredentialsProvider awsCredentialsProvider)
The client requests are authenticated using the AWSCredentials
provided by the AWSCredentialsProvider. Static AWSCredentials can
be passed for quick testing. However, it is strongly recommended to use
Amazon Cognito vended temporary credentials for use in production. This
can be achieved by using AWSMobileClient. Please see
https://aws-amplify.github.io/docs/android/authentication for
instructions on how to enable AWSMobileClient.
AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() {
@Override
public void onResult(final UserStateDetails details) {
AmazonLocationClient client = new AmazonLocationClient(AWSMobileClient.getInstance());
}
@Override
public void onError(final Exception e) {
e.printStackTrace();
}
});
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.public AmazonLocationClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
The client requests are authenticated using the AWSCredentials
provided by the AWSCredentialsProvider. Static AWSCredentials can
be passed for quick testing. However, it is strongly recommended to use
Amazon Cognito vended temporary credentials for use in production. This
can be achieved by using AWSMobileClient. Please see
https://aws-amplify.github.io/docs/android/authentication for
instructions on how to enable AWSMobileClient.
AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() {
@Override
public void onResult(final UserStateDetails details) {
AmazonLocationClient client = new AmazonLocationClient(AWSMobileClient.getInstance());
}
@Override
public void onError(final Exception e) {
e.printStackTrace();
}
});
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.clientConfiguration - The client configuration options controlling
how this client connects to AmazonLocation (ex: proxy
settings, retry counts, etc.).@Deprecated public AmazonLocationClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, com.amazonaws.metrics.RequestMetricCollector requestMetricCollector)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.clientConfiguration - The client configuration options controlling
how this client connects to AmazonLocation (ex: proxy
settings, retry counts, etc.).requestMetricCollector - optional request metric collectorpublic AmazonLocationClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, HttpClient httpClient)
The client requests are authenticated using the AWSCredentials
provided by the AWSCredentialsProvider. Static AWSCredentials can
be passed for quick testing. However, it is strongly recommended to use
Amazon Cognito vended temporary credentials for use in production. This
can be achieved by using AWSMobileClient. Please see
https://aws-amplify.github.io/docs/android/authentication for
instructions on how to enable AWSMobileClient.
AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() {
@Override
public void onResult(final UserStateDetails details) {
AmazonLocationClient client = new AmazonLocationClient(AWSMobileClient.getInstance());
}
@Override
public void onError(final Exception e) {
e.printStackTrace();
}
});
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.clientConfiguration - The client configuration options controlling
how this client connects to AmazonLocation (ex: proxy
settings, retry counts, etc.).httpClient - A http clientpublic AssociateTrackerConsumerResult associateTrackerConsumer(AssociateTrackerConsumerRequest associateTrackerConsumerRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationassociateTrackerConsumerRequest - InternalServerExceptionResourceNotFoundExceptionConflictExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public BatchDeleteGeofenceResult batchDeleteGeofence(BatchDeleteGeofenceRequest batchDeleteGeofenceRequest) throws AmazonServiceException, AmazonClientException
Deletes a batch of geofences from a geofence collection.
This action deletes the resource permanently. You can't undo this action.
batchDeleteGeofence in interface AmazonLocationbatchDeleteGeofenceRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public BatchEvaluateGeofencesResult batchEvaluateGeofences(BatchEvaluateGeofencesRequest batchEvaluateGeofencesRequest) throws AmazonServiceException, AmazonClientException
Used in geofence monitoring. Evaluates device positions against the position of geofences in a given geofence collection.
batchEvaluateGeofences in interface AmazonLocationbatchEvaluateGeofencesRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public BatchGetDevicePositionResult batchGetDevicePosition(BatchGetDevicePositionRequest batchGetDevicePositionRequest) throws AmazonServiceException, AmazonClientException
A batch request to retrieve device positions.
The response will return the device positions from the last 24 hours.
batchGetDevicePosition in interface AmazonLocationbatchGetDevicePositionRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public BatchPutGeofenceResult batchPutGeofence(BatchPutGeofenceRequest batchPutGeofenceRequest) throws AmazonServiceException, AmazonClientException
A batch request for storing geofences into a given geofence collection.
batchPutGeofence in interface AmazonLocationbatchPutGeofenceRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public BatchUpdateDevicePositionResult batchUpdateDevicePosition(BatchUpdateDevicePositionRequest batchUpdateDevicePositionRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationbatchUpdateDevicePositionRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public CreateGeofenceCollectionResult createGeofenceCollection(CreateGeofenceCollectionRequest createGeofenceCollectionRequest) throws AmazonServiceException, AmazonClientException
Creates a geofence collection, which manages and stores geofences.
createGeofenceCollection in interface AmazonLocationcreateGeofenceCollectionRequest - InternalServerExceptionConflictExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public CreateMapResult createMap(CreateMapRequest createMapRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationcreateMapRequest - InternalServerExceptionConflictExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public CreatePlaceIndexResult createPlaceIndex(CreatePlaceIndexRequest createPlaceIndexRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationcreatePlaceIndexRequest - InternalServerExceptionConflictExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public CreateTrackerResult createTracker(CreateTrackerRequest createTrackerRequest) throws AmazonServiceException, AmazonClientException
Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of devices.
createTracker in interface AmazonLocationcreateTrackerRequest - InternalServerExceptionConflictExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public DeleteGeofenceCollectionResult deleteGeofenceCollection(DeleteGeofenceCollectionRequest deleteGeofenceCollectionRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationdeleteGeofenceCollectionRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public DeleteMapResult deleteMap(DeleteMapRequest deleteMapRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationdeleteMapRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public DeletePlaceIndexResult deletePlaceIndex(DeletePlaceIndexRequest deletePlaceIndexRequest) throws AmazonServiceException, AmazonClientException
Deletes a Place index resource from your AWS account.
This action deletes the resource permanently. You cannot undo this action.
deletePlaceIndex in interface AmazonLocationdeletePlaceIndexRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public DeleteTrackerResult deleteTracker(DeleteTrackerRequest deleteTrackerRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationdeleteTrackerRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public DescribeGeofenceCollectionResult describeGeofenceCollection(DescribeGeofenceCollectionRequest describeGeofenceCollectionRequest) throws AmazonServiceException, AmazonClientException
Retrieves the geofence collection details.
describeGeofenceCollection in interface AmazonLocationdescribeGeofenceCollectionRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public DescribeMapResult describeMap(DescribeMapRequest describeMapRequest) throws AmazonServiceException, AmazonClientException
Retrieves the map resource details.
describeMap in interface AmazonLocationdescribeMapRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public DescribePlaceIndexResult describePlaceIndex(DescribePlaceIndexRequest describePlaceIndexRequest) throws AmazonServiceException, AmazonClientException
Retrieves the Place index resource details.
describePlaceIndex in interface AmazonLocationdescribePlaceIndexRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public DescribeTrackerResult describeTracker(DescribeTrackerRequest describeTrackerRequest) throws AmazonServiceException, AmazonClientException
Retrieves the tracker resource details.
describeTracker in interface AmazonLocationdescribeTrackerRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public DisassociateTrackerConsumerResult disassociateTrackerConsumer(DisassociateTrackerConsumerRequest disassociateTrackerConsumerRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationdisassociateTrackerConsumerRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public GetDevicePositionResult getDevicePosition(GetDevicePositionRequest getDevicePositionRequest) throws AmazonServiceException, AmazonClientException
Retrieves the latest device position.
Limitation — Device positions are deleted after one year.
getDevicePosition in interface AmazonLocationgetDevicePositionRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public GetDevicePositionHistoryResult getDevicePositionHistory(GetDevicePositionHistoryRequest getDevicePositionHistoryRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationgetDevicePositionHistoryRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public GetGeofenceResult getGeofence(GetGeofenceRequest getGeofenceRequest) throws AmazonServiceException, AmazonClientException
Retrieves the geofence details from a geofence collection.
getGeofence in interface AmazonLocationgetGeofenceRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public GetMapGlyphsResult getMapGlyphs(GetMapGlyphsRequest getMapGlyphsRequest) throws AmazonServiceException, AmazonClientException
Retrieves glyphs used to display labels on a map.
getMapGlyphs in interface AmazonLocationgetMapGlyphsRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public GetMapSpritesResult getMapSprites(GetMapSpritesRequest getMapSpritesRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationgetMapSpritesRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public GetMapStyleDescriptorResult getMapStyleDescriptor(GetMapStyleDescriptorRequest getMapStyleDescriptorRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationgetMapStyleDescriptorRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public GetMapTileResult getMapTile(GetMapTileRequest getMapTileRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationgetMapTileRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public ListGeofenceCollectionsResult listGeofenceCollections(ListGeofenceCollectionsRequest listGeofenceCollectionsRequest) throws AmazonServiceException, AmazonClientException
Lists geofence collections in your AWS account.
listGeofenceCollections in interface AmazonLocationlistGeofenceCollectionsRequest - InternalServerExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public ListGeofencesResult listGeofences(ListGeofencesRequest listGeofencesRequest) throws AmazonServiceException, AmazonClientException
Lists geofences stored in a given geofence collection.
listGeofences in interface AmazonLocationlistGeofencesRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public ListMapsResult listMaps(ListMapsRequest listMapsRequest) throws AmazonServiceException, AmazonClientException
Lists map resources in your AWS account.
listMaps in interface AmazonLocationlistMapsRequest - InternalServerExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public ListPlaceIndexesResult listPlaceIndexes(ListPlaceIndexesRequest listPlaceIndexesRequest) throws AmazonServiceException, AmazonClientException
Lists Place index resources in your AWS account.
listPlaceIndexes in interface AmazonLocationlistPlaceIndexesRequest - InternalServerExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public ListTrackerConsumersResult listTrackerConsumers(ListTrackerConsumersRequest listTrackerConsumersRequest) throws AmazonServiceException, AmazonClientException
Lists geofence collections currently associated to the given tracker resource.
listTrackerConsumers in interface AmazonLocationlistTrackerConsumersRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public ListTrackersResult listTrackers(ListTrackersRequest listTrackersRequest) throws AmazonServiceException, AmazonClientException
Lists tracker resources in your AWS account.
listTrackers in interface AmazonLocationlistTrackersRequest - InternalServerExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public PutGeofenceResult putGeofence(PutGeofenceRequest putGeofenceRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationputGeofenceRequest - InternalServerExceptionResourceNotFoundExceptionConflictExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public SearchPlaceIndexForPositionResult searchPlaceIndexForPosition(SearchPlaceIndexForPositionRequest searchPlaceIndexForPositionRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationsearchPlaceIndexForPositionRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.public SearchPlaceIndexForTextResult searchPlaceIndexForText(SearchPlaceIndexForTextRequest searchPlaceIndexForTextRequest) throws AmazonServiceException, AmazonClientException
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 AmazonLocationsearchPlaceIndexForTextRequest - InternalServerExceptionResourceNotFoundExceptionAccessDeniedExceptionValidationExceptionThrottlingExceptionAmazonClientException - 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.@Deprecated 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 AmazonLocationrequest - The originally executed requestCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.