Interface LocationClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
"Suite of geospatial services including Maps, Places, Routes, Tracking, and Geofencing"
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateTrackerConsumerResponse
associateTrackerConsumer
(Consumer<AssociateTrackerConsumerRequest.Builder> associateTrackerConsumerRequest) Creates an association between a geofence collection and a tracker resource.default AssociateTrackerConsumerResponse
associateTrackerConsumer
(AssociateTrackerConsumerRequest associateTrackerConsumerRequest) Creates an association between a geofence collection and a tracker resource.batchDeleteDevicePositionHistory
(Consumer<BatchDeleteDevicePositionHistoryRequest.Builder> batchDeleteDevicePositionHistoryRequest) Deletes the position history of one or more devices from a tracker resource.batchDeleteDevicePositionHistory
(BatchDeleteDevicePositionHistoryRequest batchDeleteDevicePositionHistoryRequest) Deletes the position history of one or more devices from a tracker resource.default BatchDeleteGeofenceResponse
batchDeleteGeofence
(Consumer<BatchDeleteGeofenceRequest.Builder> batchDeleteGeofenceRequest) Deletes a batch of geofences from a geofence collection.default BatchDeleteGeofenceResponse
batchDeleteGeofence
(BatchDeleteGeofenceRequest batchDeleteGeofenceRequest) Deletes a batch of geofences from a geofence collection.default BatchEvaluateGeofencesResponse
batchEvaluateGeofences
(Consumer<BatchEvaluateGeofencesRequest.Builder> batchEvaluateGeofencesRequest) Evaluates device positions against the geofence geometries from a given geofence collection.default BatchEvaluateGeofencesResponse
batchEvaluateGeofences
(BatchEvaluateGeofencesRequest batchEvaluateGeofencesRequest) Evaluates device positions against the geofence geometries from a given geofence collection.default BatchGetDevicePositionResponse
batchGetDevicePosition
(Consumer<BatchGetDevicePositionRequest.Builder> batchGetDevicePositionRequest) Lists the latest device positions for requested devices.default BatchGetDevicePositionResponse
batchGetDevicePosition
(BatchGetDevicePositionRequest batchGetDevicePositionRequest) Lists the latest device positions for requested devices.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 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.batchUpdateDevicePosition
(Consumer<BatchUpdateDevicePositionRequest.Builder> batchUpdateDevicePositionRequest) Uploads position update data for one or more devices to a tracker resource (up to 10 devices per batch).batchUpdateDevicePosition
(BatchUpdateDevicePositionRequest batchUpdateDevicePositionRequest) Uploads position update data for one or more devices to a tracker resource (up to 10 devices per batch).static LocationClientBuilder
builder()
Create a builder that can be used to configure and create aLocationClient
.default CalculateRouteResponse
calculateRoute
(Consumer<CalculateRouteRequest.Builder> calculateRouteRequest) Calculates a route given the following required parameters:DeparturePosition
andDestinationPosition
.default CalculateRouteResponse
calculateRoute
(CalculateRouteRequest calculateRouteRequest) Calculates a route given the following required parameters:DeparturePosition
andDestinationPosition
.default CalculateRouteMatrixResponse
calculateRouteMatrix
(Consumer<CalculateRouteMatrixRequest.Builder> calculateRouteMatrixRequest) Calculates a route matrix given the following required parameters:DeparturePositions
andDestinationPositions
.default CalculateRouteMatrixResponse
calculateRouteMatrix
(CalculateRouteMatrixRequest calculateRouteMatrixRequest) Calculates a route matrix given the following required parameters:DeparturePositions
andDestinationPositions
.static LocationClient
create()
Create aLocationClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.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 CreateKeyResponse
createKey
(Consumer<CreateKeyRequest.Builder> createKeyRequest) Creates an API key resource in your Amazon Web Services account, which lets you grant actions for Amazon Location resources to the API key bearer.default CreateKeyResponse
createKey
(CreateKeyRequest createKeyRequest) Creates an API key resource in your Amazon Web Services account, which lets you grant actions for Amazon Location resources to the API key bearer.default CreateMapResponse
createMap
(Consumer<CreateMapRequest.Builder> createMapRequest) Creates a map resource in your Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services account.default CreatePlaceIndexResponse
createPlaceIndex
(CreatePlaceIndexRequest createPlaceIndexRequest) Creates a place index resource in your Amazon Web Services account.default CreateRouteCalculatorResponse
createRouteCalculator
(Consumer<CreateRouteCalculatorRequest.Builder> createRouteCalculatorRequest) Creates a route calculator resource in your Amazon Web Services account.default CreateRouteCalculatorResponse
createRouteCalculator
(CreateRouteCalculatorRequest createRouteCalculatorRequest) Creates a route calculator resource in your Amazon Web Services account.default CreateTrackerResponse
createTracker
(Consumer<CreateTrackerRequest.Builder> createTrackerRequest) Creates a tracker resource in your Amazon Web Services account, which lets you retrieve current and historical location of devices.default CreateTrackerResponse
createTracker
(CreateTrackerRequest createTrackerRequest) Creates a tracker resource in your Amazon Web Services account, which lets you retrieve current and historical location of devices.default DeleteGeofenceCollectionResponse
deleteGeofenceCollection
(Consumer<DeleteGeofenceCollectionRequest.Builder> deleteGeofenceCollectionRequest) Deletes a geofence collection from your Amazon Web Services account.default DeleteGeofenceCollectionResponse
deleteGeofenceCollection
(DeleteGeofenceCollectionRequest deleteGeofenceCollectionRequest) Deletes a geofence collection from your Amazon Web Services account.default DeleteKeyResponse
deleteKey
(Consumer<DeleteKeyRequest.Builder> deleteKeyRequest) Deletes the specified API key.default DeleteKeyResponse
deleteKey
(DeleteKeyRequest deleteKeyRequest) Deletes the specified API key.default DeleteMapResponse
deleteMap
(Consumer<DeleteMapRequest.Builder> deleteMapRequest) Deletes a map resource from your Amazon Web Services account.default DeleteMapResponse
deleteMap
(DeleteMapRequest deleteMapRequest) Deletes a map resource from your Amazon Web Services account.default DeletePlaceIndexResponse
deletePlaceIndex
(Consumer<DeletePlaceIndexRequest.Builder> deletePlaceIndexRequest) Deletes a place index resource from your Amazon Web Services account.default DeletePlaceIndexResponse
deletePlaceIndex
(DeletePlaceIndexRequest deletePlaceIndexRequest) Deletes a place index resource from your Amazon Web Services account.default DeleteRouteCalculatorResponse
deleteRouteCalculator
(Consumer<DeleteRouteCalculatorRequest.Builder> deleteRouteCalculatorRequest) Deletes a route calculator resource from your Amazon Web Services account.default DeleteRouteCalculatorResponse
deleteRouteCalculator
(DeleteRouteCalculatorRequest deleteRouteCalculatorRequest) Deletes a route calculator resource from your Amazon Web Services account.default DeleteTrackerResponse
deleteTracker
(Consumer<DeleteTrackerRequest.Builder> deleteTrackerRequest) Deletes a tracker resource from your Amazon Web Services account.default DeleteTrackerResponse
deleteTracker
(DeleteTrackerRequest deleteTrackerRequest) Deletes a tracker resource from your Amazon Web Services account.describeGeofenceCollection
(Consumer<DescribeGeofenceCollectionRequest.Builder> describeGeofenceCollectionRequest) Retrieves the geofence collection details.describeGeofenceCollection
(DescribeGeofenceCollectionRequest describeGeofenceCollectionRequest) Retrieves the geofence collection details.default DescribeKeyResponse
describeKey
(Consumer<DescribeKeyRequest.Builder> describeKeyRequest) Retrieves the API key resource details.default DescribeKeyResponse
describeKey
(DescribeKeyRequest describeKeyRequest) Retrieves the API key resource 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.disassociateTrackerConsumer
(Consumer<DisassociateTrackerConsumerRequest.Builder> disassociateTrackerConsumerRequest) Removes the association between a tracker resource and a geofence collection.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) This is a variant ofgetDevicePositionHistory(software.amazon.awssdk.services.location.model.GetDevicePositionHistoryRequest)
operation.default GetDevicePositionHistoryIterable
getDevicePositionHistoryPaginator
(GetDevicePositionHistoryRequest getDevicePositionHistoryRequest) This is a variant ofgetDevicePositionHistory(software.amazon.awssdk.services.location.model.GetDevicePositionHistoryRequest)
operation.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 GetPlaceResponse
getPlace
(Consumer<GetPlaceRequest.Builder> getPlaceRequest) Finds a place by its unique ID.default GetPlaceResponse
getPlace
(GetPlaceRequest getPlaceRequest) Finds a place by its unique ID.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) This is a variant oflistDevicePositions(software.amazon.awssdk.services.location.model.ListDevicePositionsRequest)
operation.default ListDevicePositionsIterable
listDevicePositionsPaginator
(ListDevicePositionsRequest listDevicePositionsRequest) This is a variant oflistDevicePositions(software.amazon.awssdk.services.location.model.ListDevicePositionsRequest)
operation.default ListGeofenceCollectionsResponse
listGeofenceCollections
(Consumer<ListGeofenceCollectionsRequest.Builder> listGeofenceCollectionsRequest) Lists geofence collections in your Amazon Web Services account.default ListGeofenceCollectionsResponse
listGeofenceCollections
(ListGeofenceCollectionsRequest listGeofenceCollectionsRequest) Lists geofence collections in your Amazon Web Services account.default ListGeofenceCollectionsIterable
listGeofenceCollectionsPaginator
(Consumer<ListGeofenceCollectionsRequest.Builder> listGeofenceCollectionsRequest) This is a variant oflistGeofenceCollections(software.amazon.awssdk.services.location.model.ListGeofenceCollectionsRequest)
operation.default ListGeofenceCollectionsIterable
listGeofenceCollectionsPaginator
(ListGeofenceCollectionsRequest listGeofenceCollectionsRequest) This is a variant oflistGeofenceCollections(software.amazon.awssdk.services.location.model.ListGeofenceCollectionsRequest)
operation.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) This is a variant oflistGeofences(software.amazon.awssdk.services.location.model.ListGeofencesRequest)
operation.default ListGeofencesIterable
listGeofencesPaginator
(ListGeofencesRequest listGeofencesRequest) This is a variant oflistGeofences(software.amazon.awssdk.services.location.model.ListGeofencesRequest)
operation.default ListKeysResponse
listKeys
(Consumer<ListKeysRequest.Builder> listKeysRequest) Lists API key resources in your Amazon Web Services account.default ListKeysResponse
listKeys
(ListKeysRequest listKeysRequest) Lists API key resources in your Amazon Web Services account.default ListKeysIterable
listKeysPaginator
(Consumer<ListKeysRequest.Builder> listKeysRequest) This is a variant oflistKeys(software.amazon.awssdk.services.location.model.ListKeysRequest)
operation.default ListKeysIterable
listKeysPaginator
(ListKeysRequest listKeysRequest) This is a variant oflistKeys(software.amazon.awssdk.services.location.model.ListKeysRequest)
operation.default ListMapsResponse
listMaps
(Consumer<ListMapsRequest.Builder> listMapsRequest) Lists map resources in your Amazon Web Services account.default ListMapsResponse
listMaps
(ListMapsRequest listMapsRequest) Lists map resources in your Amazon Web Services account.default ListMapsIterable
listMapsPaginator
(Consumer<ListMapsRequest.Builder> listMapsRequest) This is a variant oflistMaps(software.amazon.awssdk.services.location.model.ListMapsRequest)
operation.default ListMapsIterable
listMapsPaginator
(ListMapsRequest listMapsRequest) This is a variant oflistMaps(software.amazon.awssdk.services.location.model.ListMapsRequest)
operation.default ListPlaceIndexesResponse
listPlaceIndexes
(Consumer<ListPlaceIndexesRequest.Builder> listPlaceIndexesRequest) Lists place index resources in your Amazon Web Services account.default ListPlaceIndexesResponse
listPlaceIndexes
(ListPlaceIndexesRequest listPlaceIndexesRequest) Lists place index resources in your Amazon Web Services account.default ListPlaceIndexesIterable
listPlaceIndexesPaginator
(Consumer<ListPlaceIndexesRequest.Builder> listPlaceIndexesRequest) This is a variant oflistPlaceIndexes(software.amazon.awssdk.services.location.model.ListPlaceIndexesRequest)
operation.default ListPlaceIndexesIterable
listPlaceIndexesPaginator
(ListPlaceIndexesRequest listPlaceIndexesRequest) This is a variant oflistPlaceIndexes(software.amazon.awssdk.services.location.model.ListPlaceIndexesRequest)
operation.default ListRouteCalculatorsResponse
listRouteCalculators
(Consumer<ListRouteCalculatorsRequest.Builder> listRouteCalculatorsRequest) Lists route calculator resources in your Amazon Web Services account.default ListRouteCalculatorsResponse
listRouteCalculators
(ListRouteCalculatorsRequest listRouteCalculatorsRequest) Lists route calculator resources in your Amazon Web Services account.default ListRouteCalculatorsIterable
listRouteCalculatorsPaginator
(Consumer<ListRouteCalculatorsRequest.Builder> listRouteCalculatorsRequest) This is a variant oflistRouteCalculators(software.amazon.awssdk.services.location.model.ListRouteCalculatorsRequest)
operation.default ListRouteCalculatorsIterable
listRouteCalculatorsPaginator
(ListRouteCalculatorsRequest listRouteCalculatorsRequest) This is a variant oflistRouteCalculators(software.amazon.awssdk.services.location.model.ListRouteCalculatorsRequest)
operation.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) This is a variant oflistTrackerConsumers(software.amazon.awssdk.services.location.model.ListTrackerConsumersRequest)
operation.default ListTrackerConsumersIterable
listTrackerConsumersPaginator
(ListTrackerConsumersRequest listTrackerConsumersRequest) This is a variant oflistTrackerConsumers(software.amazon.awssdk.services.location.model.ListTrackerConsumersRequest)
operation.default ListTrackersResponse
listTrackers
(Consumer<ListTrackersRequest.Builder> listTrackersRequest) Lists tracker resources in your Amazon Web Services account.default ListTrackersResponse
listTrackers
(ListTrackersRequest listTrackersRequest) Lists tracker resources in your Amazon Web Services account.default ListTrackersIterable
listTrackersPaginator
(Consumer<ListTrackersRequest.Builder> listTrackersRequest) This is a variant oflistTrackers(software.amazon.awssdk.services.location.model.ListTrackersRequest)
operation.default ListTrackersIterable
listTrackersPaginator
(ListTrackersRequest listTrackersRequest) This is a variant oflistTrackers(software.amazon.awssdk.services.location.model.ListTrackersRequest)
operation.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.searchPlaceIndexForPosition
(Consumer<SearchPlaceIndexForPositionRequest.Builder> searchPlaceIndexForPositionRequest) Reverse geocodes a given coordinate and returns a legible address.searchPlaceIndexForPosition
(SearchPlaceIndexForPositionRequest searchPlaceIndexForPositionRequest) Reverse geocodes a given coordinate and returns a legible address.searchPlaceIndexForSuggestions
(Consumer<SearchPlaceIndexForSuggestionsRequest.Builder> searchPlaceIndexForSuggestionsRequest) Generates suggestions for addresses and points of interest based on partial or misspelled free-form text.searchPlaceIndexForSuggestions
(SearchPlaceIndexForSuggestionsRequest searchPlaceIndexForSuggestionsRequest) Generates suggestions for addresses and points of interest based on partial or misspelled free-form text.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.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic 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 UpdateKeyResponse
updateKey
(Consumer<UpdateKeyRequest.Builder> updateKeyRequest) Updates the specified properties of a given API key resource.default UpdateKeyResponse
updateKey
(UpdateKeyRequest updateKeyRequest) Updates the specified properties of a given API key resource.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.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
associateTrackerConsumer
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.
- Parameters:
associateTrackerConsumerRequest
-- Returns:
- Result of the AssociateTrackerConsumer operation returned by the service.
- See Also:
-
associateTrackerConsumer
default 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 viaAssociateTrackerConsumerRequest.builder()
- Parameters:
associateTrackerConsumerRequest
- AConsumer
that will call methods onAssociateTrackerConsumerRequest.Builder
to create a request.- Returns:
- Result of the AssociateTrackerConsumer operation returned by the service.
- See Also:
-
batchDeleteDevicePositionHistory
default 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.
- Parameters:
batchDeleteDevicePositionHistoryRequest
-- Returns:
- Result of the BatchDeleteDevicePositionHistory operation returned by the service.
- See Also:
-
batchDeleteDevicePositionHistory
default 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 viaBatchDeleteDevicePositionHistoryRequest.builder()
- Parameters:
batchDeleteDevicePositionHistoryRequest
- AConsumer
that will call methods onBatchDeleteDevicePositionHistoryRequest.Builder
to create a request.- Returns:
- Result of the BatchDeleteDevicePositionHistory operation returned by the service.
- See Also:
-
batchDeleteGeofence
default 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.
- Parameters:
batchDeleteGeofenceRequest
-- Returns:
- Result of the BatchDeleteGeofence operation returned by the service.
- See Also:
-
batchDeleteGeofence
default 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 viaBatchDeleteGeofenceRequest.builder()
- Parameters:
batchDeleteGeofenceRequest
- AConsumer
that will call methods onBatchDeleteGeofenceRequest.Builder
to create a request.- Returns:
- Result of the BatchDeleteGeofence operation returned by the service.
- See Also:
-
batchEvaluateGeofences
default 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.
Geofence evaluation uses the given device position. It does not account for the optional
Accuracy
of aDevicePositionUpdate
.The
DeviceID
is used as a string to represent the device. You do not need to have aTracker
associated with theDeviceID
.- Parameters:
batchEvaluateGeofencesRequest
-- Returns:
- Result of the BatchEvaluateGeofences operation returned by the service.
- See Also:
-
-
batchEvaluateGeofences
default 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.
Geofence evaluation uses the given device position. It does not account for the optional
Accuracy
of aDevicePositionUpdate
.The
DeviceID
is used as a string to represent the device. You do not need to have aTracker
associated with theDeviceID
.
This is a convenience which creates an instance of the
BatchEvaluateGeofencesRequest.Builder
avoiding the need to create one manually viaBatchEvaluateGeofencesRequest.builder()
- Parameters:
batchEvaluateGeofencesRequest
- AConsumer
that will call methods onBatchEvaluateGeofencesRequest.Builder
to create a request.- Returns:
- Result of the BatchEvaluateGeofences operation returned by the service.
- See Also:
-
-
batchGetDevicePosition
default BatchGetDevicePositionResponse batchGetDevicePosition(BatchGetDevicePositionRequest batchGetDevicePositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists the latest device positions for requested devices.
- Parameters:
batchGetDevicePositionRequest
-- Returns:
- Result of the BatchGetDevicePosition operation returned by the service.
- See Also:
-
batchGetDevicePosition
default 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 viaBatchGetDevicePositionRequest.builder()
- Parameters:
batchGetDevicePositionRequest
- AConsumer
that will call methods onBatchGetDevicePositionRequest.Builder
to create a request.- Returns:
- Result of the BatchGetDevicePosition operation returned by the service.
- See Also:
-
batchPutGeofence
default 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.
- Parameters:
batchPutGeofenceRequest
-- Returns:
- Result of the BatchPutGeofence operation returned by the service.
- See Also:
-
batchPutGeofence
default 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 viaBatchPutGeofenceRequest.builder()
- Parameters:
batchPutGeofenceRequest
- AConsumer
that will call methods onBatchPutGeofenceRequest.Builder
to create a request.- Returns:
- Result of the BatchPutGeofence operation returned by the service.
- See Also:
-
batchUpdateDevicePosition
default 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 (up to 10 devices per batch). Amazon Location uses the data when it reports the last known device position and position history. Amazon Location retains location data for 30 days.
Position updates are handled based on the
PositionFiltering
property of the tracker. WhenPositionFiltering
is set toTimeBased
, 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 toDistanceBased
filtering, location data is stored and evaluated against linked geofence collections only if the device has moved more than 30 m (98.4 ft).When
PositionFiltering
is set toAccuracyBased
filtering, location data is stored and evaluated against linked geofence collections only if the device has moved more than the measured accuracy. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is neither stored or evaluated if the device has moved less than 15 m. IfPositionFiltering
is set toAccuracyBased
filtering, Amazon Location uses the default value{ "Horizontal": 0}
when accuracy is not provided on aDevicePositionUpdate
.- Parameters:
batchUpdateDevicePositionRequest
-- Returns:
- Result of the BatchUpdateDevicePosition operation returned by the service.
- See Also:
-
batchUpdateDevicePosition
default 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 (up to 10 devices per batch). Amazon Location uses the data when it reports the last known device position and position history. Amazon Location retains location data for 30 days.
Position updates are handled based on the
PositionFiltering
property of the tracker. WhenPositionFiltering
is set toTimeBased
, 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 toDistanceBased
filtering, location data is stored and evaluated against linked geofence collections only if the device has moved more than 30 m (98.4 ft).When
PositionFiltering
is set toAccuracyBased
filtering, location data is stored and evaluated against linked geofence collections only if the device has moved more than the measured accuracy. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is neither stored or evaluated if the device has moved less than 15 m. IfPositionFiltering
is set toAccuracyBased
filtering, Amazon Location uses the default value{ "Horizontal": 0}
when accuracy is not provided on aDevicePositionUpdate
.
This is a convenience which creates an instance of the
BatchUpdateDevicePositionRequest.Builder
avoiding the need to create one manually viaBatchUpdateDevicePositionRequest.builder()
- Parameters:
batchUpdateDevicePositionRequest
- AConsumer
that will call methods onBatchUpdateDevicePositionRequest.Builder
to create a request.- Returns:
- Result of the BatchUpdateDevicePosition operation returned by the service.
- See Also:
-
calculateRoute
default CalculateRouteResponse calculateRoute(CalculateRouteRequest calculateRouteRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Calculates a route given the following required parameters:
DeparturePosition
andDestinationPosition
. 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
orDepartNow
. This calculates a route based on predictive traffic data at the given time.You can't specify both
DepartureTime
andDepartNow
in a single request. Specifying both parameters returns a validation error. -
Specifying a travel mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify additional route preferences in
CarModeOptions
if traveling byCar
, orTruckModeOptions
if traveling byTruck
.If you specify
walking
for the travel mode and your data provider is Esri, the start and destination must be within 40km.
- Parameters:
calculateRouteRequest
-- Returns:
- Result of the CalculateRoute operation returned by the service.
- See Also:
-
-
calculateRoute
default CalculateRouteResponse calculateRoute(Consumer<CalculateRouteRequest.Builder> calculateRouteRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Calculates a route given the following required parameters:
DeparturePosition
andDestinationPosition
. 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
orDepartNow
. This calculates a route based on predictive traffic data at the given time.You can't specify both
DepartureTime
andDepartNow
in a single request. Specifying both parameters returns a validation error. -
Specifying a travel mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify additional route preferences in
CarModeOptions
if traveling byCar
, orTruckModeOptions
if traveling byTruck
.If you specify
walking
for the travel mode and your data provider is Esri, the start and destination must be within 40km.
This is a convenience which creates an instance of the
CalculateRouteRequest.Builder
avoiding the need to create one manually viaCalculateRouteRequest.builder()
- Parameters:
calculateRouteRequest
- AConsumer
that will call methods onCalculateRouteRequest.Builder
to create a request.- Returns:
- Result of the CalculateRoute operation returned by the service.
- See Also:
-
-
calculateRouteMatrix
default CalculateRouteMatrixResponse calculateRouteMatrix(CalculateRouteMatrixRequest calculateRouteMatrixRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Calculates a route matrix given the following required parameters:
DeparturePositions
andDestinationPositions
.CalculateRouteMatrix
calculates routes and returns the travel time and travel distance from each departure position to each destination position in the request. For example, given departure positions A and B, and destination positions X and Y,CalculateRouteMatrix
will return time and distance for routes from A to X, A to Y, B to X, and B to Y (in that order). The number of results returned (and routes calculated) will be the number ofDeparturePositions
times the number ofDestinationPositions
.Your account is charged for each route calculated, not the number of requests.
Requires that you first create a route calculator resource.
By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating routes.
Additional options include:
-
Specifying a departure time using either
DepartureTime
orDepartNow
. This calculates routes based on predictive traffic data at the given time.You can't specify both
DepartureTime
andDepartNow
in a single request. Specifying both parameters returns a validation error. -
Specifying a travel mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify additional route preferences in
CarModeOptions
if traveling byCar
, orTruckModeOptions
if traveling byTruck
.
- Parameters:
calculateRouteMatrixRequest
-- Returns:
- Result of the CalculateRouteMatrix operation returned by the service.
- See Also:
-
-
calculateRouteMatrix
default CalculateRouteMatrixResponse calculateRouteMatrix(Consumer<CalculateRouteMatrixRequest.Builder> calculateRouteMatrixRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Calculates a route matrix given the following required parameters:
DeparturePositions
andDestinationPositions
.CalculateRouteMatrix
calculates routes and returns the travel time and travel distance from each departure position to each destination position in the request. For example, given departure positions A and B, and destination positions X and Y,CalculateRouteMatrix
will return time and distance for routes from A to X, A to Y, B to X, and B to Y (in that order). The number of results returned (and routes calculated) will be the number ofDeparturePositions
times the number ofDestinationPositions
.Your account is charged for each route calculated, not the number of requests.
Requires that you first create a route calculator resource.
By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating routes.
Additional options include:
-
Specifying a departure time using either
DepartureTime
orDepartNow
. This calculates routes based on predictive traffic data at the given time.You can't specify both
DepartureTime
andDepartNow
in a single request. Specifying both parameters returns a validation error. -
Specifying a travel mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify additional route preferences in
CarModeOptions
if traveling byCar
, orTruckModeOptions
if traveling byTruck
.
This is a convenience which creates an instance of the
CalculateRouteMatrixRequest.Builder
avoiding the need to create one manually viaCalculateRouteMatrixRequest.builder()
- Parameters:
calculateRouteMatrixRequest
- AConsumer
that will call methods onCalculateRouteMatrixRequest.Builder
to create a request.- Returns:
- Result of the CalculateRouteMatrix operation returned by the service.
- See Also:
-
-
createGeofenceCollection
default CreateGeofenceCollectionResponse createGeofenceCollection(CreateGeofenceCollectionRequest createGeofenceCollectionRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Creates a geofence collection, which manages and stores geofences.
- Parameters:
createGeofenceCollectionRequest
-- Returns:
- Result of the CreateGeofenceCollection operation returned by the service.
- See Also:
-
createGeofenceCollection
default CreateGeofenceCollectionResponse createGeofenceCollection(Consumer<CreateGeofenceCollectionRequest.Builder> createGeofenceCollectionRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, 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 viaCreateGeofenceCollectionRequest.builder()
- Parameters:
createGeofenceCollectionRequest
- AConsumer
that will call methods onCreateGeofenceCollectionRequest.Builder
to create a request.- Returns:
- Result of the CreateGeofenceCollection operation returned by the service.
- See Also:
-
createKey
default CreateKeyResponse createKey(CreateKeyRequest createKeyRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Creates an API key resource in your Amazon Web Services account, which lets you grant actions for Amazon Location resources to the API key bearer.
For more information, see Using API keys.
- Parameters:
createKeyRequest
-- Returns:
- Result of the CreateKey operation returned by the service.
- See Also:
-
createKey
default CreateKeyResponse createKey(Consumer<CreateKeyRequest.Builder> createKeyRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Creates an API key resource in your Amazon Web Services account, which lets you grant actions for Amazon Location resources to the API key bearer.
For more information, see Using API keys.
This is a convenience which creates an instance of the
CreateKeyRequest.Builder
avoiding the need to create one manually viaCreateKeyRequest.builder()
- Parameters:
createKeyRequest
- AConsumer
that will call methods onCreateKeyRequest.Builder
to create a request.- Returns:
- Result of the CreateKey operation returned by the service.
- See Also:
-
createMap
default CreateMapResponse createMap(CreateMapRequest createMapRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Creates a map resource in your Amazon Web Services account, which provides map tiles of different styles sourced from global location data providers.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
- Parameters:
createMapRequest
-- Returns:
- Result of the CreateMap operation returned by the service.
- See Also:
-
createMap
default CreateMapResponse createMap(Consumer<CreateMapRequest.Builder> createMapRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Creates a map resource in your Amazon Web Services account, which provides map tiles of different styles sourced from global location data providers.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
This is a convenience which creates an instance of the
CreateMapRequest.Builder
avoiding the need to create one manually viaCreateMapRequest.builder()
- Parameters:
createMapRequest
- AConsumer
that will call methods onCreateMapRequest.Builder
to create a request.- Returns:
- Result of the CreateMap operation returned by the service.
- See Also:
-
createPlaceIndex
default CreatePlaceIndexResponse createPlaceIndex(CreatePlaceIndexRequest createPlaceIndexRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Creates a place index resource in your Amazon Web Services account. Use a place index resource to geocode addresses and other text queries by using the
SearchPlaceIndexForText
operation, and reverse geocode coordinates by using theSearchPlaceIndexForPosition
operation, and enable autosuggestions by using theSearchPlaceIndexForSuggestions
operation.If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
- Parameters:
createPlaceIndexRequest
-- Returns:
- Result of the CreatePlaceIndex operation returned by the service.
- See Also:
-
createPlaceIndex
default CreatePlaceIndexResponse createPlaceIndex(Consumer<CreatePlaceIndexRequest.Builder> createPlaceIndexRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Creates a place index resource in your Amazon Web Services account. Use a place index resource to geocode addresses and other text queries by using the
SearchPlaceIndexForText
operation, and reverse geocode coordinates by using theSearchPlaceIndexForPosition
operation, and enable autosuggestions by using theSearchPlaceIndexForSuggestions
operation.If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
This is a convenience which creates an instance of the
CreatePlaceIndexRequest.Builder
avoiding the need to create one manually viaCreatePlaceIndexRequest.builder()
- Parameters:
createPlaceIndexRequest
- AConsumer
that will call methods onCreatePlaceIndexRequest.Builder
to create a request.- Returns:
- Result of the CreatePlaceIndex operation returned by the service.
- See Also:
-
createRouteCalculator
default CreateRouteCalculatorResponse createRouteCalculator(CreateRouteCalculatorRequest createRouteCalculatorRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Creates a route calculator resource in your Amazon Web Services account.
You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
- Parameters:
createRouteCalculatorRequest
-- Returns:
- Result of the CreateRouteCalculator operation returned by the service.
- See Also:
-
createRouteCalculator
default CreateRouteCalculatorResponse createRouteCalculator(Consumer<CreateRouteCalculatorRequest.Builder> createRouteCalculatorRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Creates a route calculator resource in your Amazon Web Services account.
You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
This is a convenience which creates an instance of the
CreateRouteCalculatorRequest.Builder
avoiding the need to create one manually viaCreateRouteCalculatorRequest.builder()
- Parameters:
createRouteCalculatorRequest
- AConsumer
that will call methods onCreateRouteCalculatorRequest.Builder
to create a request.- Returns:
- Result of the CreateRouteCalculator operation returned by the service.
- See Also:
-
createTracker
default CreateTrackerResponse createTracker(CreateTrackerRequest createTrackerRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Creates a tracker resource in your Amazon Web Services account, which lets you retrieve current and historical location of devices.
- Parameters:
createTrackerRequest
-- Returns:
- Result of the CreateTracker operation returned by the service.
- See Also:
-
createTracker
default CreateTrackerResponse createTracker(Consumer<CreateTrackerRequest.Builder> createTrackerRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Creates a tracker resource in your Amazon Web Services 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 viaCreateTrackerRequest.builder()
- Parameters:
createTrackerRequest
- AConsumer
that will call methods onCreateTrackerRequest.Builder
to create a request.- Returns:
- Result of the CreateTracker operation returned by the service.
- See Also:
-
deleteGeofenceCollection
default DeleteGeofenceCollectionResponse deleteGeofenceCollection(DeleteGeofenceCollectionRequest deleteGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Deletes a geofence collection from your Amazon Web Services account.
This operation deletes the resource permanently. If the geofence collection is the target of a tracker resource, the devices will no longer be monitored.
- Parameters:
deleteGeofenceCollectionRequest
-- Returns:
- Result of the DeleteGeofenceCollection operation returned by the service.
- See Also:
-
deleteGeofenceCollection
default DeleteGeofenceCollectionResponse deleteGeofenceCollection(Consumer<DeleteGeofenceCollectionRequest.Builder> deleteGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Deletes a geofence collection from your Amazon Web Services account.
This operation deletes the resource permanently. If the geofence collection is the target of a tracker resource, the devices will no longer be monitored.
This is a convenience which creates an instance of the
DeleteGeofenceCollectionRequest.Builder
avoiding the need to create one manually viaDeleteGeofenceCollectionRequest.builder()
- Parameters:
deleteGeofenceCollectionRequest
- AConsumer
that will call methods onDeleteGeofenceCollectionRequest.Builder
to create a request.- Returns:
- Result of the DeleteGeofenceCollection operation returned by the service.
- See Also:
-
deleteKey
default DeleteKeyResponse deleteKey(DeleteKeyRequest deleteKeyRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Deletes the specified API key. The API key must have been deactivated more than 90 days previously.
- Parameters:
deleteKeyRequest
-- Returns:
- Result of the DeleteKey operation returned by the service.
- See Also:
-
deleteKey
default DeleteKeyResponse deleteKey(Consumer<DeleteKeyRequest.Builder> deleteKeyRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Deletes the specified API key. The API key must have been deactivated more than 90 days previously.
This is a convenience which creates an instance of the
DeleteKeyRequest.Builder
avoiding the need to create one manually viaDeleteKeyRequest.builder()
- Parameters:
deleteKeyRequest
- AConsumer
that will call methods onDeleteKeyRequest.Builder
to create a request.- Returns:
- Result of the DeleteKey operation returned by the service.
- See Also:
-
deleteMap
default DeleteMapResponse deleteMap(DeleteMapRequest deleteMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Deletes a map resource from your Amazon Web Services account.
This operation deletes the resource permanently. If the map is being used in an application, the map may not render.
- Parameters:
deleteMapRequest
-- Returns:
- Result of the DeleteMap operation returned by the service.
- See Also:
-
deleteMap
default DeleteMapResponse deleteMap(Consumer<DeleteMapRequest.Builder> deleteMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Deletes a map resource from your Amazon Web Services account.
This operation deletes the resource permanently. If the map is being used in an application, the map may not render.
This is a convenience which creates an instance of the
DeleteMapRequest.Builder
avoiding the need to create one manually viaDeleteMapRequest.builder()
- Parameters:
deleteMapRequest
- AConsumer
that will call methods onDeleteMapRequest.Builder
to create a request.- Returns:
- Result of the DeleteMap operation returned by the service.
- See Also:
-
deletePlaceIndex
default DeletePlaceIndexResponse deletePlaceIndex(DeletePlaceIndexRequest deletePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Deletes a place index resource from your Amazon Web Services account.
This operation deletes the resource permanently.
- Parameters:
deletePlaceIndexRequest
-- Returns:
- Result of the DeletePlaceIndex operation returned by the service.
- See Also:
-
deletePlaceIndex
default DeletePlaceIndexResponse deletePlaceIndex(Consumer<DeletePlaceIndexRequest.Builder> deletePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Deletes a place index resource from your Amazon Web Services 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 viaDeletePlaceIndexRequest.builder()
- Parameters:
deletePlaceIndexRequest
- AConsumer
that will call methods onDeletePlaceIndexRequest.Builder
to create a request.- Returns:
- Result of the DeletePlaceIndex operation returned by the service.
- See Also:
-
deleteRouteCalculator
default DeleteRouteCalculatorResponse deleteRouteCalculator(DeleteRouteCalculatorRequest deleteRouteCalculatorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Deletes a route calculator resource from your Amazon Web Services account.
This operation deletes the resource permanently.
- Parameters:
deleteRouteCalculatorRequest
-- Returns:
- Result of the DeleteRouteCalculator operation returned by the service.
- See Also:
-
deleteRouteCalculator
default DeleteRouteCalculatorResponse deleteRouteCalculator(Consumer<DeleteRouteCalculatorRequest.Builder> deleteRouteCalculatorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Deletes a route calculator resource from your Amazon Web Services 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 viaDeleteRouteCalculatorRequest.builder()
- Parameters:
deleteRouteCalculatorRequest
- AConsumer
that will call methods onDeleteRouteCalculatorRequest.Builder
to create a request.- Returns:
- Result of the DeleteRouteCalculator operation returned by the service.
- See Also:
-
deleteTracker
default DeleteTrackerResponse deleteTracker(DeleteTrackerRequest deleteTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Deletes a tracker resource from your Amazon Web Services account.
This operation deletes the resource permanently. If the tracker resource is in use, you may encounter an error. Make sure that the target resource isn't a dependency for your applications.
- Parameters:
deleteTrackerRequest
-- Returns:
- Result of the DeleteTracker operation returned by the service.
- See Also:
-
deleteTracker
default DeleteTrackerResponse deleteTracker(Consumer<DeleteTrackerRequest.Builder> deleteTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Deletes a tracker resource from your Amazon Web Services account.
This operation deletes the resource permanently. If the tracker resource is in use, you may encounter an error. Make sure that the target resource isn't a dependency for your applications.
This is a convenience which creates an instance of the
DeleteTrackerRequest.Builder
avoiding the need to create one manually viaDeleteTrackerRequest.builder()
- Parameters:
deleteTrackerRequest
- AConsumer
that will call methods onDeleteTrackerRequest.Builder
to create a request.- Returns:
- Result of the DeleteTracker operation returned by the service.
- See Also:
-
describeGeofenceCollection
default DescribeGeofenceCollectionResponse describeGeofenceCollection(DescribeGeofenceCollectionRequest describeGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Retrieves the geofence collection details.
- Parameters:
describeGeofenceCollectionRequest
-- Returns:
- Result of the DescribeGeofenceCollection operation returned by the service.
- See Also:
-
describeGeofenceCollection
default 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 viaDescribeGeofenceCollectionRequest.builder()
- Parameters:
describeGeofenceCollectionRequest
- AConsumer
that will call methods onDescribeGeofenceCollectionRequest.Builder
to create a request.- Returns:
- Result of the DescribeGeofenceCollection operation returned by the service.
- See Also:
-
describeKey
default DescribeKeyResponse describeKey(DescribeKeyRequest describeKeyRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Retrieves the API key resource details.
- Parameters:
describeKeyRequest
-- Returns:
- Result of the DescribeKey operation returned by the service.
- See Also:
-
describeKey
default DescribeKeyResponse describeKey(Consumer<DescribeKeyRequest.Builder> describeKeyRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Retrieves the API key resource details.
This is a convenience which creates an instance of the
DescribeKeyRequest.Builder
avoiding the need to create one manually viaDescribeKeyRequest.builder()
- Parameters:
describeKeyRequest
- AConsumer
that will call methods onDescribeKeyRequest.Builder
to create a request.- Returns:
- Result of the DescribeKey operation returned by the service.
- See Also:
-
describeMap
default DescribeMapResponse describeMap(DescribeMapRequest describeMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Retrieves the map resource details.
- Parameters:
describeMapRequest
-- Returns:
- Result of the DescribeMap operation returned by the service.
- See Also:
-
describeMap
default 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 viaDescribeMapRequest.builder()
- Parameters:
describeMapRequest
- AConsumer
that will call methods onDescribeMapRequest.Builder
to create a request.- Returns:
- Result of the DescribeMap operation returned by the service.
- See Also:
-
describePlaceIndex
default DescribePlaceIndexResponse describePlaceIndex(DescribePlaceIndexRequest describePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Retrieves the place index resource details.
- Parameters:
describePlaceIndexRequest
-- Returns:
- Result of the DescribePlaceIndex operation returned by the service.
- See Also:
-
describePlaceIndex
default 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 viaDescribePlaceIndexRequest.builder()
- Parameters:
describePlaceIndexRequest
- AConsumer
that will call methods onDescribePlaceIndexRequest.Builder
to create a request.- Returns:
- Result of the DescribePlaceIndex operation returned by the service.
- See Also:
-
describeRouteCalculator
default DescribeRouteCalculatorResponse describeRouteCalculator(DescribeRouteCalculatorRequest describeRouteCalculatorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Retrieves the route calculator resource details.
- Parameters:
describeRouteCalculatorRequest
-- Returns:
- Result of the DescribeRouteCalculator operation returned by the service.
- See Also:
-
describeRouteCalculator
default 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 viaDescribeRouteCalculatorRequest.builder()
- Parameters:
describeRouteCalculatorRequest
- AConsumer
that will call methods onDescribeRouteCalculatorRequest.Builder
to create a request.- Returns:
- Result of the DescribeRouteCalculator operation returned by the service.
- See Also:
-
describeTracker
default DescribeTrackerResponse describeTracker(DescribeTrackerRequest describeTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Retrieves the tracker resource details.
- Parameters:
describeTrackerRequest
-- Returns:
- Result of the DescribeTracker operation returned by the service.
- See Also:
-
describeTracker
default 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 viaDescribeTrackerRequest.builder()
- Parameters:
describeTrackerRequest
- AConsumer
that will call methods onDescribeTrackerRequest.Builder
to create a request.- Returns:
- Result of the DescribeTracker operation returned by the service.
- See Also:
-
disassociateTrackerConsumer
default 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.
- Parameters:
disassociateTrackerConsumerRequest
-- Returns:
- Result of the DisassociateTrackerConsumer operation returned by the service.
- See Also:
-
disassociateTrackerConsumer
default 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 viaDisassociateTrackerConsumerRequest.builder()
- Parameters:
disassociateTrackerConsumerRequest
- AConsumer
that will call methods onDisassociateTrackerConsumerRequest.Builder
to create a request.- Returns:
- Result of the DisassociateTrackerConsumer operation returned by the service.
- See Also:
-
getDevicePosition
default 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.
- Parameters:
getDevicePositionRequest
-- Returns:
- Result of the GetDevicePosition operation returned by the service.
- See Also:
-
getDevicePosition
default 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 viaGetDevicePositionRequest.builder()
- Parameters:
getDevicePositionRequest
- AConsumer
that will call methods onGetDevicePositionRequest.Builder
to create a request.- Returns:
- Result of the GetDevicePosition operation returned by the service.
- See Also:
-
getDevicePositionHistory
default 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.
- Parameters:
getDevicePositionHistoryRequest
-- Returns:
- Result of the GetDevicePositionHistory operation returned by the service.
- See Also:
-
getDevicePositionHistory
default 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 viaGetDevicePositionHistoryRequest.builder()
- Parameters:
getDevicePositionHistoryRequest
- AConsumer
that will call methods onGetDevicePositionHistoryRequest.Builder
to create a request.- Returns:
- Result of the GetDevicePositionHistory operation returned by the service.
- See Also:
-
getDevicePositionHistoryPaginator
default GetDevicePositionHistoryIterable getDevicePositionHistoryPaginator(GetDevicePositionHistoryRequest getDevicePositionHistoryRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client.getDevicePositionHistoryPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client.getDevicePositionHistoryPaginator(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
getDevicePositionHistory(software.amazon.awssdk.services.location.model.GetDevicePositionHistoryRequest)
operation.- Parameters:
getDevicePositionHistoryRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getDevicePositionHistoryPaginator
default GetDevicePositionHistoryIterable getDevicePositionHistoryPaginator(Consumer<GetDevicePositionHistoryRequest.Builder> getDevicePositionHistoryRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client.getDevicePositionHistoryPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client.getDevicePositionHistoryPaginator(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
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 viaGetDevicePositionHistoryRequest.builder()
- Parameters:
getDevicePositionHistoryRequest
- AConsumer
that will call methods onGetDevicePositionHistoryRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getGeofence
default GetGeofenceResponse getGeofence(GetGeofenceRequest getGeofenceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Retrieves the geofence details from a geofence collection.
- Parameters:
getGeofenceRequest
-- Returns:
- Result of the GetGeofence operation returned by the service.
- See Also:
-
getGeofence
default 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 viaGetGeofenceRequest.builder()
- Parameters:
getGeofenceRequest
- AConsumer
that will call methods onGetGeofenceRequest.Builder
to create a request.- Returns:
- Result of the GetGeofence operation returned by the service.
- See Also:
-
getMapGlyphs
default GetMapGlyphsResponse getMapGlyphs(GetMapGlyphsRequest getMapGlyphsRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Retrieves glyphs used to display labels on a map.
- Parameters:
getMapGlyphsRequest
-- Returns:
- Result of the GetMapGlyphs operation returned by the service.
- See Also:
-
getMapGlyphs
default 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 viaGetMapGlyphsRequest.builder()
- Parameters:
getMapGlyphsRequest
- AConsumer
that will call methods onGetMapGlyphsRequest.Builder
to create a request.- Returns:
- Result of the GetMapGlyphs operation returned by the service.
- See Also:
-
getMapSprites
default 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.
- Parameters:
getMapSpritesRequest
-- Returns:
- Result of the GetMapSprites operation returned by the service.
- See Also:
-
getMapSprites
default 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 viaGetMapSpritesRequest.builder()
- Parameters:
getMapSpritesRequest
- AConsumer
that will call methods onGetMapSpritesRequest.Builder
to create a request.- Returns:
- Result of the GetMapSprites operation returned by the service.
- See Also:
-
getMapStyleDescriptor
default 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.
- Parameters:
getMapStyleDescriptorRequest
-- Returns:
- Result of the GetMapStyleDescriptor operation returned by the service.
- See Also:
-
getMapStyleDescriptor
default 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 viaGetMapStyleDescriptorRequest.builder()
- Parameters:
getMapStyleDescriptorRequest
- AConsumer
that will call methods onGetMapStyleDescriptorRequest.Builder
to create a request.- Returns:
- Result of the GetMapStyleDescriptor operation returned by the service.
- See Also:
-
getMapTile
default 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).
- Parameters:
getMapTileRequest
-- Returns:
- Result of the GetMapTile operation returned by the service.
- See Also:
-
getMapTile
default 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 viaGetMapTileRequest.builder()
- Parameters:
getMapTileRequest
- AConsumer
that will call methods onGetMapTileRequest.Builder
to create a request.- Returns:
- Result of the GetMapTile operation returned by the service.
- See Also:
-
getPlace
default GetPlaceResponse getPlace(GetPlaceRequest getPlaceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Finds a place by its unique ID. A
PlaceId
is returned by other search operations.A PlaceId is valid only if all of the following are the same in the original search request and the call to
GetPlace
.-
Customer Amazon Web Services account
-
Amazon Web Services Region
-
Data provider specified in the place index resource
- Parameters:
getPlaceRequest
-- Returns:
- Result of the GetPlace operation returned by the service.
- See Also:
-
-
getPlace
default GetPlaceResponse getPlace(Consumer<GetPlaceRequest.Builder> getPlaceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Finds a place by its unique ID. A
PlaceId
is returned by other search operations.A PlaceId is valid only if all of the following are the same in the original search request and the call to
GetPlace
.-
Customer Amazon Web Services account
-
Amazon Web Services Region
-
Data provider specified in the place index resource
This is a convenience which creates an instance of the
GetPlaceRequest.Builder
avoiding the need to create one manually viaGetPlaceRequest.builder()
- Parameters:
getPlaceRequest
- AConsumer
that will call methods onGetPlaceRequest.Builder
to create a request.- Returns:
- Result of the GetPlace operation returned by the service.
- See Also:
-
-
listDevicePositions
default ListDevicePositionsResponse listDevicePositions(ListDevicePositionsRequest listDevicePositionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException A batch request to retrieve all device positions.
- Parameters:
listDevicePositionsRequest
-- Returns:
- Result of the ListDevicePositions operation returned by the service.
- See Also:
-
listDevicePositions
default 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 viaListDevicePositionsRequest.builder()
- Parameters:
listDevicePositionsRequest
- AConsumer
that will call methods onListDevicePositionsRequest.Builder
to create a request.- Returns:
- Result of the ListDevicePositions operation returned by the service.
- See Also:
-
listDevicePositionsPaginator
default ListDevicePositionsIterable listDevicePositionsPaginator(ListDevicePositionsRequest listDevicePositionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListDevicePositionsIterable responses = client.listDevicePositionsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listDevicePositionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDevicePositionsPaginator
default ListDevicePositionsIterable listDevicePositionsPaginator(Consumer<ListDevicePositionsRequest.Builder> listDevicePositionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListDevicePositionsIterable responses = client.listDevicePositionsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListDevicePositionsRequest.builder()
- Parameters:
listDevicePositionsRequest
- AConsumer
that will call methods onListDevicePositionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listGeofenceCollections
default ListGeofenceCollectionsResponse listGeofenceCollections(ListGeofenceCollectionsRequest listGeofenceCollectionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists geofence collections in your Amazon Web Services account.
- Parameters:
listGeofenceCollectionsRequest
-- Returns:
- Result of the ListGeofenceCollections operation returned by the service.
- See Also:
-
listGeofenceCollections
default ListGeofenceCollectionsResponse listGeofenceCollections(Consumer<ListGeofenceCollectionsRequest.Builder> listGeofenceCollectionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists geofence collections in your Amazon Web Services account.
This is a convenience which creates an instance of the
ListGeofenceCollectionsRequest.Builder
avoiding the need to create one manually viaListGeofenceCollectionsRequest.builder()
- Parameters:
listGeofenceCollectionsRequest
- AConsumer
that will call methods onListGeofenceCollectionsRequest.Builder
to create a request.- Returns:
- Result of the ListGeofenceCollections operation returned by the service.
- See Also:
-
listGeofenceCollectionsPaginator
default ListGeofenceCollectionsIterable listGeofenceCollectionsPaginator(ListGeofenceCollectionsRequest listGeofenceCollectionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client.listGeofenceCollectionsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listGeofenceCollectionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listGeofenceCollectionsPaginator
default ListGeofenceCollectionsIterable listGeofenceCollectionsPaginator(Consumer<ListGeofenceCollectionsRequest.Builder> listGeofenceCollectionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client.listGeofenceCollectionsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListGeofenceCollectionsRequest.builder()
- Parameters:
listGeofenceCollectionsRequest
- AConsumer
that will call methods onListGeofenceCollectionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listGeofences
default ListGeofencesResponse listGeofences(ListGeofencesRequest listGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists geofences stored in a given geofence collection.
- Parameters:
listGeofencesRequest
-- Returns:
- Result of the ListGeofences operation returned by the service.
- See Also:
-
listGeofences
default 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 viaListGeofencesRequest.builder()
- Parameters:
listGeofencesRequest
- AConsumer
that will call methods onListGeofencesRequest.Builder
to create a request.- Returns:
- Result of the ListGeofences operation returned by the service.
- See Also:
-
listGeofencesPaginator
default ListGeofencesIterable listGeofencesPaginator(ListGeofencesRequest listGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(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
listGeofences(software.amazon.awssdk.services.location.model.ListGeofencesRequest)
operation.- Parameters:
listGeofencesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listGeofencesPaginator
default ListGeofencesIterable listGeofencesPaginator(Consumer<ListGeofencesRequest.Builder> listGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(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
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 viaListGeofencesRequest.builder()
- Parameters:
listGeofencesRequest
- AConsumer
that will call methods onListGeofencesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listKeys
default ListKeysResponse listKeys(ListKeysRequest listKeysRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists API key resources in your Amazon Web Services account.
- Parameters:
listKeysRequest
-- Returns:
- Result of the ListKeys operation returned by the service.
- See Also:
-
listKeys
default ListKeysResponse listKeys(Consumer<ListKeysRequest.Builder> listKeysRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists API key resources in your Amazon Web Services account.
This is a convenience which creates an instance of the
ListKeysRequest.Builder
avoiding the need to create one manually viaListKeysRequest.builder()
- Parameters:
listKeysRequest
- AConsumer
that will call methods onListKeysRequest.Builder
to create a request.- Returns:
- Result of the ListKeys operation returned by the service.
- See Also:
-
listKeysPaginator
default ListKeysIterable listKeysPaginator(ListKeysRequest listKeysRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException This is a variant of
listKeys(software.amazon.awssdk.services.location.model.ListKeysRequest)
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 Streamsoftware.amazon.awssdk.services.location.paginators.ListKeysIterable responses = client.listKeysPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.location.paginators.ListKeysIterable responses = client.listKeysPaginator(request); for (software.amazon.awssdk.services.location.model.ListKeysResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.location.paginators.ListKeysIterable responses = client.listKeysPaginator(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
listKeys(software.amazon.awssdk.services.location.model.ListKeysRequest)
operation.- Parameters:
listKeysRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listKeysPaginator
default ListKeysIterable listKeysPaginator(Consumer<ListKeysRequest.Builder> listKeysRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException This is a variant of
listKeys(software.amazon.awssdk.services.location.model.ListKeysRequest)
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 Streamsoftware.amazon.awssdk.services.location.paginators.ListKeysIterable responses = client.listKeysPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.location.paginators.ListKeysIterable responses = client.listKeysPaginator(request); for (software.amazon.awssdk.services.location.model.ListKeysResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.location.paginators.ListKeysIterable responses = client.listKeysPaginator(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
listKeys(software.amazon.awssdk.services.location.model.ListKeysRequest)
operation.
This is a convenience which creates an instance of the
ListKeysRequest.Builder
avoiding the need to create one manually viaListKeysRequest.builder()
- Parameters:
listKeysRequest
- AConsumer
that will call methods onListKeysRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMaps
default ListMapsResponse listMaps(ListMapsRequest listMapsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists map resources in your Amazon Web Services account.
- Parameters:
listMapsRequest
-- Returns:
- Result of the ListMaps operation returned by the service.
- See Also:
-
listMaps
default ListMapsResponse listMaps(Consumer<ListMapsRequest.Builder> listMapsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists map resources in your Amazon Web Services account.
This is a convenience which creates an instance of the
ListMapsRequest.Builder
avoiding the need to create one manually viaListMapsRequest.builder()
- Parameters:
listMapsRequest
- AConsumer
that will call methods onListMapsRequest.Builder
to create a request.- Returns:
- Result of the ListMaps operation returned by the service.
- See Also:
-
listMapsPaginator
default ListMapsIterable listMapsPaginator(ListMapsRequest listMapsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listMapsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMapsPaginator
default ListMapsIterable listMapsPaginator(Consumer<ListMapsRequest.Builder> listMapsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListMapsRequest.builder()
- Parameters:
listMapsRequest
- AConsumer
that will call methods onListMapsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPlaceIndexes
default ListPlaceIndexesResponse listPlaceIndexes(ListPlaceIndexesRequest listPlaceIndexesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists place index resources in your Amazon Web Services account.
- Parameters:
listPlaceIndexesRequest
-- Returns:
- Result of the ListPlaceIndexes operation returned by the service.
- See Also:
-
listPlaceIndexes
default ListPlaceIndexesResponse listPlaceIndexes(Consumer<ListPlaceIndexesRequest.Builder> listPlaceIndexesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists place index resources in your Amazon Web Services account.
This is a convenience which creates an instance of the
ListPlaceIndexesRequest.Builder
avoiding the need to create one manually viaListPlaceIndexesRequest.builder()
- Parameters:
listPlaceIndexesRequest
- AConsumer
that will call methods onListPlaceIndexesRequest.Builder
to create a request.- Returns:
- Result of the ListPlaceIndexes operation returned by the service.
- See Also:
-
listPlaceIndexesPaginator
default ListPlaceIndexesIterable listPlaceIndexesPaginator(ListPlaceIndexesRequest listPlaceIndexesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client.listPlaceIndexesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listPlaceIndexesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPlaceIndexesPaginator
default ListPlaceIndexesIterable listPlaceIndexesPaginator(Consumer<ListPlaceIndexesRequest.Builder> listPlaceIndexesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client.listPlaceIndexesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListPlaceIndexesRequest.builder()
- Parameters:
listPlaceIndexesRequest
- AConsumer
that will call methods onListPlaceIndexesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRouteCalculators
default ListRouteCalculatorsResponse listRouteCalculators(ListRouteCalculatorsRequest listRouteCalculatorsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists route calculator resources in your Amazon Web Services account.
- Parameters:
listRouteCalculatorsRequest
-- Returns:
- Result of the ListRouteCalculators operation returned by the service.
- See Also:
-
listRouteCalculators
default ListRouteCalculatorsResponse listRouteCalculators(Consumer<ListRouteCalculatorsRequest.Builder> listRouteCalculatorsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists route calculator resources in your Amazon Web Services account.
This is a convenience which creates an instance of the
ListRouteCalculatorsRequest.Builder
avoiding the need to create one manually viaListRouteCalculatorsRequest.builder()
- Parameters:
listRouteCalculatorsRequest
- AConsumer
that will call methods onListRouteCalculatorsRequest.Builder
to create a request.- Returns:
- Result of the ListRouteCalculators operation returned by the service.
- See Also:
-
listRouteCalculatorsPaginator
default ListRouteCalculatorsIterable listRouteCalculatorsPaginator(ListRouteCalculatorsRequest listRouteCalculatorsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListRouteCalculatorsIterable responses = client.listRouteCalculatorsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listRouteCalculatorsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRouteCalculatorsPaginator
default ListRouteCalculatorsIterable listRouteCalculatorsPaginator(Consumer<ListRouteCalculatorsRequest.Builder> listRouteCalculatorsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListRouteCalculatorsIterable responses = client.listRouteCalculatorsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListRouteCalculatorsRequest.builder()
- Parameters:
listRouteCalculatorsRequest
- AConsumer
that will call methods onListRouteCalculatorsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default 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.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default 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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTrackerConsumers
default ListTrackerConsumersResponse listTrackerConsumers(ListTrackerConsumersRequest listTrackerConsumersRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists geofence collections currently associated to the given tracker resource.
- Parameters:
listTrackerConsumersRequest
-- Returns:
- Result of the ListTrackerConsumers operation returned by the service.
- See Also:
-
listTrackerConsumers
default 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 viaListTrackerConsumersRequest.builder()
- Parameters:
listTrackerConsumersRequest
- AConsumer
that will call methods onListTrackerConsumersRequest.Builder
to create a request.- Returns:
- Result of the ListTrackerConsumers operation returned by the service.
- See Also:
-
listTrackerConsumersPaginator
default ListTrackerConsumersIterable listTrackerConsumersPaginator(ListTrackerConsumersRequest listTrackerConsumersRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client.listTrackerConsumersPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listTrackerConsumersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTrackerConsumersPaginator
default ListTrackerConsumersIterable listTrackerConsumersPaginator(Consumer<ListTrackerConsumersRequest.Builder> listTrackerConsumersRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client.listTrackerConsumersPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListTrackerConsumersRequest.builder()
- Parameters:
listTrackerConsumersRequest
- AConsumer
that will call methods onListTrackerConsumersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTrackers
default ListTrackersResponse listTrackers(ListTrackersRequest listTrackersRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists tracker resources in your Amazon Web Services account.
- Parameters:
listTrackersRequest
-- Returns:
- Result of the ListTrackers operation returned by the service.
- See Also:
-
listTrackers
default ListTrackersResponse listTrackers(Consumer<ListTrackersRequest.Builder> listTrackersRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Lists tracker resources in your Amazon Web Services account.
This is a convenience which creates an instance of the
ListTrackersRequest.Builder
avoiding the need to create one manually viaListTrackersRequest.builder()
- Parameters:
listTrackersRequest
- AConsumer
that will call methods onListTrackersRequest.Builder
to create a request.- Returns:
- Result of the ListTrackers operation returned by the service.
- See Also:
-
listTrackersPaginator
default ListTrackersIterable listTrackersPaginator(ListTrackersRequest listTrackersRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listTrackersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTrackersPaginator
default ListTrackersIterable listTrackersPaginator(Consumer<ListTrackersRequest.Builder> listTrackersRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException 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 Streamsoftware.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListTrackersRequest.builder()
- Parameters:
listTrackersRequest
- AConsumer
that will call methods onListTrackersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
putGeofence
default 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.
- Parameters:
putGeofenceRequest
-- Returns:
- Result of the PutGeofence operation returned by the service.
- See Also:
-
putGeofence
default 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 viaPutGeofenceRequest.builder()
- Parameters:
putGeofenceRequest
- AConsumer
that will call methods onPutGeofenceRequest.Builder
to create a request.- Returns:
- Result of the PutGeofence operation returned by the service.
- See Also:
-
searchPlaceIndexForPosition
default 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.
- Parameters:
searchPlaceIndexForPositionRequest
-- Returns:
- Result of the SearchPlaceIndexForPosition operation returned by the service.
- See Also:
-
searchPlaceIndexForPosition
default 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 viaSearchPlaceIndexForPositionRequest.builder()
- Parameters:
searchPlaceIndexForPositionRequest
- AConsumer
that will call methods onSearchPlaceIndexForPositionRequest.Builder
to create a request.- Returns:
- Result of the SearchPlaceIndexForPosition operation returned by the service.
- See Also:
-
searchPlaceIndexForSuggestions
default SearchPlaceIndexForSuggestionsResponse searchPlaceIndexForSuggestions(SearchPlaceIndexForSuggestionsRequest searchPlaceIndexForSuggestionsRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Generates suggestions for addresses and points of interest based on partial or misspelled free-form text. This operation is also known as autocomplete, autosuggest, or fuzzy matching.
Optional parameters let you narrow your search results by bounding box or country, or bias your search toward a specific position on the globe.
You can search for suggested place names near a specified position by using
BiasPosition
, or filter results within a bounding box by usingFilterBBox
. These parameters are mutually exclusive; using bothBiasPosition
andFilterBBox
in the same command returns an error.- Parameters:
searchPlaceIndexForSuggestionsRequest
-- Returns:
- Result of the SearchPlaceIndexForSuggestions operation returned by the service.
- See Also:
-
searchPlaceIndexForSuggestions
default SearchPlaceIndexForSuggestionsResponse searchPlaceIndexForSuggestions(Consumer<SearchPlaceIndexForSuggestionsRequest.Builder> searchPlaceIndexForSuggestionsRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Generates suggestions for addresses and points of interest based on partial or misspelled free-form text. This operation is also known as autocomplete, autosuggest, or fuzzy matching.
Optional parameters let you narrow your search results by bounding box or country, or bias your search toward a specific position on the globe.
You can search for suggested place names near a specified position by using
BiasPosition
, or filter results within a bounding box by usingFilterBBox
. These parameters are mutually exclusive; using bothBiasPosition
andFilterBBox
in the same command returns an error.
This is a convenience which creates an instance of the
SearchPlaceIndexForSuggestionsRequest.Builder
avoiding the need to create one manually viaSearchPlaceIndexForSuggestionsRequest.builder()
- Parameters:
searchPlaceIndexForSuggestionsRequest
- AConsumer
that will call methods onSearchPlaceIndexForSuggestionsRequest.Builder
to create a request.- Returns:
- Result of the SearchPlaceIndexForSuggestions operation returned by the service.
- See Also:
-
searchPlaceIndexForText
default 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.
Optional parameters let you narrow your search results by bounding box or country, or bias your search toward a specific position on the globe.
You can search for places near a given position using
BiasPosition
, or filter results within a bounding box usingFilterBBox
. Providing both parameters simultaneously returns an error.Search results are returned in order of highest to lowest relevance.
- Parameters:
searchPlaceIndexForTextRequest
-- Returns:
- Result of the SearchPlaceIndexForText operation returned by the service.
- See Also:
-
searchPlaceIndexForText
default 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.
Optional parameters let you narrow your search results by bounding box or country, or bias your search toward a specific position on the globe.
You can search for places near a given position using
BiasPosition
, or filter results within a bounding box usingFilterBBox
. Providing both parameters simultaneously returns an error.Search results are returned in order of highest to lowest relevance.
This is a convenience which creates an instance of the
SearchPlaceIndexForTextRequest.Builder
avoiding the need to create one manually viaSearchPlaceIndexForTextRequest.builder()
- Parameters:
searchPlaceIndexForTextRequest
- AConsumer
that will call methods onSearchPlaceIndexForTextRequest.Builder
to create a request.- Returns:
- Result of the SearchPlaceIndexForText operation returned by the service.
- See Also:
-
tagResource
default 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.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.
You can use the
TagResource
operation with an Amazon Location Service resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the tags already associated with the resource. If you specify a tag key that's already associated with the resource, the new tag value that you specify replaces the previous value for that tag.You can associate up to 50 tags with a resource.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default 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.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.
You can use the
TagResource
operation with an Amazon Location Service resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the tags already associated with the resource. If you specify a tag key that's already associated with the resource, the new tag value that you specify replaces the previous value for that tag.You can associate up to 50 tags with a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Removes one or more tags from the specified Amazon Location resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default 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 viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateGeofenceCollection
default UpdateGeofenceCollectionResponse updateGeofenceCollection(UpdateGeofenceCollectionRequest updateGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Updates the specified properties of a given geofence collection.
- Parameters:
updateGeofenceCollectionRequest
-- Returns:
- Result of the UpdateGeofenceCollection operation returned by the service.
- See Also:
-
updateGeofenceCollection
default 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 viaUpdateGeofenceCollectionRequest.builder()
- Parameters:
updateGeofenceCollectionRequest
- AConsumer
that will call methods onUpdateGeofenceCollectionRequest.Builder
to create a request.- Returns:
- Result of the UpdateGeofenceCollection operation returned by the service.
- See Also:
-
updateKey
default UpdateKeyResponse updateKey(UpdateKeyRequest updateKeyRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Updates the specified properties of a given API key resource.
- Parameters:
updateKeyRequest
-- Returns:
- Result of the UpdateKey operation returned by the service.
- See Also:
-
updateKey
default UpdateKeyResponse updateKey(Consumer<UpdateKeyRequest.Builder> updateKeyRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Updates the specified properties of a given API key resource.
This is a convenience which creates an instance of the
UpdateKeyRequest.Builder
avoiding the need to create one manually viaUpdateKeyRequest.builder()
- Parameters:
updateKeyRequest
- AConsumer
that will call methods onUpdateKeyRequest.Builder
to create a request.- Returns:
- Result of the UpdateKey operation returned by the service.
- See Also:
-
updateMap
default UpdateMapResponse updateMap(UpdateMapRequest updateMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Updates the specified properties of a given map resource.
- Parameters:
updateMapRequest
-- Returns:
- Result of the UpdateMap operation returned by the service.
- See Also:
-
updateMap
default 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 viaUpdateMapRequest.builder()
- Parameters:
updateMapRequest
- AConsumer
that will call methods onUpdateMapRequest.Builder
to create a request.- Returns:
- Result of the UpdateMap operation returned by the service.
- See Also:
-
updatePlaceIndex
default UpdatePlaceIndexResponse updatePlaceIndex(UpdatePlaceIndexRequest updatePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Updates the specified properties of a given place index resource.
- Parameters:
updatePlaceIndexRequest
-- Returns:
- Result of the UpdatePlaceIndex operation returned by the service.
- See Also:
-
updatePlaceIndex
default 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 viaUpdatePlaceIndexRequest.builder()
- Parameters:
updatePlaceIndexRequest
- AConsumer
that will call methods onUpdatePlaceIndexRequest.Builder
to create a request.- Returns:
- Result of the UpdatePlaceIndex operation returned by the service.
- See Also:
-
updateRouteCalculator
default UpdateRouteCalculatorResponse updateRouteCalculator(UpdateRouteCalculatorRequest updateRouteCalculatorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Updates the specified properties for a given route calculator resource.
- Parameters:
updateRouteCalculatorRequest
-- Returns:
- Result of the UpdateRouteCalculator operation returned by the service.
- See Also:
-
updateRouteCalculator
default 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 viaUpdateRouteCalculatorRequest.builder()
- Parameters:
updateRouteCalculatorRequest
- AConsumer
that will call methods onUpdateRouteCalculatorRequest.Builder
to create a request.- Returns:
- Result of the UpdateRouteCalculator operation returned by the service.
- See Also:
-
updateTracker
default UpdateTrackerResponse updateTracker(UpdateTrackerRequest updateTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException Updates the specified properties of a given tracker resource.
- Parameters:
updateTrackerRequest
-- Returns:
- Result of the UpdateTracker operation returned by the service.
- See Also:
-
updateTracker
default 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 viaUpdateTrackerRequest.builder()
- Parameters:
updateTrackerRequest
- AConsumer
that will call methods onUpdateTrackerRequest.Builder
to create a request.- Returns:
- Result of the UpdateTracker operation returned by the service.
- See Also:
-
create
Create aLocationClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aLocationClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-