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