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