Struct rusoto_ec2::PurchaseReservedInstancesOfferingRequest [−][src]
pub struct PurchaseReservedInstancesOfferingRequest { pub dry_run: Option<bool>, pub instance_count: i64, pub limit_price: Option<ReservedInstanceLimitPrice>, pub reserved_instances_offering_id: String, }
Contains the parameters for PurchaseReservedInstancesOffering.
Fields
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
instance_count: i64
The number of Reserved Instances to purchase.
limit_price: Option<ReservedInstanceLimitPrice>
Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.
reserved_instances_offering_id: String
The ID of the Reserved Instance offering to purchase.
Trait Implementations
impl Default for PurchaseReservedInstancesOfferingRequest
[src]
impl Default for PurchaseReservedInstancesOfferingRequest
fn default() -> PurchaseReservedInstancesOfferingRequest
[src]
fn default() -> PurchaseReservedInstancesOfferingRequest
Returns the "default value" for a type. Read more
impl Debug for PurchaseReservedInstancesOfferingRequest
[src]
impl Debug for PurchaseReservedInstancesOfferingRequest
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 PurchaseReservedInstancesOfferingRequest
[src]
impl Clone for PurchaseReservedInstancesOfferingRequest
fn clone(&self) -> PurchaseReservedInstancesOfferingRequest
[src]
fn clone(&self) -> PurchaseReservedInstancesOfferingRequest
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 PurchaseReservedInstancesOfferingRequest
[src]
impl PartialEq for PurchaseReservedInstancesOfferingRequest
fn eq(&self, other: &PurchaseReservedInstancesOfferingRequest) -> bool
[src]
fn eq(&self, other: &PurchaseReservedInstancesOfferingRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PurchaseReservedInstancesOfferingRequest) -> bool
[src]
fn ne(&self, other: &PurchaseReservedInstancesOfferingRequest) -> bool
This method tests for !=
.