Class AccessDeniedException

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

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

You don't have sufficient permissions to perform this action. For a custom voice that uses a customer managed key, Amazon Polly also returns this exception if you don't have the required Amazon Web Services KMS permissions on the key.

See Also: