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

Class: Aws::EC2::Types::GetHostReservationPurchasePreviewRequest

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

Overview

Note:

When making an API call, you may pass GetHostReservationPurchasePreviewRequest data as a hash:

{
  host_id_set: ["String"], # required
  offering_id: "String", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#host_id_setArray<String>

The ID/s of the Dedicated Host/s that the reservation will be associated with.

Returns:

  • (Array<String>)


15031
15032
15033
15034
15035
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15031

class GetHostReservationPurchasePreviewRequest < Struct.new(
  :host_id_set,
  :offering_id)
  include Aws::Structure
end

#offering_idString

The offering ID of the reservation.

Returns:

  • (String)


15031
15032
15033
15034
15035
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15031

class GetHostReservationPurchasePreviewRequest < Struct.new(
  :host_id_set,
  :offering_id)
  include Aws::Structure
end