Struct aws_sdk_codedeploy::types::LifecycleEvent
source · #[non_exhaustive]pub struct LifecycleEvent {
pub lifecycle_event_name: Option<String>,
pub diagnostics: Option<Diagnostics>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub status: Option<LifecycleEventStatus>,
}
Expand description
Information about a deployment lifecycle event.
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.lifecycle_event_name: Option<String>
The deployment lifecycle event name, such as ApplicationStop
, BeforeInstall
, AfterInstall
, ApplicationStart
, or ValidateService
.
diagnostics: Option<Diagnostics>
Diagnostic information about the deployment lifecycle event.
start_time: Option<DateTime>
A timestamp that indicates when the deployment lifecycle event started.
end_time: Option<DateTime>
A timestamp that indicates when the deployment lifecycle event ended.
status: Option<LifecycleEventStatus>
The deployment lifecycle event status:
-
Pending: The deployment lifecycle event is pending.
-
InProgress: The deployment lifecycle event is in progress.
-
Succeeded: The deployment lifecycle event ran successfully.
-
Failed: The deployment lifecycle event has failed.
-
Skipped: The deployment lifecycle event has been skipped.
-
Unknown: The deployment lifecycle event is unknown.
Implementations§
source§impl LifecycleEvent
impl LifecycleEvent
sourcepub fn lifecycle_event_name(&self) -> Option<&str>
pub fn lifecycle_event_name(&self) -> Option<&str>
The deployment lifecycle event name, such as ApplicationStop
, BeforeInstall
, AfterInstall
, ApplicationStart
, or ValidateService
.
sourcepub fn diagnostics(&self) -> Option<&Diagnostics>
pub fn diagnostics(&self) -> Option<&Diagnostics>
Diagnostic information about the deployment lifecycle event.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
A timestamp that indicates when the deployment lifecycle event started.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
A timestamp that indicates when the deployment lifecycle event ended.
sourcepub fn status(&self) -> Option<&LifecycleEventStatus>
pub fn status(&self) -> Option<&LifecycleEventStatus>
The deployment lifecycle event status:
-
Pending: The deployment lifecycle event is pending.
-
InProgress: The deployment lifecycle event is in progress.
-
Succeeded: The deployment lifecycle event ran successfully.
-
Failed: The deployment lifecycle event has failed.
-
Skipped: The deployment lifecycle event has been skipped.
-
Unknown: The deployment lifecycle event is unknown.
source§impl LifecycleEvent
impl LifecycleEvent
sourcepub fn builder() -> LifecycleEventBuilder
pub fn builder() -> LifecycleEventBuilder
Creates a new builder-style object to manufacture LifecycleEvent
.
Trait Implementations§
source§impl Clone for LifecycleEvent
impl Clone for LifecycleEvent
source§fn clone(&self) -> LifecycleEvent
fn clone(&self) -> LifecycleEvent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LifecycleEvent
impl Debug for LifecycleEvent
source§impl PartialEq for LifecycleEvent
impl PartialEq for LifecycleEvent
source§fn eq(&self, other: &LifecycleEvent) -> bool
fn eq(&self, other: &LifecycleEvent) -> bool
self
and other
values to be equal, and is used
by ==
.