Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.Livy.Client.Batch.GetBatch
Synopsis
- newtype GetBatch = GetBatch {}
- getBatch :: BatchId -> GetBatch
- gbBatchId :: Iso' GetBatch BatchId
- newtype GetBatchResponse = GetBatchResponse {}
- gbrBatch :: Iso' GetBatchResponse Batch
The request
The GetBatch
request object.
Constructors
GetBatch | |
Fields
|
getBatch :: BatchId -> GetBatch Source #
Creates a value of GetBatch
with the minimum fields required to make a request.
Request lenses
The response
newtype GetBatchResponse Source #
The GetBatch
response body.
Constructors
GetBatchResponse | |
Instances
Eq GetBatchResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatch Methods (==) :: GetBatchResponse -> GetBatchResponse -> Bool # (/=) :: GetBatchResponse -> GetBatchResponse -> Bool # | |
Show GetBatchResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatch Methods showsPrec :: Int -> GetBatchResponse -> ShowS # show :: GetBatchResponse -> String # showList :: [GetBatchResponse] -> ShowS # | |
FromJSON GetBatchResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatch Methods parseJSON :: Value -> Parser GetBatchResponse # parseJSONList :: Value -> Parser [GetBatchResponse] # |