Module Values_2.HostReservationSource

Details about the Dedicated Host Reservation and associated Dedicated Hosts.

Sourcetype nonrec t = {
  1. count : Values_0.Integer.t option;
    (*

    The number of Dedicated Hosts the reservation is associated with.

    *)
  2. currencyCode : Values_0.CurrencyCodeValues.t option;
    (*

    The currency in which the upfrontPrice and hourlyPrice amounts are specified. At this time, the only supported currency is USD.

    *)
  3. duration : Values_0.Integer.t option;
    (*

    The length of the reservation's term, specified in seconds. Can be 31536000 (1 year) | 94608000 (3 years).

    *)
  4. end_ : Values_0.DateTime.t option;
    (*

    The date and time that the reservation ends.

    *)
  5. hostIdSet : Values_1.ResponseHostIdSet.t option;
    (*

    The IDs of the Dedicated Hosts associated with the reservation.

    *)
  6. hostReservationId : Values_1.HostReservationId.t option;
    (*

    The ID of the reservation that specifies the associated Dedicated Hosts.

    *)
  7. hourlyPrice : Values_0.String_.t option;
    (*

    The hourly price of the reservation.

    *)
  8. instanceFamily : Values_0.String_.t option;
    (*

    The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.

    *)
  9. offeringId : Values_1.OfferingId.t option;
    (*

    The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

    *)
  10. paymentOption : Values_1.PaymentOption.t option;
    (*

    The payment option selected for this reservation.

    *)
  11. start : Values_0.DateTime.t option;
    (*

    The date and time that the reservation started.

    *)
  12. state : Values_0.ReservationState.t option;
    (*

    The state of the reservation.

    *)
  13. upfrontPrice : Values_0.String_.t option;
    (*

    The upfront price of the reservation.

    *)
  14. tags : Values_0.TagList.t option;
    (*

    Any tags assigned to the Dedicated Host Reservation.

    *)
}
Sourceval make : ?count:??? -> ?currencyCode:??? -> ?duration:??? -> ?end_:??? -> ?hostIdSet:??? -> ?hostReservationId:??? -> ?hourlyPrice:??? -> ?instanceFamily:??? -> ?offeringId:??? -> ?paymentOption:??? -> ?start:??? -> ?state:??? -> ?upfrontPrice:??? -> ?tags:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Values_0.Integer.t | `List of [> `String of Values_0.String_.t | `Structure of (string * [> `String of string ]) list ] list | `String of Values_1.HostReservationId.t | `Timestamp of Values_0.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