Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data RunStatement = RunStatement {}
- runStatement :: SessionId -> Text -> SessionKind -> RunStatement
- rsSessionId :: Lens' RunStatement SessionId
- rsCode :: Lens' RunStatement Text
- rsKind :: Lens' RunStatement SessionKind
- newtype RunStatementResponse = RunStatementResponse {}
- rsrStatement :: Iso' RunStatementResponse Statement
The request
data RunStatement Source #
The RunStatement
request object.
RunStatement | |
|
Instances
Eq RunStatement Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement (==) :: RunStatement -> RunStatement -> Bool # (/=) :: RunStatement -> RunStatement -> Bool # | |
Show RunStatement Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement showsPrec :: Int -> RunStatement -> ShowS # show :: RunStatement -> String # showList :: [RunStatement] -> ShowS # | |
LivyRequest RunStatement Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement request :: RunStatement -> Request Source # | |
ToPath RunStatement Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement toPath :: RunStatement -> ByteString Source # | |
type LivyResponse RunStatement Source # | |
runStatement :: SessionId -> Text -> SessionKind -> RunStatement Source #
Creates a value of GetSessions
with the minimum fields required to make a request.
Request lenses
The response
newtype RunStatementResponse Source #
The RunStatement
response body.
RunStatementResponse | |
|
Instances
Eq RunStatementResponse Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement (==) :: RunStatementResponse -> RunStatementResponse -> Bool # (/=) :: RunStatementResponse -> RunStatementResponse -> Bool # | |
Show RunStatementResponse Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement showsPrec :: Int -> RunStatementResponse -> ShowS # show :: RunStatementResponse -> String # showList :: [RunStatementResponse] -> ShowS # | |
FromJSON RunStatementResponse Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement parseJSON :: Value -> Parser RunStatementResponse # parseJSONList :: Value -> Parser [RunStatementResponse] # |