Class AccessDeniedException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>

@Generated("software.amazon.awssdk:codegen") public final class AccessDeniedException extends DirectoryServiceDataException implements ToCopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>

You don't have permission to perform the request or access the directory. It can also occur when the DirectoryId doesn't exist or the user, member, or group might be outside of your organizational unit (OU).

Make sure that you have the authentication and authorization to perform the action. Review the directory information in the request, and make sure that the object isn't outside of your OU.

See Also: