Values_4.PurchaseHostReservationRequestSourcePurchase a reservation with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This action results in the specified reservation being purchased and charged to your account.
type nonrec t = {clientToken : Values_0.String_.t option;Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
*)currencyCode : Values_0.CurrencyCodeValues.t option;The currency in which the totalUpfrontPrice, LimitPrice, and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD.
*)hostIdSet : Values_3.RequestHostIdSet.t;The IDs of the Dedicated Hosts with which the reservation will be associated.
*)limitPrice : Values_0.String_.t option;The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is USD. For example, to indicate a limit price of USD 100, specify 100.00.
*)offeringId : Values_1.OfferingId.t;The ID of the offering.
*)tagSpecifications : Values_0.TagSpecificationList.t option;The tags to apply to the Dedicated Host Reservation during purchase.
*)}val make :
?clientToken:??? ->
?currencyCode:??? ->
?limitPrice:??? ->
?tagSpecifications:??? ->
hostIdSet:Values_3.RequestHostIdSet.t ->
offeringId:Values_1.OfferingId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `String of Values_0.DedicatedHostId.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of (string * [> `String of string ]) list ]
list ])
list ]
list
| `String of Values_0.String_.t ])
list ]