Purchase

public struct Purchase : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The currency in which the UpfrontPrice and HourlyPrice amounts are specified. At this time, the only supported currency is USD.

    Declaration

    Swift

    public let currencyCode: CurrencyCodeValues?
  • The duration of the reservation’s term in seconds.

    Declaration

    Swift

    public let duration: Int?
  • The IDs of the Dedicated Hosts associated with the reservation.

    Declaration

    Swift

    public let hostIdSet: [String]?
  • The ID of the reservation.

    Declaration

    Swift

    public let hostReservationId: String?
  • The hourly price of the reservation per hour.

    Declaration

    Swift

    public let hourlyPrice: String?
  • The instance family on the Dedicated Host that the reservation can be associated with.

    Declaration

    Swift

    public let instanceFamily: String?
  • The payment option for the reservation.

    Declaration

    Swift

    public let paymentOption: PaymentOption?
  • The upfront price of the reservation.

    Declaration

    Swift

    public let upfrontPrice: String?
  • Undocumented

    Declaration

    Swift

    public init(currencyCode: CurrencyCodeValues? = nil, duration: Int? = nil, hostIdSet: [String]? = nil, hostReservationId: String? = nil, hourlyPrice: String? = nil, instanceFamily: String? = nil, paymentOption: PaymentOption? = nil, upfrontPrice: String? = nil)