Skip to main content

reserved_node_exchange_configuration_options

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

Overview

Namereserved_node_exchange_configuration_options
TypeResource
Idaws.redshift.reserved_node_exchange_configuration_options

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
source_reserved_nodestringDescribes a reserved node. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings.
target_reserved_node_countintegerThe target reserved-node count.
target_reserved_node_offeringstringDescribes a reserved node offering.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_reserved_node_exchange_configuration_optionsselectActionType, regionClusterIdentifier, SnapshotIdentifier, MaxRecords, MarkerGets the configuration options for the reserved-node exchange. These options include information about the source reserved node and target reserved node offering. Details include the node type, the price, the node count, and the offering type.

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
ActionTypestringThe action type of the reserved-node configuration. The action type can be an exchange initiated from either a snapshot or a resize.
regionstringAWS region (default: us-east-1)
ClusterIdentifierstringThe identifier for the cluster that is the source for a reserved-node exchange.
MarkerstringAn optional pagination token provided by a previous GetReservedNodeExchangeConfigurationOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
MaxRecordsintegerThe maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a Marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
SnapshotIdentifierstringThe identifier for the snapshot that is the source for the reserved-node exchange.

SELECT examples

Gets the configuration options for the reserved-node exchange. These options include information about the source reserved node and target reserved node offering. Details include the node type, the price, the node count, and the offering type.

SELECT
source_reserved_node,
target_reserved_node_count,
target_reserved_node_offering
FROM aws.redshift.reserved_node_exchange_configuration_options
WHERE ActionType = '{{ ActionType }}' -- required
AND region = '{{ region }}' -- required
AND ClusterIdentifier = '{{ ClusterIdentifier }}'
AND SnapshotIdentifier = '{{ SnapshotIdentifier }}'
AND MaxRecords = '{{ MaxRecords }}'
AND Marker = '{{ Marker }}'
;