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: i64The 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: StringThe ID of the Reserved Instance offering to purchase.
Trait Implementations§
Source§impl Clone for PurchaseReservedInstancesOfferingRequest
impl Clone for PurchaseReservedInstancesOfferingRequest
Source§fn clone(&self) -> PurchaseReservedInstancesOfferingRequest
fn clone(&self) -> PurchaseReservedInstancesOfferingRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for PurchaseReservedInstancesOfferingRequest
impl Default for PurchaseReservedInstancesOfferingRequest
Source§fn default() -> PurchaseReservedInstancesOfferingRequest
fn default() -> PurchaseReservedInstancesOfferingRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for PurchaseReservedInstancesOfferingRequest
impl PartialEq for PurchaseReservedInstancesOfferingRequest
Source§fn eq(&self, other: &PurchaseReservedInstancesOfferingRequest) -> bool
fn eq(&self, other: &PurchaseReservedInstancesOfferingRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PurchaseReservedInstancesOfferingRequest
Auto Trait Implementations§
impl Freeze for PurchaseReservedInstancesOfferingRequest
impl RefUnwindSafe for PurchaseReservedInstancesOfferingRequest
impl Send for PurchaseReservedInstancesOfferingRequest
impl Sync for PurchaseReservedInstancesOfferingRequest
impl Unpin for PurchaseReservedInstancesOfferingRequest
impl UnwindSafe for PurchaseReservedInstancesOfferingRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more