AWSEC2PurchaseHostReservationResult

Objective-C

@interface AWSEC2PurchaseHostReservationResult

Swift

class AWSEC2PurchaseHostReservationResult
  • 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 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 }
  • Describes the details of the purchase.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var totalHourlyPrice: String? { get set }
  • The total amount charged to your account when you purchase the reservation.

    Declaration

    Objective-C

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

    Swift

    var totalUpfrontPrice: String? { get set }