Values.GetRetrievedTracesGraphResultSourceRetrieves 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.
type nonrec t = {retrievalStatus : RetrievalStatus.t option;Status of the retrieval.
*)services : RetrievedServicesList.t option;Retrieved services.
*)nextToken : String_.t option;Specify the pagination token returned by a previous request to retrieve the next page of indexes.
*)}type nonrec error = [ | `InvalidRequestException of InvalidRequestException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottledException of ThrottledException.t| `Unknown_operation_error of string * string option ]val 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 ]val 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 ]val 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 ]