Skip to content

/AWS1/CL_EC2GETHOSTRESERVATI01

GetHostReservationPurchasePreviewResult

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_CURRENCYCODE TYPE /AWS1/EC2CURRENCYCODEVALUES /AWS1/EC2CURRENCYCODEVALUES

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

IT_PURCHASE TYPE /AWS1/CL_EC2PURCHASE=>TT_PURCHASESET TT_PURCHASESET

The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.

IV_TOTALHOURLYPRICE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The potential total hourly price of the reservation per hour.

IV_TOTALUPFRONTPRICE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The potential total upfront price. This is billed immediately.


Queryable Attributes

CurrencyCode

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

Accessible with the following methods

Method Description
GET_CURRENCYCODE() Getter for CURRENCYCODE, with configurable default
ASK_CURRENCYCODE() Getter for CURRENCYCODE w/ exceptions if field has no value
HAS_CURRENCYCODE() Determine if CURRENCYCODE has a value

Purchase

The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.

Accessible with the following methods

Method Description
GET_PURCHASE() Getter for PURCHASE, with configurable default
ASK_PURCHASE() Getter for PURCHASE w/ exceptions if field has no value
HAS_PURCHASE() Determine if PURCHASE has a value

TotalHourlyPrice

The potential total hourly price of the reservation per hour.

Accessible with the following methods

Method Description
GET_TOTALHOURLYPRICE() Getter for TOTALHOURLYPRICE, with configurable default
ASK_TOTALHOURLYPRICE() Getter for TOTALHOURLYPRICE w/ exceptions if field has no va
HAS_TOTALHOURLYPRICE() Determine if TOTALHOURLYPRICE has a value

TotalUpfrontPrice

The potential total upfront price. This is billed immediately.

Accessible with the following methods

Method Description
GET_TOTALUPFRONTPRICE() Getter for TOTALUPFRONTPRICE, with configurable default
ASK_TOTALUPFRONTPRICE() Getter for TOTALUPFRONTPRICE w/ exceptions if field has no v
HAS_TOTALUPFRONTPRICE() Determine if TOTALUPFRONTPRICE has a value