Module Values.GetTraceSegmentDestinationResultSource

Retrieves the current destination of data sent to PutTraceSegments and OpenTelemetry protocol (OTLP) endpoint. The Transaction Search feature requires a CloudWatchLogs destination. For more information, see Transaction Search and OpenTelemetry.

Sourcetype nonrec t = {
  1. destination : TraceSegmentDestination.t option;
    (*

    Retrieves the current destination.

    *)
  2. status : TraceSegmentDestinationStatus.t option;
    (*

    Status of the retrieval.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidRequestException of InvalidRequestException.t
  2. | `ThrottledException of ThrottledException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?destination:??? -> ?status:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidRequestException of InvalidRequestException.t | `ThrottledException of ThrottledException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidRequestException of InvalidRequestException.t | `ThrottledException of ThrottledException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string ]) 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