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

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

#client_tokenString

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

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html

Returns:

  • (String)


58871
58872
58873
58874
58875
58876
58877
58878
58879
# File 'lib/aws-sdk-ec2/types.rb', line 58871

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

#currency_codeString

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

Returns:

  • (String)


58871
58872
58873
58874
58875
58876
58877
58878
58879
# File 'lib/aws-sdk-ec2/types.rb', line 58871

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

#purchaseArray<Types::Purchase>

Describes the details of the purchase.

Returns:



58871
58872
58873
58874
58875
58876
58877
58878
58879
# File 'lib/aws-sdk-ec2/types.rb', line 58871

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

#total_hourly_priceString

The total hourly price of the reservation calculated per hour.

Returns:

  • (String)


58871
58872
58873
58874
58875
58876
58877
58878
58879
# File 'lib/aws-sdk-ec2/types.rb', line 58871

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

#total_upfront_priceString

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

Returns:

  • (String)


58871
58872
58873
58874
58875
58876
58877
58878
58879
# File 'lib/aws-sdk-ec2/types.rb', line 58871

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