v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1434249272.1 KB

Retrieve the details for the specified schema in the specified policy store.

post/#X-Amz-Target=VerifiedPermissions.GetSchema

Headers

X-Amz-Target'VerifiedPermissions.GetSchema' required

Request body

policyStoreIdstring required
<p>Specifies the ID of the policy store that contains the schema.</p> <p>To specify a policy store, use its ID or alias name. When using an alias name, prefix it with <code>policy-store-alias/</code>. For example:</p> <ul> <li> <p>ID: <code>PSEXAMPLEabcdefg111111</code> </p> </li> <li> <p>Alias name: <code>policy-store-alias/example-policy-store</code> </p> </li> </ul> <p>To view aliases, use <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListPolicyStoreAliases.html">ListPolicyStoreAliases</a>.</p>

Response

Success

policyStoreIdstring required

The ID of the policy store that contains the schema.

schemastring password required

The body of the schema, written in Cedar schema JSON.

createdDatestring date-time required

The date and time that the schema was originally created.

lastUpdatedDatestring date-time required

The date and time that the schema was most recently updated.

namespacesNamespace[]

The namespaces of the entities referenced by this schema.