#[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 ==
.impl StructuralPartialEq for MaintenanceWindowExecutionTaskIdentity
Auto Trait Implementations§
impl Freeze for MaintenanceWindowExecutionTaskIdentity
impl RefUnwindSafe for MaintenanceWindowExecutionTaskIdentity
impl Send for MaintenanceWindowExecutionTaskIdentity
impl Sync for MaintenanceWindowExecutionTaskIdentity
impl Unpin for MaintenanceWindowExecutionTaskIdentity
impl UnwindSafe for MaintenanceWindowExecutionTaskIdentity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more