Values.PutSchemaInputSourceCreates 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 propagate through the service and be visible in the results of other Verified Permissions operations.
type nonrec t = {policyStoreId : PolicyStoreId.t;Specifies the ID of the policy store in which to place the schema. To specify a policy store, use its ID or alias name. When using an alias name, prefix it with policy-store-alias/. For example: ID: PSEXAMPLEabcdefg111111 Alias name: policy-store-alias/example-policy-store To view aliases, use ListPolicyStoreAliases.
*)definition : SchemaDefinition.t;Specifies the definition of the schema to be stored. The schema definition must be written in Cedar schema JSON.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `String of PolicyStoreId.t
| `Structure of (string * [> `String of SchemaJson.t ]) list ])
list ]