#[non_exhaustive]pub struct OrganizationConformancePackDetailedStatus {
pub account_id: String,
pub conformance_pack_name: String,
pub status: 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: StringThe 12-digit account ID of a member account.
conformance_pack_name: StringThe name of conformance pack deployed in the member account.
status: OrganizationResourceDetailedStatusIndicates deployment status for conformance pack in a member account. When management account calls PutOrganizationConformancePack action for the first time, conformance pack status is created in the member account. When management account calls PutOrganizationConformancePack action for the second time, conformance pack status is updated in the member account. Conformance pack status is deleted when the management 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§
source§impl OrganizationConformancePackDetailedStatus
impl OrganizationConformancePackDetailedStatus
sourcepub fn account_id(&self) -> &str
pub fn account_id(&self) -> &str
The 12-digit account ID of a member account.
sourcepub fn conformance_pack_name(&self) -> &str
pub fn conformance_pack_name(&self) -> &str
The name of conformance pack deployed in the member account.
sourcepub fn status(&self) -> &OrganizationResourceDetailedStatus
pub fn status(&self) -> &OrganizationResourceDetailedStatus
Indicates deployment status for conformance pack in a member account. When management account calls PutOrganizationConformancePack action for the first time, conformance pack status is created in the member account. When management account calls PutOrganizationConformancePack action for the second time, conformance pack status is updated in the member account. Conformance pack status is deleted when the management 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.
source§impl OrganizationConformancePackDetailedStatus
impl OrganizationConformancePackDetailedStatus
sourcepub fn builder() -> OrganizationConformancePackDetailedStatusBuilder
pub fn builder() -> OrganizationConformancePackDetailedStatusBuilder
Creates a new builder-style object to manufacture OrganizationConformancePackDetailedStatus.
Trait Implementations§
source§impl Clone for OrganizationConformancePackDetailedStatus
impl Clone for OrganizationConformancePackDetailedStatus
source§fn clone(&self) -> OrganizationConformancePackDetailedStatus
fn clone(&self) -> OrganizationConformancePackDetailedStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for OrganizationConformancePackDetailedStatus
impl PartialEq for OrganizationConformancePackDetailedStatus
source§fn eq(&self, other: &OrganizationConformancePackDetailedStatus) -> bool
fn eq(&self, other: &OrganizationConformancePackDetailedStatus) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OrganizationConformancePackDetailedStatus
Auto Trait Implementations§
impl Freeze for OrganizationConformancePackDetailedStatus
impl RefUnwindSafe for OrganizationConformancePackDetailedStatus
impl Send for OrganizationConformancePackDetailedStatus
impl Sync for OrganizationConformancePackDetailedStatus
impl Unpin for OrganizationConformancePackDetailedStatus
impl UnwindSafe for OrganizationConformancePackDetailedStatus
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