Class: Aws::EC2::Types::PurchaseHostReservationResult
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::EC2::Types::PurchaseHostReservationResult
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-ec2/types.rb
 
Overview
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #client_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
 - 
  
    
      #currency_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The currency in which the ‘totalUpfrontPrice` and `totalHourlyPrice` amounts are specified.
 - 
  
    
      #purchase  ⇒ Array<Types::Purchase> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Describes the details of the purchase.
 - 
  
    
      #total_hourly_price  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The total hourly price of the reservation calculated per hour.
 - 
  
    
      #total_upfront_price  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The total amount charged to your account when you purchase the reservation.
 
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].
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
      59096 59097 59098 59099 59100 59101 59102 59103 59104  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 59096 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`.
      59096 59097 59098 59099 59100 59101 59102 59103 59104  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 59096 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.
      59096 59097 59098 59099 59100 59101 59102 59103 59104  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 59096 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.
      59096 59097 59098 59099 59100 59101 59102 59103 59104  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 59096 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.
      59096 59097 59098 59099 59100 59101 59102 59103 59104  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 59096 class PurchaseHostReservationResult < Struct.new( :client_token, :currency_code, :purchase, :total_hourly_price, :total_upfront_price) SENSITIVE = [] include Aws::Structure end  |