Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data GetBatches = GetBatches {}
- getBatches :: GetBatches
- gbsFrom :: Lens' GetBatches (Maybe Int)
- gbsSize :: Lens' GetBatches (Maybe Int)
- data GetBatchesResponse = GetBatchesResponse {}
- gbsrFrom :: Lens' GetBatchesResponse Int
- gbsrSize :: Lens' GetBatchesResponse (Maybe Int)
- gbsrSessions :: Lens' GetBatchesResponse [Batch]
The request
data GetBatches Source #
The GetBatches
request object.
Instances
Eq GetBatches Source # | |
Defined in Network.Livy.Client.Batch.GetBatches (==) :: GetBatches -> GetBatches -> Bool # (/=) :: GetBatches -> GetBatches -> Bool # | |
Show GetBatches Source # | |
Defined in Network.Livy.Client.Batch.GetBatches showsPrec :: Int -> GetBatches -> ShowS # show :: GetBatches -> String # showList :: [GetBatches] -> ShowS # | |
LivyRequest GetBatches Source # | |
Defined in Network.Livy.Client.Batch.GetBatches request :: GetBatches -> Request Source # | |
ToQuery GetBatches Source # | |
Defined in Network.Livy.Client.Batch.GetBatches toQueryString :: GetBatches -> Query Source # | |
ToPath GetBatches Source # | |
Defined in Network.Livy.Client.Batch.GetBatches toPath :: GetBatches -> ByteString Source # | |
type LivyResponse GetBatches Source # | |
Defined in Network.Livy.Client.Batch.GetBatches |
getBatches :: GetBatches Source #
Creates a value of GetBatches
with the minimum fields required to make a request.
Request lenses
The response
data GetBatchesResponse Source #
Instances
Eq GetBatchesResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatches (==) :: GetBatchesResponse -> GetBatchesResponse -> Bool # (/=) :: GetBatchesResponse -> GetBatchesResponse -> Bool # | |
Show GetBatchesResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatches showsPrec :: Int -> GetBatchesResponse -> ShowS # show :: GetBatchesResponse -> String # showList :: [GetBatchesResponse] -> ShowS # | |
FromJSON GetBatchesResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatches parseJSON :: Value -> Parser GetBatchesResponse # parseJSONList :: Value -> Parser [GetBatchesResponse] # |