Skip to content

DynamoDB  >  Errors  >  PolicyNotFoundException

PolicyNotFoundException

Error Class

PolicyNotFoundException dataclass

Bases: ServiceError

The operation tried to access a nonexistent resource-based policy.

If you specified an ExpectedRevisionId, it's possible that a policy is present for the resource but its revision ID didn't match the expected value.

Attributes

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