Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data CreateSession = CreateSession {
- _csKind :: Maybe SessionKind
- _csProxyUser :: Maybe Text
- _csJars :: Maybe [Text]
- _csPyFiles :: Maybe [Text]
- _csFiles :: Maybe [Text]
- _csDriverMemory :: Maybe Text
- _csDriverCores :: Maybe Int
- _csExecutorMemory :: Maybe Text
- _csExecutorCores :: Maybe Int
- _csNumExecutors :: Maybe Int
- _csArchives :: Maybe [Text]
- _csQueue :: Maybe Text
- _csName :: Maybe Text
- _csConf :: Maybe (HashMap Text Text)
- _csHeartbeatTimeoutInSecond :: Maybe Int
- createSession :: CreateSession
- csKind :: Lens' CreateSession (Maybe SessionKind)
- csProxyUser :: Lens' CreateSession (Maybe Text)
- csJars :: Lens' CreateSession (Maybe [Text])
- csPyFiles :: Lens' CreateSession (Maybe [Text])
- csFiles :: Lens' CreateSession (Maybe [Text])
- csDriverMemory :: Lens' CreateSession (Maybe Text)
- csDriverCores :: Lens' CreateSession (Maybe Int)
- csExecutorMemory :: Lens' CreateSession (Maybe Text)
- csExecutorCores :: Lens' CreateSession (Maybe Int)
- csNumExecutors :: Lens' CreateSession (Maybe Int)
- csArchives :: Lens' CreateSession (Maybe [Text])
- csQueue :: Lens' CreateSession (Maybe Text)
- csName :: Lens' CreateSession (Maybe Text)
- csConf :: Lens' CreateSession (Maybe (HashMap Text Text))
- csHeartbeatTimeoutInSecond :: Lens' CreateSession (Maybe Int)
- newtype CreateSessionResponse = CreateSessionResponse {}
- csrSession :: Iso' CreateSessionResponse Session
The request
data CreateSession Source #
The CreateSession
request object.
CreateSession | |
|
Instances
Eq CreateSession Source # | |
Defined in Network.Livy.Client.Interactive.CreateSession (==) :: CreateSession -> CreateSession -> Bool # (/=) :: CreateSession -> CreateSession -> Bool # | |
Show CreateSession Source # | |
Defined in Network.Livy.Client.Interactive.CreateSession showsPrec :: Int -> CreateSession -> ShowS # show :: CreateSession -> String # showList :: [CreateSession] -> ShowS # | |
ToJSON CreateSession Source # | |
Defined in Network.Livy.Client.Interactive.CreateSession toJSON :: CreateSession -> Value # toEncoding :: CreateSession -> Encoding # toJSONList :: [CreateSession] -> Value # toEncodingList :: [CreateSession] -> Encoding # | |
LivyRequest CreateSession Source # | |
Defined in Network.Livy.Client.Interactive.CreateSession request :: CreateSession -> Request Source # | |
ToPath CreateSession Source # | |
Defined in Network.Livy.Client.Interactive.CreateSession toPath :: CreateSession -> ByteString Source # | |
type LivyResponse CreateSession Source # | |
createSession :: CreateSession Source #
Creates a value of CreateSession
with the minimum fields required to make a request.
Request lenses
csArchives :: Lens' CreateSession (Maybe [Text]) Source #
The response
newtype CreateSessionResponse Source #
The CreateSession
response body.
CreateSessionResponse | |
|