Skip to content

BackendDatabaseUsage

Source code in docs_src/capo_amplifygen3/types/backend_database_usage.py
class BackendDatabaseUsage(TypedDict, closed=True):
    last_used_at: NotRequired["datetime.datetime"]
    """<p>The time at which any of the backend's databases was last used, either by a new connection or by load on an existing connection. An open idle connection doesn't count as use. The value lags by a few minutes and is in ISO-8601 format. Absent when it isn't reported.</p>"""
    monthly_backend_capacity_unit_hours: NotRequired["float"]
    """<p>The backend capacity unit hours (BCU-hours) that the backend's databases used in the current calendar month (UTC), across all branches. The value is 0 when the databases used none this month, resets to 0 at 00:00 UTC on the first day of each month, and lags actual use by about one hour. Only the Basic plan has a per-backend allowance that this value is compared with.</p>"""

last_used_at instance-attribute

last_used_at: NotRequired[datetime]

The time at which any of the backend's databases was last used, either by a new connection or by load on an existing connection. An open idle connection doesn't count as use. The value lags by a few minutes and is in ISO-8601 format. Absent when it isn't reported.

monthly_backend_capacity_unit_hours instance-attribute

monthly_backend_capacity_unit_hours: NotRequired[float]

The backend capacity unit hours (BCU-hours) that the backend's databases used in the current calendar month (UTC), across all branches. The value is 0 when the databases used none this month, resets to 0 at 00:00 UTC on the first day of each month, and lags actual use by about one hour. Only the Basic plan has a per-backend allowance that this value is compared with.