libZSservicesZSamazonka-locationZSamazonka-location
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Location.GetMapStyleDescriptor

Description

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.

Synopsis

Creating a Request

data GetMapStyleDescriptor Source #

See: newGetMapStyleDescriptor smart constructor.

Constructors

GetMapStyleDescriptor' 

Fields

  • mapName :: Text

    The map resource to retrieve the style descriptor from.

Instances

Instances details
Eq GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Read GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Show GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Generic GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Associated Types

type Rep GetMapStyleDescriptor :: Type -> Type #

NFData GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Methods

rnf :: GetMapStyleDescriptor -> () #

Hashable GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

AWSRequest GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Associated Types

type AWSResponse GetMapStyleDescriptor #

ToHeaders GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

ToPath GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

ToQuery GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

type Rep GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

type Rep GetMapStyleDescriptor = D1 ('MetaData "GetMapStyleDescriptor" "Amazonka.Location.GetMapStyleDescriptor" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "GetMapStyleDescriptor'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mapName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

newGetMapStyleDescriptor Source #

Create a value of GetMapStyleDescriptor with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:mapName:GetMapStyleDescriptor', getMapStyleDescriptor_mapName - The map resource to retrieve the style descriptor from.

Request Lenses

getMapStyleDescriptor_mapName :: Lens' GetMapStyleDescriptor Text Source #

The map resource to retrieve the style descriptor from.

Destructuring the Response

data GetMapStyleDescriptorResponse Source #

See: newGetMapStyleDescriptorResponse smart constructor.

Constructors

GetMapStyleDescriptorResponse' 

Fields

Instances

Instances details
Eq GetMapStyleDescriptorResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Read GetMapStyleDescriptorResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Show GetMapStyleDescriptorResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Generic GetMapStyleDescriptorResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Associated Types

type Rep GetMapStyleDescriptorResponse :: Type -> Type #

NFData GetMapStyleDescriptorResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

type Rep GetMapStyleDescriptorResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

type Rep GetMapStyleDescriptorResponse = D1 ('MetaData "GetMapStyleDescriptorResponse" "Amazonka.Location.GetMapStyleDescriptor" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "GetMapStyleDescriptorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blob") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteString)) :*: (S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetMapStyleDescriptorResponse Source #

Create a value of GetMapStyleDescriptorResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:blob:GetMapStyleDescriptorResponse', getMapStyleDescriptorResponse_blob - Contains the body of the style descriptor.

$sel:contentType:GetMapStyleDescriptorResponse', getMapStyleDescriptorResponse_contentType - The style descriptor's content type. For example, application/json.

$sel:httpStatus:GetMapStyleDescriptorResponse', getMapStyleDescriptorResponse_httpStatus - The response's http status code.

Response Lenses

getMapStyleDescriptorResponse_contentType :: Lens' GetMapStyleDescriptorResponse (Maybe Text) Source #

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