Struct aws_sdk_config::types::ConformancePackStatusDetail
source · #[non_exhaustive]pub struct ConformancePackStatusDetail {
pub conformance_pack_name: String,
pub conformance_pack_id: String,
pub conformance_pack_arn: String,
pub conformance_pack_state: ConformancePackState,
pub stack_arn: String,
pub conformance_pack_status_reason: Option<String>,
pub last_update_requested_time: DateTime,
pub last_update_completed_time: Option<DateTime>,
}Expand description
Status details of a conformance pack.
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.conformance_pack_name: StringName of the conformance pack.
conformance_pack_id: StringID of the conformance pack.
conformance_pack_arn: StringAmazon Resource Name (ARN) of comformance pack.
conformance_pack_state: ConformancePackStateIndicates deployment status of conformance pack.
Config sets the state of the conformance pack to:
-
CREATE_IN_PROGRESS when a conformance pack creation is in progress for an account.
-
CREATE_COMPLETE when a conformance pack has been successfully created in your account.
-
CREATE_FAILED when a conformance pack creation failed in your account.
-
DELETE_IN_PROGRESS when a conformance pack deletion is in progress.
-
DELETE_FAILED when a conformance pack deletion failed in your account.
stack_arn: StringAmazon Resource Name (ARN) of CloudFormation stack.
conformance_pack_status_reason: Option<String>The reason of conformance pack creation failure.
last_update_requested_time: DateTimeLast time when conformation pack creation and update was requested.
last_update_completed_time: Option<DateTime>Last time when conformation pack creation and update was successful.
Implementations§
source§impl ConformancePackStatusDetail
impl ConformancePackStatusDetail
sourcepub fn conformance_pack_name(&self) -> &str
pub fn conformance_pack_name(&self) -> &str
Name of the conformance pack.
sourcepub fn conformance_pack_id(&self) -> &str
pub fn conformance_pack_id(&self) -> &str
ID of the conformance pack.
sourcepub fn conformance_pack_arn(&self) -> &str
pub fn conformance_pack_arn(&self) -> &str
Amazon Resource Name (ARN) of comformance pack.
sourcepub fn conformance_pack_state(&self) -> &ConformancePackState
pub fn conformance_pack_state(&self) -> &ConformancePackState
Indicates deployment status of conformance pack.
Config sets the state of the conformance pack to:
-
CREATE_IN_PROGRESS when a conformance pack creation is in progress for an account.
-
CREATE_COMPLETE when a conformance pack has been successfully created in your account.
-
CREATE_FAILED when a conformance pack creation failed in your account.
-
DELETE_IN_PROGRESS when a conformance pack deletion is in progress.
-
DELETE_FAILED when a conformance pack deletion failed in your account.
sourcepub fn conformance_pack_status_reason(&self) -> Option<&str>
pub fn conformance_pack_status_reason(&self) -> Option<&str>
The reason of conformance pack creation failure.
sourcepub fn last_update_requested_time(&self) -> &DateTime
pub fn last_update_requested_time(&self) -> &DateTime
Last time when conformation pack creation and update was requested.
sourcepub fn last_update_completed_time(&self) -> Option<&DateTime>
pub fn last_update_completed_time(&self) -> Option<&DateTime>
Last time when conformation pack creation and update was successful.
source§impl ConformancePackStatusDetail
impl ConformancePackStatusDetail
sourcepub fn builder() -> ConformancePackStatusDetailBuilder
pub fn builder() -> ConformancePackStatusDetailBuilder
Creates a new builder-style object to manufacture ConformancePackStatusDetail.
Trait Implementations§
source§impl Clone for ConformancePackStatusDetail
impl Clone for ConformancePackStatusDetail
source§fn clone(&self) -> ConformancePackStatusDetail
fn clone(&self) -> ConformancePackStatusDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConformancePackStatusDetail
impl Debug for ConformancePackStatusDetail
source§impl PartialEq for ConformancePackStatusDetail
impl PartialEq for ConformancePackStatusDetail
source§fn eq(&self, other: &ConformancePackStatusDetail) -> bool
fn eq(&self, other: &ConformancePackStatusDetail) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConformancePackStatusDetail
Auto Trait Implementations§
impl Freeze for ConformancePackStatusDetail
impl RefUnwindSafe for ConformancePackStatusDetail
impl Send for ConformancePackStatusDetail
impl Sync for ConformancePackStatusDetail
impl Unpin for ConformancePackStatusDetail
impl UnwindSafe for ConformancePackStatusDetail
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