Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ResultByTime = ResultByTime' {
- groups :: Maybe [Group]
- timePeriod :: Maybe DateInterval
- total :: Maybe (HashMap Text MetricValue)
- estimated :: Maybe Bool
- newResultByTime :: ResultByTime
- resultByTime_groups :: Lens' ResultByTime (Maybe [Group])
- resultByTime_timePeriod :: Lens' ResultByTime (Maybe DateInterval)
- resultByTime_total :: Lens' ResultByTime (Maybe (HashMap Text MetricValue))
- resultByTime_estimated :: Lens' ResultByTime (Maybe Bool)
Documentation
data ResultByTime Source #
The result that's associated with a time period.
See: newResultByTime
smart constructor.
ResultByTime' | |
|
Instances
newResultByTime :: ResultByTime Source #
Create a value of ResultByTime
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:groups:ResultByTime'
, resultByTime_groups
- The groups that this time period includes.
$sel:timePeriod:ResultByTime'
, resultByTime_timePeriod
- The time period that the result covers.
$sel:total:ResultByTime'
, resultByTime_total
- The total amount of cost or usage accrued during the time period.
$sel:estimated:ResultByTime'
, resultByTime_estimated
- Determines whether the result is estimated.
resultByTime_groups :: Lens' ResultByTime (Maybe [Group]) Source #
The groups that this time period includes.
resultByTime_timePeriod :: Lens' ResultByTime (Maybe DateInterval) Source #
The time period that the result covers.
resultByTime_total :: Lens' ResultByTime (Maybe (HashMap Text MetricValue)) Source #
The total amount of cost or usage accrued during the time period.
resultByTime_estimated :: Lens' ResultByTime (Maybe Bool) Source #
Determines whether the result is estimated.