Skip to content

EstimateByTime

Source code in docs_src/capo_lightsail/types/estimate_by_time.py
class EstimateByTime(TypedDict, closed=True):
    usage_cost: NotRequired["capo_lightsail.types.double.double"]
    """<p>The amount of cost or usage that's measured for the cost estimate.</p>"""
    pricing_unit: NotRequired["capo_lightsail.types.pricing_unit.PricingUnit"]
    """<p>The unit of measurement that's used for the cost estimate.</p>"""
    unit: NotRequired["capo_lightsail.types.double.double"]
    """<p>The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1 hour.</p>"""
    currency: NotRequired["capo_lightsail.types.currency.Currency"]
    """<p>The currency of the estimate in USD.</p>"""
    time_period: NotRequired["capo_lightsail.types.time_period.TimePeriod"]
    """<p>The period of time, in days, that an estimate covers. The period has a start date and an end date. The start date must come before the end date.</p>"""

currency instance-attribute

currency: NotRequired[Currency]

The currency of the estimate in USD.

pricing_unit instance-attribute

pricing_unit: NotRequired[PricingUnit]

The unit of measurement that's used for the cost estimate.

time_period instance-attribute

time_period: NotRequired[TimePeriod]

The period of time, in days, that an estimate covers. The period has a start date and an end date. The start date must come before the end date.

unit instance-attribute

unit: NotRequired[double]

The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1 hour.

usage_cost instance-attribute

usage_cost: NotRequired[double]

The amount of cost or usage that's measured for the cost estimate.