AWSEC2GetHostReservationPurchasePreviewResult

Objective-C

@interface AWSEC2GetHostReservationPurchasePreviewResult

Swift

class AWSEC2GetHostReservationPurchasePreviewResult
  • The currency in which the totalUpfrontPrice 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 purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2Purchase *> *_Nullable purchase;

    Swift

    var purchase: [AWSEC2Purchase]? { get set }
  • The potential total hourly price of the reservation per hour.

    Declaration

    Objective-C

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

    Swift

    var totalHourlyPrice: String? { get set }
  • The potential total upfront price. This is billed immediately.

    Declaration

    Objective-C

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

    Swift

    var totalUpfrontPrice: String? { get set }