Struct rusoto_ec2::PurchaseHostReservationRequest
[−]
[src]
pub struct PurchaseHostReservationRequest { pub client_token: Option<String>, pub currency_code: Option<String>, pub host_id_set: Vec<String>, pub limit_price: Option<String>, pub offering_id: String, }
Fields
client_token: Option<String>
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide.
currency_code: Option<String>
The currency in which the totalUpfrontPrice
, LimitPrice
, and totalHourlyPrice
amounts are specified. At this time, the only supported currency is USD
.
host_id_set: Vec<String>
The ID/s of the Dedicated Host/s that the reservation will be associated with.
limit_price: Option<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 will fail. 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.
offering_id: String
The ID of the offering.
Trait Implementations
impl Default for PurchaseHostReservationRequest
[src]
fn default() -> PurchaseHostReservationRequest
Returns the "default value" for a type. Read more
impl Debug for PurchaseHostReservationRequest
[src]
impl Clone for PurchaseHostReservationRequest
[src]
fn clone(&self) -> PurchaseHostReservationRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more