[][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,
    pub tag_specifications: Option<Vec<TagSpecification>>,
}

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.

tag_specifications: Option<Vec<TagSpecification>>

The tags to apply to the Dedicated Host Reservation during purchase.

Trait Implementations

impl Clone for PurchaseHostReservationRequest[src]

impl Debug for PurchaseHostReservationRequest[src]

impl Default for PurchaseHostReservationRequest[src]

impl PartialEq<PurchaseHostReservationRequest> for PurchaseHostReservationRequest[src]

impl StructuralPartialEq for PurchaseHostReservationRequest[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.