XRay / Client / update_trace_segment_destination

update_trace_segment_destination#

XRay.Client.update_trace_segment_destination(**kwargs)#

Modifies the destination of data sent to PutTraceSegments. The Transaction Search feature requires the CloudWatchLogs destination. For more information, see Transaction Search.

See also: AWS API Documentation

Request Syntax

response = client.update_trace_segment_destination(
    Destination='XRay'|'CloudWatchLogs'
)
Parameters:

Destination (string) – The configured destination of trace segments.

Return type:

dict

Returns:

Response Syntax

{
    'Destination': 'XRay'|'CloudWatchLogs',
    'Status': 'PENDING'|'ACTIVE'
}

Response Structure

  • (dict) –

    • Destination (string) –

      The destination of the trace segments.

    • Status (string) –

      The status of the update.

Exceptions

  • XRay.Client.exceptions.InvalidRequestException

  • XRay.Client.exceptions.ThrottledException