Skip to content

CreditAllocationHistoryEntry

Source code in docs_src/capo_billing/types/credit_allocation_history_entry.py
class CreditAllocationHistoryEntry(TypedDict, closed=True):
    credit_id: "capo_billing.types.credit_id.CreditId"
    """<p>The identifier of the credit that was applied.</p>"""
    credit_amount: "capo_billing.types.amount.Amount"
    """<p>The amount of credit applied. Negative values represent credits that reduced the bill.</p>"""
    description: NotRequired["str"]
    """<p>A human-readable description of the credit allocation.</p>"""
    account_id: "capo_billing.types.account_id.AccountId"
    """<p>The Amazon Web Services account the credit was applied to.</p>"""
    applied_service_name: "str"
    """<p>The Amazon Web Services service the credit was applied to.</p>"""
    billing_month: "capo_billing.types.billing_month.BillingMonth"
    """<p>The billing month of the application in <code>YYYY-MM</code> format.</p>"""
    is_estimated_bill: "bool"
    """<p> <code>true</code> when the entry was applied to an in-flight bill that has not yet been finalized.</p>"""

account_id instance-attribute

account_id: AccountId

The Amazon Web Services account the credit was applied to.

applied_service_name instance-attribute

applied_service_name: str

The Amazon Web Services service the credit was applied to.

billing_month instance-attribute

billing_month: BillingMonth

The billing month of the application in YYYY-MM format.

credit_amount instance-attribute

credit_amount: Amount

The amount of credit applied. Negative values represent credits that reduced the bill.

credit_id instance-attribute

credit_id: CreditId

The identifier of the credit that was applied.

description instance-attribute

description: NotRequired[str]

A human-readable description of the credit allocation.

is_estimated_bill instance-attribute

is_estimated_bill: bool

true when the entry was applied to an in-flight bill that has not yet been finalized.