| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CostExplorer.Types.DateInterval
Description
Synopsis
- data DateInterval = DateInterval' {}
- newDateInterval :: Text -> Text -> DateInterval
- dateInterval_start :: Lens' DateInterval Text
- dateInterval_end :: Lens' DateInterval Text
Documentation
data DateInterval Source #
The time period of the request.
See: newDateInterval smart constructor.
Constructors
| DateInterval' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DateInterval |
Create a value of DateInterval 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:start:DateInterval', dateInterval_start - The beginning of the time period. The start date is inclusive. For
example, if start is 2017-01-01, Amazon Web Services retrieves cost
and usage data starting at 2017-01-01 up to the end date. The start
date must be equal to or no later than the current date to avoid a
validation error.
$sel:end:DateInterval', dateInterval_end - The end of the time period. The end date is exclusive. For example, if
end is 2017-05-01, Amazon Web Services retrieves cost and usage data
from the start date up to, but not including, 2017-05-01.
dateInterval_start :: Lens' DateInterval Text Source #
The beginning of the time period. The start date is inclusive. For
example, if start is 2017-01-01, Amazon Web Services retrieves cost
and usage data starting at 2017-01-01 up to the end date. The start
date must be equal to or no later than the current date to avoid a
validation error.
dateInterval_end :: Lens' DateInterval Text Source #
The end of the time period. The end date is exclusive. For example, if
end is 2017-05-01, Amazon Web Services retrieves cost and usage data
from the start date up to, but not including, 2017-05-01.