PurchaseHostReservationRequest

public struct PurchaseHostReservationRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

    Declaration

    Swift

    public let clientToken: String?
  • The currency in which the totalUpfrontPrice, LimitPrice, and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD.

    Declaration

    Swift

    public let currencyCode: CurrencyCodeValues?
  • The IDs of the Dedicated Hosts with which the reservation will be associated.

    Declaration

    Swift

    public let hostIdSet: [String]
  • 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

    Swift

    public let limitPrice: String?
  • The ID of the offering.

    Declaration

    Swift

    public let offeringId: String
  • The tags to apply to the Dedicated Host Reservation during purchase.

    Declaration

    Swift

    public let tagSpecifications: [TagSpecification]?
  • Undocumented

    Declaration

    Swift

    public init(clientToken: String? = nil, currencyCode: CurrencyCodeValues? = nil, hostIdSet: [String], limitPrice: String? = nil, offeringId: String, tagSpecifications: [TagSpecification]? = nil)