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