Module Values.PutInsightRuleOutputSource

Creates a Contributor Insights rule. Rules evaluate log events in a CloudWatch Logs log group, enabling you to find contributor data for the log events in that log group. For more information, see Using Contributor Insights to Analyze High-Cardinality Data. If you create a rule, delete it, and then re-create it with the same name, historical data from the first time the rule was created might not be available.

Sourcetype putInsightRuleResult = unit
Sourceand responseMetaData = unit
Sourceand t = {
  1. putInsightRuleResult : putInsightRuleResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `InvalidParameterValueException of InvalidParameterValueException.t
  2. | `LimitExceededException of LimitExceededException.t
  3. | `MissingRequiredParameterException of MissingRequiredParameterException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidParameterValueException of InvalidParameterValueException.t | `LimitExceededException of unit | `MissingRequiredParameterException of MissingRequiredParameterException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidParameterValueException of InvalidParameterValueException.t | `LimitExceededException of unit | `MissingRequiredParameterException of MissingRequiredParameterException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ('a * 'b) -> t
Sourceval to_value : 'a -> [> `Structure of 'b list ]
Sourceval to_query : 'a -> Awso.Client.Query.t
Sourceval of_xml : 'a -> t
Sourceval of_string : string -> t
Sourceval of_json : 'a -> t
Sourceval to_json : 'a -> Yojson.Safe.t