Module Values.ReservedNodeSource

Describes a reserved node. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings.

Sourcetype nonrec t = {
  1. reservedNodeId : String_.t option;
    (*

    The unique identifier for the reservation.

    *)
  2. reservedNodeOfferingId : String_.t option;
    (*

    The identifier for the reserved node offering.

    *)
  3. nodeType : String_.t option;
    (*

    The node type of the reserved node.

    *)
  4. startTime : TStamp.t option;
    (*

    The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.

    *)
  5. duration : Integer.t option;
    (*

    The duration of the node reservation in seconds.

    *)
  6. fixedPrice : Double.t option;
    (*

    The fixed cost Amazon Redshift charges you for this reserved node.

    *)
  7. usagePrice : Double.t option;
    (*

    The hourly rate Amazon Redshift charges you for this reserved node.

    *)
  8. currencyCode : String_.t option;
    (*

    The currency code for the reserved cluster.

    *)
  9. nodeCount : Integer.t option;
    (*

    The number of reserved compute nodes.

    *)
  10. state : String_.t option;
    (*

    The state of the reserved compute node. Possible Values: pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed. active-This reserved node is owned by the caller and is available for use. payment-failed-Payment failed for the purchase attempt. retired-The reserved node is no longer available. exchanging-The owner is exchanging the reserved node for another reserved node.

    *)
  11. offeringType : String_.t option;
    (*

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

    *)
  12. recurringCharges : RecurringChargeList.t option;
    (*

    The recurring charges for the reserved node.

    *)
  13. reservedNodeOfferingType : ReservedNodeOfferingType.t option;
}
Sourceval make : ?reservedNodeId:??? -> ?reservedNodeOfferingId:??? -> ?nodeType:??? -> ?startTime:??? -> ?duration:??? -> ?fixedPrice:??? -> ?usagePrice:??? -> ?currencyCode:??? -> ?nodeCount:??? -> ?state:??? -> ?offeringType:??? -> ?recurringCharges:??? -> ?reservedNodeOfferingType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `Enum of string | `Integer of Integer.t | `List of [> `Structure of (string * [> `Double of Double.t | `String of String_.t ]) list ] list | `String of String_.t | `Timestamp of TStamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t