Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.Livy.Client.Interactive.GetSession
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.
Constructors
GetSession | |
Fields
|
Instances
Eq GetSession Source # | |
Defined in Network.Livy.Client.Interactive.GetSession | |
Show GetSession Source # | |
Defined in Network.Livy.Client.Interactive.GetSession Methods showsPrec :: Int -> GetSession -> ShowS # show :: GetSession -> String # showList :: [GetSession] -> ShowS # | |
LivyRequest GetSession Source # | |
Defined in Network.Livy.Client.Interactive.GetSession Methods request :: GetSession -> Request Source # | |
ToPath GetSession Source # | |
Defined in Network.Livy.Client.Interactive.GetSession Methods 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.
Constructors
GetSessionResponse | |
Fields
|
Instances
Eq GetSessionResponse Source # | |
Defined in Network.Livy.Client.Interactive.GetSession Methods (==) :: GetSessionResponse -> GetSessionResponse -> Bool # (/=) :: GetSessionResponse -> GetSessionResponse -> Bool # | |
Show GetSessionResponse Source # | |
Defined in Network.Livy.Client.Interactive.GetSession Methods showsPrec :: Int -> GetSessionResponse -> ShowS # show :: GetSessionResponse -> String # showList :: [GetSessionResponse] -> ShowS # | |
FromJSON GetSessionResponse Source # | |
Defined in Network.Livy.Client.Interactive.GetSession Methods parseJSON :: Value -> Parser GetSessionResponse # parseJSONList :: Value -> Parser [GetSessionResponse] # |