Redshift.Client.
get_reserved_node_exchange_offerings
(**kwargs)¶Returns an array of DC2 ReservedNodeOfferings that matches the payment type, term, and usage price of the given DC1 reserved node.
See also: AWS API Documentation
Request Syntax
response = client.get_reserved_node_exchange_offerings(
ReservedNodeId='string',
MaxRecords=123,
Marker='string'
)
[REQUIRED]
A string representing the node identifier for the DC1 Reserved Node to be exchanged.
dict
Response Syntax
{
'Marker': 'string',
'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'
},
]
}
Response Structure
(dict) --
Marker (string) --
An optional parameter that specifies the starting point for returning a set of response records. When the results of a GetReservedNodeExchangeOfferings
request exceed the value specified in MaxRecords, Amazon Redshift returns a value in the marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the marker parameter and retrying the request.
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) --
Exceptions
Redshift.Client.exceptions.ReservedNodeNotFoundFault
Redshift.Client.exceptions.InvalidReservedNodeStateFault
Redshift.Client.exceptions.ReservedNodeAlreadyMigratedFault
Redshift.Client.exceptions.ReservedNodeOfferingNotFoundFault
Redshift.Client.exceptions.UnsupportedOperationFault
Redshift.Client.exceptions.DependentServiceUnavailableFault