Billing / Client / redeem_credits

redeem_credits

Billing.Client.redeem_credits(**kwargs)

Redeems an Amazon Web Services promotional credit code on behalf of the calling account. On success, a new credit is added to the account’s credit ledger with the amount, validity period, and applicable products defined by the promotion. The credit is then automatically applied to subsequent bills according to the standard credit application order.

See also: AWS API Documentation

Request Syntax

response = client.redeem_credits(
    promoCode='string'
)
Parameters:

promoCode (string) –

[REQUIRED]

The promotional credit code to redeem.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Billing.Client.exceptions.ThrottlingException

  • Billing.Client.exceptions.AccessDeniedException

  • Billing.Client.exceptions.ValidationException

  • Billing.Client.exceptions.InternalServerException