Module Values.ReservedInstanceSource

Details of an OpenSearch Reserved Instance.

Sourcetype nonrec t = {
  1. reservationName : ReservationToken.t option;
    (*

    The customer-specified identifier to track this reservation.

    *)
  2. reservedInstanceId : GUID.t option;
    (*

    The unique identifier for the reservation.

    *)
  3. billingSubscriptionId : Long.t option;
    (*

    The unique identifier of the billing subscription.

    *)
  4. reservedInstanceOfferingId : String_.t option;
    (*

    The unique identifier of the Reserved Instance offering.

    *)
  5. instanceType : OpenSearchPartitionInstanceType.t option;
    (*

    The OpenSearch instance type offered by theReserved Instance offering.

    *)
  6. startTime : UpdateTimestamp.t option;
    (*

    The date and time when the reservation was purchased.

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

    The duration, in seconds, for which the OpenSearch instance is reserved.

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

    The upfront fixed charge you will paid to purchase the specific Reserved Instance offering.

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

    The hourly rate at which you're charged for the domain using this Reserved Instance.

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

    The currency code for the offering.

    *)
  11. instanceCount : Integer.t option;
    (*

    The number of OpenSearch instances that have been reserved.

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

    The state of the Reserved Instance.

    *)
  13. paymentOption : ReservedInstancePaymentOption.t option;
    (*

    The payment option as defined in the Reserved Instance offering.

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

    The recurring charge to your account, regardless of whether you create any domains using the Reserved Instance offering.

    *)
}
Sourceval make : ?reservationName:??? -> ?reservedInstanceId:??? -> ?billingSubscriptionId:??? -> ?reservedInstanceOfferingId:??? -> ?instanceType:??? -> ?startTime:??? -> ?duration:??? -> ?fixedPrice:??? -> ?usagePrice:??? -> ?currencyCode:??? -> ?instanceCount:??? -> ?state:??? -> ?paymentOption:??? -> ?recurringCharges:??? -> 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 | `Long of Long.t | `String of ReservationToken.t | `Timestamp of UpdateTimestamp.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