Struct aws_sdk_imagebuilder::types::LifecycleExecution
source · #[non_exhaustive]pub struct LifecycleExecution {
pub lifecycle_execution_id: Option<String>,
pub lifecycle_policy_arn: Option<String>,
pub resources_impacted_summary: Option<LifecycleExecutionResourcesImpactedSummary>,
pub state: Option<LifecycleExecutionState>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
}
Expand description
Contains metadata from a runtime instance of a lifecycle policy.
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_execution_id: Option<String>
Identifies the lifecycle policy runtime instance.
lifecycle_policy_arn: Option<String>
The Amazon Resource Name (ARN) of the lifecycle policy that ran.
resources_impacted_summary: Option<LifecycleExecutionResourcesImpactedSummary>
Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
state: Option<LifecycleExecutionState>
Runtime state that reports if the policy action ran successfully, failed, or was skipped.
start_time: Option<DateTime>
The timestamp when the lifecycle runtime instance started.
end_time: Option<DateTime>
The timestamp when the lifecycle runtime instance completed.
Implementations§
source§impl LifecycleExecution
impl LifecycleExecution
sourcepub fn lifecycle_execution_id(&self) -> Option<&str>
pub fn lifecycle_execution_id(&self) -> Option<&str>
Identifies the lifecycle policy runtime instance.
sourcepub fn lifecycle_policy_arn(&self) -> Option<&str>
pub fn lifecycle_policy_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the lifecycle policy that ran.
sourcepub fn resources_impacted_summary(
&self
) -> Option<&LifecycleExecutionResourcesImpactedSummary>
pub fn resources_impacted_summary( &self ) -> Option<&LifecycleExecutionResourcesImpactedSummary>
Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
sourcepub fn state(&self) -> Option<&LifecycleExecutionState>
pub fn state(&self) -> Option<&LifecycleExecutionState>
Runtime state that reports if the policy action ran successfully, failed, or was skipped.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The timestamp when the lifecycle runtime instance started.
source§impl LifecycleExecution
impl LifecycleExecution
sourcepub fn builder() -> LifecycleExecutionBuilder
pub fn builder() -> LifecycleExecutionBuilder
Creates a new builder-style object to manufacture LifecycleExecution
.
Trait Implementations§
source§impl Clone for LifecycleExecution
impl Clone for LifecycleExecution
source§fn clone(&self) -> LifecycleExecution
fn clone(&self) -> LifecycleExecution
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LifecycleExecution
impl Debug for LifecycleExecution
source§impl PartialEq for LifecycleExecution
impl PartialEq for LifecycleExecution
source§fn eq(&self, other: &LifecycleExecution) -> bool
fn eq(&self, other: &LifecycleExecution) -> bool
self
and other
values to be equal, and is used
by ==
.