Module ids

Source
Expand description

Typed wrappers for Cedar entity identifiers.

Three separate types (PrincipalId, ActionId, ResourceId) prevent accidentally passing a principal UID where an action UID is expected. All wrap a String and deref to str.

Structs§

ActionId
Identifier of an action entity — e.g. ToolCall::send_email.
PrincipalId
Identifier of a principal (User or Agent) entity.
ResourceId
Identifier of a resource entity — e.g. a Mailbox or Repository.