Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module provides operations to load and modify metadata relating to GraphQL Data Connectors.
Synopsis
- data DCAddAgent = DCAddAgent {
- _gdcaName :: NonEmptyText
- _gdcaUrl :: BaseUrl
- runAddDataConnectorAgent :: MetadataM m => DCAddAgent -> m EncJSON
- data DCDeleteAgent = DCDeleteAgent {}
- runDeleteDataConnectorAgent :: (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 parseJSONList :: Value -> Parser [DCAddAgent] | |
ToJSON DCAddAgent Source # | |
Defined in Hasura.RQL.DDL.DataConnector toJSON :: DCAddAgent -> Value toEncoding :: DCAddAgent -> Encoding toJSONList :: [DCAddAgent] -> Value toEncodingList :: [DCAddAgent] -> Encoding |
runAddDataConnectorAgent :: MetadataM m => DCAddAgent -> m EncJSON Source #
Insert a new Data Connector Agent into Metadata.
data DCDeleteAgent Source #
Instances
FromJSON DCDeleteAgent Source # | |
Defined in Hasura.RQL.DDL.DataConnector parseJSON :: Value -> Parser DCDeleteAgent parseJSONList :: Value -> Parser [DCDeleteAgent] | |
ToJSON DCDeleteAgent Source # | |
Defined in Hasura.RQL.DDL.DataConnector toJSON :: DCDeleteAgent -> Value toEncoding :: DCDeleteAgent -> Encoding toJSONList :: [DCDeleteAgent] -> Value toEncodingList :: [DCDeleteAgent] -> Encoding |
runDeleteDataConnectorAgent :: (MetadataM m, MonadError QErr m) => DCDeleteAgent -> m EncJSON Source #