{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-inspector/refs/heads/main/json-schema/inspector-ami-aggregation-response-schema.json", "title": "AmiAggregationResponse", "description": "A response that contains the results of a finding aggregation by AMI.", "type": "object", "properties": { "accountId": { "allOf": [ { "$ref": "#/components/schemas/AccountId" }, { "description": "The Amazon Web Services account ID for the AMI." } ] }, "affectedInstances": { "allOf": [ { "$ref": "#/components/schemas/Long" }, { "description": "The IDs of Amazon EC2 instances using this AMI." } ] }, "ami": { "allOf": [ { "$ref": "#/components/schemas/AmiId" }, { "description": "The ID of the AMI that findings were aggregated for." } ] }, "severityCounts": { "allOf": [ { "$ref": "#/components/schemas/SeverityCounts" }, { "description": "An object that contains the count of matched findings per severity." } ] } }, "required": [ "ami" ] }