Skip to content

BillingPreferenceSummary

Source code in docs_src/capo_billing/types/billing_preference_summary.py
class BillingPreferenceSummary(TypedDict, closed=True):
    feature: "capo_billing.types.billing_feature.BillingFeature"
    """<p>The feature this preference belongs to.</p>"""
    key: "capo_billing.types.preference_key.PreferenceKey"
    """<p>The preference key. Format depends on the feature.</p>"""
    value: "capo_billing.types.preference_value.PreferenceValue"
    """<p>The preference value. Valid values: <code>ENABLED</code> or <code>DISABLED</code>.</p>"""
    account_name: NotRequired["capo_billing.types.account_name.AccountName"]
    """<p>The display name of the account. Populated together with <code>accountId</code>; <code>null</code> otherwise.</p>"""
    account_id: NotRequired["capo_billing.types.account_id.AccountId"]
    """<p>The associated Amazon Web Services account ID. Populated for account-list keys; <code>null</code> otherwise.</p>"""
    billing_period: NotRequired["capo_billing.types.billing_period.BillingPeriod"]
    """<p>The billing period associated with the preference change. Populated only for the history features <code>RI_SHARING_HISTORY</code> and <code>CREDIT_SHARING_HISTORY</code>.</p>"""

account_id instance-attribute

account_id: NotRequired[AccountId]

The associated Amazon Web Services account ID. Populated for account-list keys; null otherwise.

account_name instance-attribute

account_name: NotRequired[AccountName]

The display name of the account. Populated together with accountId; null otherwise.

billing_period instance-attribute

billing_period: NotRequired[BillingPeriod]

The billing period associated with the preference change. Populated only for the history features RI_SHARING_HISTORY and CREDIT_SHARING_HISTORY.

feature instance-attribute

feature: BillingFeature

The feature this preference belongs to.

key instance-attribute

The preference key. Format depends on the feature.

value instance-attribute

The preference value. Valid values: ENABLED or DISABLED.