putSchema
inline suspend fun VerifiedPermissionsClient.putSchema(crossinline block: PutSchemaRequest.Builder.() -> Unit): PutSchemaResponse
Creates or updates the policy schema in the specified policy store. The schema is used to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time.
Verified Permissions is eventually consistent. It can take a few seconds for a new or changed element to be propagate through the service and be visible in the results of other Verified Permissions operations.