{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-management/json-schema/amazon-iot-device-management-describe-account-audit-configuration-response-schema.json",
  "title": "DescribeAccountAuditConfigurationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-management-audit-api-openapi.yml#/components/schemas/DescribeAccountAuditConfigurationResponse",
  "type": "object",
  "properties": {
    "roleArn": {
      "allOf": [
        {
          "$ref": "#/$defs/RoleArn"
        },
        {
          "description": "<p>The ARN of the role that grants permission to IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.</p> <p>On the first call to <code>UpdateAccountAuditConfiguration</code>, this parameter is required.</p>"
        }
      ]
    },
    "auditNotificationTargetConfigurations": {
      "allOf": [
        {
          "$ref": "#/$defs/AuditNotificationTargetConfigurations"
        },
        {
          "description": "Information about the targets to which audit notifications are sent for this account."
        }
      ]
    },
    "auditCheckConfigurations": {
      "allOf": [
        {
          "$ref": "#/$defs/AuditCheckConfigurations"
        },
        {
          "description": "Which audit checks are enabled and disabled for this account."
        }
      ]
    }
  },
  "$defs": {
    "AuditCheckConfiguration": {
      "type": "object",
      "properties": {
        "enabled": {
          "allOf": [
            {
              "$ref": "#/$defs/Enabled"
            },
            {
              "description": "True if this audit check is enabled for this account."
            }
          ]
        }
      },
      "description": "Which audit checks are enabled and disabled for this account."
    },
    "AuditCheckConfigurations": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/AuditCheckConfiguration"
      }
    },
    "AuditNotificationTarget": {
      "type": "object",
      "properties": {
        "targetArn": {
          "allOf": [
            {
              "$ref": "#/$defs/TargetArn"
            },
            {
              "description": "The ARN of the target (SNS topic) to which audit notifications are sent."
            }
          ]
        },
        "roleArn": {
          "allOf": [
            {
              "$ref": "#/$defs/RoleArn"
            },
            {
              "description": "The ARN of the role that grants permission to send notifications to the target."
            }
          ]
        },
        "enabled": {
          "allOf": [
            {
              "$ref": "#/$defs/Enabled"
            },
            {
              "description": "True if notifications to the target are enabled."
            }
          ]
        }
      },
      "description": "Information about the targets to which audit notifications are sent."
    },
    "AuditNotificationTargetConfigurations": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/AuditNotificationTarget"
      }
    },
    "Enabled": {
      "type": "boolean"
    },
    "RoleArn": {
      "type": "string",
      "minLength": 20,
      "maxLength": 2048
    },
    "TargetArn": {
      "type": "string",
      "maxLength": 2048
    }
  }
}