Struct aws_sdk_config::model::MemberAccountStatus
source · [−]#[non_exhaustive]pub struct MemberAccountStatus {
pub account_id: Option<String>,
pub config_rule_name: Option<String>,
pub member_account_rule_status: Option<MemberAccountRuleStatus>,
pub error_code: Option<String>,
pub error_message: Option<String>,
pub last_update_time: Option<DateTime>,
}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.
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.
config_rule_name: Option<String>The name of Config rule deployed in the member account.
member_account_rule_status: Option<MemberAccountRuleStatus>Indicates deployment status for Config rule in the member account. When master account calls PutOrganizationConfigRule action for the first time, Config rule status is created in the member account. When master account calls PutOrganizationConfigRule action for the second time, Config rule status is updated in the member account. Config rule status is deleted when the master 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.
error_code: Option<String>An error code that is returned when Config rule creation or deletion failed in the member account.
error_message: Option<String>An error message indicating that Config rule 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 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 master account calls PutOrganizationConfigRule action for the first time, Config rule status is created in the member account. When master account calls PutOrganizationConfigRule action for the second time, Config rule status is updated in the member account. Config rule status is deleted when the master 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.
sourceimpl MemberAccountStatus
impl MemberAccountStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MemberAccountStatus
Trait Implementations
sourceimpl Clone for MemberAccountStatus
impl Clone for MemberAccountStatus
sourcefn clone(&self) -> MemberAccountStatus
fn clone(&self) -> MemberAccountStatus
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 MemberAccountStatus
impl Debug for MemberAccountStatus
sourceimpl PartialEq<MemberAccountStatus> for MemberAccountStatus
impl PartialEq<MemberAccountStatus> for MemberAccountStatus
sourcefn eq(&self, other: &MemberAccountStatus) -> bool
fn eq(&self, other: &MemberAccountStatus) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &MemberAccountStatus) -> bool
fn ne(&self, other: &MemberAccountStatus) -> bool
This method tests for !=.
impl StructuralPartialEq for MemberAccountStatus
Auto Trait Implementations
impl RefUnwindSafe for MemberAccountStatus
impl Send for MemberAccountStatus
impl Sync for MemberAccountStatus
impl Unpin for MemberAccountStatus
impl UnwindSafe for MemberAccountStatus
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