Module Values.CreateDetectorModelRequestSource

Creates a detector model.

Sourcetype nonrec t = {
  1. detectorModelName : DetectorModelName.t;
    (*

    The name of the detector model.

    *)
  2. detectorModelDefinition : DetectorModelDefinition.t;
    (*

    Information that defines how the detectors operate.

    *)
  3. detectorModelDescription : DetectorModelDescription.t option;
    (*

    A brief description of the detector model.

    *)
  4. key : AttributeJsonPath.t option;
    (*

    The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value pair that is used to identify the device associated with the input.

    *)
  5. roleArn : AmazonResourceName.t;
    (*

    The ARN of the role that grants permission to AWS IoT Events to perform its operations.

    *)
  6. tags : Tags.t option;
    (*

    Metadata that can be used to manage the detector model.

    *)
  7. evaluationMethod : EvaluationMethod.t option;
    (*

    Information about the order in which events are evaluated and how actions are executed.

    *)
}
Sourceval context_ : string
Sourceval make : ?detectorModelDescription:??? -> ?key:??? -> ?tags:??? -> ?evaluationMethod:??? -> detectorModelName:DetectorModelName.t -> detectorModelDefinition:DetectorModelDefinition.t -> roleArn:AmazonResourceName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of DetectorModelName.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of StateName.t | `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `Boolean of UseBase64.t | `Integer of Seconds.t | `String of VariableName.t | `Structure of (string * [> `Enum of string | `String of ContentExpression.t | `Structure of (string * [> `String of AssetPropertyStringValue.t ]) list ]) list ]) list ]) list ] list | `String of EventName.t ]) list ] list ]) list ]) list ] list | `String of StateName.t ]) list ]) 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