Copyright | (c) 2015-2016 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 |
Deletes a template
See: Fusion Tables API Reference for fusiontables.template.delete
.
Synopsis
- type TemplateDeleteResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("templates" :> (Capture "templateId" (Textual Int32) :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- templateDelete :: Int32 -> Text -> TemplateDelete
- data TemplateDelete
- tTemplateId :: Lens' TemplateDelete Int32
- tTableId :: Lens' TemplateDelete Text
REST Resource
type TemplateDeleteResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("templates" :> (Capture "templateId" (Textual Int32) :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for fusiontables.template.delete
method which the
TemplateDelete
request conforms to.
Creating a Request
Creates a value of TemplateDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TemplateDelete Source #
Deletes a template
See: templateDelete
smart constructor.
Instances
Request Lenses
tTemplateId :: Lens' TemplateDelete Int32 Source #
Identifier for the template which is being deleted