Skip to content

HealthStatus

Source code in docs_src/capo_budgets/types/health_status.py
class HealthStatus(TypedDict, closed=True):
    status: NotRequired["capo_budgets.types.health_status_value.HealthStatusValue"]
    """<p>The current status of the billing view resource.</p>"""
    status_reason: NotRequired[
        "capo_budgets.types.health_status_reason.HealthStatusReason"
    ]
    """<p>The reason for the current status.</p> <ul> <li> <p> <code>BILLING_VIEW_NO_ACCESS</code>: The billing view resource does not grant <code>billing:GetBillingViewData</code> permission to this account.</p> </li> <li> <p> <code>BILLING_VIEW_UNHEALTHY</code>: The billing view associated with the budget is unhealthy.</p> </li> <li> <p> <code>FILTER_INVALID</code>: The filter contains reference to an account you do not have access to.</p> </li> <li> <p> <code>MULTI_YEAR_HISTORICAL_DATA_DISABLED</code>: The budget is not being updated. Enable multi-year historical data in your Cost Management preferences.</p> </li> </ul>"""
    last_updated_time: NotRequired[
        "capo_budgets.types.generic_timestamp.GenericTimestamp"
    ]

last_updated_time instance-attribute

last_updated_time: NotRequired[GenericTimestamp]

status instance-attribute

status: NotRequired[HealthStatusValue]

The current status of the billing view resource.

status_reason instance-attribute

status_reason: NotRequired[HealthStatusReason]

The reason for the current status.

  • BILLING_VIEW_NO_ACCESS: The billing view resource does not grant billing:GetBillingViewData permission to this account.

  • BILLING_VIEW_UNHEALTHY: The billing view associated with the budget is unhealthy.

  • FILTER_INVALID: The filter contains reference to an account you do not have access to.

  • MULTI_YEAR_HISTORICAL_DATA_DISABLED: The budget is not being updated. Enable multi-year historical data in your Cost Management preferences.