[][src]Struct rusoto_savingsplans::CreateSavingsPlanRequest

pub struct CreateSavingsPlanRequest {
    pub client_token: Option<String>,
    pub commitment: String,
    pub purchase_time: Option<f64>,
    pub savings_plan_offering_id: String,
    pub tags: Option<HashMap<String, String>>,
    pub upfront_payment_amount: Option<String>,
}

Fields

client_token: Option<String>

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

commitment: String

The hourly commitment, in USD. This is a value between 0.001 and 1 million. You cannot specify more than three digits after the decimal point.

purchase_time: Option<f64>

The time at which to purchase the Savings Plan, in UTC format (YYYY-MM-DDTHH:MM:SSZ).

savings_plan_offering_id: String

The ID of the offering.

tags: Option<HashMap<String, String>>

One or more tags.

upfront_payment_amount: Option<String>

The up-front payment amount. This is a whole number between 50 and 99 percent of the total value of the Savings Plan. This parameter is supported only if the payment option is Partial Upfront.

Trait Implementations

impl Clone for CreateSavingsPlanRequest[src]

impl Debug for CreateSavingsPlanRequest[src]

impl Default for CreateSavingsPlanRequest[src]

impl PartialEq<CreateSavingsPlanRequest> for CreateSavingsPlanRequest[src]

impl Serialize for CreateSavingsPlanRequest[src]

impl StructuralPartialEq for CreateSavingsPlanRequest[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> Instrument 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.