Struct aws_sdk_autoscaling::operation::get_predictive_scaling_forecast::GetPredictiveScalingForecastInput
source · #[non_exhaustive]pub struct GetPredictiveScalingForecastInput {
pub auto_scaling_group_name: Option<String>,
pub policy_name: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
}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.auto_scaling_group_name: Option<String>The name of the Auto Scaling group.
policy_name: Option<String>The name of the policy.
start_time: Option<DateTime>The inclusive start time of the time range for the forecast data to get. At most, the date and time can be one year before the current date and time.
end_time: Option<DateTime>The exclusive end time of the time range for the forecast data to get. The maximum time duration between the start and end time is 30 days.
Although this parameter can accept a date and time that is more than two days in the future, the availability of forecast data has limits. Amazon EC2 Auto Scaling only issues forecasts for periods of two days in advance.
Implementations§
source§impl GetPredictiveScalingForecastInput
impl GetPredictiveScalingForecastInput
sourcepub fn auto_scaling_group_name(&self) -> Option<&str>
pub fn auto_scaling_group_name(&self) -> Option<&str>
The name of the Auto Scaling group.
sourcepub fn policy_name(&self) -> Option<&str>
pub fn policy_name(&self) -> Option<&str>
The name of the policy.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The inclusive start time of the time range for the forecast data to get. At most, the date and time can be one year before the current date and time.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The exclusive end time of the time range for the forecast data to get. The maximum time duration between the start and end time is 30 days.
Although this parameter can accept a date and time that is more than two days in the future, the availability of forecast data has limits. Amazon EC2 Auto Scaling only issues forecasts for periods of two days in advance.
source§impl GetPredictiveScalingForecastInput
impl GetPredictiveScalingForecastInput
sourcepub fn builder() -> GetPredictiveScalingForecastInputBuilder
pub fn builder() -> GetPredictiveScalingForecastInputBuilder
Creates a new builder-style object to manufacture GetPredictiveScalingForecastInput.
Trait Implementations§
source§impl Clone for GetPredictiveScalingForecastInput
impl Clone for GetPredictiveScalingForecastInput
source§fn clone(&self) -> GetPredictiveScalingForecastInput
fn clone(&self) -> GetPredictiveScalingForecastInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for GetPredictiveScalingForecastInput
impl PartialEq for GetPredictiveScalingForecastInput
source§fn eq(&self, other: &GetPredictiveScalingForecastInput) -> bool
fn eq(&self, other: &GetPredictiveScalingForecastInput) -> bool
self and other values to be equal, and is used
by ==.