Skip to content

NotAuthorizedException

Error Class

NotAuthorizedException dataclass

Bases: ServiceError, _SerdeShape

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

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.