{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam-access-analyzer/json-schema/amazon-iam-access-analyzer-get-analyzed-resource-response-schema.json",
  "title": "GetAnalyzedResourceResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-access-analyzer-analyzed-resource-api-openapi.yml#/components/schemas/GetAnalyzedResourceResponse",
  "type": "object",
  "properties": {
    "resource": {
      "$ref": "#/$defs/AnalyzedResource"
    }
  },
  "$defs": {
    "AnalyzedResource": {
      "type": "object",
      "properties": {
        "resourceArn": {
          "type": "string",
          "description": "The ARN of the resource that was analyzed."
        },
        "resourceType": {
          "type": "string",
          "description": "The type of the resource that was analyzed."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the finding was created."
        },
        "analyzedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the resource was analyzed."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the finding was updated."
        },
        "isPublic": {
          "type": "boolean",
          "description": "Indicates whether the policy that generated the finding grants public access to the resource."
        },
        "actions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The actions that an external principal is granted permission to use by the policy that generated the finding."
        },
        "sharedVia": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings."
        },
        "status": {
          "type": "string",
          "description": "The current status of the finding generated from the analyzed resource."
        },
        "resourceOwnerAccount": {
          "type": "string",
          "description": "The Amazon Web Services account ID that owns the resource."
        },
        "error": {
          "type": "string",
          "description": "An error message."
        }
      },
      "required": [
        "resourceArn",
        "resourceType",
        "createdAt",
        "analyzedAt",
        "updatedAt",
        "isPublic",
        "resourceOwnerAccount"
      ]
    }
  }
}