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

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.

The currency in which the totalUpfrontPrice, LimitPrice, and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD.

The ID/s of the Dedicated Host/s that the reservation will be associated with.

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.

The ID of the offering.

Trait Implementations

impl Default for PurchaseHostReservationRequest
[src]

Returns the "default value" for a type. Read more

impl Debug for PurchaseHostReservationRequest
[src]

Formats the value using the given formatter.

impl Clone for PurchaseHostReservationRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more