pub struct SavingsPlansPurchaseRecommendationDetail {Show 16 fields
pub account_id: Option<String>,
pub currency_code: Option<String>,
pub current_average_hourly_on_demand_spend: Option<String>,
pub current_maximum_hourly_on_demand_spend: Option<String>,
pub current_minimum_hourly_on_demand_spend: Option<String>,
pub estimated_average_utilization: Option<String>,
pub estimated_monthly_savings_amount: Option<String>,
pub estimated_on_demand_cost: Option<String>,
pub estimated_on_demand_cost_with_current_commitment: Option<String>,
pub estimated_roi: Option<String>,
pub estimated_sp_cost: Option<String>,
pub estimated_savings_amount: Option<String>,
pub estimated_savings_percentage: Option<String>,
pub hourly_commitment_to_purchase: Option<String>,
pub savings_plans_details: Option<SavingsPlansDetails>,
pub upfront_cost: Option<String>,
}
Expand description
Details for your recommended Savings Plans.
Fields
account_id: Option<String>
The AccountID
the recommendation is generated for.
currency_code: Option<String>
The currency code AWS used to generate the recommendations and present potential savings.
current_average_hourly_on_demand_spend: Option<String>
The average value of hourly On-Demand spend over the lookback period of the applicable usage type.
current_maximum_hourly_on_demand_spend: Option<String>
The highest value of hourly On-Demand spend over the lookback period of the applicable usage type.
current_minimum_hourly_on_demand_spend: Option<String>
The lowest value of hourly On-Demand spend over the lookback period of the applicable usage type.
estimated_average_utilization: Option<String>
The estimated utilization of the recommended Savings Plans.
estimated_monthly_savings_amount: Option<String>
The estimated monthly savings amount, based on the recommended Savings Plans.
estimated_on_demand_cost: Option<String>
The remaining On-Demand cost estimated to not be covered by the recommended Savings Plans, over the length of the lookback period.
estimated_on_demand_cost_with_current_commitment: Option<String>
The estimated On-Demand costs you would expect with no additional commitment, based on your usage of the selected time period and the Savings Plans you own.
estimated_roi: Option<String>
The estimated return on investment based on the recommended Savings Plans purchased. This is calculated as estimatedSavingsAmount
/ estimatedSPCost
*100.
estimated_sp_cost: Option<String>
The cost of the recommended Savings Plans over the length of the lookback period.
estimated_savings_amount: Option<String>
The estimated savings amount based on the recommended Savings Plans over the length of the lookback period.
estimated_savings_percentage: Option<String>
The estimated savings percentage relative to the total cost of applicable On-Demand usage over the lookback period.
hourly_commitment_to_purchase: Option<String>
The recommended hourly commitment level for the Savings Plans type, and configuration based on the usage during the lookback period.
savings_plans_details: Option<SavingsPlansDetails>
Details for your recommended Savings Plans.
upfront_cost: Option<String>
The upfront cost of the recommended Savings Plans, based on the selected payment option.
Trait Implementations
sourceimpl Clone for SavingsPlansPurchaseRecommendationDetail
impl Clone for SavingsPlansPurchaseRecommendationDetail
sourcefn clone(&self) -> SavingsPlansPurchaseRecommendationDetail
fn clone(&self) -> SavingsPlansPurchaseRecommendationDetail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for SavingsPlansPurchaseRecommendationDetail
impl Default for SavingsPlansPurchaseRecommendationDetail
sourcefn default() -> SavingsPlansPurchaseRecommendationDetail
fn default() -> SavingsPlansPurchaseRecommendationDetail
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SavingsPlansPurchaseRecommendationDetail
impl<'de> Deserialize<'de> for SavingsPlansPurchaseRecommendationDetail
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<SavingsPlansPurchaseRecommendationDetail> for SavingsPlansPurchaseRecommendationDetail
impl PartialEq<SavingsPlansPurchaseRecommendationDetail> for SavingsPlansPurchaseRecommendationDetail
sourcefn eq(&self, other: &SavingsPlansPurchaseRecommendationDetail) -> bool
fn eq(&self, other: &SavingsPlansPurchaseRecommendationDetail) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SavingsPlansPurchaseRecommendationDetail) -> bool
fn ne(&self, other: &SavingsPlansPurchaseRecommendationDetail) -> bool
This method tests for !=
.
impl StructuralPartialEq for SavingsPlansPurchaseRecommendationDetail
Auto Trait Implementations
impl RefUnwindSafe for SavingsPlansPurchaseRecommendationDetail
impl Send for SavingsPlansPurchaseRecommendationDetail
impl Sync for SavingsPlansPurchaseRecommendationDetail
impl Unpin for SavingsPlansPurchaseRecommendationDetail
impl UnwindSafe for SavingsPlansPurchaseRecommendationDetail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more