RedshiftServerless / Client / get_reservation_offering

get_reservation_offering

RedshiftServerless.Client.get_reservation_offering(**kwargs)

Returns the reservation offering. The offering determines the payment schedule for the reservation.

See also: AWS API Documentation

Request Syntax

response = client.get_reservation_offering(
    offeringId='string'
)
Parameters:

offeringId (string) –

[REQUIRED]

The identifier for the offering..

Return type:

dict

Returns:

Response Syntax

{
    'reservationOffering': {
        'currencyCode': 'string',
        'duration': 123,
        'hourlyCharge': 123.0,
        'offeringId': 'string',
        'offeringType': 'ALL_UPFRONT'|'NO_UPFRONT',
        'upfrontCharge': 123.0
    }
}

Response Structure

  • (dict) –

    • reservationOffering (dict) –

      The returned reservation offering. The offering determines the payment schedule for the reservation.

      • currencyCode (string) –

        The currency code for the offering.

      • duration (integer) –

        The duration, in seconds, for which the reservation reserves the RPUs.

      • hourlyCharge (float) –

        The rate you are charged for each hour the reservation is active.

      • offeringId (string) –

        The offering identifier.

      • offeringType (string) –

        Determines the payment schedule for the reservation.

      • upfrontCharge (float) –

        The up-front price you are charged for the reservation.

Exceptions