All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.location.LocationClient Maven / Gradle / Ivy

/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.location;

import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.location.model.AccessDeniedException;
import software.amazon.awssdk.services.location.model.AssociateTrackerConsumerRequest;
import software.amazon.awssdk.services.location.model.AssociateTrackerConsumerResponse;
import software.amazon.awssdk.services.location.model.BatchDeleteGeofenceRequest;
import software.amazon.awssdk.services.location.model.BatchDeleteGeofenceResponse;
import software.amazon.awssdk.services.location.model.BatchEvaluateGeofencesRequest;
import software.amazon.awssdk.services.location.model.BatchEvaluateGeofencesResponse;
import software.amazon.awssdk.services.location.model.BatchGetDevicePositionRequest;
import software.amazon.awssdk.services.location.model.BatchGetDevicePositionResponse;
import software.amazon.awssdk.services.location.model.BatchPutGeofenceRequest;
import software.amazon.awssdk.services.location.model.BatchPutGeofenceResponse;
import software.amazon.awssdk.services.location.model.BatchUpdateDevicePositionRequest;
import software.amazon.awssdk.services.location.model.BatchUpdateDevicePositionResponse;
import software.amazon.awssdk.services.location.model.ConflictException;
import software.amazon.awssdk.services.location.model.CreateGeofenceCollectionRequest;
import software.amazon.awssdk.services.location.model.CreateGeofenceCollectionResponse;
import software.amazon.awssdk.services.location.model.CreateMapRequest;
import software.amazon.awssdk.services.location.model.CreateMapResponse;
import software.amazon.awssdk.services.location.model.CreatePlaceIndexRequest;
import software.amazon.awssdk.services.location.model.CreatePlaceIndexResponse;
import software.amazon.awssdk.services.location.model.CreateTrackerRequest;
import software.amazon.awssdk.services.location.model.CreateTrackerResponse;
import software.amazon.awssdk.services.location.model.DeleteGeofenceCollectionRequest;
import software.amazon.awssdk.services.location.model.DeleteGeofenceCollectionResponse;
import software.amazon.awssdk.services.location.model.DeleteMapRequest;
import software.amazon.awssdk.services.location.model.DeleteMapResponse;
import software.amazon.awssdk.services.location.model.DeletePlaceIndexRequest;
import software.amazon.awssdk.services.location.model.DeletePlaceIndexResponse;
import software.amazon.awssdk.services.location.model.DeleteTrackerRequest;
import software.amazon.awssdk.services.location.model.DeleteTrackerResponse;
import software.amazon.awssdk.services.location.model.DescribeGeofenceCollectionRequest;
import software.amazon.awssdk.services.location.model.DescribeGeofenceCollectionResponse;
import software.amazon.awssdk.services.location.model.DescribeMapRequest;
import software.amazon.awssdk.services.location.model.DescribeMapResponse;
import software.amazon.awssdk.services.location.model.DescribePlaceIndexRequest;
import software.amazon.awssdk.services.location.model.DescribePlaceIndexResponse;
import software.amazon.awssdk.services.location.model.DescribeTrackerRequest;
import software.amazon.awssdk.services.location.model.DescribeTrackerResponse;
import software.amazon.awssdk.services.location.model.DisassociateTrackerConsumerRequest;
import software.amazon.awssdk.services.location.model.DisassociateTrackerConsumerResponse;
import software.amazon.awssdk.services.location.model.GetDevicePositionHistoryRequest;
import software.amazon.awssdk.services.location.model.GetDevicePositionHistoryResponse;
import software.amazon.awssdk.services.location.model.GetDevicePositionRequest;
import software.amazon.awssdk.services.location.model.GetDevicePositionResponse;
import software.amazon.awssdk.services.location.model.GetGeofenceRequest;
import software.amazon.awssdk.services.location.model.GetGeofenceResponse;
import software.amazon.awssdk.services.location.model.GetMapGlyphsRequest;
import software.amazon.awssdk.services.location.model.GetMapGlyphsResponse;
import software.amazon.awssdk.services.location.model.GetMapSpritesRequest;
import software.amazon.awssdk.services.location.model.GetMapSpritesResponse;
import software.amazon.awssdk.services.location.model.GetMapStyleDescriptorRequest;
import software.amazon.awssdk.services.location.model.GetMapStyleDescriptorResponse;
import software.amazon.awssdk.services.location.model.GetMapTileRequest;
import software.amazon.awssdk.services.location.model.GetMapTileResponse;
import software.amazon.awssdk.services.location.model.InternalServerException;
import software.amazon.awssdk.services.location.model.ListGeofenceCollectionsRequest;
import software.amazon.awssdk.services.location.model.ListGeofenceCollectionsResponse;
import software.amazon.awssdk.services.location.model.ListGeofencesRequest;
import software.amazon.awssdk.services.location.model.ListGeofencesResponse;
import software.amazon.awssdk.services.location.model.ListMapsRequest;
import software.amazon.awssdk.services.location.model.ListMapsResponse;
import software.amazon.awssdk.services.location.model.ListPlaceIndexesRequest;
import software.amazon.awssdk.services.location.model.ListPlaceIndexesResponse;
import software.amazon.awssdk.services.location.model.ListTrackerConsumersRequest;
import software.amazon.awssdk.services.location.model.ListTrackerConsumersResponse;
import software.amazon.awssdk.services.location.model.ListTrackersRequest;
import software.amazon.awssdk.services.location.model.ListTrackersResponse;
import software.amazon.awssdk.services.location.model.LocationException;
import software.amazon.awssdk.services.location.model.PutGeofenceRequest;
import software.amazon.awssdk.services.location.model.PutGeofenceResponse;
import software.amazon.awssdk.services.location.model.ResourceNotFoundException;
import software.amazon.awssdk.services.location.model.SearchPlaceIndexForPositionRequest;
import software.amazon.awssdk.services.location.model.SearchPlaceIndexForPositionResponse;
import software.amazon.awssdk.services.location.model.SearchPlaceIndexForTextRequest;
import software.amazon.awssdk.services.location.model.SearchPlaceIndexForTextResponse;
import software.amazon.awssdk.services.location.model.ThrottlingException;
import software.amazon.awssdk.services.location.model.ValidationException;
import software.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable;
import software.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable;
import software.amazon.awssdk.services.location.paginators.ListGeofencesIterable;
import software.amazon.awssdk.services.location.paginators.ListMapsIterable;
import software.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable;
import software.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable;
import software.amazon.awssdk.services.location.paginators.ListTrackersIterable;

/**
 * Service client for accessing Amazon Location Service. This can be created using the static {@link #builder()} method.
 *
 * 

* Suite of geospatial services including Maps, Places, Tracking, and Geofencing *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface LocationClient extends SdkClient { String SERVICE_NAME = "geo"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "geo"; /** * Create a {@link LocationClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static LocationClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link LocationClient}. */ static LocationClientBuilder builder() { return new DefaultLocationClientBuilder(); } /** *

* 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. *

* *

* Currently not supported — Cross-account configurations, such as creating associations between a tracker resource * in one account and a geofence collection in another account. *

*
* * @param associateTrackerConsumerRequest * @return Result of the AssociateTrackerConsumer operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws ConflictException * The request was unsuccessful due to a conflict. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.AssociateTrackerConsumer * @see AWS API Documentation */ default AssociateTrackerConsumerResponse associateTrackerConsumer( AssociateTrackerConsumerRequest associateTrackerConsumerRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* 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. *

* *

* 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 {@link AssociateTrackerConsumerRequest.Builder} avoiding * the need to create one manually via {@link AssociateTrackerConsumerRequest#builder()} *

* * @param associateTrackerConsumerRequest * A {@link Consumer} that will call methods on {@link AssociateTrackerConsumerRequest.Builder} to create a * request. * @return Result of the AssociateTrackerConsumer operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws ConflictException * The request was unsuccessful due to a conflict. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.AssociateTrackerConsumer * @see AWS API Documentation */ default AssociateTrackerConsumerResponse associateTrackerConsumer( Consumer associateTrackerConsumerRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return associateTrackerConsumer(AssociateTrackerConsumerRequest.builder().applyMutation(associateTrackerConsumerRequest) .build()); } /** *

* Deletes a batch of geofences from a geofence collection. *

* *

* This action deletes the resource permanently. You can't undo this action. *

*
* * @param batchDeleteGeofenceRequest * @return Result of the BatchDeleteGeofence operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.BatchDeleteGeofence * @see AWS * API Documentation */ default BatchDeleteGeofenceResponse batchDeleteGeofence(BatchDeleteGeofenceRequest batchDeleteGeofenceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Deletes a batch of geofences from a geofence collection. *

* *

* This action deletes the resource permanently. You can't undo this action. *

*

*

* This is a convenience which creates an instance of the {@link BatchDeleteGeofenceRequest.Builder} avoiding the * need to create one manually via {@link BatchDeleteGeofenceRequest#builder()} *

* * @param batchDeleteGeofenceRequest * A {@link Consumer} that will call methods on {@link BatchDeleteGeofenceRequest.Builder} to create a * request. * @return Result of the BatchDeleteGeofence operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.BatchDeleteGeofence * @see AWS * API Documentation */ default BatchDeleteGeofenceResponse batchDeleteGeofence( Consumer batchDeleteGeofenceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return batchDeleteGeofence(BatchDeleteGeofenceRequest.builder().applyMutation(batchDeleteGeofenceRequest).build()); } /** *

* Evaluates device positions against the geofence geometries from a given geofence collection. The evaluation * determines if the device has entered or exited a geofenced area, which publishes ENTER or EXIT geofence events to * Amazon EventBridge. *

* *

* The last geofence that a device was observed within, if any, is tracked for 30 days after the most recent device * position update *

*
* * @param batchEvaluateGeofencesRequest * @return Result of the BatchEvaluateGeofences operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.BatchEvaluateGeofences * @see AWS API Documentation */ default BatchEvaluateGeofencesResponse batchEvaluateGeofences(BatchEvaluateGeofencesRequest batchEvaluateGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Evaluates device positions against the geofence geometries from a given geofence collection. The evaluation * determines if the device has entered or exited a geofenced area, which publishes ENTER or EXIT geofence events to * Amazon EventBridge. *

* *

* The last geofence that a device was observed within, if any, is tracked for 30 days after the most recent device * position update *

*

*

* This is a convenience which creates an instance of the {@link BatchEvaluateGeofencesRequest.Builder} avoiding the * need to create one manually via {@link BatchEvaluateGeofencesRequest#builder()} *

* * @param batchEvaluateGeofencesRequest * A {@link Consumer} that will call methods on {@link BatchEvaluateGeofencesRequest.Builder} to create a * request. * @return Result of the BatchEvaluateGeofences operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.BatchEvaluateGeofences * @see AWS API Documentation */ default BatchEvaluateGeofencesResponse batchEvaluateGeofences( Consumer batchEvaluateGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return batchEvaluateGeofences(BatchEvaluateGeofencesRequest.builder().applyMutation(batchEvaluateGeofencesRequest) .build()); } /** *

* A batch request to retrieve all device positions. *

* * @param batchGetDevicePositionRequest * @return Result of the BatchGetDevicePosition operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.BatchGetDevicePosition * @see AWS API Documentation */ default BatchGetDevicePositionResponse batchGetDevicePosition(BatchGetDevicePositionRequest batchGetDevicePositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* A batch request to retrieve all device positions. *

*
*

* This is a convenience which creates an instance of the {@link BatchGetDevicePositionRequest.Builder} avoiding the * need to create one manually via {@link BatchGetDevicePositionRequest#builder()} *

* * @param batchGetDevicePositionRequest * A {@link Consumer} that will call methods on {@link BatchGetDevicePositionRequest.Builder} to create a * request. * @return Result of the BatchGetDevicePosition operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.BatchGetDevicePosition * @see AWS API Documentation */ default BatchGetDevicePositionResponse batchGetDevicePosition( Consumer batchGetDevicePositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return batchGetDevicePosition(BatchGetDevicePositionRequest.builder().applyMutation(batchGetDevicePositionRequest) .build()); } /** *

* A batch request for storing geofence geometries into a given geofence collection. *

* * @param batchPutGeofenceRequest * @return Result of the BatchPutGeofence operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.BatchPutGeofence * @see AWS API * Documentation */ default BatchPutGeofenceResponse batchPutGeofence(BatchPutGeofenceRequest batchPutGeofenceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* A batch request for storing geofence geometries into a given geofence collection. *

*
*

* This is a convenience which creates an instance of the {@link BatchPutGeofenceRequest.Builder} avoiding the need * to create one manually via {@link BatchPutGeofenceRequest#builder()} *

* * @param batchPutGeofenceRequest * A {@link Consumer} that will call methods on {@link BatchPutGeofenceRequest.Builder} to create a request. * @return Result of the BatchPutGeofence operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.BatchPutGeofence * @see AWS API * Documentation */ default BatchPutGeofenceResponse batchPutGeofence(Consumer batchPutGeofenceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return batchPutGeofence(BatchPutGeofenceRequest.builder().applyMutation(batchPutGeofenceRequest).build()); } /** *

* Uploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when * reporting the last known device position and position history. *

* *

* Only one position update is stored per sample time. Location data is sampled at a fixed rate of one position per * 30-second interval, and retained for one year before it is deleted. *

*
* * @param batchUpdateDevicePositionRequest * @return Result of the BatchUpdateDevicePosition operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.BatchUpdateDevicePosition * @see AWS API Documentation */ default BatchUpdateDevicePositionResponse batchUpdateDevicePosition( BatchUpdateDevicePositionRequest batchUpdateDevicePositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Uploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when * reporting the last known device position and position history. *

* *

* Only one position update is stored per sample time. Location data is sampled at a fixed rate of one position per * 30-second interval, and retained for one year before it is deleted. *

*

*

* This is a convenience which creates an instance of the {@link BatchUpdateDevicePositionRequest.Builder} avoiding * the need to create one manually via {@link BatchUpdateDevicePositionRequest#builder()} *

* * @param batchUpdateDevicePositionRequest * A {@link Consumer} that will call methods on {@link BatchUpdateDevicePositionRequest.Builder} to create a * request. * @return Result of the BatchUpdateDevicePosition operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.BatchUpdateDevicePosition * @see AWS API Documentation */ default BatchUpdateDevicePositionResponse batchUpdateDevicePosition( Consumer batchUpdateDevicePositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return batchUpdateDevicePosition(BatchUpdateDevicePositionRequest.builder() .applyMutation(batchUpdateDevicePositionRequest).build()); } /** *

* Creates a geofence collection, which manages and stores geofences. *

* * @param createGeofenceCollectionRequest * @return Result of the CreateGeofenceCollection operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ConflictException * The request was unsuccessful due to a conflict. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.CreateGeofenceCollection * @see AWS API Documentation */ default CreateGeofenceCollectionResponse createGeofenceCollection( CreateGeofenceCollectionRequest createGeofenceCollectionRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Creates a geofence collection, which manages and stores geofences. *

*
*

* This is a convenience which creates an instance of the {@link CreateGeofenceCollectionRequest.Builder} avoiding * the need to create one manually via {@link CreateGeofenceCollectionRequest#builder()} *

* * @param createGeofenceCollectionRequest * A {@link Consumer} that will call methods on {@link CreateGeofenceCollectionRequest.Builder} to create a * request. * @return Result of the CreateGeofenceCollection operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ConflictException * The request was unsuccessful due to a conflict. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.CreateGeofenceCollection * @see AWS API Documentation */ default CreateGeofenceCollectionResponse createGeofenceCollection( Consumer createGeofenceCollectionRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return createGeofenceCollection(CreateGeofenceCollectionRequest.builder().applyMutation(createGeofenceCollectionRequest) .build()); } /** *

* Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global * location data providers. *

* *

* By using Maps, you agree that AWS may transmit your API queries to your selected third party provider for * processing, which may be outside the AWS region you are currently using. For more information, see the AWS Service Terms for Amazon Location Service. *

*
* * @param createMapRequest * @return Result of the CreateMap operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ConflictException * The request was unsuccessful due to a conflict. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.CreateMap * @see AWS API * Documentation */ default CreateMapResponse createMap(CreateMapRequest createMapRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global * location data providers. *

* *

* By using Maps, you agree that AWS may transmit your API queries to your selected third party provider for * processing, which may be outside the AWS region you are currently using. For more information, see the AWS Service Terms for Amazon Location Service. *

*

*

* This is a convenience which creates an instance of the {@link CreateMapRequest.Builder} avoiding the need to * create one manually via {@link CreateMapRequest#builder()} *

* * @param createMapRequest * A {@link Consumer} that will call methods on {@link CreateMapRequest.Builder} to create a request. * @return Result of the CreateMap operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ConflictException * The request was unsuccessful due to a conflict. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.CreateMap * @see AWS API * Documentation */ default CreateMapResponse createMap(Consumer createMapRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return createMap(CreateMapRequest.builder().applyMutation(createMapRequest).build()); } /** *

* Creates a Place index resource in your AWS account, which supports Places functions with geospatial data sourced * from your chosen data provider. *

* *

* By using Places, you agree that AWS may transmit your API queries to your selected third party provider for * processing, which may be outside the AWS region you are currently using. *

*

* Because of licensing limitations, you may not use HERE to store results for locations in Japan. For more * information, see the AWS Service Terms for Amazon Location * Service. *

*
* * @param createPlaceIndexRequest * @return Result of the CreatePlaceIndex operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ConflictException * The request was unsuccessful due to a conflict. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.CreatePlaceIndex * @see AWS API * Documentation */ default CreatePlaceIndexResponse createPlaceIndex(CreatePlaceIndexRequest createPlaceIndexRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Creates a Place index resource in your AWS account, which supports Places functions with geospatial data sourced * from your chosen data provider. *

* *

* By using Places, you agree that AWS may transmit your API queries to your selected third party provider for * processing, which may be outside the AWS region you are currently using. *

*

* Because of licensing limitations, you may not use HERE to store results for locations in Japan. For more * information, see the AWS Service Terms for Amazon Location * Service. *

*

*

* This is a convenience which creates an instance of the {@link CreatePlaceIndexRequest.Builder} avoiding the need * to create one manually via {@link CreatePlaceIndexRequest#builder()} *

* * @param createPlaceIndexRequest * A {@link Consumer} that will call methods on {@link CreatePlaceIndexRequest.Builder} to create a request. * @return Result of the CreatePlaceIndex operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ConflictException * The request was unsuccessful due to a conflict. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.CreatePlaceIndex * @see AWS API * Documentation */ default CreatePlaceIndexResponse createPlaceIndex(Consumer createPlaceIndexRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return createPlaceIndex(CreatePlaceIndexRequest.builder().applyMutation(createPlaceIndexRequest).build()); } /** *

* Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of * devices. *

* * @param createTrackerRequest * @return Result of the CreateTracker operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ConflictException * The request was unsuccessful due to a conflict. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.CreateTracker * @see AWS API * Documentation */ default CreateTrackerResponse createTracker(CreateTrackerRequest createTrackerRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of * devices. *

*
*

* This is a convenience which creates an instance of the {@link CreateTrackerRequest.Builder} avoiding the need to * create one manually via {@link CreateTrackerRequest#builder()} *

* * @param createTrackerRequest * A {@link Consumer} that will call methods on {@link CreateTrackerRequest.Builder} to create a request. * @return Result of the CreateTracker operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ConflictException * The request was unsuccessful due to a conflict. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.CreateTracker * @see AWS API * Documentation */ default CreateTrackerResponse createTracker(Consumer createTrackerRequest) throws InternalServerException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return createTracker(CreateTrackerRequest.builder().applyMutation(createTrackerRequest).build()); } /** *

* Deletes a geofence collection from your AWS account. *

* *

* This action deletes the resource permanently. You can't undo this action. If the geofence collection is the * target of a tracker resource, the devices will no longer be monitored. *

*
* * @param deleteGeofenceCollectionRequest * @return Result of the DeleteGeofenceCollection operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DeleteGeofenceCollection * @see AWS API Documentation */ default DeleteGeofenceCollectionResponse deleteGeofenceCollection( DeleteGeofenceCollectionRequest deleteGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Deletes a geofence collection from your AWS account. *

* *

* This action deletes the resource permanently. You can't undo this action. If the geofence collection is the * target of a tracker resource, the devices will no longer be monitored. *

*

*

* This is a convenience which creates an instance of the {@link DeleteGeofenceCollectionRequest.Builder} avoiding * the need to create one manually via {@link DeleteGeofenceCollectionRequest#builder()} *

* * @param deleteGeofenceCollectionRequest * A {@link Consumer} that will call methods on {@link DeleteGeofenceCollectionRequest.Builder} to create a * request. * @return Result of the DeleteGeofenceCollection operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DeleteGeofenceCollection * @see AWS API Documentation */ default DeleteGeofenceCollectionResponse deleteGeofenceCollection( Consumer deleteGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return deleteGeofenceCollection(DeleteGeofenceCollectionRequest.builder().applyMutation(deleteGeofenceCollectionRequest) .build()); } /** *

* Deletes a map resource from your AWS account. *

* *

* This action deletes the resource permanently. You cannot undo this action. If the map is being used in an * application, the map may not render. *

*
* * @param deleteMapRequest * @return Result of the DeleteMap operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DeleteMap * @see AWS API * Documentation */ default DeleteMapResponse deleteMap(DeleteMapRequest deleteMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Deletes a map resource from your AWS account. *

* *

* This action deletes the resource permanently. You cannot undo this action. If the map is being used in an * application, the map may not render. *

*

*

* This is a convenience which creates an instance of the {@link DeleteMapRequest.Builder} avoiding the need to * create one manually via {@link DeleteMapRequest#builder()} *

* * @param deleteMapRequest * A {@link Consumer} that will call methods on {@link DeleteMapRequest.Builder} to create a request. * @return Result of the DeleteMap operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DeleteMap * @see AWS API * Documentation */ default DeleteMapResponse deleteMap(Consumer deleteMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return deleteMap(DeleteMapRequest.builder().applyMutation(deleteMapRequest).build()); } /** *

* Deletes a Place index resource from your AWS account. *

* *

* This action deletes the resource permanently. You cannot undo this action. *

*
* * @param deletePlaceIndexRequest * @return Result of the DeletePlaceIndex operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DeletePlaceIndex * @see AWS API * Documentation */ default DeletePlaceIndexResponse deletePlaceIndex(DeletePlaceIndexRequest deletePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Deletes a Place index resource from your AWS account. *

* *

* This action deletes the resource permanently. You cannot undo this action. *

*

*

* This is a convenience which creates an instance of the {@link DeletePlaceIndexRequest.Builder} avoiding the need * to create one manually via {@link DeletePlaceIndexRequest#builder()} *

* * @param deletePlaceIndexRequest * A {@link Consumer} that will call methods on {@link DeletePlaceIndexRequest.Builder} to create a request. * @return Result of the DeletePlaceIndex operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DeletePlaceIndex * @see AWS API * Documentation */ default DeletePlaceIndexResponse deletePlaceIndex(Consumer deletePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return deletePlaceIndex(DeletePlaceIndexRequest.builder().applyMutation(deletePlaceIndexRequest).build()); } /** *

* Deletes a tracker resource from your AWS account. *

* *

* This action deletes the resource permanently. You can't undo this action. If the tracker resource is in use, you * may encounter an error. Make sure that the target resource is not a dependency for your applications. *

*
* * @param deleteTrackerRequest * @return Result of the DeleteTracker operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DeleteTracker * @see AWS API * Documentation */ default DeleteTrackerResponse deleteTracker(DeleteTrackerRequest deleteTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Deletes a tracker resource from your AWS account. *

* *

* This action deletes the resource permanently. You can't undo this action. If the tracker resource is in use, you * may encounter an error. Make sure that the target resource is not a dependency for your applications. *

*

*

* This is a convenience which creates an instance of the {@link DeleteTrackerRequest.Builder} avoiding the need to * create one manually via {@link DeleteTrackerRequest#builder()} *

* * @param deleteTrackerRequest * A {@link Consumer} that will call methods on {@link DeleteTrackerRequest.Builder} to create a request. * @return Result of the DeleteTracker operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DeleteTracker * @see AWS API * Documentation */ default DeleteTrackerResponse deleteTracker(Consumer deleteTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return deleteTracker(DeleteTrackerRequest.builder().applyMutation(deleteTrackerRequest).build()); } /** *

* Retrieves the geofence collection details. *

* * @param describeGeofenceCollectionRequest * @return Result of the DescribeGeofenceCollection operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DescribeGeofenceCollection * @see AWS API Documentation */ default DescribeGeofenceCollectionResponse describeGeofenceCollection( DescribeGeofenceCollectionRequest describeGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Retrieves the geofence collection details. *

*
*

* This is a convenience which creates an instance of the {@link DescribeGeofenceCollectionRequest.Builder} avoiding * the need to create one manually via {@link DescribeGeofenceCollectionRequest#builder()} *

* * @param describeGeofenceCollectionRequest * A {@link Consumer} that will call methods on {@link DescribeGeofenceCollectionRequest.Builder} to create a * request. * @return Result of the DescribeGeofenceCollection operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DescribeGeofenceCollection * @see AWS API Documentation */ default DescribeGeofenceCollectionResponse describeGeofenceCollection( Consumer describeGeofenceCollectionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return describeGeofenceCollection(DescribeGeofenceCollectionRequest.builder() .applyMutation(describeGeofenceCollectionRequest).build()); } /** *

* Retrieves the map resource details. *

* * @param describeMapRequest * @return Result of the DescribeMap operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DescribeMap * @see AWS API * Documentation */ default DescribeMapResponse describeMap(DescribeMapRequest describeMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Retrieves the map resource details. *

*
*

* This is a convenience which creates an instance of the {@link DescribeMapRequest.Builder} avoiding the need to * create one manually via {@link DescribeMapRequest#builder()} *

* * @param describeMapRequest * A {@link Consumer} that will call methods on {@link DescribeMapRequest.Builder} to create a request. * @return Result of the DescribeMap operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DescribeMap * @see AWS API * Documentation */ default DescribeMapResponse describeMap(Consumer describeMapRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return describeMap(DescribeMapRequest.builder().applyMutation(describeMapRequest).build()); } /** *

* Retrieves the Place index resource details. *

* * @param describePlaceIndexRequest * @return Result of the DescribePlaceIndex operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DescribePlaceIndex * @see AWS * API Documentation */ default DescribePlaceIndexResponse describePlaceIndex(DescribePlaceIndexRequest describePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Retrieves the Place index resource details. *

*
*

* This is a convenience which creates an instance of the {@link DescribePlaceIndexRequest.Builder} avoiding the * need to create one manually via {@link DescribePlaceIndexRequest#builder()} *

* * @param describePlaceIndexRequest * A {@link Consumer} that will call methods on {@link DescribePlaceIndexRequest.Builder} to create a * request. * @return Result of the DescribePlaceIndex operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DescribePlaceIndex * @see AWS * API Documentation */ default DescribePlaceIndexResponse describePlaceIndex(Consumer describePlaceIndexRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return describePlaceIndex(DescribePlaceIndexRequest.builder().applyMutation(describePlaceIndexRequest).build()); } /** *

* Retrieves the tracker resource details. *

* * @param describeTrackerRequest * @return Result of the DescribeTracker operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DescribeTracker * @see AWS API * Documentation */ default DescribeTrackerResponse describeTracker(DescribeTrackerRequest describeTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Retrieves the tracker resource details. *

*
*

* This is a convenience which creates an instance of the {@link DescribeTrackerRequest.Builder} avoiding the need * to create one manually via {@link DescribeTrackerRequest#builder()} *

* * @param describeTrackerRequest * A {@link Consumer} that will call methods on {@link DescribeTrackerRequest.Builder} to create a request. * @return Result of the DescribeTracker operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DescribeTracker * @see AWS API * Documentation */ default DescribeTrackerResponse describeTracker(Consumer describeTrackerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return describeTracker(DescribeTrackerRequest.builder().applyMutation(describeTrackerRequest).build()); } /** *

* 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. *

*
* * @param disassociateTrackerConsumerRequest * @return Result of the DisassociateTrackerConsumer operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DisassociateTrackerConsumer * @see AWS API Documentation */ default DisassociateTrackerConsumerResponse disassociateTrackerConsumer( DisassociateTrackerConsumerRequest disassociateTrackerConsumerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* 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 {@link DisassociateTrackerConsumerRequest.Builder} * avoiding the need to create one manually via {@link DisassociateTrackerConsumerRequest#builder()} *

* * @param disassociateTrackerConsumerRequest * A {@link Consumer} that will call methods on {@link DisassociateTrackerConsumerRequest.Builder} to create * a request. * @return Result of the DisassociateTrackerConsumer operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.DisassociateTrackerConsumer * @see AWS API Documentation */ default DisassociateTrackerConsumerResponse disassociateTrackerConsumer( Consumer disassociateTrackerConsumerRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return disassociateTrackerConsumer(DisassociateTrackerConsumerRequest.builder() .applyMutation(disassociateTrackerConsumerRequest).build()); } /** *

* Retrieves a device's most recent position according to its sample time. *

* *

* Device positions are deleted after one year. *

*
* * @param getDevicePositionRequest * @return Result of the GetDevicePosition operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetDevicePosition * @see AWS * API Documentation */ default GetDevicePositionResponse getDevicePosition(GetDevicePositionRequest getDevicePositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Retrieves a device's most recent position according to its sample time. *

* *

* Device positions are deleted after one year. *

*

*

* This is a convenience which creates an instance of the {@link GetDevicePositionRequest.Builder} avoiding the need * to create one manually via {@link GetDevicePositionRequest#builder()} *

* * @param getDevicePositionRequest * A {@link Consumer} that will call methods on {@link GetDevicePositionRequest.Builder} to create a request. * @return Result of the GetDevicePosition operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetDevicePosition * @see AWS * API Documentation */ default GetDevicePositionResponse getDevicePosition(Consumer getDevicePositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return getDevicePosition(GetDevicePositionRequest.builder().applyMutation(getDevicePositionRequest).build()); } /** *

* Retrieves the device position history from a tracker resource within a specified range of time. *

* *

* Device positions are deleted after 1 year. *

*
* * @param getDevicePositionHistoryRequest * @return Result of the GetDevicePositionHistory operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetDevicePositionHistory * @see AWS API Documentation */ default GetDevicePositionHistoryResponse getDevicePositionHistory( GetDevicePositionHistoryRequest getDevicePositionHistoryRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Retrieves the device position history from a tracker resource within a specified range of time. *

* *

* Device positions are deleted after 1 year. *

*

*

* This is a convenience which creates an instance of the {@link GetDevicePositionHistoryRequest.Builder} avoiding * the need to create one manually via {@link GetDevicePositionHistoryRequest#builder()} *

* * @param getDevicePositionHistoryRequest * A {@link Consumer} that will call methods on {@link GetDevicePositionHistoryRequest.Builder} to create a * request. * @return Result of the GetDevicePositionHistory operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetDevicePositionHistory * @see AWS API Documentation */ default GetDevicePositionHistoryResponse getDevicePositionHistory( Consumer getDevicePositionHistoryRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return getDevicePositionHistory(GetDevicePositionHistoryRequest.builder().applyMutation(getDevicePositionHistoryRequest) .build()); } /** *

* Retrieves the device position history from a tracker resource within a specified range of time. *

* *

* Device positions are deleted after 1 year. *

*

*

* This is a variant of * {@link #getDevicePositionHistory(software.amazon.awssdk.services.location.model.GetDevicePositionHistoryRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client.getDevicePositionHistoryPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client
     *             .getDevicePositionHistoryPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.GetDevicePositionHistoryResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client.getDevicePositionHistoryPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getDevicePositionHistory(software.amazon.awssdk.services.location.model.GetDevicePositionHistoryRequest)} * operation. *

* * @param getDevicePositionHistoryRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetDevicePositionHistory * @see AWS API Documentation */ default GetDevicePositionHistoryIterable getDevicePositionHistoryPaginator( GetDevicePositionHistoryRequest getDevicePositionHistoryRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Retrieves the device position history from a tracker resource within a specified range of time. *

* *

* Device positions are deleted after 1 year. *

*

*

* This is a variant of * {@link #getDevicePositionHistory(software.amazon.awssdk.services.location.model.GetDevicePositionHistoryRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client.getDevicePositionHistoryPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client
     *             .getDevicePositionHistoryPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.GetDevicePositionHistoryResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.GetDevicePositionHistoryIterable responses = client.getDevicePositionHistoryPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getDevicePositionHistory(software.amazon.awssdk.services.location.model.GetDevicePositionHistoryRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link GetDevicePositionHistoryRequest.Builder} avoiding * the need to create one manually via {@link GetDevicePositionHistoryRequest#builder()} *

* * @param getDevicePositionHistoryRequest * A {@link Consumer} that will call methods on {@link GetDevicePositionHistoryRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetDevicePositionHistory * @see AWS API Documentation */ default GetDevicePositionHistoryIterable getDevicePositionHistoryPaginator( Consumer getDevicePositionHistoryRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return getDevicePositionHistoryPaginator(GetDevicePositionHistoryRequest.builder() .applyMutation(getDevicePositionHistoryRequest).build()); } /** *

* Retrieves the geofence details from a geofence collection. *

* * @param getGeofenceRequest * @return Result of the GetGeofence operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetGeofence * @see AWS API * Documentation */ default GetGeofenceResponse getGeofence(GetGeofenceRequest getGeofenceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Retrieves the geofence details from a geofence collection. *

*
*

* This is a convenience which creates an instance of the {@link GetGeofenceRequest.Builder} avoiding the need to * create one manually via {@link GetGeofenceRequest#builder()} *

* * @param getGeofenceRequest * A {@link Consumer} that will call methods on {@link GetGeofenceRequest.Builder} to create a request. * @return Result of the GetGeofence operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetGeofence * @see AWS API * Documentation */ default GetGeofenceResponse getGeofence(Consumer getGeofenceRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return getGeofence(GetGeofenceRequest.builder().applyMutation(getGeofenceRequest).build()); } /** *

* Retrieves glyphs used to display labels on a map. *

* * @param getMapGlyphsRequest * @return Result of the GetMapGlyphs operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetMapGlyphs * @see AWS API * Documentation */ default GetMapGlyphsResponse getMapGlyphs(GetMapGlyphsRequest getMapGlyphsRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Retrieves glyphs used to display labels on a map. *

*
*

* This is a convenience which creates an instance of the {@link GetMapGlyphsRequest.Builder} avoiding the need to * create one manually via {@link GetMapGlyphsRequest#builder()} *

* * @param getMapGlyphsRequest * A {@link Consumer} that will call methods on {@link GetMapGlyphsRequest.Builder} to create a request. * @return Result of the GetMapGlyphs operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetMapGlyphs * @see AWS API * Documentation */ default GetMapGlyphsResponse getMapGlyphs(Consumer getMapGlyphsRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return getMapGlyphs(GetMapGlyphsRequest.builder().applyMutation(getMapGlyphsRequest).build()); } /** *

* 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. *

* * @param getMapSpritesRequest * @return Result of the GetMapSprites operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetMapSprites * @see AWS API * Documentation */ default GetMapSpritesResponse getMapSprites(GetMapSpritesRequest getMapSpritesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* 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 {@link GetMapSpritesRequest.Builder} avoiding the need to * create one manually via {@link GetMapSpritesRequest#builder()} *

* * @param getMapSpritesRequest * A {@link Consumer} that will call methods on {@link GetMapSpritesRequest.Builder} to create a request. * @return Result of the GetMapSprites operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetMapSprites * @see AWS API * Documentation */ default GetMapSpritesResponse getMapSprites(Consumer getMapSpritesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return getMapSprites(GetMapSpritesRequest.builder().applyMutation(getMapSpritesRequest).build()); } /** *

* 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. *

* * @param getMapStyleDescriptorRequest * @return Result of the GetMapStyleDescriptor operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetMapStyleDescriptor * @see AWS API Documentation */ default GetMapStyleDescriptorResponse getMapStyleDescriptor(GetMapStyleDescriptorRequest getMapStyleDescriptorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* 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 {@link GetMapStyleDescriptorRequest.Builder} avoiding the * need to create one manually via {@link GetMapStyleDescriptorRequest#builder()} *

* * @param getMapStyleDescriptorRequest * A {@link Consumer} that will call methods on {@link GetMapStyleDescriptorRequest.Builder} to create a * request. * @return Result of the GetMapStyleDescriptor operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetMapStyleDescriptor * @see AWS API Documentation */ default GetMapStyleDescriptorResponse getMapStyleDescriptor( Consumer getMapStyleDescriptorRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return getMapStyleDescriptor(GetMapStyleDescriptorRequest.builder().applyMutation(getMapStyleDescriptorRequest).build()); } /** *

* Retrieves a vector data tile from the map resource. Map tiles are used by clients to render a map. They are * addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level. *

*

* The origin (0, 0) is the top left of the map. Increasing the zoom level by 1 doubles both the X and Y dimensions, * so a tile containing data for the entire world at (0/0/0) will be split into 4 tiles at zoom 1 (1/0/0, 1/0/1, * 1/1/0, 1/1/1). *

* * @param getMapTileRequest * @return Result of the GetMapTile operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetMapTile * @see AWS API * Documentation */ default GetMapTileResponse getMapTile(GetMapTileRequest getMapTileRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Retrieves a vector data tile from the map resource. Map tiles are used by clients to render a map. They are * addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level. *

*

* The origin (0, 0) is the top left of the map. Increasing the zoom level by 1 doubles both the X and Y dimensions, * so a tile containing data for the entire world at (0/0/0) will be split into 4 tiles at zoom 1 (1/0/0, 1/0/1, * 1/1/0, 1/1/1). *

*
*

* This is a convenience which creates an instance of the {@link GetMapTileRequest.Builder} avoiding the need to * create one manually via {@link GetMapTileRequest#builder()} *

* * @param getMapTileRequest * A {@link Consumer} that will call methods on {@link GetMapTileRequest.Builder} to create a request. * @return Result of the GetMapTile operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.GetMapTile * @see AWS API * Documentation */ default GetMapTileResponse getMapTile(Consumer getMapTileRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return getMapTile(GetMapTileRequest.builder().applyMutation(getMapTileRequest).build()); } /** *

* Lists geofence collections in your AWS account. *

* * @param listGeofenceCollectionsRequest * @return Result of the ListGeofenceCollections operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListGeofenceCollections * @see AWS API Documentation */ default ListGeofenceCollectionsResponse listGeofenceCollections(ListGeofenceCollectionsRequest listGeofenceCollectionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Lists geofence collections in your AWS account. *

*
*

* This is a convenience which creates an instance of the {@link ListGeofenceCollectionsRequest.Builder} avoiding * the need to create one manually via {@link ListGeofenceCollectionsRequest#builder()} *

* * @param listGeofenceCollectionsRequest * A {@link Consumer} that will call methods on {@link ListGeofenceCollectionsRequest.Builder} to create a * request. * @return Result of the ListGeofenceCollections operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListGeofenceCollections * @see AWS API Documentation */ default ListGeofenceCollectionsResponse listGeofenceCollections( Consumer listGeofenceCollectionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return listGeofenceCollections(ListGeofenceCollectionsRequest.builder().applyMutation(listGeofenceCollectionsRequest) .build()); } /** *

* Lists geofence collections in your AWS account. *

*
*

* This is a variant of * {@link #listGeofenceCollections(software.amazon.awssdk.services.location.model.ListGeofenceCollectionsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client.listGeofenceCollectionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client
     *             .listGeofenceCollectionsPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.ListGeofenceCollectionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client.listGeofenceCollectionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listGeofenceCollections(software.amazon.awssdk.services.location.model.ListGeofenceCollectionsRequest)} * operation. *

* * @param listGeofenceCollectionsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListGeofenceCollections * @see AWS API Documentation */ default ListGeofenceCollectionsIterable listGeofenceCollectionsPaginator( ListGeofenceCollectionsRequest listGeofenceCollectionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Lists geofence collections in your AWS account. *

*
*

* This is a variant of * {@link #listGeofenceCollections(software.amazon.awssdk.services.location.model.ListGeofenceCollectionsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client.listGeofenceCollectionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client
     *             .listGeofenceCollectionsPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.ListGeofenceCollectionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListGeofenceCollectionsIterable responses = client.listGeofenceCollectionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listGeofenceCollections(software.amazon.awssdk.services.location.model.ListGeofenceCollectionsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListGeofenceCollectionsRequest.Builder} avoiding * the need to create one manually via {@link ListGeofenceCollectionsRequest#builder()} *

* * @param listGeofenceCollectionsRequest * A {@link Consumer} that will call methods on {@link ListGeofenceCollectionsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListGeofenceCollections * @see AWS API Documentation */ default ListGeofenceCollectionsIterable listGeofenceCollectionsPaginator( Consumer listGeofenceCollectionsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return listGeofenceCollectionsPaginator(ListGeofenceCollectionsRequest.builder() .applyMutation(listGeofenceCollectionsRequest).build()); } /** *

* Lists geofences stored in a given geofence collection. *

* * @param listGeofencesRequest * @return Result of the ListGeofences operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListGeofences * @see AWS API * Documentation */ default ListGeofencesResponse listGeofences(ListGeofencesRequest listGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Lists geofences stored in a given geofence collection. *

*
*

* This is a convenience which creates an instance of the {@link ListGeofencesRequest.Builder} avoiding the need to * create one manually via {@link ListGeofencesRequest#builder()} *

* * @param listGeofencesRequest * A {@link Consumer} that will call methods on {@link ListGeofencesRequest.Builder} to create a request. * @return Result of the ListGeofences operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListGeofences * @see AWS API * Documentation */ default ListGeofencesResponse listGeofences(Consumer listGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return listGeofences(ListGeofencesRequest.builder().applyMutation(listGeofencesRequest).build()); } /** *

* Lists geofences stored in a given geofence collection. *

*
*

* This is a variant of {@link #listGeofences(software.amazon.awssdk.services.location.model.ListGeofencesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.ListGeofencesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listGeofences(software.amazon.awssdk.services.location.model.ListGeofencesRequest)} operation. *

* * @param listGeofencesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListGeofences * @see AWS API * Documentation */ default ListGeofencesIterable listGeofencesPaginator(ListGeofencesRequest listGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Lists geofences stored in a given geofence collection. *

*
*

* This is a variant of {@link #listGeofences(software.amazon.awssdk.services.location.model.ListGeofencesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.ListGeofencesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListGeofencesIterable responses = client.listGeofencesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listGeofences(software.amazon.awssdk.services.location.model.ListGeofencesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListGeofencesRequest.Builder} avoiding the need to * create one manually via {@link ListGeofencesRequest#builder()} *

* * @param listGeofencesRequest * A {@link Consumer} that will call methods on {@link ListGeofencesRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListGeofences * @see AWS API * Documentation */ default ListGeofencesIterable listGeofencesPaginator(Consumer listGeofencesRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return listGeofencesPaginator(ListGeofencesRequest.builder().applyMutation(listGeofencesRequest).build()); } /** *

* Lists map resources in your AWS account. *

* * @param listMapsRequest * @return Result of the ListMaps operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListMaps * @see AWS API * Documentation */ default ListMapsResponse listMaps(ListMapsRequest listMapsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Lists map resources in your AWS account. *

*
*

* This is a convenience which creates an instance of the {@link ListMapsRequest.Builder} avoiding the need to * create one manually via {@link ListMapsRequest#builder()} *

* * @param listMapsRequest * A {@link Consumer} that will call methods on {@link ListMapsRequest.Builder} to create a request. * @return Result of the ListMaps operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListMaps * @see AWS API * Documentation */ default ListMapsResponse listMaps(Consumer listMapsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return listMaps(ListMapsRequest.builder().applyMutation(listMapsRequest).build()); } /** *

* Lists map resources in your AWS account. *

*
*

* This is a variant of {@link #listMaps(software.amazon.awssdk.services.location.model.ListMapsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.ListMapsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listMaps(software.amazon.awssdk.services.location.model.ListMapsRequest)} operation. *

* * @param listMapsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListMaps * @see AWS API * Documentation */ default ListMapsIterable listMapsPaginator(ListMapsRequest listMapsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Lists map resources in your AWS account. *

*
*

* This is a variant of {@link #listMaps(software.amazon.awssdk.services.location.model.ListMapsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.ListMapsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListMapsIterable responses = client.listMapsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listMaps(software.amazon.awssdk.services.location.model.ListMapsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListMapsRequest.Builder} avoiding the need to * create one manually via {@link ListMapsRequest#builder()} *

* * @param listMapsRequest * A {@link Consumer} that will call methods on {@link ListMapsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListMaps * @see AWS API * Documentation */ default ListMapsIterable listMapsPaginator(Consumer listMapsRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return listMapsPaginator(ListMapsRequest.builder().applyMutation(listMapsRequest).build()); } /** *

* Lists Place index resources in your AWS account. *

* * @param listPlaceIndexesRequest * @return Result of the ListPlaceIndexes operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListPlaceIndexes * @see AWS API * Documentation */ default ListPlaceIndexesResponse listPlaceIndexes(ListPlaceIndexesRequest listPlaceIndexesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Lists Place index resources in your AWS account. *

*
*

* This is a convenience which creates an instance of the {@link ListPlaceIndexesRequest.Builder} avoiding the need * to create one manually via {@link ListPlaceIndexesRequest#builder()} *

* * @param listPlaceIndexesRequest * A {@link Consumer} that will call methods on {@link ListPlaceIndexesRequest.Builder} to create a request. * @return Result of the ListPlaceIndexes operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListPlaceIndexes * @see AWS API * Documentation */ default ListPlaceIndexesResponse listPlaceIndexes(Consumer listPlaceIndexesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return listPlaceIndexes(ListPlaceIndexesRequest.builder().applyMutation(listPlaceIndexesRequest).build()); } /** *

* Lists Place index resources in your AWS account. *

*
*

* This is a variant of * {@link #listPlaceIndexes(software.amazon.awssdk.services.location.model.ListPlaceIndexesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client.listPlaceIndexesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client
     *             .listPlaceIndexesPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.ListPlaceIndexesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client.listPlaceIndexesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPlaceIndexes(software.amazon.awssdk.services.location.model.ListPlaceIndexesRequest)} operation. *

* * @param listPlaceIndexesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListPlaceIndexes * @see AWS API * Documentation */ default ListPlaceIndexesIterable listPlaceIndexesPaginator(ListPlaceIndexesRequest listPlaceIndexesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Lists Place index resources in your AWS account. *

*
*

* This is a variant of * {@link #listPlaceIndexes(software.amazon.awssdk.services.location.model.ListPlaceIndexesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client.listPlaceIndexesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client
     *             .listPlaceIndexesPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.ListPlaceIndexesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListPlaceIndexesIterable responses = client.listPlaceIndexesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPlaceIndexes(software.amazon.awssdk.services.location.model.ListPlaceIndexesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListPlaceIndexesRequest.Builder} avoiding the need * to create one manually via {@link ListPlaceIndexesRequest#builder()} *

* * @param listPlaceIndexesRequest * A {@link Consumer} that will call methods on {@link ListPlaceIndexesRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListPlaceIndexes * @see AWS API * Documentation */ default ListPlaceIndexesIterable listPlaceIndexesPaginator(Consumer listPlaceIndexesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return listPlaceIndexesPaginator(ListPlaceIndexesRequest.builder().applyMutation(listPlaceIndexesRequest).build()); } /** *

* Lists geofence collections currently associated to the given tracker resource. *

* * @param listTrackerConsumersRequest * @return Result of the ListTrackerConsumers operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListTrackerConsumers * @see AWS * API Documentation */ default ListTrackerConsumersResponse listTrackerConsumers(ListTrackerConsumersRequest listTrackerConsumersRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Lists geofence collections currently associated to the given tracker resource. *

*
*

* This is a convenience which creates an instance of the {@link ListTrackerConsumersRequest.Builder} avoiding the * need to create one manually via {@link ListTrackerConsumersRequest#builder()} *

* * @param listTrackerConsumersRequest * A {@link Consumer} that will call methods on {@link ListTrackerConsumersRequest.Builder} to create a * request. * @return Result of the ListTrackerConsumers operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListTrackerConsumers * @see AWS * API Documentation */ default ListTrackerConsumersResponse listTrackerConsumers( Consumer listTrackerConsumersRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return listTrackerConsumers(ListTrackerConsumersRequest.builder().applyMutation(listTrackerConsumersRequest).build()); } /** *

* Lists geofence collections currently associated to the given tracker resource. *

*
*

* This is a variant of * {@link #listTrackerConsumers(software.amazon.awssdk.services.location.model.ListTrackerConsumersRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client.listTrackerConsumersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client
     *             .listTrackerConsumersPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.ListTrackerConsumersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client.listTrackerConsumersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTrackerConsumers(software.amazon.awssdk.services.location.model.ListTrackerConsumersRequest)} * operation. *

* * @param listTrackerConsumersRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListTrackerConsumers * @see AWS * API Documentation */ default ListTrackerConsumersIterable listTrackerConsumersPaginator(ListTrackerConsumersRequest listTrackerConsumersRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Lists geofence collections currently associated to the given tracker resource. *

*
*

* This is a variant of * {@link #listTrackerConsumers(software.amazon.awssdk.services.location.model.ListTrackerConsumersRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client.listTrackerConsumersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client
     *             .listTrackerConsumersPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.ListTrackerConsumersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListTrackerConsumersIterable responses = client.listTrackerConsumersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTrackerConsumers(software.amazon.awssdk.services.location.model.ListTrackerConsumersRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListTrackerConsumersRequest.Builder} avoiding the * need to create one manually via {@link ListTrackerConsumersRequest#builder()} *

* * @param listTrackerConsumersRequest * A {@link Consumer} that will call methods on {@link ListTrackerConsumersRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListTrackerConsumers * @see AWS * API Documentation */ default ListTrackerConsumersIterable listTrackerConsumersPaginator( Consumer listTrackerConsumersRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return listTrackerConsumersPaginator(ListTrackerConsumersRequest.builder().applyMutation(listTrackerConsumersRequest) .build()); } /** *

* Lists tracker resources in your AWS account. *

* * @param listTrackersRequest * @return Result of the ListTrackers operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListTrackers * @see AWS API * Documentation */ default ListTrackersResponse listTrackers(ListTrackersRequest listTrackersRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Lists tracker resources in your AWS account. *

*
*

* This is a convenience which creates an instance of the {@link ListTrackersRequest.Builder} avoiding the need to * create one manually via {@link ListTrackersRequest#builder()} *

* * @param listTrackersRequest * A {@link Consumer} that will call methods on {@link ListTrackersRequest.Builder} to create a request. * @return Result of the ListTrackers operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListTrackers * @see AWS API * Documentation */ default ListTrackersResponse listTrackers(Consumer listTrackersRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return listTrackers(ListTrackersRequest.builder().applyMutation(listTrackersRequest).build()); } /** *

* Lists tracker resources in your AWS account. *

*
*

* This is a variant of {@link #listTrackers(software.amazon.awssdk.services.location.model.ListTrackersRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.ListTrackersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTrackers(software.amazon.awssdk.services.location.model.ListTrackersRequest)} operation. *

* * @param listTrackersRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListTrackers * @see AWS API * Documentation */ default ListTrackersIterable listTrackersPaginator(ListTrackersRequest listTrackersRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Lists tracker resources in your AWS account. *

*
*

* This is a variant of {@link #listTrackers(software.amazon.awssdk.services.location.model.ListTrackersRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request);
     *     for (software.amazon.awssdk.services.location.model.ListTrackersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.location.paginators.ListTrackersIterable responses = client.listTrackersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTrackers(software.amazon.awssdk.services.location.model.ListTrackersRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListTrackersRequest.Builder} avoiding the need to * create one manually via {@link ListTrackersRequest#builder()} *

* * @param listTrackersRequest * A {@link Consumer} that will call methods on {@link ListTrackersRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.ListTrackers * @see AWS API * Documentation */ default ListTrackersIterable listTrackersPaginator(Consumer listTrackersRequest) throws InternalServerException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return listTrackersPaginator(ListTrackersRequest.builder().applyMutation(listTrackersRequest).build()); } /** *

* 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. *

* * @param putGeofenceRequest * @return Result of the PutGeofence operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws ConflictException * The request was unsuccessful due to a conflict. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.PutGeofence * @see AWS API * Documentation */ default PutGeofenceResponse putGeofence(PutGeofenceRequest putGeofenceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* 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 {@link PutGeofenceRequest.Builder} avoiding the need to * create one manually via {@link PutGeofenceRequest#builder()} *

* * @param putGeofenceRequest * A {@link Consumer} that will call methods on {@link PutGeofenceRequest.Builder} to create a request. * @return Result of the PutGeofence operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws ConflictException * The request was unsuccessful due to a conflict. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.PutGeofence * @see AWS API * Documentation */ default PutGeofenceResponse putGeofence(Consumer putGeofenceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return putGeofence(PutGeofenceRequest.builder().applyMutation(putGeofenceRequest).build()); } /** *

* Reverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of * interest near a given position. *

* *

* By using Places, you agree that AWS may transmit your API queries to your selected third party provider for * processing, which may be outside the AWS region you are currently using. *

*

* Because of licensing limitations, you may not use HERE to store results for locations in Japan. For more * information, see the AWS Service Terms for Amazon Location * Service. *

*
* * @param searchPlaceIndexForPositionRequest * @return Result of the SearchPlaceIndexForPosition operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.SearchPlaceIndexForPosition * @see AWS API Documentation */ default SearchPlaceIndexForPositionResponse searchPlaceIndexForPosition( SearchPlaceIndexForPositionRequest searchPlaceIndexForPositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Reverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of * interest near a given position. *

* *

* By using Places, you agree that AWS may transmit your API queries to your selected third party provider for * processing, which may be outside the AWS region you are currently using. *

*

* Because of licensing limitations, you may not use HERE to store results for locations in Japan. For more * information, see the AWS Service Terms for Amazon Location * Service. *

*

*

* This is a convenience which creates an instance of the {@link SearchPlaceIndexForPositionRequest.Builder} * avoiding the need to create one manually via {@link SearchPlaceIndexForPositionRequest#builder()} *

* * @param searchPlaceIndexForPositionRequest * A {@link Consumer} that will call methods on {@link SearchPlaceIndexForPositionRequest.Builder} to create * a request. * @return Result of the SearchPlaceIndexForPosition operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.SearchPlaceIndexForPosition * @see AWS API Documentation */ default SearchPlaceIndexForPositionResponse searchPlaceIndexForPosition( Consumer searchPlaceIndexForPositionRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return searchPlaceIndexForPosition(SearchPlaceIndexForPositionRequest.builder() .applyMutation(searchPlaceIndexForPositionRequest).build()); } /** *

* Geocodes free-form text, such as an address, name, city, or region to allow you to search for Places or points of * interest. *

*

* Includes the option to apply additional parameters to narrow your list of results. *

* *

* You can search for places near a given position using BiasPosition, or filter results within a * bounding box using FilterBBox. Providing both parameters simultaneously returns an error. *

*
*

* By using Places, you agree that AWS may transmit your API queries to your selected third party provider for * processing, which may be outside the AWS region you are currently using. *

*

* Also, when using HERE as your data provider, you may not (a) use HERE Places for Asset Management, or (b) select * the Storage option for the IntendedUse parameter when requesting Places in Japan. For * more information, see the AWS Service Terms for Amazon * Location Service. *

*
* * @param searchPlaceIndexForTextRequest * @return Result of the SearchPlaceIndexForText operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.SearchPlaceIndexForText * @see AWS API Documentation */ default SearchPlaceIndexForTextResponse searchPlaceIndexForText(SearchPlaceIndexForTextRequest searchPlaceIndexForTextRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { throw new UnsupportedOperationException(); } /** *

* Geocodes free-form text, such as an address, name, city, or region to allow you to search for Places or points of * interest. *

*

* Includes the option to apply additional parameters to narrow your list of results. *

* *

* You can search for places near a given position using BiasPosition, or filter results within a * bounding box using FilterBBox. Providing both parameters simultaneously returns an error. *

*
*

* By using Places, you agree that AWS may transmit your API queries to your selected third party provider for * processing, which may be outside the AWS region you are currently using. *

*

* Also, when using HERE as your data provider, you may not (a) use HERE Places for Asset Management, or (b) select * the Storage option for the IntendedUse parameter when requesting Places in Japan. For * more information, see the AWS Service Terms for Amazon * Location Service. *

*

*

* This is a convenience which creates an instance of the {@link SearchPlaceIndexForTextRequest.Builder} avoiding * the need to create one manually via {@link SearchPlaceIndexForTextRequest#builder()} *

* * @param searchPlaceIndexForTextRequest * A {@link Consumer} that will call methods on {@link SearchPlaceIndexForTextRequest.Builder} to create a * request. * @return Result of the SearchPlaceIndexForText operation returned by the service. * @throws InternalServerException * The request has failed to process because of an unknown server error, exception, or failure. * @throws ResourceNotFoundException * The resource that you've entered was not found in your AWS account. * @throws AccessDeniedException * The request was denied due to insufficient access or permission. Check with an administrator to verify * your permissions. * @throws ValidationException * The input failed to meet the constraints specified by the AWS service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws LocationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample LocationClient.SearchPlaceIndexForText * @see AWS API Documentation */ default SearchPlaceIndexForTextResponse searchPlaceIndexForText( Consumer searchPlaceIndexForTextRequest) throws InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LocationException { return searchPlaceIndexForText(SearchPlaceIndexForTextRequest.builder().applyMutation(searchPlaceIndexForTextRequest) .build()); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy