Skip to content

CostDriver

Source code in docs_src/capo_cost_explorer/types/cost_driver.py
class CostDriver(TypedDict, closed=True):
    type: NotRequired["capo_cost_explorer.types.generic_string.GenericString"]
    """<p>The category or classification of the cost driver.</p> <p>Values include: BUNDLED_DISCOUNT, CREDIT, OUT_OF_CYCLE_CHARGE, REFUND, RECURRING_RESERVATION_FEE, RESERVATION_USAGE, RI_VOLUME_DISCOUNT, SAVINGS_PLAN_USAGE, SAVINGS_PLAN_RECURRING_FEE, SUPPORT_FEE, TAX, UPFRONT_RESERVATION_FEE, USAGE_CHANGE, COMMITMENT</p>"""
    name: NotRequired["capo_cost_explorer.types.generic_string.GenericString"]
    """<p>The specific identifier of the cost driver.</p>"""
    metrics: NotRequired[
        "capo_cost_explorer.types.comparison_metrics.ComparisonMetrics"
    ]
    """<p>A mapping of metric names to their comparison values, measuring the impact of this cost driver.</p>"""

metrics instance-attribute

metrics: NotRequired[ComparisonMetrics]

A mapping of metric names to their comparison values, measuring the impact of this cost driver.

name instance-attribute

name: NotRequired[GenericString]

The specific identifier of the cost driver.

type instance-attribute

type: NotRequired[GenericString]

The category or classification of the cost driver.

Values include: BUNDLED_DISCOUNT, CREDIT, OUT_OF_CYCLE_CHARGE, REFUND, RECURRING_RESERVATION_FEE, RESERVATION_USAGE, RI_VOLUME_DISCOUNT, SAVINGS_PLAN_USAGE, SAVINGS_PLAN_RECURRING_FEE, SUPPORT_FEE, TAX, UPFRONT_RESERVATION_FEE, USAGE_CHANGE, COMMITMENT