I am doing the same as the answer to this question:
Adding XRAY Tracing to non-rest functions e.g., SQS, Cognito Triggers etc
However, what would be the case of S3, SQS or other services/non-rest functions? I saw some old code that does not even use AWS-SDK, the dependencies are imported directly like:
import {S3Client, S3Address, RoleService, SQSService} from '@sws/aws-bridge';
So, in these cases, how to integrate/activate AWS-XRay?
Thank you very much in advance!