Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module provides operations to load and modify metadata relating to GraphQL Data Connectors.
Synopsis
- data DCAddAgent = DCAddAgent {
- _gdcaName :: DataConnectorName
- _gdcaUrl :: BaseUrl
- _gdcaDisplayName :: Maybe Text
- _gdcaSkipCheck :: SkipCheck
- runAddDataConnectorAgent :: (MetadataM m, ProvidesNetwork m, CacheRWM m, Has (Logger Hasura) r, MonadReader r m, MonadError QErr m, MonadIO m, MonadBaseControl IO m) => DCAddAgent -> m EncJSON
- newtype DCDeleteAgent = DCDeleteAgent {}
- runDeleteDataConnectorAgent :: (CacheRWM m, MetadataM m, MonadError QErr m) => DCDeleteAgent -> m EncJSON
Documentation
data DCAddAgent Source #
DCAddAgent | |
|
Instances
FromJSON DCAddAgent Source # | |
Defined in Hasura.RQL.DDL.DataConnector parseJSON :: Value -> Parser DCAddAgent Source # parseJSONList :: Value -> Parser [DCAddAgent] Source # | |
ToJSON DCAddAgent Source # | |
Defined in Hasura.RQL.DDL.DataConnector toJSON :: DCAddAgent -> Value Source # toEncoding :: DCAddAgent -> Encoding Source # toJSONList :: [DCAddAgent] -> Value Source # toEncodingList :: [DCAddAgent] -> Encoding Source # |
runAddDataConnectorAgent :: (MetadataM m, ProvidesNetwork m, CacheRWM m, Has (Logger Hasura) r, MonadReader r m, MonadError QErr m, MonadIO m, MonadBaseControl IO m) => DCAddAgent -> m EncJSON Source #
Insert a new Data Connector Agent into Metadata.
newtype DCDeleteAgent Source #
Instances
FromJSON DCDeleteAgent Source # | |
Defined in Hasura.RQL.DDL.DataConnector parseJSON :: Value -> Parser DCDeleteAgent Source # parseJSONList :: Value -> Parser [DCDeleteAgent] Source # | |
ToJSON DCDeleteAgent Source # | |
Defined in Hasura.RQL.DDL.DataConnector toJSON :: DCDeleteAgent -> Value Source # toEncoding :: DCDeleteAgent -> Encoding Source # toJSONList :: [DCDeleteAgent] -> Value Source # toEncodingList :: [DCDeleteAgent] -> Encoding Source # |
runDeleteDataConnectorAgent :: (CacheRWM m, MetadataM m, MonadError QErr m) => DCDeleteAgent -> m EncJSON Source #
Delete a Data Connector Agent from the Metadata.