Struct rusoto_ec2::PurchaseReservedInstancesOfferingRequest [−][src]
pub struct PurchaseReservedInstancesOfferingRequest { pub dry_run: Option<bool>, pub instance_count: i64, pub limit_price: Option<ReservedInstanceLimitPrice>, pub purchase_time: Option<String>, pub reserved_instances_offering_id: String, }
Expand description
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.
purchase_time: Option<String>
The time at which to purchase the Reserved Instance, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
reserved_instances_offering_id: String
The ID of the Reserved Instance offering to purchase.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self