Class: Aws::EC2::Types::PurchaseHostReservationResult

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_token ⇒ String

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Returns:

  • (String)


80735
80736
80737
80738
80739
80740
80741
80742
80743
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 80735

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

#currency_code ⇒ String

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

Returns:

  • (String)


80735
80736
80737
80738
80739
80740
80741
80742
80743
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 80735

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

#purchase ⇒ Array<Types::Purchase>

Describes the details of the purchase.

Returns:



80735
80736
80737
80738
80739
80740
80741
80742
80743
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 80735

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

#total_hourly_price ⇒ String

The total hourly price of the reservation calculated per hour.

Returns:

  • (String)


80735
80736
80737
80738
80739
80740
80741
80742
80743
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 80735

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

#total_upfront_price ⇒ String

The total amount charged to your account when you purchase the reservation.

Returns:

  • (String)


80735
80736
80737
80738
80739
80740
80741
80742
80743
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 80735

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