Skip to content

GetBillingPreferencesRequest

Source code in docs_src/capo_billing/types/get_billing_preferences_request.py
class GetBillingPreferencesRequest(TypedDict, closed=True):
    next_token: NotRequired["capo_billing.types.page_token.PageToken"]
    """<p>Pagination token from a previous response. Pass the value returned in <code>nextToken</code> to retrieve the next page of results.</p>"""
    max_results: NotRequired["int"]
    """<p>The maximum number of records to return per page. Range: 1 to 50. Default: 50.</p>"""
    features: "capo_billing.types.billing_features.BillingFeatures"
    """<p>The feature to retrieve. Specify exactly one value. Valid values: <code>BILLING_ALERTS</code>, <code>RI_SHARING</code>, <code>RI_SHARING_HISTORY</code>, <code>CREDIT_SHARING</code>, <code>CREDIT_SHARING_HISTORY</code>, <code>CREDIT_LEVEL_SHARING</code>, <code>CREDIT_PREFERENCE_OPTIONS</code>, <code>BENEFIT_LEVEL_SHARING</code>.</p>"""
    filters: NotRequired[
        "capo_billing.types.billing_feature_filters.BillingFeatureFilters"
    ]
    """<p>Filters to narrow results. Specify exactly one filter when supplied. The supported filter name is <code>PREFERENCE_KEY</code>, which accepts 1 to 10 values to match preference keys.</p> <p>For <code>BENEFIT_LEVEL_SHARING</code>, this filter is required. Specify exactly one value that identifies the Reserved Instance (RI) or Savings Plan (SP), in the form <code>benefit/{ri|sp}/{benefitId}</code>.</p>"""

features instance-attribute

features: BillingFeatures

The feature to retrieve. Specify exactly one value. Valid values: BILLING_ALERTS, RI_SHARING, RI_SHARING_HISTORY, CREDIT_SHARING, CREDIT_SHARING_HISTORY, CREDIT_LEVEL_SHARING, CREDIT_PREFERENCE_OPTIONS, BENEFIT_LEVEL_SHARING.

filters instance-attribute

filters: NotRequired[BillingFeatureFilters]

Filters to narrow results. Specify exactly one filter when supplied. The supported filter name is PREFERENCE_KEY, which accepts 1 to 10 values to match preference keys.

For BENEFIT_LEVEL_SHARING, this filter is required. Specify exactly one value that identifies the Reserved Instance (RI) or Savings Plan (SP), in the form benefit/{ri|sp}/{benefitId}.

max_results instance-attribute

max_results: NotRequired[int]

The maximum number of records to return per page. Range: 1 to 50. Default: 50.

next_token instance-attribute

next_token: NotRequired[PageToken]

Pagination token from a previous response. Pass the value returned in nextToken to retrieve the next page of results.