Skip to content

TransferCreditRequest

Source code in docs_src/capo_billing/types/transfer_credit_request.py
class TransferCreditRequest(TypedDict, closed=True):
    credit_id: "capo_billing.types.credit_id.CreditId"
    """<p>The ID of the credit to transfer.</p>"""
    destination_account_id: "capo_billing.types.account_id.AccountId"
    """<p>The Amazon Web Services account ID that becomes the owner of the credit. The account must be in your consolidated billing family and must not be the current owner.</p>"""
    client_token: NotRequired["capo_billing.types.client_token.ClientToken"]
    """<p>A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a successful request with the same client token and parameters, the retry completes without performing any further actions. If you reuse a client token with different parameters, the request fails with a <code>ValidationException</code>.</p>"""
    dry_run: NotRequired["bool"]
    """<p>Specifies whether to validate the request and return the result without changing the credit.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a successful request with the same client token and parameters, the retry completes without performing any further actions. If you reuse a client token with different parameters, the request fails with a ValidationException.

credit_id instance-attribute

credit_id: CreditId

The ID of the credit to transfer.

destination_account_id instance-attribute

destination_account_id: AccountId

The Amazon Web Services account ID that becomes the owner of the credit. The account must be in your consolidated billing family and must not be the current owner.

dry_run instance-attribute

dry_run: NotRequired[bool]

Specifies whether to validate the request and return the result without changing the credit.