HostReservation
public struct HostReservation : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The number of Dedicated Hosts the reservation is associated with.
Declaration
Swift
public let count: Int?
-
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 length of the reservation’s term, specified in seconds. Can be 31536000 (1 year) | 94608000 (3 years).
Declaration
Swift
public let duration: Int?
-
The date and time that the reservation ends.
Declaration
Swift
public let end: TimeStamp?
-
The IDs of the Dedicated Hosts associated with the reservation.
Declaration
Swift
public let hostIdSet: [String]?
-
The ID of the reservation that specifies the associated Dedicated Hosts.
Declaration
Swift
public let hostReservationId: String?
-
The hourly price of the reservation.
Declaration
Swift
public let hourlyPrice: String?
-
The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.
Declaration
Swift
public let instanceFamily: String?
-
The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.
Declaration
Swift
public let offeringId: String?
-
The payment option selected for this reservation.
Declaration
Swift
public let paymentOption: PaymentOption?
-
The date and time that the reservation started.
Declaration
Swift
public let start: TimeStamp?
-
The state of the reservation.
Declaration
Swift
public let state: ReservationState?
-
Any tags assigned to the Dedicated Host Reservation.
Declaration
Swift
public let tags: [Tag]?
-
The upfront price of the reservation.
Declaration
Swift
public let upfrontPrice: String?
-
init(count:currencyCode:duration:end:hostIdSet:hostReservationId:hourlyPrice:instanceFamily:offeringId:paymentOption:start:state:tags:upfrontPrice:)
Undocumented
Declaration
Swift
public init(count: Int? = nil, currencyCode: CurrencyCodeValues? = nil, duration: Int? = nil, end: TimeStamp? = nil, hostIdSet: [String]? = nil, hostReservationId: String? = nil, hourlyPrice: String? = nil, instanceFamily: String? = nil, offeringId: String? = nil, paymentOption: PaymentOption? = nil, start: TimeStamp? = nil, state: ReservationState? = nil, tags: [Tag]? = nil, upfrontPrice: String? = nil)