API Reference
    Preparing search index...
    • Get the AWS X-Ray Trace data from the lambda RIC async context or the _X_AMZN_TRACE_ID environment variable.

      Checks the async context first and if that returns undefined, falls back to the environment variable

      The method parses the value and returns an object with the key-value pairs.

      Returns Record<string, string> | undefined