Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Region = Region {
- _rgnName :: !Text
- _rgnSlug :: !Text
- _rgnSizes :: ![Text]
- _rgnFeatures :: ![Text]
- _rgnAvailable :: !Bool
- getRegions :: (Error e, MonadError e m, MonadIO m) => Config -> m [Region]
- rgnName :: Lens' Region Text
- rgnSlug :: Lens' Region Text
- rgnSizes :: Lens' Region [Text]
- rgnFeatures :: Lens' Region [Text]
- rgnAvailable :: Lens' Region Bool
Documentation
A Digital Ocean region
getRegions :: (Error e, MonadError e m, MonadIO m) => Config -> m [Region] Source
Returns a list of all the visible Digital Ocean regions
Lens Accessors
rgnFeatures :: Lens' Region [Text] Source