{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-inspector/json-schema/amazon-inspector-batch-get-member-ec2-deep-inspection-status-response-schema.json",
  "title": "BatchGetMemberEc2DeepInspectionStatusResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-inspector-ec2deepinspectionstatus-api-openapi.yml#/components/schemas/BatchGetMemberEc2DeepInspectionStatusResponse",
  "type": "object",
  "properties": {
    "accountIds": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MemberAccountEc2DeepInspectionStatusState"
      },
      "description": "An array of objects that provide details on the activation status of Amazon Inspector deep inspection for each of the requested accounts."
    },
    "failedAccountIds": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FailedMemberAccountEc2DeepInspectionStatusState"
      },
      "description": "An array of objects that provide details on any accounts that failed to activate Amazon Inspector deep inspection and why."
    }
  },
  "$defs": {
    "FailedMemberAccountEc2DeepInspectionStatusState": {
      "type": "object",
      "properties": {
        "accountId": {
          "type": "string",
          "description": "The unique identifier for the Amazon Web Services account of the organization member that failed to activate Amazon Inspector deep inspection."
        },
        "ec2ScanStatus": {
          "type": "string",
          "description": "The status of EC2 scanning in the account that failed to activate Amazon Inspector deep inspection."
        },
        "errorMessage": {
          "type": "string",
          "description": "The error message explaining why the account failed to activate Amazon Inspector deep inspection."
        }
      },
      "required": [
        "accountId"
      ]
    },
    "MemberAccountEc2DeepInspectionStatusState": {
      "type": "object",
      "properties": {
        "accountId": {
          "type": "string",
          "description": "The unique identifier for the Amazon Web Services account of the organization member"
        },
        "status": {
          "type": "string",
          "description": "The state of Amazon Inspector deep inspection in the member account."
        },
        "errorMessage": {
          "type": "string",
          "description": "The error message explaining why the account failed to activate Amazon Inspector deep inspection."
        }
      },
      "required": [
        "accountId"
      ]
    }
  }
}