@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface LocationClient extends SdkClient
builder() method.
Suite of geospatial services including Maps, Places, Routes, Tracking, and Geofencing
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AssociateTrackerConsumerResponse |
associateTrackerConsumer(AssociateTrackerConsumerRequest associateTrackerConsumerRequest)
Creates an association between a geofence collection and a tracker resource.
|
default AssociateTrackerConsumerResponse |
associateTrackerConsumer(Consumer<AssociateTrackerConsumerRequest.Builder> associateTrackerConsumerRequest)
Creates an association between a geofence collection and a tracker resource.
|
default BatchDeleteDevicePositionHistoryResponse |
batchDeleteDevicePositionHistory(BatchDeleteDevicePositionHistoryRequest batchDeleteDevicePositionHistoryRequest)
Deletes the position history of one or more devices from a tracker resource.
|
default BatchDeleteDevicePositionHistoryResponse |
batchDeleteDevicePositionHistory(Consumer<BatchDeleteDevicePositionHistoryRequest.Builder> batchDeleteDevicePositionHistoryRequest)
Deletes the position history of one or more devices from a tracker resource.
|
default BatchDeleteGeofenceResponse |
batchDeleteGeofence(BatchDeleteGeofenceRequest batchDeleteGeofenceRequest)
Deletes a batch of geofences from a geofence collection.
|
default BatchDeleteGeofenceResponse |
batchDeleteGeofence(Consumer<BatchDeleteGeofenceRequest.Builder> batchDeleteGeofenceRequest)
Deletes a batch of geofences from a geofence collection.
|
default BatchEvaluateGeofencesResponse |
batchEvaluateGeofences(BatchEvaluateGeofencesRequest batchEvaluateGeofencesRequest)
Evaluates device positions against the geofence geometries from a given geofence collection.
|
default BatchEvaluateGeofencesResponse |
batchEvaluateGeofences(Consumer<BatchEvaluateGeofencesRequest.Builder> batchEvaluateGeofencesRequest)
Evaluates device positions against the geofence geometries from a given geofence collection.
|
default BatchGetDevicePositionResponse |
batchGetDevicePosition(BatchGetDevicePositionRequest batchGetDevicePositionRequest)
Lists the latest device positions for requested devices.
|
default BatchGetDevicePositionResponse |
batchGetDevicePosition(Consumer<BatchGetDevicePositionRequest.Builder> batchGetDevicePositionRequest)
Lists the latest device positions for requested devices.
|
default BatchPutGeofenceResponse |
batchPutGeofence(BatchPutGeofenceRequest batchPutGeofenceRequest)
A batch request for storing geofence geometries into a given geofence collection, or updates the geometry of an
existing geofence if a geofence ID is included in the request.
|
default BatchPutGeofenceResponse |
batchPutGeofence(Consumer<BatchPutGeofenceRequest.Builder> batchPutGeofenceRequest)
A batch request for storing geofence geometries into a given geofence collection, or updates the geometry of an
existing geofence if a geofence ID is included in the request.
|
default BatchUpdateDevicePositionResponse |
batchUpdateDevicePosition(BatchUpdateDevicePositionRequest batchUpdateDevicePositionRequest)
Uploads position update data for one or more devices to a tracker resource.
|
default BatchUpdateDevicePositionResponse |
batchUpdateDevicePosition(Consumer<BatchUpdateDevicePositionRequest.Builder> batchUpdateDevicePositionRequest)
Uploads position update data for one or more devices to a tracker resource.
|
static LocationClientBuilder |
builder()
Create a builder that can be used to configure and create a
LocationClient. |
default CalculateRouteResponse |
calculateRoute(CalculateRouteRequest calculateRouteRequest)
Calculates a route
given the following required parameters:
DeparturePostiton and DestinationPosition. |
default CalculateRouteResponse |
calculateRoute(Consumer<CalculateRouteRequest.Builder> calculateRouteRequest)
Calculates a route
given the following required parameters:
DeparturePostiton and DestinationPosition. |
static LocationClient |
create()
Create a
LocationClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateGeofenceCollectionResponse |
createGeofenceCollection(Consumer<CreateGeofenceCollectionRequest.Builder> createGeofenceCollectionRequest)
Creates a geofence collection, which manages and stores geofences.
|
default CreateGeofenceCollectionResponse |
createGeofenceCollection(CreateGeofenceCollectionRequest createGeofenceCollectionRequest)
Creates a geofence collection, which manages and stores geofences.
|
default CreateMapResponse |
createMap(Consumer<CreateMapRequest.Builder> createMapRequest)
Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global
location data providers.
|
default CreateMapResponse |
createMap(CreateMapRequest createMapRequest)
Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global
location data providers.
|
default CreatePlaceIndexResponse |
createPlaceIndex(Consumer<CreatePlaceIndexRequest.Builder> createPlaceIndexRequest)
Creates a place index resource in your AWS account, which supports functions with geospatial data sourced from
your chosen data provider.
|
default CreatePlaceIndexResponse |
createPlaceIndex(CreatePlaceIndexRequest createPlaceIndexRequest)
Creates a place index resource in your AWS account, which supports functions with geospatial data sourced from
your chosen data provider.
|
default CreateRouteCalculatorResponse |
createRouteCalculator(Consumer<CreateRouteCalculatorRequest.Builder> createRouteCalculatorRequest)
Creates a route calculator resource in your AWS account.
|
default CreateRouteCalculatorResponse |
createRouteCalculator(CreateRouteCalculatorRequest createRouteCalculatorRequest)
Creates a route calculator resource in your AWS account.
|
default CreateTrackerResponse |
createTracker(Consumer<CreateTrackerRequest.Builder> createTrackerRequest)
Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of
devices.
|
default CreateTrackerResponse |
createTracker(CreateTrackerRequest createTrackerRequest)
Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of
devices.
|
default DeleteGeofenceCollectionResponse |
deleteGeofenceCollection(Consumer<DeleteGeofenceCollectionRequest.Builder> deleteGeofenceCollectionRequest)
Deletes a geofence collection from your AWS account.
|
default DeleteGeofenceCollectionResponse |
deleteGeofenceCollection(DeleteGeofenceCollectionRequest deleteGeofenceCollectionRequest)
Deletes a geofence collection from your AWS account.
|
default DeleteMapResponse |
deleteMap(Consumer<DeleteMapRequest.Builder> deleteMapRequest)
Deletes a map resource from your AWS account.
|
default DeleteMapResponse |
deleteMap(DeleteMapRequest deleteMapRequest)
Deletes a map resource from your AWS account.
|
default DeletePlaceIndexResponse |
deletePlaceIndex(Consumer<DeletePlaceIndexRequest.Builder> deletePlaceIndexRequest)
Deletes a place index resource from your AWS account.
|
default DeletePlaceIndexResponse |
deletePlaceIndex(DeletePlaceIndexRequest deletePlaceIndexRequest)
Deletes a place index resource from your AWS account.
|
default DeleteRouteCalculatorResponse |
deleteRouteCalculator(Consumer<DeleteRouteCalculatorRequest.Builder> deleteRouteCalculatorRequest)
Deletes a route calculator resource from your AWS account.
|
default DeleteRouteCalculatorResponse |
deleteRouteCalculator(DeleteRouteCalculatorRequest deleteRouteCalculatorRequest)
Deletes a route calculator resource from your AWS account.
|
default DeleteTrackerResponse |
deleteTracker(Consumer<DeleteTrackerRequest.Builder> deleteTrackerRequest)
Deletes a tracker resource from your AWS account.
|
default DeleteTrackerResponse |
deleteTracker(DeleteTrackerRequest deleteTrackerRequest)
Deletes a tracker resource from your AWS account.
|
default DescribeGeofenceCollectionResponse |
describeGeofenceCollection(Consumer<DescribeGeofenceCollectionRequest.Builder> describeGeofenceCollectionRequest)
Retrieves the geofence collection details.
|
default DescribeGeofenceCollectionResponse |
describeGeofenceCollection(DescribeGeofenceCollectionRequest describeGeofenceCollectionRequest)
Retrieves the geofence collection details.
|
default DescribeMapResponse |
describeMap(Consumer<DescribeMapRequest.Builder> describeMapRequest)
Retrieves the map resource details.
|
default DescribeMapResponse |
describeMap(DescribeMapRequest describeMapRequest)
Retrieves the map resource details.
|
default DescribePlaceIndexResponse |
describePlaceIndex(Consumer<DescribePlaceIndexRequest.Builder> describePlaceIndexRequest)
Retrieves the place index resource details.
|
default DescribePlaceIndexResponse |
describePlaceIndex(DescribePlaceIndexRequest describePlaceIndexRequest)
Retrieves the place index resource details.
|
default DescribeRouteCalculatorResponse |
describeRouteCalculator(Consumer<DescribeRouteCalculatorRequest.Builder> describeRouteCalculatorRequest)
Retrieves the route calculator resource details.
|
default DescribeRouteCalculatorResponse |
describeRouteCalculator(DescribeRouteCalculatorRequest describeRouteCalculatorRequest)
Retrieves the route calculator resource details.
|
default DescribeTrackerResponse |
describeTracker(Consumer<DescribeTrackerRequest.Builder> describeTrackerRequest)
Retrieves the tracker resource details.
|
default DescribeTrackerResponse |
describeTracker(DescribeTrackerRequest describeTrackerRequest)
Retrieves the tracker resource details.
|
default DisassociateTrackerConsumerResponse |
disassociateTrackerConsumer(Consumer<DisassociateTrackerConsumerRequest.Builder> disassociateTrackerConsumerRequest)
Removes the association between a tracker resource and a geofence collection.
|
default DisassociateTrackerConsumerResponse |
disassociateTrackerConsumer(DisassociateTrackerConsumerRequest disassociateTrackerConsumerRequest)
Removes the association between a tracker resource and a geofence collection.
|
default GetDevicePositionResponse |
getDevicePosition(Consumer<GetDevicePositionRequest.Builder> getDevicePositionRequest)
Retrieves a device's most recent position according to its sample time.
|
default GetDevicePositionResponse |
getDevicePosition(GetDevicePositionRequest getDevicePositionRequest)
Retrieves a device's most recent position according to its sample time.
|
default GetDevicePositionHistoryResponse |
getDevicePositionHistory(Consumer<GetDevicePositionHistoryRequest.Builder> getDevicePositionHistoryRequest)
Retrieves the device position history from a tracker resource within a specified range of time.
|
default GetDevicePositionHistoryResponse |
getDevicePositionHistory(GetDevicePositionHistoryRequest getDevicePositionHistoryRequest)
Retrieves the device position history from a tracker resource within a specified range of time.
|
default GetDevicePositionHistoryIterable |
getDevicePositionHistoryPaginator(Consumer<GetDevicePositionHistoryRequest.Builder> getDevicePositionHistoryRequest)
Retrieves the device position history from a tracker resource within a specified range of time.
|
default GetDevicePositionHistoryIterable |
getDevicePositionHistoryPaginator(GetDevicePositionHistoryRequest getDevicePositionHistoryRequest)
Retrieves the device position history from a tracker resource within a specified range of time.
|
default GetGeofenceResponse |
getGeofence(Consumer<GetGeofenceRequest.Builder> getGeofenceRequest)
Retrieves the geofence details from a geofence collection.
|
default GetGeofenceResponse |
getGeofence(GetGeofenceRequest getGeofenceRequest)
Retrieves the geofence details from a geofence collection.
|
default GetMapGlyphsResponse |
getMapGlyphs(Consumer<GetMapGlyphsRequest.Builder> getMapGlyphsRequest)
Retrieves glyphs used to display labels on a map.
|
default GetMapGlyphsResponse |
getMapGlyphs(GetMapGlyphsRequest getMapGlyphsRequest)
Retrieves glyphs used to display labels on a map.
|
default GetMapSpritesResponse |
getMapSprites(Consumer<GetMapSpritesRequest.Builder> getMapSpritesRequest)
Retrieves the sprite sheet corresponding to a map resource.
|
default GetMapSpritesResponse |
getMapSprites(GetMapSpritesRequest getMapSpritesRequest)
Retrieves the sprite sheet corresponding to a map resource.
|
default GetMapStyleDescriptorResponse |
getMapStyleDescriptor(Consumer<GetMapStyleDescriptorRequest.Builder> getMapStyleDescriptorRequest)
Retrieves the map style descriptor from a map resource.
|
default GetMapStyleDescriptorResponse |
getMapStyleDescriptor(GetMapStyleDescriptorRequest getMapStyleDescriptorRequest)
Retrieves the map style descriptor from a map resource.
|
default GetMapTileResponse |
getMapTile(Consumer<GetMapTileRequest.Builder> getMapTileRequest)
Retrieves a vector data tile from the map resource.
|
default GetMapTileResponse |
getMapTile(GetMapTileRequest getMapTileRequest)
Retrieves a vector data tile from the map resource.
|
default ListDevicePositionsResponse |
listDevicePositions(Consumer<ListDevicePositionsRequest.Builder> listDevicePositionsRequest)
A batch request to retrieve all device positions.
|
default ListDevicePositionsResponse |
listDevicePositions(ListDevicePositionsRequest listDevicePositionsRequest)
A batch request to retrieve all device positions.
|
default ListDevicePositionsIterable |
listDevicePositionsPaginator(Consumer<ListDevicePositionsRequest.Builder> listDevicePositionsRequest)
A batch request to retrieve all device positions.
|
default ListDevicePositionsIterable |
listDevicePositionsPaginator(ListDevicePositionsRequest listDevicePositionsRequest)
A batch request to retrieve all device positions.
|
default ListGeofenceCollectionsResponse |
listGeofenceCollections(Consumer<ListGeofenceCollectionsRequest.Builder> listGeofenceCollectionsRequest)
Lists geofence collections in your AWS account.
|
default ListGeofenceCollectionsResponse |
listGeofenceCollections(ListGeofenceCollectionsRequest listGeofenceCollectionsRequest)
Lists geofence collections in your AWS account.
|
default ListGeofenceCollectionsIterable |
listGeofenceCollectionsPaginator(Consumer<ListGeofenceCollectionsRequest.Builder> listGeofenceCollectionsRequest)
Lists geofence collections in your AWS account.
|
default ListGeofenceCollectionsIterable |
listGeofenceCollectionsPaginator(ListGeofenceCollectionsRequest listGeofenceCollectionsRequest)
Lists geofence collections in your AWS account.
|
default ListGeofencesResponse |
listGeofences(Consumer<ListGeofencesRequest.Builder> listGeofencesRequest)
Lists geofences stored in a given geofence collection.
|
default ListGeofencesResponse |
listGeofences(ListGeofencesRequest listGeofencesRequest)
Lists geofences stored in a given geofence collection.
|
default ListGeofencesIterable |
listGeofencesPaginator(Consumer<ListGeofencesRequest.Builder> listGeofencesRequest)
Lists geofences stored in a given geofence collection.
|
default ListGeofencesIterable |
listGeofencesPaginator(ListGeofencesRequest listGeofencesRequest)
Lists geofences stored in a given geofence collection.
|
default ListMapsResponse |
listMaps(Consumer<ListMapsRequest.Builder> listMapsRequest)
Lists map resources in your AWS account.
|
default ListMapsResponse |
listMaps(ListMapsRequest listMapsRequest)
Lists map resources in your AWS account.
|
default ListMapsIterable |
listMapsPaginator(Consumer<ListMapsRequest.Builder> listMapsRequest)
Lists map resources in your AWS account.
|
default ListMapsIterable |
listMapsPaginator(ListMapsRequest listMapsRequest)
Lists map resources in your AWS account.
|
default ListPlaceIndexesResponse |
listPlaceIndexes(Consumer<ListPlaceIndexesRequest.Builder> listPlaceIndexesRequest)
Lists place index resources in your AWS account.
|
default ListPlaceIndexesResponse |
listPlaceIndexes(ListPlaceIndexesRequest listPlaceIndexesRequest)
Lists place index resources in your AWS account.
|
default ListPlaceIndexesIterable |
listPlaceIndexesPaginator(Consumer<ListPlaceIndexesRequest.Builder> listPlaceIndexesRequest)
Lists place index resources in your AWS account.
|
default ListPlaceIndexesIterable |
listPlaceIndexesPaginator(ListPlaceIndexesRequest listPlaceIndexesRequest)
Lists place index resources in your AWS account.
|
default ListRouteCalculatorsResponse |
listRouteCalculators(Consumer<ListRouteCalculatorsRequest.Builder> listRouteCalculatorsRequest)
Lists route calculator resources in your AWS account.
|
default ListRouteCalculatorsResponse |
listRouteCalculators(ListRouteCalculatorsRequest listRouteCalculatorsRequest)
Lists route calculator resources in your AWS account.
|
default ListRouteCalculatorsIterable |
listRouteCalculatorsPaginator(Consumer<ListRouteCalculatorsRequest.Builder> listRouteCalculatorsRequest)
Lists route calculator resources in your AWS account.
|
default ListRouteCalculatorsIterable |
listRouteCalculatorsPaginator(ListRouteCalculatorsRequest listRouteCalculatorsRequest)
Lists route calculator resources in your AWS account.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns a list of tags that are applied to the specified Amazon Location resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of tags that are applied to the specified Amazon Location resource.
|
default ListTrackerConsumersResponse |
listTrackerConsumers(Consumer<ListTrackerConsumersRequest.Builder> listTrackerConsumersRequest)
Lists geofence collections currently associated to the given tracker resource.
|
default ListTrackerConsumersResponse |
listTrackerConsumers(ListTrackerConsumersRequest listTrackerConsumersRequest)
Lists geofence collections currently associated to the given tracker resource.
|
default ListTrackerConsumersIterable |
listTrackerConsumersPaginator(Consumer<ListTrackerConsumersRequest.Builder> listTrackerConsumersRequest)
Lists geofence collections currently associated to the given tracker resource.
|
default ListTrackerConsumersIterable |
listTrackerConsumersPaginator(ListTrackerConsumersRequest listTrackerConsumersRequest)
Lists geofence collections currently associated to the given tracker resource.
|
default ListTrackersResponse |
listTrackers(Consumer<ListTrackersRequest.Builder> listTrackersRequest)
Lists tracker resources in your AWS account.
|
default ListTrackersResponse |
listTrackers(ListTrackersRequest listTrackersRequest)
Lists tracker resources in your AWS account.
|
default ListTrackersIterable |
listTrackersPaginator(Consumer<ListTrackersRequest.Builder> listTrackersRequest)
Lists tracker resources in your AWS account.
|
default ListTrackersIterable |
listTrackersPaginator(ListTrackersRequest listTrackersRequest)
Lists tracker resources in your AWS account.
|
default PutGeofenceResponse |
putGeofence(Consumer<PutGeofenceRequest.Builder> putGeofenceRequest)
Stores a geofence geometry in a given geofence collection, or updates the geometry of an existing geofence if a
geofence ID is included in the request.
|
default PutGeofenceResponse |
putGeofence(PutGeofenceRequest putGeofenceRequest)
Stores a geofence geometry in a given geofence collection, or updates the geometry of an existing geofence if a
geofence ID is included in the request.
|
default SearchPlaceIndexForPositionResponse |
searchPlaceIndexForPosition(Consumer<SearchPlaceIndexForPositionRequest.Builder> searchPlaceIndexForPositionRequest)
Reverse geocodes a given coordinate and returns a legible address.
|
default SearchPlaceIndexForPositionResponse |
searchPlaceIndexForPosition(SearchPlaceIndexForPositionRequest searchPlaceIndexForPositionRequest)
Reverse geocodes a given coordinate and returns a legible address.
|
default SearchPlaceIndexForTextResponse |
searchPlaceIndexForText(Consumer<SearchPlaceIndexForTextRequest.Builder> searchPlaceIndexForTextRequest)
Geocodes free-form text, such as an address, name, city, or region to allow you to search for Places or points of
interest.
|
default SearchPlaceIndexForTextResponse |
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.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Assigns one or more tags (key-value pairs) to the specified Amazon Location Service resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Assigns one or more tags (key-value pairs) to the specified Amazon Location Service resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes one or more tags from the specified Amazon Location resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from the specified Amazon Location resource.
|
default UpdateGeofenceCollectionResponse |
updateGeofenceCollection(Consumer<UpdateGeofenceCollectionRequest.Builder> updateGeofenceCollectionRequest)
Updates the specified properties of a given geofence collection.
|
default UpdateGeofenceCollectionResponse |
updateGeofenceCollection(UpdateGeofenceCollectionRequest updateGeofenceCollectionRequest)
Updates the specified properties of a given geofence collection.
|
default UpdateMapResponse |
updateMap(Consumer<UpdateMapRequest.Builder> updateMapRequest)
Updates the specified properties of a given map resource.
|
default UpdateMapResponse |
updateMap(UpdateMapRequest updateMapRequest)
Updates the specified properties of a given map resource.
|
default UpdatePlaceIndexResponse |
updatePlaceIndex(Consumer<UpdatePlaceIndexRequest.Builder> updatePlaceIndexRequest)
Updates the specified properties of a given place index resource.
|
default UpdatePlaceIndexResponse |
updatePlaceIndex(UpdatePlaceIndexRequest updatePlaceIndexRequest)
Updates the specified properties of a given place index resource.
|
default UpdateRouteCalculatorResponse |
updateRouteCalculator(Consumer<UpdateRouteCalculatorRequest.Builder> updateRouteCalculatorRequest)
Updates the specified properties for a given route calculator resource.
|
default UpdateRouteCalculatorResponse |
updateRouteCalculator(UpdateRouteCalculatorRequest updateRouteCalculatorRequest)
Updates the specified properties for a given route calculator resource.
|
default UpdateTrackerResponse |
updateTracker(Consumer<UpdateTrackerRequest.Builder> updateTrackerRequest)
Updates the specified properties of a given tracker resource.
|
default UpdateTrackerResponse |
updateTracker(UpdateTrackerRequest updateTrackerRequest)
Updates the specified properties of a given tracker resource.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static LocationClient create()
LocationClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static LocationClientBuilder builder()
LocationClient.default AssociateTrackerConsumerResponse associateTrackerConsumer(AssociateTrackerConsumerRequest associateTrackerConsumerRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection.
You can associate up to five geofence collections to each tracker resource.
Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.
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 because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. Check with an administrator to
verify your permissions.ValidationException - The input failed to meet the constraints specified by the AWS service.ServiceQuotaExceededException - The operation was denied because the request would exceed the maximum quota set for
Amazon Location Service.ThrottlingException - The request was denied because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateTrackerConsumerResponse associateTrackerConsumer(Consumer<AssociateTrackerConsumerRequest.Builder> associateTrackerConsumerRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection.
You can associate up to five geofence collections to each tracker resource.
Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.
This is a convenience which creates an instance of the AssociateTrackerConsumerRequest.Builder avoiding
the need to create one manually via AssociateTrackerConsumerRequest.builder()
associateTrackerConsumerRequest - A Consumer that will call methods on AssociateTrackerConsumerRequest.Builder to create a
request.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 because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. Check with an administrator to
verify your permissions.ValidationException - The input failed to meet the constraints specified by the AWS service.ServiceQuotaExceededException - The operation was denied because the request would exceed the maximum quota set for
Amazon Location Service.ThrottlingException - The request was denied because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDeleteDevicePositionHistoryResponse batchDeleteDevicePositionHistory(BatchDeleteDevicePositionHistoryRequest batchDeleteDevicePositionHistoryRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes the position history of one or more devices from a tracker resource.
batchDeleteDevicePositionHistoryRequest - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDeleteDevicePositionHistoryResponse batchDeleteDevicePositionHistory(Consumer<BatchDeleteDevicePositionHistoryRequest.Builder> batchDeleteDevicePositionHistoryRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes the position history of one or more devices from a tracker resource.
This is a convenience which creates an instance of the BatchDeleteDevicePositionHistoryRequest.Builder
avoiding the need to create one manually via BatchDeleteDevicePositionHistoryRequest.builder()
batchDeleteDevicePositionHistoryRequest - A Consumer that will call methods on BatchDeleteDevicePositionHistoryRequest.Builder to
create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDeleteGeofenceResponse batchDeleteGeofence(BatchDeleteGeofenceRequest batchDeleteGeofenceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes a batch of geofences from a geofence collection.
This operation deletes the resource permanently.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDeleteGeofenceResponse batchDeleteGeofence(Consumer<BatchDeleteGeofenceRequest.Builder> batchDeleteGeofenceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes a batch of geofences from a geofence collection.
This operation deletes the resource permanently.
This is a convenience which creates an instance of the BatchDeleteGeofenceRequest.Builder avoiding the
need to create one manually via BatchDeleteGeofenceRequest.builder()
batchDeleteGeofenceRequest - A Consumer that will call methods on BatchDeleteGeofenceRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchEvaluateGeofencesResponse batchEvaluateGeofences(BatchEvaluateGeofencesRequest batchEvaluateGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Evaluates device positions against the geofence geometries from a given geofence collection.
This operation always returns an empty response because geofences are asynchronously evaluated. The evaluation determines if the device has entered or exited a geofenced area, and then publishes one of the following events to Amazon EventBridge:
ENTER if Amazon Location determines that the tracked device has entered a geofenced area.
EXIT if Amazon Location determines that the tracked device has exited a geofenced area.
The last geofence that a device was observed within is tracked for 30 days after the most recent device position update.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchEvaluateGeofencesResponse batchEvaluateGeofences(Consumer<BatchEvaluateGeofencesRequest.Builder> batchEvaluateGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Evaluates device positions against the geofence geometries from a given geofence collection.
This operation always returns an empty response because geofences are asynchronously evaluated. The evaluation determines if the device has entered or exited a geofenced area, and then publishes one of the following events to Amazon EventBridge:
ENTER if Amazon Location determines that the tracked device has entered a geofenced area.
EXIT if Amazon Location determines that the tracked device has exited a geofenced area.
The last geofence that a device was observed within is tracked for 30 days after the most recent device position update.
This is a convenience which creates an instance of the BatchEvaluateGeofencesRequest.Builder avoiding the
need to create one manually via BatchEvaluateGeofencesRequest.builder()
batchEvaluateGeofencesRequest - A Consumer that will call methods on BatchEvaluateGeofencesRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchGetDevicePositionResponse batchGetDevicePosition(BatchGetDevicePositionRequest batchGetDevicePositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists the latest device positions for requested devices.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchGetDevicePositionResponse batchGetDevicePosition(Consumer<BatchGetDevicePositionRequest.Builder> batchGetDevicePositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists the latest device positions for requested devices.
This is a convenience which creates an instance of the BatchGetDevicePositionRequest.Builder avoiding the
need to create one manually via BatchGetDevicePositionRequest.builder()
batchGetDevicePositionRequest - A Consumer that will call methods on BatchGetDevicePositionRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchPutGeofenceResponse batchPutGeofence(BatchPutGeofenceRequest batchPutGeofenceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
A batch request for storing geofence geometries into a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchPutGeofenceResponse batchPutGeofence(Consumer<BatchPutGeofenceRequest.Builder> batchPutGeofenceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
A batch request for storing geofence geometries into a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.
This is a convenience which creates an instance of the BatchPutGeofenceRequest.Builder avoiding the need
to create one manually via BatchPutGeofenceRequest.builder()
batchPutGeofenceRequest - A Consumer that will call methods on BatchPutGeofenceRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchUpdateDevicePositionResponse batchUpdateDevicePosition(BatchUpdateDevicePositionRequest batchUpdateDevicePositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Uploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when it reports the last known device position and position history. Amazon Location retains location data for 30 days.
Position updates are handled based on the PositionFiltering property of the tracker. When
PositionFiltering is set to TimeBased, updates are evaluated against linked geofence
collections, and location data is stored at a maximum of one position per 30 second interval. If your update
frequency is more often than every 30 seconds, only one update per 30 seconds is stored for each unique device
ID. When PositionFiltering is set to DistanceBased filtering, location data is stored
and evaluated against linked geofence collections only if the device has moved more than 30 m (98.4 ft).
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchUpdateDevicePositionResponse batchUpdateDevicePosition(Consumer<BatchUpdateDevicePositionRequest.Builder> batchUpdateDevicePositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Uploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when it reports the last known device position and position history. Amazon Location retains location data for 30 days.
Position updates are handled based on the PositionFiltering property of the tracker. When
PositionFiltering is set to TimeBased, updates are evaluated against linked geofence
collections, and location data is stored at a maximum of one position per 30 second interval. If your update
frequency is more often than every 30 seconds, only one update per 30 seconds is stored for each unique device
ID. When PositionFiltering is set to DistanceBased filtering, location data is stored
and evaluated against linked geofence collections only if the device has moved more than 30 m (98.4 ft).
This is a convenience which creates an instance of the BatchUpdateDevicePositionRequest.Builder avoiding
the need to create one manually via BatchUpdateDevicePositionRequest.builder()
batchUpdateDevicePositionRequest - A Consumer that will call methods on BatchUpdateDevicePositionRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CalculateRouteResponse calculateRoute(CalculateRouteRequest calculateRouteRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Calculates a route
given the following required parameters: DeparturePostiton and DestinationPosition.
Requires that you first create a
route calculator resource
By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating the route.
Additional options include:
Specifying a departure time using either DepartureTime or DepartureNow. This
calculates a route based on predictive traffic data at the given time.
You can't specify both DepartureTime and DepartureNow in a single request. Specifying
both parameters returns an error message.
Specifying
a travel mode using TravelMode. This lets you specify an additional route preference such as
CarModeOptions if traveling by Car, or TruckModeOptions if traveling by
Truck.
calculateRouteRequest - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CalculateRouteResponse calculateRoute(Consumer<CalculateRouteRequest.Builder> calculateRouteRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Calculates a route
given the following required parameters: DeparturePostiton and DestinationPosition.
Requires that you first create a
route calculator resource
By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating the route.
Additional options include:
Specifying a departure time using either DepartureTime or DepartureNow. This
calculates a route based on predictive traffic data at the given time.
You can't specify both DepartureTime and DepartureNow in a single request. Specifying
both parameters returns an error message.
Specifying
a travel mode using TravelMode. This lets you specify an additional route preference such as
CarModeOptions if traveling by Car, or TruckModeOptions if traveling by
Truck.
This is a convenience which creates an instance of the CalculateRouteRequest.Builder avoiding the need to
create one manually via CalculateRouteRequest.builder()
calculateRouteRequest - A Consumer that will call methods on CalculateRouteRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateGeofenceCollectionResponse createGeofenceCollection(CreateGeofenceCollectionRequest createGeofenceCollectionRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Creates a geofence collection, which manages and stores geofences.
createGeofenceCollectionRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.ConflictException - The request was unsuccessful because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateGeofenceCollectionResponse createGeofenceCollection(Consumer<CreateGeofenceCollectionRequest.Builder> createGeofenceCollectionRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Creates a geofence collection, which manages and stores geofences.
This is a convenience which creates an instance of the CreateGeofenceCollectionRequest.Builder avoiding
the need to create one manually via CreateGeofenceCollectionRequest.builder()
createGeofenceCollectionRequest - A Consumer that will call methods on CreateGeofenceCollectionRequest.Builder to create a
request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.ConflictException - The request was unsuccessful because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateMapResponse createMap(CreateMapRequest createMapRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers.
createMapRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.ConflictException - The request was unsuccessful because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateMapResponse createMap(Consumer<CreateMapRequest.Builder> createMapRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers.
This is a convenience which creates an instance of the CreateMapRequest.Builder avoiding the need to
create one manually via CreateMapRequest.builder()
createMapRequest - A Consumer that will call methods on CreateMapRequest.Builder to create a request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.ConflictException - The request was unsuccessful because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreatePlaceIndexResponse createPlaceIndex(CreatePlaceIndexRequest createPlaceIndexRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Creates a place index resource in your AWS account, which supports functions with geospatial data sourced from your chosen data provider.
createPlaceIndexRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.ConflictException - The request was unsuccessful because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreatePlaceIndexResponse createPlaceIndex(Consumer<CreatePlaceIndexRequest.Builder> createPlaceIndexRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Creates a place index resource in your AWS account, which supports functions with geospatial data sourced from your chosen data provider.
This is a convenience which creates an instance of the CreatePlaceIndexRequest.Builder avoiding the need
to create one manually via CreatePlaceIndexRequest.builder()
createPlaceIndexRequest - A Consumer that will call methods on CreatePlaceIndexRequest.Builder to create a request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.ConflictException - The request was unsuccessful because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateRouteCalculatorResponse createRouteCalculator(CreateRouteCalculatorRequest createRouteCalculatorRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Creates a route calculator resource in your AWS account.
You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider.
createRouteCalculatorRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.ConflictException - The request was unsuccessful because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateRouteCalculatorResponse createRouteCalculator(Consumer<CreateRouteCalculatorRequest.Builder> createRouteCalculatorRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Creates a route calculator resource in your AWS account.
You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider.
This is a convenience which creates an instance of the CreateRouteCalculatorRequest.Builder avoiding the
need to create one manually via CreateRouteCalculatorRequest.builder()
createRouteCalculatorRequest - A Consumer that will call methods on CreateRouteCalculatorRequest.Builder to create a
request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.ConflictException - The request was unsuccessful because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTrackerResponse createTracker(CreateTrackerRequest createTrackerRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of devices.
createTrackerRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.ConflictException - The request was unsuccessful because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTrackerResponse createTracker(Consumer<CreateTrackerRequest.Builder> createTrackerRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of devices.
This is a convenience which creates an instance of the CreateTrackerRequest.Builder avoiding the need to
create one manually via CreateTrackerRequest.builder()
createTrackerRequest - A Consumer that will call methods on CreateTrackerRequest.Builder to create a request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.ConflictException - The request was unsuccessful because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteGeofenceCollectionResponse deleteGeofenceCollection(DeleteGeofenceCollectionRequest deleteGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes a geofence collection from your AWS account.
This operation deletes the resource permanently. If the geofence collection is the target of a tracker resource, the devices will no longer be monitored.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteGeofenceCollectionResponse deleteGeofenceCollection(Consumer<DeleteGeofenceCollectionRequest.Builder> deleteGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes a geofence collection from your AWS account.
This operation deletes the resource permanently. If the geofence collection is the target of a tracker resource, the devices will no longer be monitored.
This is a convenience which creates an instance of the DeleteGeofenceCollectionRequest.Builder avoiding
the need to create one manually via DeleteGeofenceCollectionRequest.builder()
deleteGeofenceCollectionRequest - A Consumer that will call methods on DeleteGeofenceCollectionRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteMapResponse deleteMap(DeleteMapRequest deleteMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes a map resource from your AWS account.
This operation deletes the resource permanently. If the map is being used in an application, the map may not render.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteMapResponse deleteMap(Consumer<DeleteMapRequest.Builder> deleteMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes a map resource from your AWS account.
This operation deletes the resource permanently. If the map is being used in an application, the map may not render.
This is a convenience which creates an instance of the DeleteMapRequest.Builder avoiding the need to
create one manually via DeleteMapRequest.builder()
deleteMapRequest - A Consumer that will call methods on DeleteMapRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeletePlaceIndexResponse deletePlaceIndex(DeletePlaceIndexRequest deletePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes a place index resource from your AWS account.
This operation deletes the resource permanently.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeletePlaceIndexResponse deletePlaceIndex(Consumer<DeletePlaceIndexRequest.Builder> deletePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes a place index resource from your AWS account.
This operation deletes the resource permanently.
This is a convenience which creates an instance of the DeletePlaceIndexRequest.Builder avoiding the need
to create one manually via DeletePlaceIndexRequest.builder()
deletePlaceIndexRequest - A Consumer that will call methods on DeletePlaceIndexRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteRouteCalculatorResponse deleteRouteCalculator(DeleteRouteCalculatorRequest deleteRouteCalculatorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes a route calculator resource from your AWS account.
This operation deletes the resource permanently.
deleteRouteCalculatorRequest - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteRouteCalculatorResponse deleteRouteCalculator(Consumer<DeleteRouteCalculatorRequest.Builder> deleteRouteCalculatorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes a route calculator resource from your AWS account.
This operation deletes the resource permanently.
This is a convenience which creates an instance of the DeleteRouteCalculatorRequest.Builder avoiding the
need to create one manually via DeleteRouteCalculatorRequest.builder()
deleteRouteCalculatorRequest - A Consumer that will call methods on DeleteRouteCalculatorRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTrackerResponse deleteTracker(DeleteTrackerRequest deleteTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes a tracker resource from your AWS account.
This operation deletes the resource permanently. If the tracker resource is in use, you may encounter an error. Make sure that the target resource isn't a dependency for your applications.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTrackerResponse deleteTracker(Consumer<DeleteTrackerRequest.Builder> deleteTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Deletes a tracker resource from your AWS account.
This operation deletes the resource permanently. If the tracker resource is in use, you may encounter an error. Make sure that the target resource isn't a dependency for your applications.
This is a convenience which creates an instance of the DeleteTrackerRequest.Builder avoiding the need to
create one manually via DeleteTrackerRequest.builder()
deleteTrackerRequest - A Consumer that will call methods on DeleteTrackerRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeGeofenceCollectionResponse describeGeofenceCollection(DescribeGeofenceCollectionRequest describeGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the geofence collection details.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeGeofenceCollectionResponse describeGeofenceCollection(Consumer<DescribeGeofenceCollectionRequest.Builder> describeGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the geofence collection details.
This is a convenience which creates an instance of the DescribeGeofenceCollectionRequest.Builder avoiding
the need to create one manually via DescribeGeofenceCollectionRequest.builder()
describeGeofenceCollectionRequest - A Consumer that will call methods on DescribeGeofenceCollectionRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeMapResponse describeMap(DescribeMapRequest describeMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the map resource details.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeMapResponse describeMap(Consumer<DescribeMapRequest.Builder> describeMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the map resource details.
This is a convenience which creates an instance of the DescribeMapRequest.Builder avoiding the need to
create one manually via DescribeMapRequest.builder()
describeMapRequest - A Consumer that will call methods on DescribeMapRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribePlaceIndexResponse describePlaceIndex(DescribePlaceIndexRequest describePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the place index resource details.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribePlaceIndexResponse describePlaceIndex(Consumer<DescribePlaceIndexRequest.Builder> describePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the place index resource details.
This is a convenience which creates an instance of the DescribePlaceIndexRequest.Builder avoiding the
need to create one manually via DescribePlaceIndexRequest.builder()
describePlaceIndexRequest - A Consumer that will call methods on DescribePlaceIndexRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeRouteCalculatorResponse describeRouteCalculator(DescribeRouteCalculatorRequest describeRouteCalculatorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the route calculator resource details.
describeRouteCalculatorRequest - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeRouteCalculatorResponse describeRouteCalculator(Consumer<DescribeRouteCalculatorRequest.Builder> describeRouteCalculatorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the route calculator resource details.
This is a convenience which creates an instance of the DescribeRouteCalculatorRequest.Builder avoiding
the need to create one manually via DescribeRouteCalculatorRequest.builder()
describeRouteCalculatorRequest - A Consumer that will call methods on DescribeRouteCalculatorRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeTrackerResponse describeTracker(DescribeTrackerRequest describeTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the tracker resource details.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeTrackerResponse describeTracker(Consumer<DescribeTrackerRequest.Builder> describeTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the tracker resource details.
This is a convenience which creates an instance of the DescribeTrackerRequest.Builder avoiding the need
to create one manually via DescribeTrackerRequest.builder()
describeTrackerRequest - A Consumer that will call methods on DescribeTrackerRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateTrackerConsumerResponse disassociateTrackerConsumer(DisassociateTrackerConsumerRequest disassociateTrackerConsumerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Removes the association between a tracker resource and a geofence collection.
Once you unlink a tracker resource from a geofence collection, the tracker positions will no longer be automatically evaluated against geofences.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateTrackerConsumerResponse disassociateTrackerConsumer(Consumer<DisassociateTrackerConsumerRequest.Builder> disassociateTrackerConsumerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Removes the association between a tracker resource and a geofence collection.
Once you unlink a tracker resource from a geofence collection, the tracker positions will no longer be automatically evaluated against geofences.
This is a convenience which creates an instance of the DisassociateTrackerConsumerRequest.Builder
avoiding the need to create one manually via DisassociateTrackerConsumerRequest.builder()
disassociateTrackerConsumerRequest - A Consumer that will call methods on DisassociateTrackerConsumerRequest.Builder to create
a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicePositionResponse getDevicePosition(GetDevicePositionRequest getDevicePositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves a device's most recent position according to its sample time.
Device positions are deleted after 30 days.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicePositionResponse getDevicePosition(Consumer<GetDevicePositionRequest.Builder> getDevicePositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves a device's most recent position according to its sample time.
Device positions are deleted after 30 days.
This is a convenience which creates an instance of the GetDevicePositionRequest.Builder avoiding the need
to create one manually via GetDevicePositionRequest.builder()
getDevicePositionRequest - A Consumer that will call methods on GetDevicePositionRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicePositionHistoryResponse getDevicePositionHistory(GetDevicePositionHistoryRequest getDevicePositionHistoryRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the device position history from a tracker resource within a specified range of time.
Device positions are deleted after 30 days.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicePositionHistoryResponse getDevicePositionHistory(Consumer<GetDevicePositionHistoryRequest.Builder> getDevicePositionHistoryRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the device position history from a tracker resource within a specified range of time.
Device positions are deleted after 30 days.
This is a convenience which creates an instance of the GetDevicePositionHistoryRequest.Builder avoiding
the need to create one manually via GetDevicePositionHistoryRequest.builder()
getDevicePositionHistoryRequest - A Consumer that will call methods on GetDevicePositionHistoryRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicePositionHistoryIterable getDevicePositionHistoryPaginator(GetDevicePositionHistoryRequest getDevicePositionHistoryRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the device position history from a tracker resource within a specified range of time.
Device positions are deleted after 30 days.
This is a variant of
getDevicePositionHistory(software.amazon.awssdk.services.location.model.GetDevicePositionHistoryRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client.getDevicePositionHistoryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client
.getDevicePositionHistoryPaginator(request);
for (software.amazon.awssdk.services.location.model.GetDevicePositionHistoryResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client.getDevicePositionHistoryPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDevicePositionHistory(software.amazon.awssdk.services.location.model.GetDevicePositionHistoryRequest)
operation.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicePositionHistoryIterable getDevicePositionHistoryPaginator(Consumer<GetDevicePositionHistoryRequest.Builder> getDevicePositionHistoryRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the device position history from a tracker resource within a specified range of time.
Device positions are deleted after 30 days.
This is a variant of
getDevicePositionHistory(software.amazon.awssdk.services.location.model.GetDevicePositionHistoryRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client.getDevicePositionHistoryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client
.getDevicePositionHistoryPaginator(request);
for (software.amazon.awssdk.services.location.model.GetDevicePositionHistoryResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client.getDevicePositionHistoryPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDevicePositionHistory(software.amazon.awssdk.services.location.model.GetDevicePositionHistoryRequest)
operation.
This is a convenience which creates an instance of the GetDevicePositionHistoryRequest.Builder avoiding
the need to create one manually via GetDevicePositionHistoryRequest.builder()
getDevicePositionHistoryRequest - A Consumer that will call methods on GetDevicePositionHistoryRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetGeofenceResponse getGeofence(GetGeofenceRequest getGeofenceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the geofence details from a geofence collection.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetGeofenceResponse getGeofence(Consumer<GetGeofenceRequest.Builder> getGeofenceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves the geofence details from a geofence collection.
This is a convenience which creates an instance of the GetGeofenceRequest.Builder avoiding the need to
create one manually via GetGeofenceRequest.builder()
getGeofenceRequest - A Consumer that will call methods on GetGeofenceRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMapGlyphsResponse getMapGlyphs(GetMapGlyphsRequest getMapGlyphsRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves glyphs used to display labels on a map.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMapGlyphsResponse getMapGlyphs(Consumer<GetMapGlyphsRequest.Builder> getMapGlyphsRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves glyphs used to display labels on a map.
This is a convenience which creates an instance of the GetMapGlyphsRequest.Builder avoiding the need to
create one manually via GetMapGlyphsRequest.builder()
getMapGlyphsRequest - A Consumer that will call methods on GetMapGlyphsRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMapSpritesResponse getMapSprites(GetMapSpritesRequest getMapSpritesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
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 - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMapSpritesResponse getMapSprites(Consumer<GetMapSpritesRequest.Builder> getMapSpritesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
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.
This is a convenience which creates an instance of the GetMapSpritesRequest.Builder avoiding the need to
create one manually via GetMapSpritesRequest.builder()
getMapSpritesRequest - A Consumer that will call methods on GetMapSpritesRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMapStyleDescriptorResponse getMapStyleDescriptor(GetMapStyleDescriptorRequest getMapStyleDescriptorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
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 - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMapStyleDescriptorResponse getMapStyleDescriptor(Consumer<GetMapStyleDescriptorRequest.Builder> getMapStyleDescriptorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
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.
This is a convenience which creates an instance of the GetMapStyleDescriptorRequest.Builder avoiding the
need to create one manually via GetMapStyleDescriptorRequest.builder()
getMapStyleDescriptorRequest - A Consumer that will call methods on GetMapStyleDescriptorRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMapTileResponse getMapTile(GetMapTileRequest getMapTileRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves a vector data tile from the map resource. Map tiles are used by clients to render a map. they're addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level.
The origin (0, 0) is the top left of the map. Increasing the zoom level by 1 doubles both the X and Y dimensions, so a tile containing data for the entire world at (0/0/0) will be split into 4 tiles at zoom 1 (1/0/0, 1/0/1, 1/1/0, 1/1/1).
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMapTileResponse getMapTile(Consumer<GetMapTileRequest.Builder> getMapTileRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Retrieves a vector data tile from the map resource. Map tiles are used by clients to render a map. they're addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level.
The origin (0, 0) is the top left of the map. Increasing the zoom level by 1 doubles both the X and Y dimensions, so a tile containing data for the entire world at (0/0/0) will be split into 4 tiles at zoom 1 (1/0/0, 1/0/1, 1/1/0, 1/1/1).
This is a convenience which creates an instance of the GetMapTileRequest.Builder avoiding the need to
create one manually via GetMapTileRequest.builder()
getMapTileRequest - A Consumer that will call methods on GetMapTileRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDevicePositionsResponse listDevicePositions(ListDevicePositionsRequest listDevicePositionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
A batch request to retrieve all device positions.
listDevicePositionsRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDevicePositionsResponse listDevicePositions(Consumer<ListDevicePositionsRequest.Builder> listDevicePositionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
A batch request to retrieve all device positions.
This is a convenience which creates an instance of the ListDevicePositionsRequest.Builder avoiding the
need to create one manually via ListDevicePositionsRequest.builder()
listDevicePositionsRequest - A Consumer that will call methods on ListDevicePositionsRequest.Builder to create a
request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDevicePositionsIterable listDevicePositionsPaginator(ListDevicePositionsRequest listDevicePositionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
A batch request to retrieve all device positions.
This is a variant of
listDevicePositions(software.amazon.awssdk.services.location.model.ListDevicePositionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListDevicePositionsIterable responses = client.listDevicePositionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListDevicePositionsIterable responses = client
.listDevicePositionsPaginator(request);
for (software.amazon.awssdk.services.location.model.ListDevicePositionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListDevicePositionsIterable responses = client.listDevicePositionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDevicePositions(software.amazon.awssdk.services.location.model.ListDevicePositionsRequest)
operation.
listDevicePositionsRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDevicePositionsIterable listDevicePositionsPaginator(Consumer<ListDevicePositionsRequest.Builder> listDevicePositionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
A batch request to retrieve all device positions.
This is a variant of
listDevicePositions(software.amazon.awssdk.services.location.model.ListDevicePositionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListDevicePositionsIterable responses = client.listDevicePositionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListDevicePositionsIterable responses = client
.listDevicePositionsPaginator(request);
for (software.amazon.awssdk.services.location.model.ListDevicePositionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListDevicePositionsIterable responses = client.listDevicePositionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDevicePositions(software.amazon.awssdk.services.location.model.ListDevicePositionsRequest)
operation.
This is a convenience which creates an instance of the ListDevicePositionsRequest.Builder avoiding the
need to create one manually via ListDevicePositionsRequest.builder()
listDevicePositionsRequest - A Consumer that will call methods on ListDevicePositionsRequest.Builder to create a
request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGeofenceCollectionsResponse listGeofenceCollections(ListGeofenceCollectionsRequest listGeofenceCollectionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists geofence collections in your AWS account.
listGeofenceCollectionsRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGeofenceCollectionsResponse listGeofenceCollections(Consumer<ListGeofenceCollectionsRequest.Builder> listGeofenceCollectionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists geofence collections in your AWS account.
This is a convenience which creates an instance of the ListGeofenceCollectionsRequest.Builder avoiding
the need to create one manually via ListGeofenceCollectionsRequest.builder()
listGeofenceCollectionsRequest - A Consumer that will call methods on ListGeofenceCollectionsRequest.Builder to create a
request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGeofenceCollectionsIterable listGeofenceCollectionsPaginator(ListGeofenceCollectionsRequest listGeofenceCollectionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists geofence collections in your AWS account.
This is a variant of
listGeofenceCollections(software.amazon.awssdk.services.location.model.ListGeofenceCollectionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client.listGeofenceCollectionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client
.listGeofenceCollectionsPaginator(request);
for (software.amazon.awssdk.services.location.model.ListGeofenceCollectionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client.listGeofenceCollectionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGeofenceCollections(software.amazon.awssdk.services.location.model.ListGeofenceCollectionsRequest)
operation.
listGeofenceCollectionsRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGeofenceCollectionsIterable listGeofenceCollectionsPaginator(Consumer<ListGeofenceCollectionsRequest.Builder> listGeofenceCollectionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists geofence collections in your AWS account.
This is a variant of
listGeofenceCollections(software.amazon.awssdk.services.location.model.ListGeofenceCollectionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client.listGeofenceCollectionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client
.listGeofenceCollectionsPaginator(request);
for (software.amazon.awssdk.services.location.model.ListGeofenceCollectionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client.listGeofenceCollectionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGeofenceCollections(software.amazon.awssdk.services.location.model.ListGeofenceCollectionsRequest)
operation.
This is a convenience which creates an instance of the ListGeofenceCollectionsRequest.Builder avoiding
the need to create one manually via ListGeofenceCollectionsRequest.builder()
listGeofenceCollectionsRequest - A Consumer that will call methods on ListGeofenceCollectionsRequest.Builder to create a
request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGeofencesResponse listGeofences(ListGeofencesRequest listGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists geofences stored in a given geofence collection.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGeofencesResponse listGeofences(Consumer<ListGeofencesRequest.Builder> listGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists geofences stored in a given geofence collection.
This is a convenience which creates an instance of the ListGeofencesRequest.Builder avoiding the need to
create one manually via ListGeofencesRequest.builder()
listGeofencesRequest - A Consumer that will call methods on ListGeofencesRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGeofencesIterable listGeofencesPaginator(ListGeofencesRequest listGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists geofences stored in a given geofence collection.
This is a variant of listGeofences(software.amazon.awssdk.services.location.model.ListGeofencesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request);
for (software.amazon.awssdk.services.location.model.ListGeofencesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGeofences(software.amazon.awssdk.services.location.model.ListGeofencesRequest) operation.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGeofencesIterable listGeofencesPaginator(Consumer<ListGeofencesRequest.Builder> listGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists geofences stored in a given geofence collection.
This is a variant of listGeofences(software.amazon.awssdk.services.location.model.ListGeofencesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request);
for (software.amazon.awssdk.services.location.model.ListGeofencesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGeofences(software.amazon.awssdk.services.location.model.ListGeofencesRequest) operation.
This is a convenience which creates an instance of the ListGeofencesRequest.Builder avoiding the need to
create one manually via ListGeofencesRequest.builder()
listGeofencesRequest - A Consumer that will call methods on ListGeofencesRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMapsResponse listMaps(ListMapsRequest listMapsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists map resources in your AWS account.
listMapsRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMapsResponse listMaps(Consumer<ListMapsRequest.Builder> listMapsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists map resources in your AWS account.
This is a convenience which creates an instance of the ListMapsRequest.Builder avoiding the need to
create one manually via ListMapsRequest.builder()
listMapsRequest - A Consumer that will call methods on ListMapsRequest.Builder to create a request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMapsIterable listMapsPaginator(ListMapsRequest listMapsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists map resources in your AWS account.
This is a variant of listMaps(software.amazon.awssdk.services.location.model.ListMapsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request);
for (software.amazon.awssdk.services.location.model.ListMapsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMaps(software.amazon.awssdk.services.location.model.ListMapsRequest) operation.
listMapsRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMapsIterable listMapsPaginator(Consumer<ListMapsRequest.Builder> listMapsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists map resources in your AWS account.
This is a variant of listMaps(software.amazon.awssdk.services.location.model.ListMapsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request);
for (software.amazon.awssdk.services.location.model.ListMapsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMaps(software.amazon.awssdk.services.location.model.ListMapsRequest) operation.
This is a convenience which creates an instance of the ListMapsRequest.Builder avoiding the need to
create one manually via ListMapsRequest.builder()
listMapsRequest - A Consumer that will call methods on ListMapsRequest.Builder to create a request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPlaceIndexesResponse listPlaceIndexes(ListPlaceIndexesRequest listPlaceIndexesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists place index resources in your AWS account.
listPlaceIndexesRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPlaceIndexesResponse listPlaceIndexes(Consumer<ListPlaceIndexesRequest.Builder> listPlaceIndexesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists place index resources in your AWS account.
This is a convenience which creates an instance of the ListPlaceIndexesRequest.Builder avoiding the need
to create one manually via ListPlaceIndexesRequest.builder()
listPlaceIndexesRequest - A Consumer that will call methods on ListPlaceIndexesRequest.Builder to create a request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPlaceIndexesIterable listPlaceIndexesPaginator(ListPlaceIndexesRequest listPlaceIndexesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists place index resources in your AWS account.
This is a variant of
listPlaceIndexes(software.amazon.awssdk.services.location.model.ListPlaceIndexesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client.listPlaceIndexesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client
.listPlaceIndexesPaginator(request);
for (software.amazon.awssdk.services.location.model.ListPlaceIndexesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client.listPlaceIndexesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPlaceIndexes(software.amazon.awssdk.services.location.model.ListPlaceIndexesRequest) operation.
listPlaceIndexesRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPlaceIndexesIterable listPlaceIndexesPaginator(Consumer<ListPlaceIndexesRequest.Builder> listPlaceIndexesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists place index resources in your AWS account.
This is a variant of
listPlaceIndexes(software.amazon.awssdk.services.location.model.ListPlaceIndexesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client.listPlaceIndexesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client
.listPlaceIndexesPaginator(request);
for (software.amazon.awssdk.services.location.model.ListPlaceIndexesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client.listPlaceIndexesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPlaceIndexes(software.amazon.awssdk.services.location.model.ListPlaceIndexesRequest) operation.
This is a convenience which creates an instance of the ListPlaceIndexesRequest.Builder avoiding the need
to create one manually via ListPlaceIndexesRequest.builder()
listPlaceIndexesRequest - A Consumer that will call methods on ListPlaceIndexesRequest.Builder to create a request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRouteCalculatorsResponse listRouteCalculators(ListRouteCalculatorsRequest listRouteCalculatorsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists route calculator resources in your AWS account.
listRouteCalculatorsRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRouteCalculatorsResponse listRouteCalculators(Consumer<ListRouteCalculatorsRequest.Builder> listRouteCalculatorsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists route calculator resources in your AWS account.
This is a convenience which creates an instance of the ListRouteCalculatorsRequest.Builder avoiding the
need to create one manually via ListRouteCalculatorsRequest.builder()
listRouteCalculatorsRequest - A Consumer that will call methods on ListRouteCalculatorsRequest.Builder to create a
request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRouteCalculatorsIterable listRouteCalculatorsPaginator(ListRouteCalculatorsRequest listRouteCalculatorsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists route calculator resources in your AWS account.
This is a variant of
listRouteCalculators(software.amazon.awssdk.services.location.model.ListRouteCalculatorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListRouteCalculatorsIterable responses = client.listRouteCalculatorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListRouteCalculatorsIterable responses = client
.listRouteCalculatorsPaginator(request);
for (software.amazon.awssdk.services.location.model.ListRouteCalculatorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListRouteCalculatorsIterable responses = client.listRouteCalculatorsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRouteCalculators(software.amazon.awssdk.services.location.model.ListRouteCalculatorsRequest)
operation.
listRouteCalculatorsRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRouteCalculatorsIterable listRouteCalculatorsPaginator(Consumer<ListRouteCalculatorsRequest.Builder> listRouteCalculatorsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists route calculator resources in your AWS account.
This is a variant of
listRouteCalculators(software.amazon.awssdk.services.location.model.ListRouteCalculatorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListRouteCalculatorsIterable responses = client.listRouteCalculatorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListRouteCalculatorsIterable responses = client
.listRouteCalculatorsPaginator(request);
for (software.amazon.awssdk.services.location.model.ListRouteCalculatorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListRouteCalculatorsIterable responses = client.listRouteCalculatorsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRouteCalculators(software.amazon.awssdk.services.location.model.ListRouteCalculatorsRequest)
operation.
This is a convenience which creates an instance of the ListRouteCalculatorsRequest.Builder avoiding the
need to create one manually via ListRouteCalculatorsRequest.builder()
listRouteCalculatorsRequest - A Consumer that will call methods on ListRouteCalculatorsRequest.Builder to create a
request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Returns a list of tags that are applied to the specified Amazon Location resource.
listTagsForResourceRequest - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Returns a list of tags that are applied to the specified Amazon Location resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTrackerConsumersResponse listTrackerConsumers(ListTrackerConsumersRequest listTrackerConsumersRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists geofence collections currently associated to the given tracker resource.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTrackerConsumersResponse listTrackerConsumers(Consumer<ListTrackerConsumersRequest.Builder> listTrackerConsumersRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists geofence collections currently associated to the given tracker resource.
This is a convenience which creates an instance of the ListTrackerConsumersRequest.Builder avoiding the
need to create one manually via ListTrackerConsumersRequest.builder()
listTrackerConsumersRequest - A Consumer that will call methods on ListTrackerConsumersRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTrackerConsumersIterable listTrackerConsumersPaginator(ListTrackerConsumersRequest listTrackerConsumersRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists geofence collections currently associated to the given tracker resource.
This is a variant of
listTrackerConsumers(software.amazon.awssdk.services.location.model.ListTrackerConsumersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client.listTrackerConsumersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client
.listTrackerConsumersPaginator(request);
for (software.amazon.awssdk.services.location.model.ListTrackerConsumersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client.listTrackerConsumersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrackerConsumers(software.amazon.awssdk.services.location.model.ListTrackerConsumersRequest)
operation.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTrackerConsumersIterable listTrackerConsumersPaginator(Consumer<ListTrackerConsumersRequest.Builder> listTrackerConsumersRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists geofence collections currently associated to the given tracker resource.
This is a variant of
listTrackerConsumers(software.amazon.awssdk.services.location.model.ListTrackerConsumersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client.listTrackerConsumersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client
.listTrackerConsumersPaginator(request);
for (software.amazon.awssdk.services.location.model.ListTrackerConsumersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client.listTrackerConsumersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrackerConsumers(software.amazon.awssdk.services.location.model.ListTrackerConsumersRequest)
operation.
This is a convenience which creates an instance of the ListTrackerConsumersRequest.Builder avoiding the
need to create one manually via ListTrackerConsumersRequest.builder()
listTrackerConsumersRequest - A Consumer that will call methods on ListTrackerConsumersRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTrackersResponse listTrackers(ListTrackersRequest listTrackersRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists tracker resources in your AWS account.
listTrackersRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTrackersResponse listTrackers(Consumer<ListTrackersRequest.Builder> listTrackersRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists tracker resources in your AWS account.
This is a convenience which creates an instance of the ListTrackersRequest.Builder avoiding the need to
create one manually via ListTrackersRequest.builder()
listTrackersRequest - A Consumer that will call methods on ListTrackersRequest.Builder to create a request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTrackersIterable listTrackersPaginator(ListTrackersRequest listTrackersRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists tracker resources in your AWS account.
This is a variant of listTrackers(software.amazon.awssdk.services.location.model.ListTrackersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request);
for (software.amazon.awssdk.services.location.model.ListTrackersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrackers(software.amazon.awssdk.services.location.model.ListTrackersRequest) operation.
listTrackersRequest - InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTrackersIterable listTrackersPaginator(Consumer<ListTrackersRequest.Builder> listTrackersRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Lists tracker resources in your AWS account.
This is a variant of listTrackers(software.amazon.awssdk.services.location.model.ListTrackersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request);
for (software.amazon.awssdk.services.location.model.ListTrackersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrackers(software.amazon.awssdk.services.location.model.ListTrackersRequest) operation.
This is a convenience which creates an instance of the ListTrackersRequest.Builder avoiding the need to
create one manually via ListTrackersRequest.builder()
listTrackersRequest - A Consumer that will call methods on ListTrackersRequest.Builder to create a request.InternalServerException - The request has failed to process because of an unknown server error, exception, or failure.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutGeofenceResponse putGeofence(PutGeofenceRequest putGeofenceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Stores a geofence geometry in a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.
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 because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutGeofenceResponse putGeofence(Consumer<PutGeofenceRequest.Builder> putGeofenceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Stores a geofence geometry in a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.
This is a convenience which creates an instance of the PutGeofenceRequest.Builder avoiding the need to
create one manually via PutGeofenceRequest.builder()
putGeofenceRequest - A Consumer that will call methods on PutGeofenceRequest.Builder to create a request.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 because of a conflict.AccessDeniedException - The request was denied because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchPlaceIndexForPositionResponse searchPlaceIndexForPosition(SearchPlaceIndexForPositionRequest searchPlaceIndexForPositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Reverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of interest near a given position.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchPlaceIndexForPositionResponse searchPlaceIndexForPosition(Consumer<SearchPlaceIndexForPositionRequest.Builder> searchPlaceIndexForPositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Reverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of interest near a given position.
This is a convenience which creates an instance of the SearchPlaceIndexForPositionRequest.Builder
avoiding the need to create one manually via SearchPlaceIndexForPositionRequest.builder()
searchPlaceIndexForPositionRequest - A Consumer that will call methods on SearchPlaceIndexForPositionRequest.Builder to create
a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchPlaceIndexForTextResponse searchPlaceIndexForText(SearchPlaceIndexForTextRequest searchPlaceIndexForTextRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
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.
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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchPlaceIndexForTextResponse searchPlaceIndexForText(Consumer<SearchPlaceIndexForTextRequest.Builder> searchPlaceIndexForTextRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
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.
This is a convenience which creates an instance of the SearchPlaceIndexForTextRequest.Builder avoiding
the need to create one manually via SearchPlaceIndexForTextRequest.builder()
searchPlaceIndexForTextRequest - A Consumer that will call methods on SearchPlaceIndexForTextRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Assigns one or more tags (key-value pairs) to the specified Amazon Location Service resource.
<p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.</p> <p>You can use the <code>TagResource</code> operation with an Amazon Location Service resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the tags already associated with the resource. If you specify a tag key that's already associated with the resource, the new tag value that you specify replaces the previous value for that tag. </p> <p>You can associate up to 50 tags with a resource.</p>
tagResourceRequest - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Assigns one or more tags (key-value pairs) to the specified Amazon Location Service resource.
<p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.</p> <p>You can use the <code>TagResource</code> operation with an Amazon Location Service resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the tags already associated with the resource. If you specify a tag key that's already associated with the resource, the new tag value that you specify replaces the previous value for that tag. </p> <p>You can associate up to 50 tags with a resource.</p>
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Removes one or more tags from the specified Amazon Location resource.
untagResourceRequest - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Removes one or more tags from the specified Amazon Location resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateGeofenceCollectionResponse updateGeofenceCollection(UpdateGeofenceCollectionRequest updateGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Updates the specified properties of a given geofence collection.
updateGeofenceCollectionRequest - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateGeofenceCollectionResponse updateGeofenceCollection(Consumer<UpdateGeofenceCollectionRequest.Builder> updateGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Updates the specified properties of a given geofence collection.
This is a convenience which creates an instance of the UpdateGeofenceCollectionRequest.Builder avoiding
the need to create one manually via UpdateGeofenceCollectionRequest.builder()
updateGeofenceCollectionRequest - A Consumer that will call methods on UpdateGeofenceCollectionRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateMapResponse updateMap(UpdateMapRequest updateMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Updates the specified properties of a given map resource.
updateMapRequest - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateMapResponse updateMap(Consumer<UpdateMapRequest.Builder> updateMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Updates the specified properties of a given map resource.
This is a convenience which creates an instance of the UpdateMapRequest.Builder avoiding the need to
create one manually via UpdateMapRequest.builder()
updateMapRequest - A Consumer that will call methods on UpdateMapRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdatePlaceIndexResponse updatePlaceIndex(UpdatePlaceIndexRequest updatePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Updates the specified properties of a given place index resource.
updatePlaceIndexRequest - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdatePlaceIndexResponse updatePlaceIndex(Consumer<UpdatePlaceIndexRequest.Builder> updatePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Updates the specified properties of a given place index resource.
This is a convenience which creates an instance of the UpdatePlaceIndexRequest.Builder avoiding the need
to create one manually via UpdatePlaceIndexRequest.builder()
updatePlaceIndexRequest - A Consumer that will call methods on UpdatePlaceIndexRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateRouteCalculatorResponse updateRouteCalculator(UpdateRouteCalculatorRequest updateRouteCalculatorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Updates the specified properties for a given route calculator resource.
updateRouteCalculatorRequest - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateRouteCalculatorResponse updateRouteCalculator(Consumer<UpdateRouteCalculatorRequest.Builder> updateRouteCalculatorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Updates the specified properties for a given route calculator resource.
This is a convenience which creates an instance of the UpdateRouteCalculatorRequest.Builder avoiding the
need to create one manually via UpdateRouteCalculatorRequest.builder()
updateRouteCalculatorRequest - A Consumer that will call methods on UpdateRouteCalculatorRequest.Builder to create a
request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateTrackerResponse updateTracker(UpdateTrackerRequest updateTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Updates the specified properties of a given tracker resource.
updateTrackerRequest - 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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateTrackerResponse updateTracker(Consumer<UpdateTrackerRequest.Builder> updateTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException
Updates the specified properties of a given tracker resource.
This is a convenience which creates an instance of the UpdateTrackerRequest.Builder avoiding the need to
create one manually via UpdateTrackerRequest.builder()
updateTrackerRequest - A Consumer that will call methods on UpdateTrackerRequest.Builder to create a request.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 because of insufficient access or permissions. 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 because of request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LocationException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2021. All rights reserved.