XRay / Client / get_trace_segment_destination
get_trace_segment_destination#
- XRay.Client.get_trace_segment_destination()#
Retrieves the current destination of data sent to
PutTraceSegments
and OpenTelemetry API. The Transaction Search feature requires a CloudWatchLogs destination. For more information, see Transaction Search and OpenTelemetry.See also: AWS API Documentation
Request Syntax
response = client.get_trace_segment_destination()
- Return type:
dict
- Returns:
Response Syntax
{ 'Destination': 'XRay'|'CloudWatchLogs', 'Status': 'PENDING'|'ACTIVE' }
Response Structure
(dict) –
Destination (string) –
Retrieves the current destination.
Status (string) –
Status of the retrieval.
Exceptions
XRay.Client.exceptions.InvalidRequestException
XRay.Client.exceptions.ThrottledException