Class: Aws::EC2::Types::PurchaseRequest

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 PurchaseRequest data as a hash:

{
  instance_count: 1, # required
  purchase_token: "String", # required
}

Describes a request to purchase Scheduled Instances.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_countInteger

The number of instances.

Returns:

  • (Integer)


38886
38887
38888
38889
38890
38891
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 38886

class PurchaseRequest < Struct.new(
  :instance_count,
  :purchase_token)
  SENSITIVE = []
  include Aws::Structure
end

#purchase_tokenString

The purchase token.

Returns:

  • (String)


38886
38887
38888
38889
38890
38891
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 38886

class PurchaseRequest < Struct.new(
  :instance_count,
  :purchase_token)
  SENSITIVE = []
  include Aws::Structure
end