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'
)
[REQUIRED]
The map resource to retrieve the style descriptor from.
dict
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
LocationService.Client.exceptions.InternalServerException
LocationService.Client.exceptions.ResourceNotFoundException
LocationService.Client.exceptions.AccessDeniedException
LocationService.Client.exceptions.ValidationException
LocationService.Client.exceptions.ThrottlingException