Redshift / Paginator / GetReservedNodeExchangeOfferings

GetReservedNodeExchangeOfferings#

class Redshift.Paginator.GetReservedNodeExchangeOfferings#
paginator = client.get_paginator('get_reserved_node_exchange_offerings')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Redshift.Client.get_reserved_node_exchange_offerings().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ReservedNodeId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ReservedNodeId (string) –

    [REQUIRED]

    A string representing the node identifier for the DC1 Reserved Node to be exchanged.

  • 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

{
    'ReservedNodeOfferings': [
        {
            'ReservedNodeOfferingId': 'string',
            'NodeType': 'string',
            'Duration': 123,
            'FixedPrice': 123.0,
            'UsagePrice': 123.0,
            'CurrencyCode': 'string',
            'OfferingType': 'string',
            'RecurringCharges': [
                {
                    'RecurringChargeAmount': 123.0,
                    'RecurringChargeFrequency': 'string'
                },
            ],
            'ReservedNodeOfferingType': 'Regular'|'Upgradable'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ReservedNodeOfferings (list) –

      Returns an array of ReservedNodeOffering objects.

      • (dict) –

        Describes a reserved node offering.

        • ReservedNodeOfferingId (string) –

          The offering identifier.

        • NodeType (string) –

          The node type offered by the reserved node offering.

        • Duration (integer) –

          The duration, in seconds, for which the offering will reserve the node.

        • FixedPrice (float) –

          The upfront fixed charge you will pay to purchase the specific reserved node offering.

        • UsagePrice (float) –

          The rate you are charged for each hour the cluster that is using the offering is running.

        • CurrencyCode (string) –

          The currency code for the compute nodes offering.

        • OfferingType (string) –

          The anticipated utilization of the reserved node, as defined in the reserved node offering.

        • RecurringCharges (list) –

          The charge to your account regardless of whether you are creating any clusters using the node offering. Recurring charges are only in effect for heavy-utilization reserved nodes.

          • (dict) –

            Describes a recurring charge.

            • RecurringChargeAmount (float) –

              The amount charged per the period of time specified by the recurring charge frequency.

            • RecurringChargeFrequency (string) –

              The frequency at which the recurring charge amount is applied.

        • ReservedNodeOfferingType (string) –

    • NextToken (string) –

      A token to resume pagination.