/AWS1/CL_VPS=>PUTSCHEMA()
¶
About PutSchema¶
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 propagate through the service and be visible in the results of other Verified Permissions operations.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_POLICYSTOREID
TYPE /AWS1/VPSPOLICYSTOREID
/AWS1/VPSPOLICYSTOREID
¶
Specifies the ID of the policy store in which to place the schema.
IO_DEFINITION
TYPE REF TO /AWS1/CL_VPSSCHEMADEFINITION
/AWS1/CL_VPSSCHEMADEFINITION
¶
Specifies the definition of the schema to be stored. The schema definition must be written in Cedar schema JSON.