Skip to content

Cognito Identity  >  Errors  >  NotAuthorizedException

NotAuthorizedException

Error Class

NotAuthorizedException dataclass

Bases: ServiceError

Thrown when a user is not authorized to access the requested resource.

Attributes

fault class-attribute instance-attribute
fault: Literal['client', 'server'] | None = 'client'