v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1428218151.8 KB

Creates an access preview that allows you to preview IAM Access Analyzer findings for your resource before deploying resource permissions.

put/access-preview

Request body

analyzerArnstring required

The <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources">ARN of the account analyzer</a> used to generate the access preview. You can only create an access preview for analyzers with an <code>Account</code> type and <code>Active</code> status.

configurationsobject required

Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.

clientTokenstring

A client token.

Response

Success

idstring required

The unique ID for the access preview.