RedshiftServerless / Paginator / ListReservationOfferings
ListReservationOfferings¶
- class RedshiftServerless.Paginator.ListReservationOfferings¶
paginator = client.get_paginator('list_reservation_offerings')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
RedshiftServerless.Client.list_reservation_offerings()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'reservationOfferingsList': [ { 'currencyCode': 'string', 'duration': 123, 'hourlyCharge': 123.0, 'offeringId': 'string', 'offeringType': 'ALL_UPFRONT'|'NO_UPFRONT', 'upfrontCharge': 123.0 }, ], 'NextToken': 'string' }
Response Structure
(dict) –
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.
NextToken (string) –
A token to resume pagination.