AWSEC2PurchaseReservedInstancesOfferingRequest
Objective-C
@interface AWSEC2PurchaseReservedInstancesOfferingRequest
Swift
class AWSEC2PurchaseReservedInstancesOfferingRequest
Contains the parameters for PurchaseReservedInstancesOffering.
Required parameters: [InstanceCount, ReservedInstancesOfferingId]
-
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
.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable dryRun;
Swift
var dryRun: NSNumber? { get set }
-
The number of Reserved Instances to purchase.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable instanceCount;
Swift
var instanceCount: NSNumber? { get set }
-
Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2ReservedInstanceLimitPrice *_Nullable limitPrice;
Swift
var limitPrice: AWSEC2ReservedInstanceLimitPrice? { get set }
-
The time at which to purchase the Reserved Instance, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable purchaseTime;
Swift
var purchaseTime: Date? { get set }
-
The ID of the Reserved Instance offering to purchase.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable reservedInstancesOfferingId;
Swift
var reservedInstancesOfferingId: String? { get set }