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 set. Caller must have WRITE permission for the associated annotation set.
See: Genomics API Reference for genomics.annotationsets.delete
.
- type AnnotationSetsDeleteResource = "v1" :> ("annotationsets" :> (Capture "annotationSetId" Text :> (QueryParam "$.xgafv" Text :> (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))))))))))
- annotationSetsDelete :: Text -> AnnotationSetsDelete
- data AnnotationSetsDelete
- asdXgafv :: Lens' AnnotationSetsDelete (Maybe Text)
- asdUploadProtocol :: Lens' AnnotationSetsDelete (Maybe Text)
- asdAnnotationSetId :: Lens' AnnotationSetsDelete Text
- asdPp :: Lens' AnnotationSetsDelete Bool
- asdAccessToken :: Lens' AnnotationSetsDelete (Maybe Text)
- asdUploadType :: Lens' AnnotationSetsDelete (Maybe Text)
- asdBearerToken :: Lens' AnnotationSetsDelete (Maybe Text)
- asdCallback :: Lens' AnnotationSetsDelete (Maybe Text)
REST Resource
type AnnotationSetsDeleteResource = "v1" :> ("annotationsets" :> (Capture "annotationSetId" Text :> (QueryParam "$.xgafv" Text :> (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.annotationsets.delete
method which the
AnnotationSetsDelete
request conforms to.
Creating a Request
Creates a value of AnnotationSetsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AnnotationSetsDelete Source #
Deletes an annotation set. Caller must have WRITE permission for the associated annotation set.
See: annotationSetsDelete
smart constructor.
Request Lenses
asdUploadProtocol :: Lens' AnnotationSetsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
asdAnnotationSetId :: Lens' AnnotationSetsDelete Text Source #
The ID of the annotation set to be deleted.
asdAccessToken :: Lens' AnnotationSetsDelete (Maybe Text) Source #
OAuth access token.
asdUploadType :: Lens' AnnotationSetsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
asdBearerToken :: Lens' AnnotationSetsDelete (Maybe Text) Source #
OAuth bearer token.
asdCallback :: Lens' AnnotationSetsDelete (Maybe Text) Source #
JSONP