| Copyright | © 2017 All rights reserved. |
|---|---|
| License | GPL-3 |
| Maintainer | Evan Cofsky <evan@theunixman.com> |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Machines.SpotPrices
Description
- type SpotPriceSourceT m = AWSSourceT m SpotPrice
- type SpotPriceProcess b = Process SpotPrice b
- newtype Dollars = Dollars {}
- data PricePoint = PricePoint {}
- ppZone :: Lens' PricePoint Text
- ppTime :: Lens' PricePoint Time
- ppInstanceType :: Lens' PricePoint InstanceType
- ppDollars :: Lens' PricePoint Dollars
- pricePoint :: SpotPrice -> Maybe PricePoint
- spotPriceHistory :: [RequestMod DescribeSpotPriceHistory] -> SpotPriceSourceT m
- pricePoints :: SpotPriceProcess PricePoint
Documentation
type SpotPriceSourceT m = AWSSourceT m SpotPrice Source #
An AWSSourceT for SpotPrices.
type SpotPriceProcess b = Process SpotPrice b Source #
A Num instance for representing US Dollars.
data PricePoint Source #
The hourly spot price at a specific Time, InstanceType, and
Zone.
Constructors
| PricePoint | |
Fields
| |
Instances
pricePoint :: SpotPrice -> Maybe PricePoint Source #
Arguments
| :: [RequestMod DescribeSpotPriceHistory] | |
| -> SpotPriceSourceT m | The spot price history |
Streams the historic spot price history for a region.