public List < CloudTrailSource > getSources ( ) { List < Message > sqsMessages = sqsManager . pollQueue ( ) ; return sqsManager . parseMessage ( sqsMessages ) ; }
Poll messages from SQS queue and convert messages to CloudTrailSource .