You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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 How to Ensure Idempotency.

Returns:

  • (String)

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

#currency_codeString

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.

#purchaseArray<Types::Purchase>

Describes the details of the purchase.

Returns:

#total_hourly_priceString

The total hourly price of the reservation calculated per hour.

Returns:

  • (String)

    The total hourly price of the reservation calculated per hour.

#total_upfront_priceString

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

Returns:

  • (String)

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