Module Values.CreateSavingsPlanRequestSource

Creates a Savings Plan.

Sourcetype nonrec t = {
  1. savingsPlanOfferingId : SavingsPlanOfferingId.t;
    (*

    The ID of the offering.

    *)
  2. commitment : Amount.t;
    (*

    The hourly commitment, in the same currency of the savingsPlanOfferingId. This is a value between 0.001 and 1 million. You cannot specify more than five digits after the decimal point.

    *)
  3. upfrontPaymentAmount : Amount.t option;
    (*

    The up-front payment amount. This is a whole number between 50 and 99 percent of the total value of the Savings Plan. This parameter is only supported if the payment option is Partial Upfront.

    *)
  4. purchaseTime : DateTime.t option;
    (*

    The purchase time of the Savings Plan in UTC format (YYYY-MM-DDTHH:MM:SSZ).

    *)
  5. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
  6. tags : TagMap.t option;
    (*

    One or more tags.

    *)
}
Sourceval context_ : string
Sourceval make : ?upfrontPaymentAmount:??? -> ?purchaseTime:??? -> ?clientToken:??? -> ?tags:??? -> savingsPlanOfferingId:SavingsPlanOfferingId.t -> commitment:Amount.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of SavingsPlanOfferingId.t | `Timestamp of DateTime.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