PurchaseHostReservationRequest
¶
Source code in docs_src/capo_ec2/types/purchase_host_reservation_request.py
client_token
instance-attribute
¶
client_token: NotRequired[String]
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
currency_code
instance-attribute
¶
currency_code: NotRequired[CurrencyCodeValues]
The currency in which the totalUpfrontPrice, LimitPrice, and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD.
host_id_set
instance-attribute
¶
host_id_set: NotRequired[RequestHostIdSet]
The IDs of the Dedicated Hosts with which the reservation will be associated.
limit_price
instance-attribute
¶
limit_price: NotRequired[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.
tag_specifications
instance-attribute
¶
tag_specifications: NotRequired[TagSpecificationList]
The tags to apply to the Dedicated Host Reservation during purchase.