public interface SourceSerializer
CloudTrailSource. Implementations can parse
messages polled from SQS queue for extracting CloudTrail log file information. The following are provided implementations:
CloudTrailSourceSerializer, S3SourceSerializer, S3SNSSourceSerializer, SourceSerializerChain.
| Modifier and Type | Method and Description |
|---|---|
CloudTrailSource |
getSource(Message sqsMessage)
Get CloudTrail log file information by parsing single SQS message.
|
CloudTrailSource getSource(Message sqsMessage) throws java.io.IOException
sqsMessage - The message polled from SQS queue.CloudTrailSource that contains log file information.java.io.IOException - If sqsMessage is unrecognized.