Module Values.ModifyEventSubscriptionMessageSource

Represents the input to ModifyEventSubscription.

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

    The name of the Amazon DocumentDB event notification subscription.

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

    The Amazon Resource Name (ARN) of the 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 source that is generating the events. For example, if you want to be notified of events generated by an instance, set this parameter to db-instance. If this value is not specified, all events are returned. Valid values: db-instance, db-parameter-group, db-security-group

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

    A list of event categories for a SourceType that you want to subscribe to.

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

    A Boolean value; set to true to activate the subscription.

    *)
}
Sourceval context_ : string
Sourceval make : ?snsTopicArn:??? -> ?sourceType:??? -> ?eventCategories:??? -> ?enabled:??? -> subscriptionName:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BooleanOptional.t | `List of [> `String of String_.t ] 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