#[non_exhaustive]pub struct OrganizationAccessDeniedException { /* private fields */ }Expand description
For PutConfigurationAggregator API, you can see this exception for the following reasons:
-
No permission to call
EnableAWSServiceAccessAPI -
The configuration aggregator cannot be updated because your Amazon Web Services Organization management account or the delegated administrator role changed. Delete this aggregator and create a new one with the current Amazon Web Services Organization.
-
The configuration aggregator is associated with a previous Amazon Web Services Organization and Config cannot aggregate data with current Amazon Web Services Organization. Delete this aggregator and create a new one with the current Amazon Web Services Organization.
-
You are not a registered delegated administrator for Config with permissions to call
ListDelegatedAdministratorsAPI. Ensure that the management account registers delagated administrator for Config service principle name before the delegated administrator creates an aggregator.
For all OrganizationConfigRule and OrganizationConformancePack APIs, Config throws an exception if APIs are called from member accounts. All APIs must be called from organization management account.
Implementations§
source§impl OrganizationAccessDeniedException
impl OrganizationAccessDeniedException
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OrganizationAccessDeniedException.
Trait Implementations§
source§impl Clone for OrganizationAccessDeniedException
impl Clone for OrganizationAccessDeniedException
source§fn clone(&self) -> OrganizationAccessDeniedException
fn clone(&self) -> OrganizationAccessDeniedException
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Error for OrganizationAccessDeniedException
impl Error for OrganizationAccessDeniedException
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<OrganizationAccessDeniedException> for OrganizationAccessDeniedException
impl PartialEq<OrganizationAccessDeniedException> for OrganizationAccessDeniedException
source§fn eq(&self, other: &OrganizationAccessDeniedException) -> bool
fn eq(&self, other: &OrganizationAccessDeniedException) -> bool
self and other values to be equal, and is used
by ==.