Module Values.EventSubscriptionSource

Describes event subscriptions.

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

    The Amazon Web Services account associated with the Amazon Redshift event notification subscription.

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

    The name of the Amazon Redshift event notification subscription.

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

    The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.

    *)
  4. status : String_.t option;
    (*

    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.

    *)
  5. subscriptionCreationTime : TStamp.t option;
    (*

    The date and time the Amazon Redshift event notification subscription was created.

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

    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.

    *)
  7. sourceIdsList : SourceIdsList.t option;
    (*

    A list of the sources that publish events to the Amazon Redshift event notification subscription.

    *)
  8. eventCategoriesList : EventCategoriesList.t option;
    (*

    The list of Amazon Redshift event categories specified in the event notification subscription. Values: Configuration, Management, Monitoring, Security, Pending

    *)
  9. severity : String_.t option;
    (*

    The event severity specified in the Amazon Redshift event notification subscription. Values: ERROR, INFO

    *)
  10. enabled : Boolean.t option;
    (*

    A boolean value indicating whether the subscription is enabled; true indicates that the subscription is enabled.

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

    The list of tags for the event subscription.

    *)
}
Sourceval make : ?customerAwsId:??? -> ?custSubscriptionId:??? -> ?snsTopicArn:??? -> ?status:??? -> ?subscriptionCreationTime:??? -> ?sourceType:??? -> ?sourceIdsList:??? -> ?eventCategoriesList:??? -> ?severity:??? -> ?enabled:??? -> ?tags:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t | `Timestamp of TStamp.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