You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::PurchaseRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::PurchaseRequest
- Defined in:
- (unknown)
Overview
Note:
When passing PurchaseRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
instance_count: 1, # required
purchase_token: "String", # required
}
Describes a request to purchase Scheduled Instances.
Instance Attribute Summary collapse
-
#instance_count ⇒ Integer
The number of instances.
-
#purchase_token ⇒ String
The purchase token.
Instance Attribute Details
#instance_count ⇒ Integer
The number of instances.
#purchase_token ⇒ String
The purchase token.