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 |
Updates an annotation store.
Synopsis
- data UpdateAnnotationStore = UpdateAnnotationStore' {
- description :: Maybe Text
- name :: Text
- newUpdateAnnotationStore :: Text -> UpdateAnnotationStore
- updateAnnotationStore_description :: Lens' UpdateAnnotationStore (Maybe Text)
- updateAnnotationStore_name :: Lens' UpdateAnnotationStore Text
- data UpdateAnnotationStoreResponse = UpdateAnnotationStoreResponse' {}
- newUpdateAnnotationStoreResponse :: Int -> UTCTime -> Text -> Text -> Text -> ReferenceItem -> StoreStatus -> UTCTime -> UpdateAnnotationStoreResponse
- updateAnnotationStoreResponse_storeFormat :: Lens' UpdateAnnotationStoreResponse (Maybe StoreFormat)
- updateAnnotationStoreResponse_storeOptions :: Lens' UpdateAnnotationStoreResponse (Maybe StoreOptions)
- updateAnnotationStoreResponse_httpStatus :: Lens' UpdateAnnotationStoreResponse Int
- updateAnnotationStoreResponse_creationTime :: Lens' UpdateAnnotationStoreResponse UTCTime
- updateAnnotationStoreResponse_description :: Lens' UpdateAnnotationStoreResponse Text
- updateAnnotationStoreResponse_id :: Lens' UpdateAnnotationStoreResponse Text
- updateAnnotationStoreResponse_name :: Lens' UpdateAnnotationStoreResponse Text
- updateAnnotationStoreResponse_reference :: Lens' UpdateAnnotationStoreResponse ReferenceItem
- updateAnnotationStoreResponse_status :: Lens' UpdateAnnotationStoreResponse StoreStatus
- updateAnnotationStoreResponse_updateTime :: Lens' UpdateAnnotationStoreResponse UTCTime
Creating a Request
data UpdateAnnotationStore Source #
See: newUpdateAnnotationStore
smart constructor.
UpdateAnnotationStore' | |
|
Instances
newUpdateAnnotationStore Source #
Create a value of UpdateAnnotationStore
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:
UpdateAnnotationStore
, updateAnnotationStore_description
- A description for the store.
UpdateAnnotationStore
, updateAnnotationStore_name
- A name for the store.
Request Lenses
updateAnnotationStore_description :: Lens' UpdateAnnotationStore (Maybe Text) Source #
A description for the store.
updateAnnotationStore_name :: Lens' UpdateAnnotationStore Text Source #
A name for the store.
Destructuring the Response
data UpdateAnnotationStoreResponse Source #
See: newUpdateAnnotationStoreResponse
smart constructor.
UpdateAnnotationStoreResponse' | |
|
Instances
newUpdateAnnotationStoreResponse Source #
:: Int | |
-> UTCTime | |
-> Text | |
-> Text | |
-> Text | |
-> ReferenceItem | |
-> StoreStatus | |
-> UTCTime | |
-> UpdateAnnotationStoreResponse |
Create a value of UpdateAnnotationStoreResponse
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:
UpdateAnnotationStoreResponse
, updateAnnotationStoreResponse_storeFormat
- The annotation file format of the store.
$sel:storeOptions:UpdateAnnotationStoreResponse'
, updateAnnotationStoreResponse_storeOptions
- Parsing options for the store.
$sel:httpStatus:UpdateAnnotationStoreResponse'
, updateAnnotationStoreResponse_httpStatus
- The response's http status code.
UpdateAnnotationStoreResponse
, updateAnnotationStoreResponse_creationTime
- When the store was created.
UpdateAnnotationStore
, updateAnnotationStoreResponse_description
- The store's description.
UpdateAnnotationStoreResponse
, updateAnnotationStoreResponse_id
- The store's ID.
UpdateAnnotationStore
, updateAnnotationStoreResponse_name
- The store's name.
UpdateAnnotationStoreResponse
, updateAnnotationStoreResponse_reference
- The store's genome reference.
UpdateAnnotationStoreResponse
, updateAnnotationStoreResponse_status
- The store's status.
UpdateAnnotationStoreResponse
, updateAnnotationStoreResponse_updateTime
- When the store was updated.
Response Lenses
updateAnnotationStoreResponse_storeFormat :: Lens' UpdateAnnotationStoreResponse (Maybe StoreFormat) Source #
The annotation file format of the store.
updateAnnotationStoreResponse_storeOptions :: Lens' UpdateAnnotationStoreResponse (Maybe StoreOptions) Source #
Parsing options for the store.
updateAnnotationStoreResponse_httpStatus :: Lens' UpdateAnnotationStoreResponse Int Source #
The response's http status code.
updateAnnotationStoreResponse_creationTime :: Lens' UpdateAnnotationStoreResponse UTCTime Source #
When the store was created.
updateAnnotationStoreResponse_description :: Lens' UpdateAnnotationStoreResponse Text Source #
The store's description.
updateAnnotationStoreResponse_id :: Lens' UpdateAnnotationStoreResponse Text Source #
The store's ID.
updateAnnotationStoreResponse_name :: Lens' UpdateAnnotationStoreResponse Text Source #
The store's name.
updateAnnotationStoreResponse_reference :: Lens' UpdateAnnotationStoreResponse ReferenceItem Source #
The store's genome reference.
updateAnnotationStoreResponse_status :: Lens' UpdateAnnotationStoreResponse StoreStatus Source #
The store's status.
updateAnnotationStoreResponse_updateTime :: Lens' UpdateAnnotationStoreResponse UTCTime Source #
When the store was updated.