#[non_exhaustive]pub struct MaintenanceWindowExecutionTaskIdentity {
pub window_execution_id: Option<String>,
pub task_execution_id: Option<String>,
pub status: Option<MaintenanceWindowExecutionStatus>,
pub status_details: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub task_arn: Option<String>,
pub task_type: Option<MaintenanceWindowTaskType>,
pub alarm_configuration: Option<AlarmConfiguration>,
pub triggered_alarms: Option<Vec<AlarmStateInformation>>,
}
Expand description
Information about a task execution performed as part of a maintenance window execution.
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.window_execution_id: Option<String>
The ID of the maintenance window execution that ran the task.
task_execution_id: Option<String>
The ID of the specific task execution in the maintenance window execution.
status: Option<MaintenanceWindowExecutionStatus>
The status of the task execution.
status_details: Option<String>
The details explaining the status of the task execution. Not available for all status values.
start_time: Option<DateTime>
The time the task execution started.
end_time: Option<DateTime>
The time the task execution finished.
task_arn: Option<String>
The Amazon Resource Name (ARN) of the task that ran.
task_type: Option<MaintenanceWindowTaskType>
The type of task that ran.
alarm_configuration: Option<AlarmConfiguration>
The details for the CloudWatch alarm applied to your maintenance window task.
triggered_alarms: Option<Vec<AlarmStateInformation>>
The CloudWatch alarm that was invoked by the maintenance window task.
Implementations§
source§impl MaintenanceWindowExecutionTaskIdentity
impl MaintenanceWindowExecutionTaskIdentity
sourcepub fn window_execution_id(&self) -> Option<&str>
pub fn window_execution_id(&self) -> Option<&str>
The ID of the maintenance window execution that ran the task.
sourcepub fn task_execution_id(&self) -> Option<&str>
pub fn task_execution_id(&self) -> Option<&str>
The ID of the specific task execution in the maintenance window execution.
sourcepub fn status(&self) -> Option<&MaintenanceWindowExecutionStatus>
pub fn status(&self) -> Option<&MaintenanceWindowExecutionStatus>
The status of the task execution.
sourcepub fn status_details(&self) -> Option<&str>
pub fn status_details(&self) -> Option<&str>
The details explaining the status of the task execution. Not available for all status values.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time the task execution started.
sourcepub fn task_type(&self) -> Option<&MaintenanceWindowTaskType>
pub fn task_type(&self) -> Option<&MaintenanceWindowTaskType>
The type of task that ran.
sourcepub fn alarm_configuration(&self) -> Option<&AlarmConfiguration>
pub fn alarm_configuration(&self) -> Option<&AlarmConfiguration>
The details for the CloudWatch alarm applied to your maintenance window task.
sourcepub fn triggered_alarms(&self) -> &[AlarmStateInformation]
pub fn triggered_alarms(&self) -> &[AlarmStateInformation]
The CloudWatch alarm that was invoked by the maintenance window task.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .triggered_alarms.is_none()
.
source§impl MaintenanceWindowExecutionTaskIdentity
impl MaintenanceWindowExecutionTaskIdentity
sourcepub fn builder() -> MaintenanceWindowExecutionTaskIdentityBuilder
pub fn builder() -> MaintenanceWindowExecutionTaskIdentityBuilder
Creates a new builder-style object to manufacture MaintenanceWindowExecutionTaskIdentity
.
Trait Implementations§
source§impl Clone for MaintenanceWindowExecutionTaskIdentity
impl Clone for MaintenanceWindowExecutionTaskIdentity
source§fn clone(&self) -> MaintenanceWindowExecutionTaskIdentity
fn clone(&self) -> MaintenanceWindowExecutionTaskIdentity
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for MaintenanceWindowExecutionTaskIdentity
impl PartialEq for MaintenanceWindowExecutionTaskIdentity
source§fn eq(&self, other: &MaintenanceWindowExecutionTaskIdentity) -> bool
fn eq(&self, other: &MaintenanceWindowExecutionTaskIdentity) -> bool
self
and other
values to be equal, and is used
by ==
.