asTraceOrNull

Casts this ResponseStream as a Trace and retrieves its aws.sdk.kotlin.services.iotsitewise.model.Trace value. Returns null if the ResponseStream is not a Trace.