Class: Aws::EC2::Types::GetHostReservationPurchasePreviewResult

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#currency_codeString

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

Returns:

  • (String)


34204
34205
34206
34207
34208
34209
34210
34211
# File 'lib/aws-sdk-ec2/types.rb', line 34204

class GetHostReservationPurchasePreviewResult < Struct.new(
  :currency_code,
  :purchase,
  :total_hourly_price,
  :total_upfront_price)
  SENSITIVE = []
  include Aws::Structure
end

#purchaseArray<Types::Purchase>

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

Returns:



34204
34205
34206
34207
34208
34209
34210
34211
# File 'lib/aws-sdk-ec2/types.rb', line 34204

class GetHostReservationPurchasePreviewResult < Struct.new(
  :currency_code,
  :purchase,
  :total_hourly_price,
  :total_upfront_price)
  SENSITIVE = []
  include Aws::Structure
end

#total_hourly_priceString

The potential total hourly price of the reservation per hour.

Returns:

  • (String)


34204
34205
34206
34207
34208
34209
34210
34211
# File 'lib/aws-sdk-ec2/types.rb', line 34204

class GetHostReservationPurchasePreviewResult < Struct.new(
  :currency_code,
  :purchase,
  :total_hourly_price,
  :total_upfront_price)
  SENSITIVE = []
  include Aws::Structure
end

#total_upfront_priceString

The potential total upfront price. This is billed immediately.

Returns:

  • (String)


34204
34205
34206
34207
34208
34209
34210
34211
# File 'lib/aws-sdk-ec2/types.rb', line 34204

class GetHostReservationPurchasePreviewResult < Struct.new(
  :currency_code,
  :purchase,
  :total_hourly_price,
  :total_upfront_price)
  SENSITIVE = []
  include Aws::Structure
end