Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes a genome reference.
Synopsis
- data DeleteReference = DeleteReference' {
- id :: Text
- referenceStoreId :: Text
- newDeleteReference :: Text -> Text -> DeleteReference
- deleteReference_id :: Lens' DeleteReference Text
- deleteReference_referenceStoreId :: Lens' DeleteReference Text
- data DeleteReferenceResponse = DeleteReferenceResponse' {
- httpStatus :: Int
- newDeleteReferenceResponse :: Int -> DeleteReferenceResponse
- deleteReferenceResponse_httpStatus :: Lens' DeleteReferenceResponse Int
Creating a Request
data DeleteReference Source #
See: newDeleteReference
smart constructor.
DeleteReference' | |
|
Instances
Create a value of DeleteReference
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteReference
, deleteReference_id
- The reference's ID.
DeleteReference
, deleteReference_referenceStoreId
- The reference's store ID.
Request Lenses
deleteReference_id :: Lens' DeleteReference Text Source #
The reference's ID.
deleteReference_referenceStoreId :: Lens' DeleteReference Text Source #
The reference's store ID.
Destructuring the Response
data DeleteReferenceResponse Source #
See: newDeleteReferenceResponse
smart constructor.
DeleteReferenceResponse' | |
|
Instances
newDeleteReferenceResponse Source #
Create a value of DeleteReferenceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteReferenceResponse'
, deleteReferenceResponse_httpStatus
- The response's http status code.
Response Lenses
deleteReferenceResponse_httpStatus :: Lens' DeleteReferenceResponse Int Source #
The response's http status code.