pub enum DeleteOrganizationConfigRuleError {
NoSuchOrganizationConfigRule(String),
OrganizationAccessDenied(String),
ResourceInUse(String),
}Expand description
Errors returned by DeleteOrganizationConfigRule
Variants§
NoSuchOrganizationConfigRule(String)
You specified one or more organization config rules that do not exist.
OrganizationAccessDenied(String)
For PutConfigAggregator API, no permission to call EnableAWSServiceAccess API.
For all OrganizationConfigRule and OrganizationConformancePack APIs, AWS Config throws an exception if APIs are called from member accounts. All APIs must be called from organization master account.
ResourceInUse(String)
You see this exception in the following cases:
-
For DeleteConfigRule, AWS Config is deleting this rule. Try your request again later.
-
For DeleteConfigRule, the rule is deleting your evaluation results. Try your request again later.
-
For DeleteConfigRule, a remediation action is associated with the rule and AWS Config cannot delete this rule. Delete the remediation action associated with the rule before deleting the rule and try your request again later.
-
For PutConfigOrganizationRule, organization config rule deletion is in progress. Try your request again later.
-
For DeleteOrganizationConfigRule, organization config rule creation is in progress. Try your request again later.
-
For PutConformancePack and PutOrganizationConformancePack, a conformance pack creation, update, and deletion is in progress. Try your request again later.
-
For DeleteConformancePack, a conformance pack creation, update, and deletion is in progress. Try your request again later.
Implementations§
Trait Implementations§
Source§impl Error for DeleteOrganizationConfigRuleError
impl Error for DeleteOrganizationConfigRuleError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl PartialEq for DeleteOrganizationConfigRuleError
impl PartialEq for DeleteOrganizationConfigRuleError
Source§fn eq(&self, other: &DeleteOrganizationConfigRuleError) -> bool
fn eq(&self, other: &DeleteOrganizationConfigRuleError) -> bool
self and other values to be equal, and is used by ==.