| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- data GetMapStyleDescriptor = GetMapStyleDescriptor' {}
- newGetMapStyleDescriptor :: Text -> GetMapStyleDescriptor
- getMapStyleDescriptor_mapName :: Lens' GetMapStyleDescriptor Text
- data GetMapStyleDescriptorResponse = GetMapStyleDescriptorResponse' {
- blob :: Maybe ByteString
- contentType :: Maybe Text
- httpStatus :: Int
- newGetMapStyleDescriptorResponse :: Int -> GetMapStyleDescriptorResponse
- getMapStyleDescriptorResponse_blob :: Lens' GetMapStyleDescriptorResponse (Maybe ByteString)
- getMapStyleDescriptorResponse_contentType :: Lens' GetMapStyleDescriptorResponse (Maybe Text)
- getMapStyleDescriptorResponse_httpStatus :: Lens' GetMapStyleDescriptorResponse Int
Creating a Request
data GetMapStyleDescriptor Source #
See: newGetMapStyleDescriptor smart constructor.
Constructors
| GetMapStyleDescriptor' | |
Instances
newGetMapStyleDescriptor Source #
Arguments
| :: Text | |
| -> GetMapStyleDescriptor |
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
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_blob :: Lens' GetMapStyleDescriptorResponse (Maybe ByteString) Source #
Contains the body of the style descriptor.
getMapStyleDescriptorResponse_contentType :: Lens' GetMapStyleDescriptorResponse (Maybe Text) Source #
The style descriptor's content type. For example, application/json.
getMapStyleDescriptorResponse_httpStatus :: Lens' GetMapStyleDescriptorResponse Int Source #
The response's http status code.