{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-documentdb/json-schema/amazon-documentdb-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-documentdb-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 customer account that is associated with the Amazon DocumentDB event notification subscription."
        },
        "CustSubscriptionId": {
          "type": "string",
          "description": "The Amazon DocumentDB event notification subscription ID."
        },
        "SnsTopicArn": {
          "type": "string",
          "description": "The topic ARN of the Amazon DocumentDB event notification subscription."
        },
        "Status": {
          "type": "string",
          "description": "The status of the Amazon DocumentDB event notification subscription. Constraints: Can be one of the following: creating, modifying, deleting, active, no-permission, topic-not-exist The no-permission status indicates that Amazon DocumentDB no longer has permission to post to the SNS topic. The topic-not-exist status indicates that the topic was deleted after the subscription was created."
        },
        "SubscriptionCreationTime": {
          "type": "string",
          "description": "The time at which the Amazon DocumentDB event notification subscription was created."
        },
        "SourceType": {
          "type": "string",
          "description": "The source type for the Amazon DocumentDB event notification subscription."
        },
        "SourceIdsList": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of source IDs for the Amazon DocumentDB event notification subscription."
        },
        "EventCategoriesList": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of event categories for the Amazon DocumentDB event notification subscription."
        },
        "Enabled": {
          "type": "boolean",
          "description": "A Boolean value indicating whether the subscription is enabled. A value of true indicates that the subscription is enabled."
        },
        "EventSubscriptionArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for the event subscription."
        }
      }
    }
  }
}