Added API tracing for S3