Skip to content

/AWS1/CL_EC2=>GETHOSTRESERVATIONPURCHASE00()

About GetHostReservationPurchasePreview

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 PurchaseHostReservation action and does not result in the offering being purchased.

Method Signature

IMPORTING

Required arguments:

IT_HOSTIDSET TYPE /AWS1/CL_EC2REQUESTHOSTIDSET_W=>TT_REQUESTHOSTIDSET TT_REQUESTHOSTIDSET

The IDs of the Dedicated Hosts with which the reservation is associated.

IV_OFFERINGID TYPE /AWS1/EC2OFFERINGID /AWS1/EC2OFFERINGID

The offering ID of the reservation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2GETHOSTRESERVATI01 /AWS1/CL_EC2GETHOSTRESERVATI01