Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data CreateBatch = CreateBatch {
- _cbFile :: Text
- _cbProxyUser :: Maybe Text
- _cbClassName :: Maybe Text
- _cbArgs :: Maybe [Text]
- _cbJars :: Maybe [Text]
- _cbPyFiles :: Maybe [Text]
- _cbFiles :: Maybe [Text]
- _cbDriverMemory :: Maybe Text
- _cbDriverCores :: Maybe Int
- _cbExecutorMemory :: Maybe Text
- _cbExecutorCores :: Maybe Int
- _cbNumExecutors :: Maybe Int
- _cbArchives :: Maybe [Text]
- _cbQueue :: Maybe Text
- _cbName :: Maybe Text
- _cbConf :: Maybe (HashMap Text Text)
- _cbHeartbeatTimeoutInSecond :: Maybe Int
- createBatch :: Text -> CreateBatch
- cbFile :: Lens' CreateBatch Text
- cbProxyUser :: Lens' CreateBatch (Maybe Text)
- cbClassName :: Lens' CreateBatch (Maybe Text)
- cbArgs :: Lens' CreateBatch (Maybe [Text])
- cbJars :: Lens' CreateBatch (Maybe [Text])
- cbPyFiles :: Lens' CreateBatch (Maybe [Text])
- cbFiles :: Lens' CreateBatch (Maybe [Text])
- cbDriverMemory :: Lens' CreateBatch (Maybe Text)
- cbDriverCores :: Lens' CreateBatch (Maybe Int)
- cbExecutorMemory :: Lens' CreateBatch (Maybe Text)
- cbExecutorCores :: Lens' CreateBatch (Maybe Int)
- cbNumExecutors :: Lens' CreateBatch (Maybe Int)
- cbArchives :: Lens' CreateBatch (Maybe [Text])
- cbQueue :: Lens' CreateBatch (Maybe Text)
- cbName :: Lens' CreateBatch (Maybe Text)
- cbConf :: Lens' CreateBatch (Maybe (HashMap Text Text))
- cbHeartbeatTimeoutInSecond :: Lens' CreateBatch (Maybe Int)
- newtype CreateBatchResponse = CreateBatchResponse {}
- cbrBatch :: Iso' CreateBatchResponse Batch
The request
data CreateBatch Source #
The CreateBatch
request object.
CreateBatch | |
|
Instances
Eq CreateBatch Source # | |
Defined in Network.Livy.Client.Batch.CreateBatch (==) :: CreateBatch -> CreateBatch -> Bool # (/=) :: CreateBatch -> CreateBatch -> Bool # | |
Show CreateBatch Source # | |
Defined in Network.Livy.Client.Batch.CreateBatch showsPrec :: Int -> CreateBatch -> ShowS # show :: CreateBatch -> String # showList :: [CreateBatch] -> ShowS # | |
ToJSON CreateBatch Source # | |
Defined in Network.Livy.Client.Batch.CreateBatch toJSON :: CreateBatch -> Value # toEncoding :: CreateBatch -> Encoding # toJSONList :: [CreateBatch] -> Value # toEncodingList :: [CreateBatch] -> Encoding # | |
LivyRequest CreateBatch Source # | |
Defined in Network.Livy.Client.Batch.CreateBatch request :: CreateBatch -> Request Source # | |
ToPath CreateBatch Source # | |
Defined in Network.Livy.Client.Batch.CreateBatch toPath :: CreateBatch -> ByteString Source # | |
type LivyResponse CreateBatch Source # | |
Defined in Network.Livy.Client.Batch.CreateBatch |
createBatch :: Text -> CreateBatch Source #
Creates a value of CreateBatch
with the minimum fields required to make a request.
Request lenses
cbProxyUser :: Lens' CreateBatch (Maybe Text) Source #
cbClassName :: Lens' CreateBatch (Maybe Text) Source #
cbDriverCores :: Lens' CreateBatch (Maybe Int) Source #
cbArchives :: Lens' CreateBatch (Maybe [Text]) Source #
The response
newtype CreateBatchResponse Source #
The CreateBatch
response body.
Instances
Eq CreateBatchResponse Source # | |
Defined in Network.Livy.Client.Batch.CreateBatch (==) :: CreateBatchResponse -> CreateBatchResponse -> Bool # (/=) :: CreateBatchResponse -> CreateBatchResponse -> Bool # | |
Show CreateBatchResponse Source # | |
Defined in Network.Livy.Client.Batch.CreateBatch showsPrec :: Int -> CreateBatchResponse -> ShowS # show :: CreateBatchResponse -> String # showList :: [CreateBatchResponse] -> ShowS # | |
FromJSON CreateBatchResponse Source # | |
Defined in Network.Livy.Client.Batch.CreateBatch parseJSON :: Value -> Parser CreateBatchResponse # parseJSONList :: Value -> Parser [CreateBatchResponse] # |