Module Values.StartTraceRetrievalResultSource

Initiates a trace retrieval process using the specified time range and for the given trace IDs in the Transaction Search generated CloudWatch log group. For more information, see Transaction Search. API returns a RetrievalToken, which can be used with ListRetrievedTraces or GetRetrievedTracesGraph to fetch results. Retrievals will time out after 60 minutes. To execute long time ranges, consider segmenting into multiple retrievals. If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account to retrieve data from a linked source account, as long as both accounts have transaction search enabled. For retrieving data from X-Ray directly as opposed to the Transaction-Search Log group, see BatchGetTraces.

Sourcetype nonrec t = {
  1. retrievalToken : RetrievalToken.t option;
    (*

    Retrieval token.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidRequestException of InvalidRequestException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `ThrottledException of ThrottledException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?retrievalToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottledException of ThrottledException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.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 * [> `String of RetrievalToken.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