You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::GetHostReservationPurchasePreviewResult
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::GetHostReservationPurchasePreviewResult
- Defined in:
- (unknown)
Overview
Returned by:
Instance Attribute Summary collapse
-
#currency_code ⇒ String
The currency in which the
totalUpfrontPrice
andtotalHourlyPrice
amounts are specified. -
#purchase ⇒ Array<Types::Purchase>
The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.
-
#total_hourly_price ⇒ String
The potential total hourly price of the reservation per hour.
-
#total_upfront_price ⇒ String
The potential total upfront price.
Instance Attribute Details
#currency_code ⇒ String
The currency in which the totalUpfrontPrice
and totalHourlyPrice
amounts are specified. At this time, the only supported currency is
USD
.
Possible values:
- USD
#purchase ⇒ Array<Types::Purchase>
The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.
#total_hourly_price ⇒ String
The potential total hourly price of the reservation per hour.
#total_upfront_price ⇒ String
The potential total upfront price. This is billed immediately.