Module Values.SegmentSource

A segment from a trace that has been ingested by the X-Ray service. The segment can be compiled from documents uploaded with PutTraceSegments, or an inferred segment for a downstream service, generated from a subsegment sent by the service that called it. For the full segment document schema, see Amazon Web Services X-Ray segment documents in the Amazon Web Services X-Ray Developer Guide.

Sourcetype nonrec t = {
  1. id : SegmentId.t option;
    (*

    The segment's ID.

    *)
  2. document : SegmentDocument.t option;
    (*

    The segment document.

    *)
}
Sourceval make : ?id:??? -> ?document:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of SegmentId.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