RedshiftServerless / Client / list_reservation_offerings

list_reservation_offerings

RedshiftServerless.Client.list_reservation_offerings(**kwargs)

Returns the current reservation offerings in your account.

See also: AWS API Documentation

Request Syntax

response = client.list_reservation_offerings(
    maxResults=123,
    nextToken='string'
)
Parameters:
  • maxResults (integer) – The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

  • nextToken (string) – The token for the next set of items to return. (You received this token from a previous call.)

Return type:

dict

Returns:

Response Syntax

{
    'nextToken': 'string',
    'reservationOfferingsList': [
        {
            'currencyCode': 'string',
            'duration': 123,
            'hourlyCharge': 123.0,
            'offeringId': 'string',
            'offeringType': 'ALL_UPFRONT'|'NO_UPFRONT',
            'upfrontCharge': 123.0
        },
    ]
}

Response Structure

  • (dict) –

    • nextToken (string) –

      The token to use when requesting the next set of items.

    • reservationOfferingsList (list) –

      The returned list of reservation offerings.

      • (dict) –

        The class of offering for the reservation. The offering class 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