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 ==
.impl StructuralPartialEq for LifecycleExecution
Auto Trait Implementations§
impl Freeze for LifecycleExecution
impl RefUnwindSafe for LifecycleExecution
impl Send for LifecycleExecution
impl Sync for LifecycleExecution
impl Unpin for LifecycleExecution
impl UnwindSafe for LifecycleExecution
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