Struct aws_sdk_computeoptimizer::input::GetEc2RecommendationProjectedMetricsInput [−][src]
#[non_exhaustive]pub struct GetEc2RecommendationProjectedMetricsInput {
pub instance_arn: Option<String>,
pub stat: Option<MetricStatistic>,
pub period: i32,
pub start_time: Option<Instant>,
pub end_time: Option<Instant>,
pub recommendation_preferences: Option<RecommendationPreferences>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_arn: Option<String>
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
stat: Option<MetricStatistic>
The statistic of the projected metrics.
period: i32
The granularity, in seconds, of the projected metrics data points.
start_time: Option<Instant>
The timestamp of the first projected metrics data point to return.
end_time: Option<Instant>
The timestamp of the last projected metrics data point to return.
recommendation_preferences: Option<RecommendationPreferences>
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetEC2RecommendationProjectedMetrics, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetEC2RecommendationProjectedMetrics, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetEC2RecommendationProjectedMetrics
>
Creates a new builder-style object to manufacture GetEc2RecommendationProjectedMetricsInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more