Use IAMService to implement QuerySelector adapter.