#[non_exhaustive]pub struct OrganizationConformancePackDetailedStatus {
pub account_id: Option<String>,
pub conformance_pack_name: Option<String>,
pub status: Option<OrganizationResourceDetailedStatus>,
pub error_code: Option<String>,
pub error_message: Option<String>,
pub last_update_time: Option<DateTime>,
}Expand description
Organization conformance pack creation or deletion status in each member account. This includes the name of the conformance pack, the status, error code and error message when the conformance pack creation or deletion failed.
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.account_id: Option<String>The 12-digit account ID of a member account.
conformance_pack_name: Option<String>The name of conformance pack deployed in the member account.
status: Option<OrganizationResourceDetailedStatus>Indicates deployment status for conformance pack in a member account. When master account calls PutOrganizationConformancePack action for the first time, conformance pack status is created in the member account. When master account calls PutOrganizationConformancePack action for the second time, conformance pack status is updated in the member account. Conformance pack status is deleted when the master account deletes OrganizationConformancePack and disables service access for config-multiaccountsetup.amazonaws.com.
Config sets the state of the conformance pack to:
-
CREATE_SUCCESSFULwhen conformance pack has been created in the member account. -
CREATE_IN_PROGRESSwhen conformance pack is being created in the member account. -
CREATE_FAILEDwhen conformance pack creation has failed in the member account. -
DELETE_FAILEDwhen conformance pack deletion has failed in the member account. -
DELETE_IN_PROGRESSwhen conformance pack is being deleted in the member account. -
DELETE_SUCCESSFULwhen conformance pack has been deleted in the member account. -
UPDATE_SUCCESSFULwhen conformance pack has been updated in the member account. -
UPDATE_IN_PROGRESSwhen conformance pack is being updated in the member account. -
UPDATE_FAILEDwhen conformance pack deletion has failed in the member account.
error_code: Option<String>An error code that is returned when conformance pack creation or deletion failed in the member account.
error_message: Option<String>An error message indicating that conformance pack account creation or deletion has failed due to an error in the member account.
last_update_time: Option<DateTime>The timestamp of the last status update.
Implementations
sourceimpl OrganizationConformancePackDetailedStatus
impl OrganizationConformancePackDetailedStatus
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The 12-digit account ID of a member account.
sourcepub fn conformance_pack_name(&self) -> Option<&str>
pub fn conformance_pack_name(&self) -> Option<&str>
The name of conformance pack deployed in the member account.
sourcepub fn status(&self) -> Option<&OrganizationResourceDetailedStatus>
pub fn status(&self) -> Option<&OrganizationResourceDetailedStatus>
Indicates deployment status for conformance pack in a member account. When master account calls PutOrganizationConformancePack action for the first time, conformance pack status is created in the member account. When master account calls PutOrganizationConformancePack action for the second time, conformance pack status is updated in the member account. Conformance pack status is deleted when the master account deletes OrganizationConformancePack and disables service access for config-multiaccountsetup.amazonaws.com.
Config sets the state of the conformance pack to:
-
CREATE_SUCCESSFULwhen conformance pack has been created in the member account. -
CREATE_IN_PROGRESSwhen conformance pack is being created in the member account. -
CREATE_FAILEDwhen conformance pack creation has failed in the member account. -
DELETE_FAILEDwhen conformance pack deletion has failed in the member account. -
DELETE_IN_PROGRESSwhen conformance pack is being deleted in the member account. -
DELETE_SUCCESSFULwhen conformance pack has been deleted in the member account. -
UPDATE_SUCCESSFULwhen conformance pack has been updated in the member account. -
UPDATE_IN_PROGRESSwhen conformance pack is being updated in the member account. -
UPDATE_FAILEDwhen conformance pack deletion has failed in the member account.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
An error code that is returned when conformance pack creation or deletion failed in the member account.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
An error message indicating that conformance pack account creation or deletion has failed due to an error in the member account.
sourcepub fn last_update_time(&self) -> Option<&DateTime>
pub fn last_update_time(&self) -> Option<&DateTime>
The timestamp of the last status update.
sourceimpl OrganizationConformancePackDetailedStatus
impl OrganizationConformancePackDetailedStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OrganizationConformancePackDetailedStatus
Trait Implementations
sourceimpl Clone for OrganizationConformancePackDetailedStatus
impl Clone for OrganizationConformancePackDetailedStatus
sourcefn clone(&self) -> OrganizationConformancePackDetailedStatus
fn clone(&self) -> OrganizationConformancePackDetailedStatus
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 PartialEq<OrganizationConformancePackDetailedStatus> for OrganizationConformancePackDetailedStatus
impl PartialEq<OrganizationConformancePackDetailedStatus> for OrganizationConformancePackDetailedStatus
sourcefn eq(&self, other: &OrganizationConformancePackDetailedStatus) -> bool
fn eq(&self, other: &OrganizationConformancePackDetailedStatus) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &OrganizationConformancePackDetailedStatus) -> bool
fn ne(&self, other: &OrganizationConformancePackDetailedStatus) -> bool
This method tests for !=.
impl StructuralPartialEq for OrganizationConformancePackDetailedStatus
Auto Trait Implementations
impl RefUnwindSafe for OrganizationConformancePackDetailedStatus
impl Send for OrganizationConformancePackDetailedStatus
impl Sync for OrganizationConformancePackDetailedStatus
impl Unpin for OrganizationConformancePackDetailedStatus
impl UnwindSafe for OrganizationConformancePackDetailedStatus
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