Module Values.CreateReservationRequestSource

Creates 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;
    (*

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

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

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. This token must be a valid UUIDv4 value. For more information about idempotency, see Making retries safe with idempotent APIs .

    *)
  3. offeringId : CreateReservationRequestOfferingIdString.t;
    (*

    The ID of the offering associated with the reservation. The offering determines the payment schedule for the reservation.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> capacity:Capacity.t -> offeringId:CreateReservationRequestOfferingIdString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Capacity.t | `String of String_.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