Skip to main content

Services

RPC methods exposed by this API.

PolicyService

Messages

Data models used across requests/responses.

ArchivePolicyRequest

The request for a call to PolicyService_ArchivePolicy to archive a policy.

ArchivePolicyResponse

The response of a call to PolicyService_ArchivePolicy.

CreatePolicyRequest

The request for a call to PolicyService_CreatePolicy to create a new policy.

CreatePolicyResponse

The response of a call to PolicyService_CreatePolicy.

GetPolicyRequest

The request for a call to PolicyService_GetPolicy.

GetPolicyResponse

The response of a call to PolicyService_GetPolicy.

ListPoliciesRequest

The request for a call to PolicyService_ListPolicies to retrieve policies.

ListPoliciesResponse

The result of a call to PolicyService_ListPolicies.

Policy

PolicyConfiguration

PolicyConfiguration represents the configuration and rules for a policy. Expects a string containing a policy in the Cedar format https://docs.cedarpolicy.com/policies/syntax-policy.html

UnarchivePolicyRequest

The request for a call to PolicyService_UnarchivePolicy to unarchive a previously-archived policy.

UnarchivePolicyResponse

The response of a call to PolicyService_UnarchivePolicy.

UpdatePolicyRequest

The request for a call to PolicyService_UpdatePolicy to update a policy.

UpdatePolicyResponse

The response of a call to PolicyService_UpdatePolicy.

ValidatePolicyRequest

The request for a call to PolicyService_ValidatePolicy.

ValidatePolicyResponse

The response of a call to PolicyService_ValidatePolicy.

Enums

Allowed constant values used in message fields.