Skip to content

SavingsPlansCoverageQuery

Source code in docs_src/capo_bcm_dashboards/types/savings_plans_coverage_query.py
class SavingsPlansCoverageQuery(TypedDict, closed=True):
    time_range: "capo_bcm_dashboards.types.date_time_range.DateTimeRange"
    metrics: NotRequired["capo_bcm_dashboards.types.metric_names.MetricNames"]
    """<p>The coverage metrics to include in the results.</p> <note> <p>Valid value for SavingsPlansCoverageQuery metrics is <code>SpendCoveredBySavingsPlans</code>.</p> </note>"""
    granularity: NotRequired["capo_bcm_dashboards.types.granularity.Granularity"]
    """<p>The time granularity of the retrieved data: <code>HOURLY</code>, <code>DAILY</code>, or <code>MONTHLY</code>.</p>"""
    group_by: NotRequired[
        "capo_bcm_dashboards.types.group_definitions.GroupDefinitions"
    ]
    """<p>Specifies how to group the Savings Plans coverage data, such as by service or instance family.</p>"""
    filter: NotRequired["capo_bcm_dashboards.types.expression.Expression"]

filter instance-attribute

filter: NotRequired[Expression]

granularity instance-attribute

granularity: NotRequired[Granularity]

The time granularity of the retrieved data: HOURLY, DAILY, or MONTHLY.

group_by instance-attribute

group_by: NotRequired[GroupDefinitions]

Specifies how to group the Savings Plans coverage data, such as by service or instance family.

metrics instance-attribute

metrics: NotRequired[MetricNames]

The coverage metrics to include in the results.

Valid value for SavingsPlansCoverageQuery metrics is SpendCoveredBySavingsPlans.

time_range instance-attribute

time_range: DateTimeRange