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
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

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

Returns:

  • (String) —

    The currency in which the totalUpfrontPrice and totalHourlyPrice amounts are specified.

#purchase ⇒ Array<Types::Purchase>

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

Returns:

  • (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.

Returns:

  • (String) —

    The potential total hourly price of the reservation per hour.

#total_upfront_price ⇒ String

The potential total upfront price. This is billed immediately.

Returns:

  • (String) —

    The potential total upfront price.