LocationServiceMapsV2 / Client / get_style_descriptor
get_style_descriptor#
- LocationServiceMapsV2.Client.get_style_descriptor(**kwargs)#
Returns information about the style.
See also: AWS API Documentation
Request Syntax
response = client.get_style_descriptor( Style='Standard'|'Monochrome'|'Hybrid'|'Satellite', ColorScheme='Light'|'Dark', PoliticalView='string', Key='string' )
- Parameters:
Style (string) –
[REQUIRED]
Style specifies the desired map style.
ColorScheme (string) –
Sets color tone for map such as dark and light for specific map styles. It applies to only vector map styles such as Standard and Monochrome.
Example:
LightDefault value:
LightNote
Valid values for ColorScheme are case sensitive.
PoliticalView (string) –
Specifies the political view using ISO 3166-2 or ISO 3166-3 country code format.
The following political views are currently supported:
ARG: Argentina’s view on the Southern Patagonian Ice Field and Tierra Del Fuego, including the Falkland Islands, South Georgia, and South Sandwich IslandsEGY: Egypt’s view on Bir TawilIND: India’s view on Gilgit-BaltistanKEN: Kenya’s view on the Ilemi TriangleMAR: Morocco’s view on Western SaharaPAK: Pakistan’s view on Jammu and Kashmir and the Junagadh AreaRUS: Russia’s view on CrimeaSDN: Sudan’s view on the Halaib TriangleSRB: Serbia’s view on Kosovo, Vukovar, and Sarengrad IslandsSUR: Suriname’s view on the Courantyne Headwaters and Lawa HeadwatersSYR: Syria’s view on the Golan HeightsTUR: Turkey’s view on Cyprus and Northern CyprusTZA: Tanzania’s view on Lake MalawiURY: Uruguay’s view on Rincon de ArtigasVNM: Vietnam’s view on the Paracel Islands and Spratly Islands
Key (string) – Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request.
- Return type:
dict
- Returns:
Response Syntax
{ 'Blob': StreamingBody(), 'ContentType': 'string', 'CacheControl': 'string', 'ETag': 'string' }
Response Structure
(dict) –
Blob (
StreamingBody) –This Blob contains the body of the style descriptor which is in application/json format.
ContentType (string) –
Header that represents the format of the response. The response returns the following as the HTTP body.
CacheControl (string) –
Header that instructs caching configuration for the client.
ETag (string) –
The style descriptor’s Etag.