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 an attachment from a timeline item.
See: Google Mirror API Reference for mirror.timeline.attachments.delete
.
Synopsis
- type TimelineAttachmentsDeleteResource = "mirror" :> ("v1" :> ("timeline" :> (Capture "itemId" Text :> ("attachments" :> (Capture "attachmentId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- timelineAttachmentsDelete :: Text -> Text -> TimelineAttachmentsDelete
- data TimelineAttachmentsDelete
- tadItemId :: Lens' TimelineAttachmentsDelete Text
- tadAttachmentId :: Lens' TimelineAttachmentsDelete Text
REST Resource
type TimelineAttachmentsDeleteResource = "mirror" :> ("v1" :> ("timeline" :> (Capture "itemId" Text :> ("attachments" :> (Capture "attachmentId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for mirror.timeline.attachments.delete
method which the
TimelineAttachmentsDelete
request conforms to.
Creating a Request
timelineAttachmentsDelete Source #
Creates a value of TimelineAttachmentsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TimelineAttachmentsDelete Source #
Deletes an attachment from a timeline item.
See: timelineAttachmentsDelete
smart constructor.
Instances
Request Lenses
tadItemId :: Lens' TimelineAttachmentsDelete Text Source #
The ID of the timeline item the attachment belongs to.
tadAttachmentId :: Lens' TimelineAttachmentsDelete Text Source #
The ID of the attachment.