Skip to content

Bedrock  >  Errors  >  ResourceInUseException

ResourceInUseException

Error Class

ResourceInUseException dataclass

Bases: ServiceError

Thrown when attempting to delete or modify a resource that is currently being used by other resources or operations. For example, trying to delete an Automated Reasoning policy that is referenced by an active guardrail.

Attributes

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