{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-create-event-subscription-result-schema.json",
  "title": "CreateEventSubscriptionResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-event-subscription-api-openapi.yml#/components/schemas/CreateEventSubscriptionResult",
  "type": "object",
  "properties": {
    "EventSubscription": {
      "$ref": "#/$defs/EventSubscription"
    }
  },
  "$defs": {
    "EventSubscription": {
      "type": "object",
      "properties": {
        "CustomerAwsId": {
          "type": "string",
          "description": "The Amazon Web Services account associated with the Amazon Redshift event notification subscription."
        },
        "CustSubscriptionId": {
          "type": "string",
          "description": "The name of the Amazon Redshift event notification subscription."
        },
        "SnsTopicArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription."
        },
        "Status": {
          "type": "string",
          "description": "The status of the Amazon Redshift event notification subscription. Constraints: Can be one of the following: active | no-permission | topic-not-exist The status \"no-permission\" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status \"topic-not-exist\" indicates that the topic was deleted after the subscription was created."
        },
        "SubscriptionCreationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time the Amazon Redshift event notification subscription was created."
        },
        "SourceType": {
          "type": "string",
          "description": "The source type of the events returned by the Amazon Redshift event notification, such as cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, or scheduled-action."
        },
        "SourceIdsList": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of the sources that publish events to the Amazon Redshift event notification subscription."
        },
        "EventCategoriesList": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of Amazon Redshift event categories specified in the event notification subscription. Values: Configuration, Management, Monitoring, Security, Pending"
        },
        "Severity": {
          "type": "string",
          "description": "The event severity specified in the Amazon Redshift event notification subscription. Values: ERROR, INFO"
        },
        "Enabled": {
          "type": "boolean",
          "description": "A boolean value indicating whether the subscription is enabled; true indicates that the subscription is enabled."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The list of tags for the event subscription."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key, or name, for the resource tag."
        },
        "Value": {
          "type": "string",
          "description": "The value for the resource tag."
        }
      }
    }
  }
}