[][src]Struct rusoto_compute_optimizer::InstanceRecommendation

pub struct InstanceRecommendation {
    pub account_id: Option<String>,
    pub current_instance_type: Option<String>,
    pub finding: Option<String>,
    pub instance_arn: Option<String>,
    pub instance_name: Option<String>,
    pub last_refresh_timestamp: Option<f64>,
    pub look_back_period_in_days: Option<f64>,
    pub recommendation_options: Option<Vec<InstanceRecommendationOption>>,
    pub recommendation_sources: Option<Vec<RecommendationSource>>,
    pub utilization_metrics: Option<Vec<UtilizationMetric>>,
}

Describes an Amazon EC2 instance recommendation.

Fields

account_id: Option<String>

The AWS account ID of the instance.

current_instance_type: Option<String>

The instance type of the current instance.

finding: Option<String>

The finding classification for the instance.

Findings for instances include:

  • Underprovisioned —An instance is considered under-provisioned when at least one specification of your instance, such as CPU, memory, or network, does not meet the performance requirements of your workload. Under-provisioned instances may lead to poor application performance.

  • Overprovisioned —An instance is considered over-provisioned when at least one specification of your instance, such as CPU, memory, or network, can be sized down while still meeting the performance requirements of your workload, and no specification is under-provisioned. Over-provisioned instances may lead to unnecessary infrastructure cost.

  • Optimized —An instance is considered optimized when all specifications of your instance, such as CPU, memory, and network, meet the performance requirements of your workload and is not over provisioned. An optimized instance runs your workloads with optimal performance and infrastructure cost. For optimized resources, AWS Compute Optimizer might recommend a new generation instance type.

instance_arn: Option<String>

The Amazon Resource Name (ARN) of the current instance.

instance_name: Option<String>

The name of the current instance.

last_refresh_timestamp: Option<f64>

The time stamp of when the instance recommendation was last refreshed.

look_back_period_in_days: Option<f64>

The number of days for which utilization metrics were analyzed for the instance.

recommendation_options: Option<Vec<InstanceRecommendationOption>>

An array of objects that describe the recommendation options for the instance.

recommendation_sources: Option<Vec<RecommendationSource>>

An array of objects that describe the source resource of the recommendation.

utilization_metrics: Option<Vec<UtilizationMetric>>

An array of objects that describe the utilization metrics of the instance.

Trait Implementations

impl Clone for InstanceRecommendation[src]

impl Debug for InstanceRecommendation[src]

impl Default for InstanceRecommendation[src]

impl<'de> Deserialize<'de> for InstanceRecommendation[src]

impl PartialEq<InstanceRecommendation> for InstanceRecommendation[src]

impl StructuralPartialEq for InstanceRecommendation[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.