Class OrganizationAccessDeniedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.core.exception.SdkException
-
- software.amazon.awssdk.core.exception.SdkServiceException
-
- software.amazon.awssdk.awscore.exception.AwsServiceException
-
- software.amazon.awssdk.services.config.model.ConfigException
-
- software.amazon.awssdk.services.config.model.OrganizationAccessDeniedException
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OrganizationAccessDeniedException.Builder,OrganizationAccessDeniedException>
@Generated("software.amazon.awssdk:codegen") public final class OrganizationAccessDeniedException extends ConfigException implements ToCopyableBuilder<OrganizationAccessDeniedException.Builder,OrganizationAccessDeniedException>
For
PutConfigurationAggregatorAPI, 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
OrganizationConfigRuleandOrganizationConformancePackAPIs, Config throws an exception if APIs are called from member accounts. All APIs must be called from organization management account.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOrganizationAccessDeniedException.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OrganizationAccessDeniedException.Builderbuilder()List<SdkField<?>>sdkFields()static Class<? extends OrganizationAccessDeniedException.Builder>serializableBuilderClass()OrganizationAccessDeniedException.BuildertoBuilder()-
Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceException
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkServiceException
extendedRequestId, requestId, statusCode
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkException
create, retryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
toBuilder
public OrganizationAccessDeniedException.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OrganizationAccessDeniedException.Builder,OrganizationAccessDeniedException>- Overrides:
toBuilderin classConfigException
-
builder
public static OrganizationAccessDeniedException.Builder builder()
-
serializableBuilderClass
public static Class<? extends OrganizationAccessDeniedException.Builder> serializableBuilderClass()
-
-