{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-neptune/json-schema/amazon-neptune-describe-events-message-schema.json",
  "title": "DescribeEventsMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-neptune-events-api-openapi.yml#/components/schemas/DescribeEventsMessage",
  "type": "object",
  "properties": {
    "SourceIdentifier": {
      "type": "string",
      "description": "The identifier of the event source for which events are returned. If not specified, then all sources are included in the response. Constraints: If SourceIdentifier is supplied, SourceType must also be provided. If the source type is DBInstance, then a DBInstanceIdentifier must be supplied. If the source type is DBSecurityGroup, a DBSecurityGroupName must be supplied. If the source type is DBParameterGroup, a DBParameterGroupName must be supplied. If the source type is DBSnapshot, a DBSnapshotIdentifier must be supplied. Cannot end with a hyphen or contain two consecutive hyphens."
    },
    "SourceType": {
      "type": "string",
      "enum": [
        "db-instance",
        "db-parameter-group",
        "db-security-group",
        "db-snapshot",
        "db-cluster",
        "db-cluster-snapshot"
      ],
      "description": "The event source to retrieve events for. If no value is specified, all events are returned."
    },
    "StartTime": {
      "type": "string",
      "format": "date-time",
      "description": "The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2009-07-08T18:00Z"
    },
    "EndTime": {
      "type": "string",
      "format": "date-time",
      "description": "The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2009-07-08T18:00Z"
    },
    "Duration": {
      "type": "integer",
      "description": "The number of minutes to retrieve events for. Default: 60"
    },
    "EventCategories": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of event categories that trigger notifications for a event notification subscription."
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Filter"
      },
      "description": "This parameter is not currently supported."
    },
    "MaxRecords": {
      "type": "integer",
      "description": "The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100."
    },
    "Marker": {
      "type": "string",
      "description": "An optional pagination token provided by a previous DescribeEvents request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords."
    }
  },
  "$defs": {
    "Filter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "This parameter is not currently supported."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "This parameter is not currently supported."
        }
      },
      "required": [
        "Name",
        "Values"
      ]
    }
  }
}