/AWS1/CL_EC2=>PURCHASESCHEDULEDINSTANCES()
¶
About PurchaseScheduledInstances¶
You can no longer purchase Scheduled Instances.
Purchases the Scheduled Instances with the specified schedule.
Scheduled Instances enable you to purchase Amazon EC2 compute capacity by the hour for a one-year term. Before you can purchase a Scheduled Instance, you must call DescribeScheduledInstanceAvailability to check for available schedules and obtain a purchase token. After you purchase a Scheduled Instance, you must call RunScheduledInstances during each scheduled time period.
After you purchase a Scheduled Instance, you can't cancel, modify, or resell your purchase.
Method Signature¶
IMPORTING¶
Required arguments:¶
IT_PURCHASEREQUESTS
TYPE /AWS1/CL_EC2PURCHASEREQUEST=>TT_PURCHASEREQUESTSET
TT_PURCHASEREQUESTSET
¶
The purchase requests.
Optional arguments:¶
IV_CLIENTTOKEN
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.