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 you provide to ensure idempotency of the request. For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide

Returns:

  • (String)

    Unique, case-sensitive identifier you provide to ensure 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 that will be charged to your account when you purchase the reservation.

Returns:

  • (String)

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