Skip to content

Purchase Reserved Node Offering

redshift_purchase_reserved_node_offering R Documentation

Allows you to purchase reserved nodes

Description

Allows you to purchase reserved nodes. Amazon Redshift offers a predefined set of reserved node offerings. You can purchase one or more of the offerings. You can call the describe_reserved_node_offerings API to obtain the available reserved node offerings. You can call this API by providing a specific reserved node offering and the number of nodes you want to reserve.

For more information about reserved node offerings, go to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management Guide.

Usage

redshift_purchase_reserved_node_offering(ReservedNodeOfferingId,
  NodeCount)

Arguments

ReservedNodeOfferingId

[required] The unique identifier of the reserved node offering you want to purchase.

NodeCount

The number of reserved nodes that you want to purchase.

Default: 1

Value

A list with the following syntax:

list(
  ReservedNode = list(
    ReservedNodeId = "string",
    ReservedNodeOfferingId = "string",
    NodeType = "string",
    StartTime = as.POSIXct(
      "2015-01-01"
    ),
    Duration = 123,
    FixedPrice = 123.0,
    UsagePrice = 123.0,
    CurrencyCode = "string",
    NodeCount = 123,
    State = "string",
    OfferingType = "string",
    RecurringCharges = list(
      list(
        RecurringChargeAmount = 123.0,
        RecurringChargeFrequency = "string"
      )
    ),
    ReservedNodeOfferingType = "Regular"|"Upgradable"
  )
)

Request syntax

svc$purchase_reserved_node_offering(
  ReservedNodeOfferingId = "string",
  NodeCount = 123
)