TimePeriod
¶
Source code in docs_src/capo_lightsail/types/time_period.py
end
instance-attribute
¶
end: NotRequired[IsoDate]
The end of the time period. The end date is exclusive. For example, if end is 2017-05-01, Lightsail for Research retrieves cost and usage data from the start date up to, but not including, 2017-05-01.
start
instance-attribute
¶
start: NotRequired[IsoDate]
The beginning of the time period. The start date is inclusive. For example, if start is 2017-01-01, Lightsail for Research 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.