Preview a reservation purchase with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation.
This is a preview of the
purchase_host_reservation
action and
does not result in the offering being purchased.
ec2_get_host_reservation_purchase_preview(HostIdSet, OfferingId)
A list with the following syntax:
list(
CurrencyCode = "USD",
Purchase = list(
list(
CurrencyCode = "USD",
Duration = 123,
HostIdSet = list(
"string"
),
HostReservationId = "string",
HourlyPrice = "string",
InstanceFamily = "string",
PaymentOption = "AllUpfront"|"PartialUpfront"|"NoUpfront",
UpfrontPrice = "string"
)
),
TotalHourlyPrice = "string",
TotalUpfrontPrice = "string"
)
[required] The IDs of the Dedicated Hosts with which the reservation is associated.
[required] The offering ID of the reservation.
svc$get_host_reservation_purchase_preview(
HostIdSet = list(
"string"
),
OfferingId = "string"
)