getTraceSegmentDestination method
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.
May throw InvalidRequestException.
May throw ThrottledException.
Implementation
Future<GetTraceSegmentDestinationResult> getTraceSegmentDestination() async {
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri: '/GetTraceSegmentDestination',
exceptionFnMap: _exceptionFns,
);
return GetTraceSegmentDestinationResult.fromJson(response);
}