AWSEC2PurchaseHostReservationRequest

Objective-C

@interface AWSEC2PurchaseHostReservationRequest

Swift

class AWSEC2PurchaseHostReservationRequest
  • Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable clientToken;

    Swift

    var clientToken: String? { get set }
  • The currency in which the totalUpfrontPrice, LimitPrice, and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2CurrencyCodeValues currencyCode;

    Swift

    var currencyCode: AWSEC2CurrencyCodeValues { get set }
  • The IDs of the Dedicated Hosts with which the reservation will be associated.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable hostIdSet;

    Swift

    var hostIdSet: [String]? { get set }
  • The specified limit is checked against the total upfront cost of the reservation (calculated as the offering’s upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is USD. For example, to indicate a limit price of USD 100, specify 100.00.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable limitPrice;

    Swift

    var limitPrice: String? { get set }
  • The ID of the offering.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable offeringId;

    Swift

    var offeringId: String? { get set }
  • The tags to apply to the Dedicated Host Reservation during purchase.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2TagSpecification *> *_Nullable tagSpecifications;

    Swift

    var tagSpecifications: [AWSEC2TagSpecification]? { get set }