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 annotation. Caller must have WRITE permission for the associated annotation set.
See: Genomics API Reference for genomics.annotations.delete
.
- type AnnotationsDeleteResource = "v1" :> ("annotations" :> (Capture "annotationId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))))
- annotationsDelete :: Text -> AnnotationsDelete
- data AnnotationsDelete
- adXgafv :: Lens' AnnotationsDelete (Maybe Xgafv)
- adUploadProtocol :: Lens' AnnotationsDelete (Maybe Text)
- adPp :: Lens' AnnotationsDelete Bool
- adAccessToken :: Lens' AnnotationsDelete (Maybe Text)
- adUploadType :: Lens' AnnotationsDelete (Maybe Text)
- adBearerToken :: Lens' AnnotationsDelete (Maybe Text)
- adAnnotationId :: Lens' AnnotationsDelete Text
- adCallback :: Lens' AnnotationsDelete (Maybe Text)
REST Resource
type AnnotationsDeleteResource = "v1" :> ("annotations" :> (Capture "annotationId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))))) Source #
A resource alias for genomics.annotations.delete
method which the
AnnotationsDelete
request conforms to.
Creating a Request
Creates a value of AnnotationsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AnnotationsDelete Source #
Deletes an annotation. Caller must have WRITE permission for the associated annotation set.
See: annotationsDelete
smart constructor.
Request Lenses
adUploadProtocol :: Lens' AnnotationsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
adAccessToken :: Lens' AnnotationsDelete (Maybe Text) Source #
OAuth access token.
adUploadType :: Lens' AnnotationsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
adBearerToken :: Lens' AnnotationsDelete (Maybe Text) Source #
OAuth bearer token.
adAnnotationId :: Lens' AnnotationsDelete Text Source #
The ID of the annotation to be deleted.
adCallback :: Lens' AnnotationsDelete (Maybe Text) Source #
JSONP