Skip to main content

reserved_node_exchange_offerings

Creates, updates, deletes, gets or lists a reserved_node_exchange_offerings resource.

Overview

Namereserved_node_exchange_offerings
TypeResource
Idaws.redshift.reserved_node_exchange_offerings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
currency_codestringThe currency code for the compute nodes offering.
durationintegerThe duration, in seconds, for which the offering will reserve the node.
fixed_pricenumberThe upfront fixed charge you will pay to purchase the specific reserved node offering.
node_typestringThe node type offered by the reserved node offering.
offering_typestringThe anticipated utilization of the reserved node, as defined in the reserved node offering.
recurring_chargesstringThe 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.
reserved_node_offering_idstringThe offering identifier.
reserved_node_offering_typestring
usage_pricenumberThe rate you are charged for each hour the cluster that is using the offering is running.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_reserved_node_exchange_offeringsselectReservedNodeId, regionMaxRecords, MarkerReturns an array of DC2 ReservedNodeOfferings that matches the payment type, term, and usage price of the given DC1 reserved node.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
ReservedNodeIdstringA string representing the node identifier for the DC1 Reserved Node to be exchanged.
regionstringAWS region (default: us-east-1)
MarkerstringA value that indicates the starting point for the next set of ReservedNodeOfferings.
MaxRecordsintegerAn integer setting the maximum number of ReservedNodeOfferings to retrieve.

SELECT examples

Returns an array of DC2 ReservedNodeOfferings that matches the payment type, term, and usage price of the given DC1 reserved node.

SELECT
currency_code,
duration,
fixed_price,
node_type,
offering_type,
recurring_charges,
reserved_node_offering_id,
reserved_node_offering_type,
usage_price
FROM aws.redshift.reserved_node_exchange_offerings
WHERE ReservedNodeId = '{{ ReservedNodeId }}' -- required
AND region = '{{ region }}' -- required
AND MaxRecords = '{{ MaxRecords }}'
AND Marker = '{{ Marker }}'
;