Skip to content

TransferCreditResponse

Source code in docs_src/capo_billing/types/transfer_credit_response.py
class TransferCreditResponse(TypedDict, closed=True):
    source_credit_id: "capo_billing.types.credit_id.CreditId"
    """<p>The ID of the transferred credit. The credit keeps this ID.</p>"""
    new_credit_id: NotRequired["capo_billing.types.credit_id.CreditId"]
    """<p>Always the same as <code>sourceCreditId</code>, because a transfer moves the credit and creates no new one. A dry run omits this field.</p>"""
    destination_account_id: "capo_billing.types.account_id.AccountId"
    """<p>The Amazon Web Services account ID that owns the credit after the transfer.</p>"""
    amount: "capo_billing.types.decimal_amount_string.DecimalAmountString"
    """<p>The available balance of the credit, which is its remaining balance minus any amount reserved for a bill that isn't finalized.</p>"""
    dry_run: "bool"
    """<p>Specifies whether the request was a dry run. If <code>true</code>, the operation didn't change the credit.</p>"""

amount instance-attribute

The available balance of the credit, which is its remaining balance minus any amount reserved for a bill that isn't finalized.

destination_account_id instance-attribute

destination_account_id: AccountId

The Amazon Web Services account ID that owns the credit after the transfer.

dry_run instance-attribute

dry_run: bool

Specifies whether the request was a dry run. If true, the operation didn't change the credit.

new_credit_id instance-attribute

new_credit_id: NotRequired[CreditId]

Always the same as sourceCreditId, because a transfer moves the credit and creates no new one. A dry run omits this field.

source_credit_id instance-attribute

source_credit_id: CreditId

The ID of the transferred credit. The credit keeps this ID.