Struct aws_sdk_autoscaling::types::Activity
source · #[non_exhaustive]pub struct Activity {
pub activity_id: Option<String>,
pub auto_scaling_group_name: Option<String>,
pub description: Option<String>,
pub cause: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub status_code: Option<ScalingActivityStatusCode>,
pub status_message: Option<String>,
pub progress: Option<i32>,
pub details: Option<String>,
pub auto_scaling_group_state: Option<String>,
pub auto_scaling_group_arn: Option<String>,
}Expand description
Describes scaling activity, which is a long-running process that represents a change to your Auto Scaling group, such as changing its size or replacing an instance.
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.activity_id: Option<String>The ID of the activity.
auto_scaling_group_name: Option<String>The name of the Auto Scaling group.
description: Option<String>A friendly, more verbose description of the activity.
cause: Option<String>The reason the activity began.
start_time: Option<DateTime>The start time of the activity.
end_time: Option<DateTime>The end time of the activity.
status_code: Option<ScalingActivityStatusCode>The current status of the activity.
status_message: Option<String>A friendly, more verbose description of the activity status.
progress: Option<i32>A value between 0 and 100 that indicates the progress of the activity.
details: Option<String>The details about the activity.
auto_scaling_group_state: Option<String>The state of the Auto Scaling group, which is either InService or Deleted.
auto_scaling_group_arn: Option<String>The Amazon Resource Name (ARN) of the Auto Scaling group.
Implementations§
source§impl Activity
impl Activity
sourcepub fn activity_id(&self) -> Option<&str>
pub fn activity_id(&self) -> Option<&str>
The ID of the activity.
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 description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A friendly, more verbose description of the activity.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start time of the activity.
sourcepub fn status_code(&self) -> Option<&ScalingActivityStatusCode>
pub fn status_code(&self) -> Option<&ScalingActivityStatusCode>
The current status of the activity.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
A friendly, more verbose description of the activity status.
sourcepub fn progress(&self) -> Option<i32>
pub fn progress(&self) -> Option<i32>
A value between 0 and 100 that indicates the progress of the activity.
sourcepub fn auto_scaling_group_state(&self) -> Option<&str>
pub fn auto_scaling_group_state(&self) -> Option<&str>
The state of the Auto Scaling group, which is either InService or Deleted.
sourcepub fn auto_scaling_group_arn(&self) -> Option<&str>
pub fn auto_scaling_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Auto Scaling group.