Module Values.ReservationSource

Represents an Amazon Redshift Serverless reservation, which gives you the option to commit to a specified number of Redshift Processing Units (RPUs) for a year at a discount from Serverless on-demand (OD) rates.

Sourcetype nonrec t = {
  1. capacity : Capacity.t option;
    (*

    The number of Redshift Processing Units (RPUs) to reserve.

    *)
  2. endDate : SyntheticTimestamp_date_time.t option;
    (*

    The end date for the serverless reservation. This date is one year after the start date that you specify.

    *)
  3. offering : ReservationOffering.t option;
    (*

    The type of offering for the reservation. The offering class determines the payment schedule for the reservation.

    *)
  4. reservationArn : ReservationArn.t option;
    (*

    The Amazon Resource Name (ARN) that uniquely identifies the serverless reservation.

    *)
  5. reservationId : ReservationId.t option;
    (*

    The identifier that uniquely identifies the serverless reservation.

    *)
  6. startDate : SyntheticTimestamp_date_time.t option;
    (*

    The start date for the serverless reservation. This is the date you created the reservation.

    *)
  7. status : Status.t option;
    (*

    The status of the reservation. Possible values include the following: payment-pending active payment-failed retired

    *)
}
Sourceval make : ?capacity:??? -> ?endDate:??? -> ?offering:??? -> ?reservationArn:??? -> ?reservationId:??? -> ?startDate:??? -> ?status:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Capacity.t | `String of ReservationArn.t | `Structure of (string * [> `Double of Charge.t | `Enum of string | `Integer of Duration.t | `String of CurrencyCode.t ]) list | `Timestamp of SyntheticTimestamp_date_time.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