Interface GeoMapsAsyncClient
- All Superinterfaces:
- AutoCloseable,- AwsClient,- SdkAutoCloseable,- SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
 SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
 perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
 call.
 Integrate high-quality base map data into your applications using MapLibre. Capabilities include:
- 
 Access to comprehensive base map data, allowing you to tailor the map display to your specific needs. 
- 
 Multiple pre-designed map styles suited for various application types, such as navigation, logistics, or data visualization. 
- 
 Generation of static map images for scenarios where interactive maps aren't suitable, such as: - 
 Embedding in emails or documents 
- 
 Displaying in low-bandwidth environments 
- 
 Creating printable maps 
- 
 Enhancing application performance by reducing client-side rendering 
 
- 
 
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String
- 
Method SummaryModifier and TypeMethodDescriptionstatic GeoMapsAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aGeoMapsAsyncClient.static GeoMapsAsyncClientcreate()Create aGeoMapsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<GetGlyphsResponse> getGlyphs(Consumer<GetGlyphsRequest.Builder> getGlyphsRequest) GetGlyphsreturns the map's glyphs.default CompletableFuture<GetGlyphsResponse> getGlyphs(GetGlyphsRequest getGlyphsRequest) GetGlyphsreturns the map's glyphs.default CompletableFuture<GetSpritesResponse> getSprites(Consumer<GetSpritesRequest.Builder> getSpritesRequest) GetSpritesreturns the map's sprites.default CompletableFuture<GetSpritesResponse> getSprites(GetSpritesRequest getSpritesRequest) GetSpritesreturns the map's sprites.default CompletableFuture<GetStaticMapResponse> getStaticMap(Consumer<GetStaticMapRequest.Builder> getStaticMapRequest) GetStaticMapprovides high-quality static map images with customizable options.default CompletableFuture<GetStaticMapResponse> getStaticMap(GetStaticMapRequest getStaticMapRequest) GetStaticMapprovides high-quality static map images with customizable options.getStyleDescriptor(Consumer<GetStyleDescriptorRequest.Builder> getStyleDescriptorRequest) GetStyleDescriptorreturns information about the style.getStyleDescriptor(GetStyleDescriptorRequest getStyleDescriptorRequest) GetStyleDescriptorreturns information about the style.default CompletableFuture<GetTileResponse> getTile(Consumer<GetTileRequest.Builder> getTileRequest) GetTilereturns a tile.default CompletableFuture<GetTileResponse> getTile(GetTileRequest getTileRequest) GetTilereturns a tile.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseablecloseMethods inherited from interface software.amazon.awssdk.core.SdkClientserviceName
- 
Field Details- 
SERVICE_NAME- See Also:
 
- 
SERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.- See Also:
 
 
- 
- 
Method Details- 
getGlyphsGetGlyphsreturns the map's glyphs.For more information, see Style labels with glyphs in the Amazon Location Service Developer Guide. - Parameters:
- getGlyphsRequest-
- Returns:
- A Java Future containing the result of the GetGlyphs operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- GeoMapsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getGlyphsdefault CompletableFuture<GetGlyphsResponse> getGlyphs(Consumer<GetGlyphsRequest.Builder> getGlyphsRequest) GetGlyphsreturns the map's glyphs.For more information, see Style labels with glyphs in the Amazon Location Service Developer Guide. 
 This is a convenience which creates an instance of the GetGlyphsRequest.Builderavoiding the need to create one manually viaGetGlyphsRequest.builder()- Parameters:
- getGlyphsRequest- A- Consumerthat will call methods on- GetGlyphsRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetGlyphs operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- GeoMapsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getSpritesGetSpritesreturns the map's sprites.For more information, see Style iconography with sprites in the Amazon Location Service Developer Guide. - Parameters:
- getSpritesRequest-
- Returns:
- A Java Future containing the result of the GetSprites operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- GeoMapsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getSpritesdefault CompletableFuture<GetSpritesResponse> getSprites(Consumer<GetSpritesRequest.Builder> getSpritesRequest) GetSpritesreturns the map's sprites.For more information, see Style iconography with sprites in the Amazon Location Service Developer Guide. 
 This is a convenience which creates an instance of the GetSpritesRequest.Builderavoiding the need to create one manually viaGetSpritesRequest.builder()- Parameters:
- getSpritesRequest- A- Consumerthat will call methods on- GetSpritesRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetSprites operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- GeoMapsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getStaticMapdefault CompletableFuture<GetStaticMapResponse> getStaticMap(GetStaticMapRequest getStaticMapRequest) GetStaticMapprovides high-quality static map images with customizable options. You can modify the map's appearance and overlay additional information. It's an ideal solution for applications requiring tailored static map snapshots.For more information, see the following topics in the Amazon Location Service Developer Guide: - Parameters:
- getStaticMapRequest-
- Returns:
- A Java Future containing the result of the GetStaticMap operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- AccessDeniedException The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.
- ValidationException The input fails to satisfy the constraints specified by an AWS service.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- GeoMapsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getStaticMapdefault CompletableFuture<GetStaticMapResponse> getStaticMap(Consumer<GetStaticMapRequest.Builder> getStaticMapRequest) GetStaticMapprovides high-quality static map images with customizable options. You can modify the map's appearance and overlay additional information. It's an ideal solution for applications requiring tailored static map snapshots.For more information, see the following topics in the Amazon Location Service Developer Guide: 
 This is a convenience which creates an instance of the GetStaticMapRequest.Builderavoiding the need to create one manually viaGetStaticMapRequest.builder()- Parameters:
- getStaticMapRequest- A- Consumerthat will call methods on- GetStaticMapRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetStaticMap operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- AccessDeniedException The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.
- ValidationException The input fails to satisfy the constraints specified by an AWS service.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- GeoMapsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getStyleDescriptordefault CompletableFuture<GetStyleDescriptorResponse> getStyleDescriptor(GetStyleDescriptorRequest getStyleDescriptorRequest) GetStyleDescriptorreturns information about the style.For more information, see Style dynamic maps in the Amazon Location Service Developer Guide. - Parameters:
- getStyleDescriptorRequest-
- Returns:
- A Java Future containing the result of the GetStyleDescriptor operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- GeoMapsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getStyleDescriptordefault CompletableFuture<GetStyleDescriptorResponse> getStyleDescriptor(Consumer<GetStyleDescriptorRequest.Builder> getStyleDescriptorRequest) GetStyleDescriptorreturns information about the style.For more information, see Style dynamic maps in the Amazon Location Service Developer Guide. 
 This is a convenience which creates an instance of the GetStyleDescriptorRequest.Builderavoiding the need to create one manually viaGetStyleDescriptorRequest.builder()- Parameters:
- getStyleDescriptorRequest- A- Consumerthat will call methods on- GetStyleDescriptorRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetStyleDescriptor operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- GeoMapsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getTileGetTilereturns a tile. Map tiles are used by clients to render a map. they're addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level.For more information, see Tiles in the Amazon Location Service Developer Guide. - Parameters:
- getTileRequest-
- Returns:
- A Java Future containing the result of the GetTile operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ResourceNotFoundException Exception thrown when the associated resource could not be found.
- AccessDeniedException The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.
- ValidationException The input fails to satisfy the constraints specified by an AWS service.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- GeoMapsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getTileGetTilereturns a tile. Map tiles are used by clients to render a map. they're addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level.For more information, see Tiles in the Amazon Location Service Developer Guide. 
 This is a convenience which creates an instance of the GetTileRequest.Builderavoiding the need to create one manually viaGetTileRequest.builder()- Parameters:
- getTileRequest- A- Consumerthat will call methods on- GetTileRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetTile operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ResourceNotFoundException Exception thrown when the associated resource could not be found.
- AccessDeniedException The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.
- ValidationException The input fails to satisfy the constraints specified by an AWS service.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- GeoMapsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
serviceClientConfigurationDescription copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
- serviceClientConfigurationin interface- AwsClient
- Specified by:
- serviceClientConfigurationin interface- SdkClient
- Returns:
- SdkServiceClientConfiguration
 
- 
createCreate aGeoMapsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
- 
builderCreate a builder that can be used to configure and create aGeoMapsAsyncClient.
 
-