LocationService / Client / get_map_style_descriptor

get_map_style_descriptor#

LocationService.Client.get_map_style_descriptor(**kwargs)#

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.

See also: AWS API Documentation

Request Syntax

response = client.get_map_style_descriptor(
    Key='string',
    MapName='string'
)
Parameters:
  • Key (string) – The optional API key to authorize the request.

  • MapName (string) –

    [REQUIRED]

    The map resource to retrieve the style descriptor from.

Return type:

dict

Returns:

Response Syntax

{
    'Blob': StreamingBody(),
    'CacheControl': 'string',
    'ContentType': 'string'
}

Response Structure

  • (dict) –

    • Blob (StreamingBody) –

      Contains the body of the style descriptor.

    • CacheControl (string) –

      The HTTP Cache-Control directive for the value.

    • ContentType (string) –

      The style descriptor’s content type. For example, application/json.

Exceptions