| 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.GetBatches
Description
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.
Constructors
| GetBatches | |
Instances
| Eq GetBatches Source # | |
Defined in Network.Livy.Client.Batch.GetBatches | |
| Show GetBatches Source # | |
Defined in Network.Livy.Client.Batch.GetBatches Methods showsPrec :: Int -> GetBatches -> ShowS # show :: GetBatches -> String # showList :: [GetBatches] -> ShowS # | |
| LivyRequest GetBatches Source # | |
Defined in Network.Livy.Client.Batch.GetBatches Methods request :: GetBatches -> Request Source # | |
| ToQuery GetBatches Source # | |
Defined in Network.Livy.Client.Batch.GetBatches Methods toQueryString :: GetBatches -> Query Source # | |
| ToPath GetBatches Source # | |
Defined in Network.Livy.Client.Batch.GetBatches Methods 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 #
Constructors
| GetBatchesResponse | |
Instances
| Eq GetBatchesResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatches Methods (==) :: GetBatchesResponse -> GetBatchesResponse -> Bool # (/=) :: GetBatchesResponse -> GetBatchesResponse -> Bool # | |
| Show GetBatchesResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatches Methods showsPrec :: Int -> GetBatchesResponse -> ShowS # show :: GetBatchesResponse -> String # showList :: [GetBatchesResponse] -> ShowS # | |
| FromJSON GetBatchesResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatches Methods parseJSON :: Value -> Parser GetBatchesResponse # parseJSONList :: Value -> Parser [GetBatchesResponse] # | |