Struct aws_sdk_config::model::ConformancePackStatusDetail
source · [−]#[non_exhaustive]pub struct ConformancePackStatusDetail {
pub conformance_pack_name: Option<String>,
pub conformance_pack_id: Option<String>,
pub conformance_pack_arn: Option<String>,
pub conformance_pack_state: Option<ConformancePackState>,
pub stack_arn: Option<String>,
pub conformance_pack_status_reason: Option<String>,
pub last_update_requested_time: Option<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: Option<String>Name of the conformance pack.
conformance_pack_id: Option<String>ID of the conformance pack.
conformance_pack_arn: Option<String>Amazon Resource Name (ARN) of comformance pack.
conformance_pack_state: Option<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.
stack_arn: Option<String>Amazon Resource Name (ARN) of CloudFormation stack.
conformance_pack_status_reason: Option<String>The reason of conformance pack creation failure.
last_update_requested_time: Option<DateTime>Last 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
sourceimpl ConformancePackStatusDetail
impl ConformancePackStatusDetail
sourcepub fn conformance_pack_name(&self) -> Option<&str>
pub fn conformance_pack_name(&self) -> Option<&str>
Name of the conformance pack.
sourcepub fn conformance_pack_id(&self) -> Option<&str>
pub fn conformance_pack_id(&self) -> Option<&str>
ID of the conformance pack.
sourcepub fn conformance_pack_arn(&self) -> Option<&str>
pub fn conformance_pack_arn(&self) -> Option<&str>
Amazon Resource Name (ARN) of comformance pack.
sourcepub fn conformance_pack_state(&self) -> Option<&ConformancePackState>
pub fn conformance_pack_state(&self) -> Option<&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) -> Option<&DateTime>
pub fn last_update_requested_time(&self) -> Option<&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.
sourceimpl ConformancePackStatusDetail
impl ConformancePackStatusDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConformancePackStatusDetail
Trait Implementations
sourceimpl Clone for ConformancePackStatusDetail
impl Clone for ConformancePackStatusDetail
sourcefn clone(&self) -> ConformancePackStatusDetail
fn clone(&self) -> ConformancePackStatusDetail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ConformancePackStatusDetail
impl Debug for ConformancePackStatusDetail
sourceimpl PartialEq<ConformancePackStatusDetail> for ConformancePackStatusDetail
impl PartialEq<ConformancePackStatusDetail> for ConformancePackStatusDetail
sourcefn eq(&self, other: &ConformancePackStatusDetail) -> bool
fn eq(&self, other: &ConformancePackStatusDetail) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ConformancePackStatusDetail) -> bool
fn ne(&self, other: &ConformancePackStatusDetail) -> bool
This method tests for !=.
impl StructuralPartialEq for ConformancePackStatusDetail
Auto Trait Implementations
impl RefUnwindSafe for ConformancePackStatusDetail
impl Send for ConformancePackStatusDetail
impl Sync for ConformancePackStatusDetail
impl Unpin for ConformancePackStatusDetail
impl UnwindSafe for ConformancePackStatusDetail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more