| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Livy.Client.Batch.GetBatchState
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.
Constructors
| GetBatchState | |
Fields
| |
Instances
| Eq GetBatchState Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState Methods (==) :: GetBatchState -> GetBatchState -> Bool # (/=) :: GetBatchState -> GetBatchState -> Bool # | |
| Show GetBatchState Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState Methods showsPrec :: Int -> GetBatchState -> ShowS # show :: GetBatchState -> String # showList :: [GetBatchState] -> ShowS # | |
| LivyRequest GetBatchState Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState Methods request :: GetBatchState -> Request Source # | |
| ToPath GetBatchState Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState Methods 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.
Constructors
| GetBatchStateResponse | |
Fields
| |
Instances
| Eq GetBatchStateResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState Methods (==) :: GetBatchStateResponse -> GetBatchStateResponse -> Bool # (/=) :: GetBatchStateResponse -> GetBatchStateResponse -> Bool # | |
| Show GetBatchStateResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState Methods showsPrec :: Int -> GetBatchStateResponse -> ShowS # show :: GetBatchStateResponse -> String # showList :: [GetBatchStateResponse] -> ShowS # | |
| FromJSON GetBatchStateResponse Source # | |
Defined in Network.Livy.Client.Batch.GetBatchState Methods parseJSON :: Value -> Parser GetBatchStateResponse # parseJSONList :: Value -> Parser [GetBatchStateResponse] # | |