Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Action = Action {
- _actId :: !Int
- _actStatus :: !Text
- _actType :: !Text
- _actStartedAt :: !Text
- _actCompletedAt :: !Text
- _actResourceId :: !Text
- _actResourceType :: !Text
- _actRegion :: !Text
- getActions :: (Error e, MonadError e m, MonadIO m) => Config -> m [Action]
- getAction :: (Error e, MonadError e m, MonadIO m) => Text -> Config -> m Action
- actId :: Lens' Action Int
- actStatus :: Lens' Action Text
- actType :: Lens' Action Text
- actStartedAt :: Lens' Action Text
- actCompletedAt :: Lens' Action Text
- actResourceId :: Lens' Action Text
- actResourceType :: Lens' Action Text
- actRegion :: Lens' Action Text
Documentation
An action that has be taken on a DigitalOcean resource
Action | |
|
getActions :: (Error e, MonadError e m, MonadIO m) => Config -> m [Action] Source
List all actions performed on the account
getAction :: (Error e, MonadError e m, MonadIO m) => Text -> Config -> m Action Source
Get a single action performed on the account