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]
impl Default for PurchaseHostReservationRequest
fn default() -> PurchaseHostReservationRequest
[src]
fn default() -> PurchaseHostReservationRequest
Returns the "default value" for a type. Read more
impl Debug for PurchaseHostReservationRequest
[src]
impl Debug for PurchaseHostReservationRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PurchaseHostReservationRequest
[src]
impl Clone for PurchaseHostReservationRequest
fn clone(&self) -> PurchaseHostReservationRequest
[src]
fn clone(&self) -> PurchaseHostReservationRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for PurchaseHostReservationRequest
[src]
impl PartialEq for PurchaseHostReservationRequest
fn eq(&self, other: &PurchaseHostReservationRequest) -> bool
[src]
fn eq(&self, other: &PurchaseHostReservationRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PurchaseHostReservationRequest) -> bool
[src]
fn ne(&self, other: &PurchaseHostReservationRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PurchaseHostReservationRequest
impl Send for PurchaseHostReservationRequest
impl Sync for PurchaseHostReservationRequest
impl Sync for PurchaseHostReservationRequest