Module Values.CreateEventSubscriptionMessageSource

Sourcetype nonrec t = {
  1. subscriptionName : String_.t;
    (*

    The name of the DMS event notification subscription. This name must be less than 255 characters.

    *)
  2. snsTopicArn : String_.t;
    (*

    The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

    *)
  3. sourceType : String_.t option;
    (*

    The type of DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to replication-instance. If this value isn't specified, all events are returned. Valid values: replication-instance | replication-task

    *)
  4. eventCategories : EventCategoriesList.t option;
    (*

    A list of event categories for a source type that you want to subscribe to. For more information, see Working with Events and Notifications in the Database Migration Service User Guide.

    *)
  5. sourceIds : SourceIdsList.t option;
    (*

    A list of identifiers for which DMS provides notification events. If you don't specify a value, notifications are provided for all sources. If you specify multiple values, they must be of the same type. For example, if you specify a database instance ID, then all of the other values must be database instance IDs.

    *)
  6. enabled : BooleanOptional.t option;
    (*

    A Boolean value; set to true to activate the subscription, or set to false to create the subscription but not activate it.

    *)
  7. tags : TagList.t option;
    (*

    One or more tags to be assigned to the event subscription.

    *)
}
Sourceval context_ : string
Sourceval make : ?sourceType:??? -> ?eventCategories:??? -> ?sourceIds:??? -> ?enabled:??? -> ?tags:??? -> subscriptionName:String_.t -> snsTopicArn:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BooleanOptional.t | `List of [> `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t