Struct aws_sdk_config::types::MemberAccountStatus
source · #[non_exhaustive]pub struct MemberAccountStatus { /* private fields */ }Expand description
Organization Config rule creation or deletion status in each member account. This includes the name of the rule, the status, error code and error message when the rule creation or deletion failed.
Implementations§
source§impl MemberAccountStatus
impl MemberAccountStatus
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 config_rule_name(&self) -> Option<&str>
pub fn config_rule_name(&self) -> Option<&str>
The name of Config rule deployed in the member account.
sourcepub fn member_account_rule_status(&self) -> Option<&MemberAccountRuleStatus>
pub fn member_account_rule_status(&self) -> Option<&MemberAccountRuleStatus>
Indicates deployment status for Config rule in the member account. When management account calls PutOrganizationConfigRule action for the first time, Config rule status is created in the member account. When management account calls PutOrganizationConfigRule action for the second time, Config rule status is updated in the member account. Config rule status is deleted when the management account deletes OrganizationConfigRule and disables service access for config-multiaccountsetup.amazonaws.com.
Config sets the state of the rule to:
-
CREATE_SUCCESSFULwhen Config rule has been created in the member account. -
CREATE_IN_PROGRESSwhen Config rule is being created in the member account. -
CREATE_FAILEDwhen Config rule creation has failed in the member account. -
DELETE_FAILEDwhen Config rule deletion has failed in the member account. -
DELETE_IN_PROGRESSwhen Config rule is being deleted in the member account. -
DELETE_SUCCESSFULwhen Config rule has been deleted in the member account. -
UPDATE_SUCCESSFULwhen Config rule has been updated in the member account. -
UPDATE_IN_PROGRESSwhen Config rule is being updated in the member account. -
UPDATE_FAILEDwhen Config rule 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 Config rule 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 Config rule 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 MemberAccountStatus
impl MemberAccountStatus
sourcepub fn builder() -> MemberAccountStatusBuilder
pub fn builder() -> MemberAccountStatusBuilder
Creates a new builder-style object to manufacture MemberAccountStatus.
Trait Implementations§
source§impl Clone for MemberAccountStatus
impl Clone for MemberAccountStatus
source§fn clone(&self) -> MemberAccountStatus
fn clone(&self) -> MemberAccountStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MemberAccountStatus
impl Debug for MemberAccountStatus
source§impl PartialEq<MemberAccountStatus> for MemberAccountStatus
impl PartialEq<MemberAccountStatus> for MemberAccountStatus
source§fn eq(&self, other: &MemberAccountStatus) -> bool
fn eq(&self, other: &MemberAccountStatus) -> bool
self and other values to be equal, and is used
by ==.