{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iam-access-analyzer/refs/heads/main/json-schema/iam-access-analyzer-create-access-preview-request-schema.json",
"title": "CreateAccessPreviewRequest",
"description": "CreateAccessPreviewRequest schema from AWS IAM Access Analyzer API",
"type": "object",
"properties": {
"analyzerArn": {
"allOf": [
{
"$ref": "#/components/schemas/AnalyzerArn"
},
{
"description": "The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with an Account type and Active status."
}
]
},
"configurations": {
"allOf": [
{
"$ref": "#/components/schemas/ConfigurationsMap"
},
{
"description": "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."
}
]
},
"clientToken": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "A client token."
}
]
}
},
"required": [
"analyzerArn",
"configurations"
]
}