| Copyright | (C) 2019 Earnest Research |
|---|---|
| License | MIT |
| Maintainer | Daniel Donohue <ddonohue@earnestresearch.com> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Livy.Client.Batch.KillBatch
Description
Synopsis
- newtype KillBatch = KillBatch {}
- killBatch :: BatchId -> KillBatch
- kbBatchId :: Iso' KillBatch BatchId
- newtype KillBatchResponse = KillBatchResponse {}
- kbrMsg :: Iso' KillBatchResponse Text
The request
The KillBatch request object.
Constructors
| KillBatch | |
Fields
| |
killBatch :: BatchId -> KillBatch Source #
Creates a value of KillBatch with the minimum fields required to make a request.
Request lenses
The response
newtype KillBatchResponse Source #
The KillBatch response body.
Constructors
| KillBatchResponse | |
Instances
| Eq KillBatchResponse Source # | |
Defined in Network.Livy.Client.Batch.KillBatch Methods (==) :: KillBatchResponse -> KillBatchResponse -> Bool # (/=) :: KillBatchResponse -> KillBatchResponse -> Bool # | |
| Show KillBatchResponse Source # | |
Defined in Network.Livy.Client.Batch.KillBatch Methods showsPrec :: Int -> KillBatchResponse -> ShowS # show :: KillBatchResponse -> String # showList :: [KillBatchResponse] -> ShowS # | |
| FromJSON KillBatchResponse Source # | |
Defined in Network.Livy.Client.Batch.KillBatch Methods parseJSON :: Value -> Parser KillBatchResponse # parseJSONList :: Value -> Parser [KillBatchResponse] # | |