Copyright | (C) 2019 Earnest Research |
---|---|
License | MIT |
Maintainer | Daniel Donohue <ddonohue@earnestresearch.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- newtype GetSession = GetSession {}
- getSession :: SessionId -> GetSession
- gsSessionId :: Iso' GetSession SessionId
- newtype GetSessionResponse = GetSessionResponse {}
- gsrSession :: Iso' GetSessionResponse Session
The request
newtype GetSession Source #
The GetSession
request object.
GetSession | |
|
Instances
Eq GetSession Source # | |
Defined in Network.Livy.Client.Interactive.GetSession (==) :: GetSession -> GetSession -> Bool # (/=) :: GetSession -> GetSession -> Bool # | |
Show GetSession Source # | |
Defined in Network.Livy.Client.Interactive.GetSession showsPrec :: Int -> GetSession -> ShowS # show :: GetSession -> String # showList :: [GetSession] -> ShowS # | |
LivyRequest GetSession Source # | |
Defined in Network.Livy.Client.Interactive.GetSession request :: GetSession -> Request Source # | |
ToPath GetSession Source # | |
Defined in Network.Livy.Client.Interactive.GetSession toPath :: GetSession -> ByteString Source # | |
type LivyResponse GetSession Source # | |
Defined in Network.Livy.Client.Interactive.GetSession |
getSession :: SessionId -> GetSession Source #
Creates a value of GetSession
with the minimum fields required to make a request.
Request lenses
The response
newtype GetSessionResponse Source #
The GetSession
response body.
GetSessionResponse | |
|
Instances
Eq GetSessionResponse Source # | |
Defined in Network.Livy.Client.Interactive.GetSession (==) :: GetSessionResponse -> GetSessionResponse -> Bool # (/=) :: GetSessionResponse -> GetSessionResponse -> Bool # | |
Show GetSessionResponse Source # | |
Defined in Network.Livy.Client.Interactive.GetSession showsPrec :: Int -> GetSessionResponse -> ShowS # show :: GetSessionResponse -> String # showList :: [GetSessionResponse] -> ShowS # | |
FromJSON GetSessionResponse Source # | |
Defined in Network.Livy.Client.Interactive.GetSession parseJSON :: Value -> Parser GetSessionResponse # parseJSONList :: Value -> Parser [GetSessionResponse] # |