AWSEC2DescribeHostReservationOfferingsRequest
Objective-C
@interface AWSEC2DescribeHostReservationOfferingsRequest
Swift
class AWSEC2DescribeHostReservationOfferingsRequest
-
The filters.
instance-family
- The instance family of the offering (for example,m4
).payment-option
- The payment option (NoUpfront
|PartialUpfront
|AllUpfront
).
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2Filter *> *_Nullable filter;
Swift
var filter: [AWSEC2Filter]? { get set }
-
This is the maximum duration of the reservation to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 94608000 for three years.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable maxDuration;
Swift
var maxDuration: NSNumber? { get set }
-
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned
nextToken
value. This value can be between 5 and 500. IfmaxResults
is given a larger value than 500, you receive an error.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable maxResults;
Swift
var maxResults: NSNumber? { get set }
-
This is the minimum duration of the reservation you’d like to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 31536000 for one year.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable minDuration;
Swift
var minDuration: NSNumber? { get set }
-
The token to use to retrieve the next page of results.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable nextToken;
Swift
var nextToken: String? { get set }
-
The ID of the reservation offering.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable offeringId;
Swift
var offeringId: String? { get set }