Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype GetBatchState = GetBatchState {}
- getBatchState :: BatchId -> GetBatchState
- gbstBatchId :: Iso' GetBatchState BatchId
- data GetBatchStateResponse = GetBatchStateResponse {
- _gbstrId :: !BatchId
- _gbstrState :: !BatchState
- gbstrId :: Lens' GetBatchStateResponse BatchId
- gbstrState :: Lens' GetBatchStateResponse BatchState
The request
newtype GetBatchState Source #
The GetBatchState
request object.
GetBatchState | |
|
Instances
Eq GetBatchState Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState (==) :: GetBatchState -> GetBatchState -> Bool # (/=) :: GetBatchState -> GetBatchState -> Bool # | |
Show GetBatchState Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState showsPrec :: Int -> GetBatchState -> ShowS # show :: GetBatchState -> String # showList :: [GetBatchState] -> ShowS # | |
LivyRequest GetBatchState Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState request :: GetBatchState -> Request Source # | |
ToPath GetBatchState Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState toPath :: GetBatchState -> ByteString Source # | |
type LivyResponse GetBatchState Source # | |
getBatchState :: BatchId -> GetBatchState Source #
Creates a value of GetBatchState
with the minimum fields required to make a request.
Request lenses
The response
data GetBatchStateResponse Source #
The GetBatchState
response body.
GetBatchStateResponse | |
|
Instances
Eq GetBatchStateResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState (==) :: GetBatchStateResponse -> GetBatchStateResponse -> Bool # (/=) :: GetBatchStateResponse -> GetBatchStateResponse -> Bool # | |
Show GetBatchStateResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState showsPrec :: Int -> GetBatchStateResponse -> ShowS # show :: GetBatchStateResponse -> String # showList :: [GetBatchStateResponse] -> ShowS # | |
FromJSON GetBatchStateResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState parseJSON :: Value -> Parser GetBatchStateResponse # parseJSONList :: Value -> Parser [GetBatchStateResponse] # |