Module Values.CreateLabelRequestSource

Creates a label for an event.

Sourcetype nonrec t = {
  1. labelGroupName : LabelGroupName.t;
    (*

    The name of a group of labels. Data in this field will be retained for service usage. Follow best practices for the security of your data.

    *)
  2. startTime : Timestamp.t;
    (*

    The start time of the labeled event.

    *)
  3. endTime : Timestamp.t;
    (*

    The end time of the labeled event.

    *)
  4. rating : LabelRating.t;
    (*

    Indicates whether a labeled event represents an anomaly.

    *)
  5. faultCode : FaultCode.t option;
    (*

    Provides additional information about the label. The fault code must be defined in the FaultCodes attribute of the label group. Data in this field will be retained for service usage. Follow best practices for the security of your data.

    *)
  6. notes : Comments.t option;
    (*

    Metadata providing additional information about the label. Data in this field will be retained for service usage. Follow best practices for the security of your data.

    *)
  7. equipment : Equipment.t option;
    (*

    Indicates that a label pertains to a particular piece of equipment. Data in this field will be retained for service usage. Follow best practices for the security of your data.

    *)
  8. clientToken : IdempotenceToken.t;
    (*

    A unique identifier for the request to create a label. If you do not set the client request token, Lookout for Equipment generates one.

    *)
}
Sourceval context_ : string
Sourceval make : ?faultCode:??? -> ?notes:??? -> ?equipment:??? -> labelGroupName:LabelGroupName.t -> startTime:Timestamp.t -> endTime:Timestamp.t -> rating:LabelRating.t -> clientToken:IdempotenceToken.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of LabelGroupName.t | `Timestamp of Timestamp.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