Struct aws_sdk_codedeploy::model::LifecycleEvent
source · [−]#[non_exhaustive]pub struct LifecycleEvent { /* private fields */ }
Expand description
Information about a deployment lifecycle event.
Implementations
sourceimpl 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.
sourceimpl LifecycleEvent
impl LifecycleEvent
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LifecycleEvent
.
Trait Implementations
sourceimpl Clone for LifecycleEvent
impl Clone for LifecycleEvent
sourcefn clone(&self) -> LifecycleEvent
fn clone(&self) -> LifecycleEvent
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more