[−][src]Struct rusoto_ec2::PurchaseHostReservationRequest
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 IDs of the Dedicated Hosts with which the reservation will be associated.
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 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.
offering_id: String
The ID of the offering.
Trait Implementations
impl PartialEq<PurchaseHostReservationRequest> for PurchaseHostReservationRequest
[src]
fn eq(&self, other: &PurchaseHostReservationRequest) -> bool
[src]
fn ne(&self, other: &PurchaseHostReservationRequest) -> bool
[src]
impl Default for PurchaseHostReservationRequest
[src]
impl Clone for PurchaseHostReservationRequest
[src]
fn clone(&self) -> PurchaseHostReservationRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for PurchaseHostReservationRequest
[src]
Auto Trait Implementations
impl Send for PurchaseHostReservationRequest
impl Sync for PurchaseHostReservationRequest
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self