Values_4.PurchaseHostReservationResultSourcePurchase 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 and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD.
*)purchase : Values_3.PurchaseSet.t option;Describes the details of the purchase.
*)totalHourlyPrice : Values_0.String_.t option;The total hourly price of the reservation calculated per hour.
*)totalUpfrontPrice : Values_0.String_.t option;The total amount charged to your account when you purchase the reservation.
*)}val error_of_json :
'a ->
Yojson.Safe.t ->
[> `Unknown_operation_error of 'a * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Integer of Values_0.Integer.t
| `List of [> `String of Values_0.String_.t ] list
| `String of Values_1.HostReservationId.t ])
list ]
list
| `String of Values_0.String_.t ])
list ]