previewIAMPolicy
Topics: Admin
Simulate a draft alongside a user's attached policies, or replacing one attachment. Requires iam:listUserPolicies and iam:readPolicy. Supplied time, network and sample values are simulation only; no resource records are read or permissions changed.
Exact field SDL
"""
Simulate a draft alongside a user's attached policies, or replacing one attachment. Requires iam:listUserPolicies and iam:readPolicy. Supplied time, network and sample values are simulation only; no resource records are read or permissions changed.
"""
previewIAMPolicy(
"""User, draft document and simulated conditions"""
input: IAMPolicyPreviewInput!
): IAMPolicyPreview! @topic(names: ["admin"])Declared on Query. Access is checked by the platform for each operation.