Module Values.GetRetrievedTracesGraphResultSource

Retrieves a service graph for traces based on the specified RetrievalToken from the CloudWatch log group generated by Transaction Search. This API does not initiate a retrieval job. You must first execute StartTraceRetrieval to obtain the required RetrievalToken. The trace graph describes services that process incoming requests and any downstream services they call, which may include Amazon Web Services resources, external APIs, or databases. The response is empty until the RetrievalStatus is COMPLETE. Retry the request after the status changes from RUNNING or SCHEDULED to COMPLETE to access the full service graph. When CloudWatch log is the destination, this API can support cross-account observability and service graph retrieval across linked accounts. For retrieving graphs from X-Ray directly as opposed to the Transaction-Search Log group, see GetTraceGraph.

Sourcetype nonrec t = {
  1. retrievalStatus : RetrievalStatus.t option;
    (*

    Status of the retrieval.

    *)
  2. services : RetrievedServicesList.t option;
    (*

    Retrieved services.

    *)
  3. nextToken : String_.t option;
    (*

    Specify the pagination token returned by a previous request to retrieve the next page of indexes.

    *)
}
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 : ?retrievalStatus:??? -> ?services:??? -> ?nextToken:??? -> 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 * [> `Enum of string | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of TraceId.t ] list | `String of String_.t ]) list ] list | `Structure of (string * [> `Boolean of NullableBoolean.t | `Integer of NullableInteger.t | `List of [> `String of String_.t | `Structure of (string * [> `Double of Double.t | `Integer of NullableInteger.t | `List of [> `Structure of (string * [> `Double of Double.t | `Integer of Integer.t | `List of [> `String of String_.t ] list | `String of String_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Double of NullableDouble.t | `Long of NullableLong.t | `Structure of (string * [> `Long of NullableLong.t ]) list ]) list | `Timestamp of Timestamp.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Double of NullableDouble.t | `Long of NullableLong.t | `Structure of (string * [> `Long of NullableLong.t ]) list ]) list | `Timestamp of Timestamp.t ]) list ]) list ] list | `String of String_.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