[][src]Struct rusoto_ec2::PurchaseHostReservationRequest

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 that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

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]

impl Default for PurchaseHostReservationRequest[src]

impl Clone for 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> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self