Struct aws_sdk_config::types::RemediationExecutionStatus
source · #[non_exhaustive]pub struct RemediationExecutionStatus {
pub resource_key: Option<ResourceKey>,
pub state: Option<RemediationExecutionState>,
pub step_details: Option<Vec<RemediationExecutionStep>>,
pub invocation_time: Option<DateTime>,
pub last_updated_time: Option<DateTime>,
}Expand description
Provides details of the current status of the invoked remediation action for that resource.
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.resource_key: Option<ResourceKey>The details that identify a resource within Config, including the resource type and resource ID.
state: Option<RemediationExecutionState>ENUM of the values.
step_details: Option<Vec<RemediationExecutionStep>>Details of every step.
invocation_time: Option<DateTime>Start time when the remediation was executed.
last_updated_time: Option<DateTime>The time when the remediation execution was last updated.
Implementations§
source§impl RemediationExecutionStatus
impl RemediationExecutionStatus
sourcepub fn resource_key(&self) -> Option<&ResourceKey>
pub fn resource_key(&self) -> Option<&ResourceKey>
The details that identify a resource within Config, including the resource type and resource ID.
sourcepub fn state(&self) -> Option<&RemediationExecutionState>
pub fn state(&self) -> Option<&RemediationExecutionState>
ENUM of the values.
sourcepub fn step_details(&self) -> &[RemediationExecutionStep]
pub fn step_details(&self) -> &[RemediationExecutionStep]
Details of every step.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .step_details.is_none().
sourcepub fn invocation_time(&self) -> Option<&DateTime>
pub fn invocation_time(&self) -> Option<&DateTime>
Start time when the remediation was executed.
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
The time when the remediation execution was last updated.
source§impl RemediationExecutionStatus
impl RemediationExecutionStatus
sourcepub fn builder() -> RemediationExecutionStatusBuilder
pub fn builder() -> RemediationExecutionStatusBuilder
Creates a new builder-style object to manufacture RemediationExecutionStatus.
Trait Implementations§
source§impl Clone for RemediationExecutionStatus
impl Clone for RemediationExecutionStatus
source§fn clone(&self) -> RemediationExecutionStatus
fn clone(&self) -> RemediationExecutionStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RemediationExecutionStatus
impl Debug for RemediationExecutionStatus
source§impl PartialEq for RemediationExecutionStatus
impl PartialEq for RemediationExecutionStatus
source§fn eq(&self, other: &RemediationExecutionStatus) -> bool
fn eq(&self, other: &RemediationExecutionStatus) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RemediationExecutionStatus
Auto Trait Implementations§
impl Freeze for RemediationExecutionStatus
impl RefUnwindSafe for RemediationExecutionStatus
impl Send for RemediationExecutionStatus
impl Sync for RemediationExecutionStatus
impl Unpin for RemediationExecutionStatus
impl UnwindSafe for RemediationExecutionStatus
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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