[][src]Struct rusoto_ec2::PurchaseReservedInstancesOfferingRequest

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,
}

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

impl Clone for PurchaseReservedInstancesOfferingRequest[src]

impl Debug for PurchaseReservedInstancesOfferingRequest[src]

impl Default for PurchaseReservedInstancesOfferingRequest[src]

impl PartialEq<PurchaseReservedInstancesOfferingRequest> for PurchaseReservedInstancesOfferingRequest[src]

impl StructuralPartialEq for PurchaseReservedInstancesOfferingRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.