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]
fn default() -> PurchaseReservedInstancesOfferingRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for PurchaseReservedInstancesOfferingRequest
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for PurchaseReservedInstancesOfferingRequest
[src]
fn clone(&self) -> PurchaseReservedInstancesOfferingRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more