Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Delete a map.
See: Google Maps Engine API Reference for mapsengine.maps.delete
.
- type MapsDeleteResource = "mapsengine" :> ("v1" :> ("maps" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ()))))
- mapsDelete :: Text -> MapsDelete
- data MapsDelete
- mdId :: Lens' MapsDelete Text
REST Resource
type MapsDeleteResource = "mapsengine" :> ("v1" :> ("maps" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ())))) Source
A resource alias for mapsengine.maps.delete
method which the
MapsDelete
request conforms to.
Creating a Request
:: Text | |
-> MapsDelete |
Creates a value of MapsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MapsDelete Source
Delete a map.
See: mapsDelete
smart constructor.
Request Lenses
mdId :: Lens' MapsDelete Text Source
The ID of the map. Only the map creator or project owner are permitted to delete. If the map is published the request will fail. Unpublish the map prior to deleting.