Module Values.DescribeEventsMessageSource

Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days. Events specific to a particular DB instance, DB security group, database snapshot, or DB parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.

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

    The identifier of the event source for which events are returned. If not specified, then all sources are included in the response. Constraints: If SourceIdentifier is supplied, SourceType must also be provided. If the source type is DBInstance, then a DBInstanceIdentifier must be supplied. If the source type is DBSecurityGroup, a DBSecurityGroupName must be supplied. If the source type is DBParameterGroup, a DBParameterGroupName must be supplied. If the source type is DBSnapshot, a DBSnapshotIdentifier must be supplied. Cannot end with a hyphen or contain two consecutive hyphens.

    *)
  2. sourceType : SourceType.t option;
    (*

    The event source to retrieve events for. If no value is specified, all events are returned.

    *)
  3. startTime : TStamp.t option;
    (*

    The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2009-07-08T18:00Z

    *)
  4. endTime : TStamp.t option;
    (*

    The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2009-07-08T18:00Z

    *)
  5. duration : IntegerOptional.t option;
    (*

    The number of minutes to retrieve events for. Default: 60

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

    A list of event categories that trigger notifications for a event notification subscription.

    *)
  7. filters : FilterList.t option;
    (*

    This parameter is not currently supported.

    *)
  8. maxRecords : IntegerOptional.t option;
    (*

    The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.

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

    An optional pagination token provided by a previous DescribeEvents request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

    *)
}
Sourceval make : ?sourceIdentifier:??? -> ?sourceType:??? -> ?startTime:??? -> ?endTime:??? -> ?duration:??? -> ?eventCategories:??? -> ?filters:??? -> ?maxRecords:??? -> ?marker:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of IntegerOptional.t | `List of [> `String of String_.t | `Structure of (string * [> `List of [> `String of String_.t ] list | `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