Skip to content

UpdateBillingPreferencesRequest

Source code in docs_src/capo_billing/types/update_billing_preferences_request.py
class UpdateBillingPreferencesRequest(TypedDict, closed=True):
    feature: "capo_billing.types.billing_feature.BillingFeature"
    """<p>The feature to update. Valid values: <code>BILLING_ALERTS</code>, <code>RI_SHARING</code>, <code>CREDIT_SHARING</code>, <code>CREDIT_LEVEL_SHARING</code>, <code>CREDIT_PREFERENCE_OPTIONS</code>. The history features (<code>RI_SHARING_HISTORY</code> and <code>CREDIT_SHARING_HISTORY</code>) are read-only and cannot be updated.</p>"""
    billing_preferences_per_key: (
        "capo_billing.types.billing_preferences_per_key.BillingPreferencesPerKey"
    )
    """<p>Key/value pairs to apply. All keys in a single request must be valid for the specified <code>feature</code> and must not be duplicated. For <code>CREDIT_PREFERENCE_OPTIONS</code>, all keys must reference the same <code>creditId</code>.</p>"""

billing_preferences_per_key instance-attribute

billing_preferences_per_key: BillingPreferencesPerKey

Key/value pairs to apply. All keys in a single request must be valid for the specified feature and must not be duplicated. For CREDIT_PREFERENCE_OPTIONS, all keys must reference the same creditId.

feature instance-attribute

feature: BillingFeature

The feature to update. Valid values: BILLING_ALERTS, RI_SHARING, CREDIT_SHARING, CREDIT_LEVEL_SHARING, CREDIT_PREFERENCE_OPTIONS. The history features (RI_SHARING_HISTORY and CREDIT_SHARING_HISTORY) are read-only and cannot be updated.