amazonka-location-2.0: Amazon Location Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
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

AWSRequest GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Associated Types

type AWSResponse GetMapStyleDescriptor #

Generic GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Associated Types

type Rep GetMapStyleDescriptor :: Type -> Type #

Read GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Show GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

NFData GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Methods

rnf :: GetMapStyleDescriptor -> () #

Eq GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Hashable GetMapStyleDescriptor Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

type AWSResponse 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" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "GetMapStyleDescriptor'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mapName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic GetMapStyleDescriptorResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Associated Types

type Rep GetMapStyleDescriptorResponse :: Type -> Type #

Read GetMapStyleDescriptorResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Show GetMapStyleDescriptorResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

NFData GetMapStyleDescriptorResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapStyleDescriptor

Eq 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" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" '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.